@factorialco/f0-react 3.2.7 → 3.3.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/ai.d.ts CHANGED
@@ -4730,8 +4730,11 @@ declare module "@tiptap/core" {
4730
4730
 
4731
4731
  declare module "@tiptap/core" {
4732
4732
  interface Commands<ReturnType> {
4733
- moodTracker: {
4734
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
4733
+ enhanceHighlight: {
4734
+ setEnhanceHighlight: (from: number, to: number, options?: {
4735
+ placeholder?: string;
4736
+ }) => ReturnType;
4737
+ clearEnhanceHighlight: () => ReturnType;
4735
4738
  };
4736
4739
  }
4737
4740
  }
@@ -4739,11 +4742,8 @@ declare module "@tiptap/core" {
4739
4742
 
4740
4743
  declare module "@tiptap/core" {
4741
4744
  interface Commands<ReturnType> {
4742
- enhanceHighlight: {
4743
- setEnhanceHighlight: (from: number, to: number, options?: {
4744
- placeholder?: string;
4745
- }) => ReturnType;
4746
- clearEnhanceHighlight: () => ReturnType;
4745
+ moodTracker: {
4746
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
4747
4747
  };
4748
4748
  }
4749
4749
  }
@@ -7532,7 +7532,7 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
7532
7532
  */
7533
7533
  export declare type RecordType = Record<string, unknown>;
7534
7534
 
7535
- declare type ReferenceType = "none" | "striped";
7535
+ declare type ReferenceType = "none" | "striped" | "striked";
7536
7536
 
7537
7537
  /**
7538
7538
  * A numeric value that can be formatted with an optional formatter and options.
@@ -8208,10 +8208,7 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
8208
8208
  * Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
8209
8209
  */
8210
8210
  allowColumnHiding?: boolean;
8211
- /**
8212
- * Marks one or more rows as reference rows.
8213
- * Reference rows are rendered with a slanted background pattern across the full row.
8214
- */
8211
+ /** Maps a row to a visual variant: `"striped"`, `"striked"`, or `"none"`. */
8215
8212
  referenceRowType?: (item: R) => ReferenceType;
8216
8213
  /**
8217
8214
  * Labels for header groups. Keys are headerGroupId values used in column
@@ -9355,8 +9352,11 @@ declare module "@tiptap/core" {
9355
9352
 
9356
9353
  declare module "@tiptap/core" {
9357
9354
  interface Commands<ReturnType> {
9358
- moodTracker: {
9359
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
9355
+ enhanceHighlight: {
9356
+ setEnhanceHighlight: (from: number, to: number, options?: {
9357
+ placeholder?: string;
9358
+ }) => ReturnType;
9359
+ clearEnhanceHighlight: () => ReturnType;
9360
9360
  };
9361
9361
  }
9362
9362
  }
@@ -9364,11 +9364,8 @@ declare module "@tiptap/core" {
9364
9364
 
9365
9365
  declare module "@tiptap/core" {
9366
9366
  interface Commands<ReturnType> {
9367
- enhanceHighlight: {
9368
- setEnhanceHighlight: (from: number, to: number, options?: {
9369
- placeholder?: string;
9370
- }) => ReturnType;
9371
- clearEnhanceHighlight: () => ReturnType;
9367
+ moodTracker: {
9368
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
9372
9369
  };
9373
9370
  }
9374
9371
  }
@@ -2,8 +2,8 @@ import { h as ga, B as pa, i as ba, j as xa, k as Dt, l as Be, m as Te, n as va,
2
2
  import { c1 as Kc, c0 as qc, cd as Yc, bZ as Jc, b_ as Zc, bS as Xc, cg as Qc, bT as ed, bU as td, ch as nd, b$ as ad, c9 as rd, ca as id, ce as ld, bV as sd, c3 as od, c2 as cd, bW as dd, bX as ud, cb as fd, ci as md, cc as hd, cf as gd, c8 as pd, c5 as bd, c7 as xd, c4 as vd, bY as yd, c6 as wd } from "./F0CanvasPanel-Cq4Hljwy.js";
3
3
  import { jsx as e, jsxs as o, Fragment as Z } from "react/jsx-runtime";
4
4
  import ue, { forwardRef as G, useRef as j, useTransition as ni, useState as D, useLayoutEffect as Tn, useId as pt, useContext as Pe, createContext as Qe, useEffect as W, useCallback as ne, useMemo as q, Fragment as ai, isValidElement as ri, cloneElement as zn, Children as Rn } from "react";
5
- import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-Cox3EYnv.js";
6
- import { r as Cd, s as Id, o as kd, H as Sd, t as Fd, z as Ad, a8 as Ld, G as Od, q as Pd, aa as Ed, a9 as _d, Q as Dd, ad as Td, F as zd, Y as Rd, U as Bd, J as $d, af as Md, K as Wd, Z as jd, _ as Vd, v as Ud, ab as Hd, ac as Gd, N as Kd, $ as qd, a5 as Yd, a7 as Jd, w as Zd, y as Xd, D as Qd, W as eu, ae as tu, X as nu, T as au, ag as ru, x as iu, E as lu, m as su, n as ou, a1 as cu, a2 as du, a6 as uu, I as fu, a3 as mu, a0 as hu, a4 as gu } from "./useDataCollectionSource-Cox3EYnv.js";
5
+ import { C as ii, P as li, a as Bn, M as si, p as oi, b as ci, R as Mt, c as $n, u as di, d as ui, e as fi, f as mi, g as hi, h as Mn, S as gi, A as pi, B as bi, L as xi, i as vi, V as yi, j as wi, k as Ni, l as Ci, O as Ii } from "./useDataCollectionSource-DLVkc-E-.js";
6
+ import { r as Cd, s as Id, o as kd, H as Sd, t as Fd, z as Ad, a8 as Ld, G as Od, q as Pd, aa as Ed, a9 as _d, Q as Dd, ad as Td, F as zd, Y as Rd, U as Bd, J as $d, af as Md, K as Wd, Z as jd, _ as Vd, v as Ud, ab as Hd, ac as Gd, N as Kd, $ as qd, a5 as Yd, a7 as Jd, w as Zd, y as Xd, D as Qd, W as eu, ae as tu, X as nu, T as au, ag as ru, x as iu, E as lu, m as su, n as ou, a1 as cu, a2 as du, a6 as uu, I as fu, a3 as mu, a0 as hu, a4 as gu } from "./useDataCollectionSource-DLVkc-E-.js";
7
7
  const ki = ga("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -13777,7 +13777,7 @@ declare type RecordPathValue<T, P extends string> = P extends keyof T ? T[P] : P
13777
13777
  */
13778
13778
  export declare type RecordType = Record<string, unknown>;
13779
13779
 
13780
- declare type ReferenceType = "none" | "striped";
13780
+ declare type ReferenceType = "none" | "striped" | "striked";
13781
13781
 
13782
13782
  declare type RegularAction = BaseAction & {
13783
13783
  type: "regular";
@@ -14756,10 +14756,7 @@ declare type TableVisualizationOptions<R extends RecordType, _Filters extends Fi
14756
14756
  * Allow users to hide columns (you can define especifcally non hiddable columns in col props, also frozen columns are not hiddable)
14757
14757
  */
14758
14758
  allowColumnHiding?: boolean;
14759
- /**
14760
- * Marks one or more rows as reference rows.
14761
- * Reference rows are rendered with a slanted background pattern across the full row.
14762
- */
14759
+ /** Maps a row to a visual variant: `"striped"`, `"striked"`, or `"none"`. */
14763
14760
  referenceRowType?: (item: R) => ReferenceType;
14764
14761
  /**
14765
14762
  * Labels for header groups. Keys are headerGroupId values used in column
@@ -16431,8 +16428,11 @@ declare module "@tiptap/core" {
16431
16428
 
16432
16429
  declare module "@tiptap/core" {
16433
16430
  interface Commands<ReturnType> {
16434
- moodTracker: {
16435
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
16431
+ enhanceHighlight: {
16432
+ setEnhanceHighlight: (from: number, to: number, options?: {
16433
+ placeholder?: string;
16434
+ }) => ReturnType;
16435
+ clearEnhanceHighlight: () => ReturnType;
16436
16436
  };
16437
16437
  }
16438
16438
  }
@@ -16440,11 +16440,8 @@ declare module "@tiptap/core" {
16440
16440
 
16441
16441
  declare module "@tiptap/core" {
16442
16442
  interface Commands<ReturnType> {
16443
- enhanceHighlight: {
16444
- setEnhanceHighlight: (from: number, to: number, options?: {
16445
- placeholder?: string;
16446
- }) => ReturnType;
16447
- clearEnhanceHighlight: () => ReturnType;
16443
+ moodTracker: {
16444
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
16448
16445
  };
16449
16446
  }
16450
16447
  }
package/dist/f0.js CHANGED
@@ -6,8 +6,8 @@ import _t, { forwardRef as Pr, useRef as fe, useImperativeHandle as _3, Children
6
6
  import { T as c2, y as S3, z as C3, B as T3, C as D3, D as f2, E as sv, G as Bx, H as d2, I as h2, J as v2, K as A3, L as M3, M as E3, N as L3, O as N3, F as I3 } from "./useChatHistory-g8vzWwzv.js";
7
7
  import { A as Uge, s as Yge, t as Xge, w as qge, l as Zge, i as jge, q as Kge, x as Qge, p as Jge, r as eme, j as tme, e as rme, P as nme, g as ime, k as ame, h as ome, a as sme, n as lme, m as ume, o as cme, b as fme, f as dme, v as hme, c as vme, d as pme, u as gme } from "./useChatHistory-g8vzWwzv.js";
8
8
  import { createPortal as zx, unstable_batchedUpdates as ud } from "react-dom";
9
- import { C as R3, F as k3, ah as p2, ai as P3, aj as O3, ak as B3, al as Vx, am as Fx, G as z3, an as V3, Y as F3, a8 as G3, ao as H3, Q as W3, ap as $3, aq as U3, c as $p, ar as zf, R as Gx, u as Hx, W as g2, O as Wx, as as m2, at as XS, au as $x, o as Y3, d as y2, $ as b2, av as X3, aw as q3, ax as Z3, ay as j3, az as K3, M as Q3 } from "./useDataCollectionSource-Cox3EYnv.js";
10
- import { r as yme, s as bme, H as _me, t as xme, z as wme, aQ as Sme, aP as Cme, aL as Tme, aB as Dme, aA as Ame, aC as Mme, aD as Eme, aa as Lme, a9 as Nme, ad as Ime, U as Rme, J as kme, af as Pme, K as Ome, v as Bme, aR as zme, ab as Vme, ac as Fme, N as Gme, w as Hme, P as Wme, y as $me, D as Ume, ae as Yme, T as Xme, ag as qme, x as Zme, E as jme, aT as Kme, m as Qme, n as Jme, aK as eye, aG as tye, aF as rye, aS as nye, a6 as iye, aI as aye, aJ as oye, I as sye, aU as lye, aV as uye, e as cye, aM as fye, aN as dye, aO as hye, aH as vye, f as pye, h as gye, aE as mye, aW as yye } from "./useDataCollectionSource-Cox3EYnv.js";
9
+ import { C as R3, F as k3, ah as p2, ai as P3, aj as O3, ak as B3, al as Vx, am as Fx, G as z3, an as V3, Y as F3, a8 as G3, ao as H3, Q as W3, ap as $3, aq as U3, c as $p, ar as zf, R as Gx, u as Hx, W as g2, O as Wx, as as m2, at as XS, au as $x, o as Y3, d as y2, $ as b2, av as X3, aw as q3, ax as Z3, ay as j3, az as K3, M as Q3 } from "./useDataCollectionSource-DLVkc-E-.js";
10
+ import { r as yme, s as bme, H as _me, t as xme, z as wme, aQ as Sme, aP as Cme, aL as Tme, aB as Dme, aA as Ame, aC as Mme, aD as Eme, aa as Lme, a9 as Nme, ad as Ime, U as Rme, J as kme, af as Pme, K as Ome, v as Bme, aR as zme, ab as Vme, ac as Fme, N as Gme, w as Hme, P as Wme, y as $me, D as Ume, ae as Yme, T as Xme, ag as qme, x as Zme, E as jme, aT as Kme, m as Qme, n as Jme, aK as eye, aG as tye, aF as rye, aS as nye, a6 as iye, aI as aye, aJ as oye, I as sye, aU as lye, aV as uye, e as cye, aM as fye, aN as dye, aO as hye, aH as vye, f as pye, h as gye, aE as mye, aW as yye } from "./useDataCollectionSource-DLVkc-E-.js";
11
11
  import { utils as Nl, write as _2 } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as _ye } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const J3 = {
@@ -886,8 +886,11 @@ declare module "@tiptap/core" {
886
886
 
887
887
  declare module "@tiptap/core" {
888
888
  interface Commands<ReturnType> {
889
- moodTracker: {
890
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
889
+ enhanceHighlight: {
890
+ setEnhanceHighlight: (from: number, to: number, options?: {
891
+ placeholder?: string;
892
+ }) => ReturnType;
893
+ clearEnhanceHighlight: () => ReturnType;
891
894
  };
892
895
  }
893
896
  }
@@ -895,11 +898,8 @@ declare module "@tiptap/core" {
895
898
 
896
899
  declare module "@tiptap/core" {
897
900
  interface Commands<ReturnType> {
898
- enhanceHighlight: {
899
- setEnhanceHighlight: (from: number, to: number, options?: {
900
- placeholder?: string;
901
- }) => ReturnType;
902
- clearEnhanceHighlight: () => ReturnType;
901
+ moodTracker: {
902
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
903
903
  };
904
904
  }
905
905
  }