@factorialco/f0-react 1.296.0 → 1.298.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.
@@ -63,6 +63,8 @@ import { PersonCellValue } from './types/person';
63
63
  import { PersonCellValue as PersonCellValue_2 } from '../../value-display/types/person';
64
64
  import { PieChartProps } from '../../../components/Charts/PieChart';
65
65
  import { PopoverProps } from '@radix-ui/react-popover';
66
+ import { ProgressBarCellValue } from './types/progressBar';
67
+ import { ProgressBarCellValue as ProgressBarCellValue_2 } from '../../value-display/types/progressBar';
66
68
  import { PropsWithChildren } from 'react';
67
69
  import * as React_2 from 'react';
68
70
  import { ReactElement } from 'react';
@@ -202,6 +204,14 @@ declare interface ActionCommonProps {
202
204
  * The tab index of the action.
203
205
  */
204
206
  tabIndex?: number;
207
+ /**
208
+ * Mouse enter event handler.
209
+ */
210
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
211
+ /**
212
+ * Mouse leave event handler.
213
+ */
214
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
205
215
  }
206
216
 
207
217
  export declare type ActionDefinition = DropdownItemSeparator | (Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"> & {
@@ -1127,6 +1137,11 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
1127
1137
  * If true, the button will not automatically add a title based label
1128
1138
  */
1129
1139
  noTitle?: boolean;
1140
+ /**
1141
+ * @private
1142
+ * If true, the button will rotate the icon when the button is hovered.
1143
+ */
1144
+ iconRotate?: boolean;
1130
1145
  /**
1131
1146
  * @private
1132
1147
  * The style of the button.
@@ -1262,6 +1277,7 @@ declare const cardPropertyRenderers: {
1262
1277
  readonly dotTag: (args: DotTagCellValue_2) => default_2.JSX.Element;
1263
1278
  readonly file: (args: FileCellValue_2) => default_2.JSX.Element;
1264
1279
  readonly folder: (args: FolderCellValue_2) => default_2.JSX.Element;
1280
+ readonly progressBar: (args: ProgressBarCellValue_2, _meta: ValueDisplayRendererContext_2) => default_2.JSX.Element | null;
1265
1281
  };
1266
1282
 
1267
1283
  declare type CardPropertyType = keyof typeof cardPropertyRenderers;
@@ -6088,6 +6104,7 @@ declare const valueDisplayRenderers: {
6088
6104
  readonly alertTag: (args: AlertTagCellValue) => JSX_2.Element;
6089
6105
  readonly person: (args: PersonCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
6090
6106
  readonly percentage: (args: PercentageCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element | null;
6107
+ readonly progressBar: (args: ProgressBarCellValue, _meta: ValueDisplayRendererContext) => JSX_2.Element | null;
6091
6108
  readonly company: (args: CompanyCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
6092
6109
  readonly team: (args: TeamCellValue, meta: ValueDisplayRendererContext) => JSX_2.Element;
6093
6110
  readonly tag: (args: TagCellValue) => JSX_2.Element;
@@ -6405,6 +6422,11 @@ declare module "@tiptap/core" {
6405
6422
  }
6406
6423
 
6407
6424
 
6425
+ declare namespace Calendar {
6426
+ var displayName: string;
6427
+ }
6428
+
6429
+
6408
6430
  declare module "@tiptap/core" {
6409
6431
  interface Commands<ReturnType> {
6410
6432
  moodTracker: {
@@ -6412,8 +6434,3 @@ declare module "@tiptap/core" {
6412
6434
  };
6413
6435
  }
6414
6436
  }
6415
-
6416
-
6417
- declare namespace Calendar {
6418
- var displayName: string;
6419
- }
@@ -1,5 +1,5 @@
1
- import { bB as Gm, bC as Hc, bD as uA, bE as hA, bF as Km, bG as hy, bH as Ls, al as a0, bI as Wr, bJ as l0, bK as Ts, bL as Lf, aq as ii, bM as sl, bN as Zm, bO as pA, bP as ks, bQ as $c, bR as mA, bS as gA, bT as vA, bU as yA, bV as Jm, bW as py, bX as my, bY as xA, bZ as kA, b_ as wA, b$ as Xm, c0 as Tf, c1 as bA, c2 as gy, c3 as Ym, c4 as Qm, c5 as CA, c6 as c0, az as vy, c7 as e3, c8 as _A, c9 as yy, ca as xy, cb as E5, cc as Af, cd as SA, ce as EA, cf as LA, cg as Lh, ch as TA, ci as AA, cj as MA, ck as we, cl as ky, cm as NA, f as qa, cn as Vc, j as yd, co as wy, h as l1, cp as OA, L as Th, cq as FA, A as DA, i as c1, c as IA, l as RA, G as PA, g as L5, cr as BA, k as T5, cs as HA, o as $A, ct as by, cu as Cy, cv as VA, cw as Mf, ar as Le, ak as We, Q as D, cx as Nf, O as t3, cy as n3, P as Gn, cz as Vn, cA as Of, cB as Ml, cC as xd, bx as Nl, cD as us, cE as Xe, cF as da, cG as ht, a$ as cs, ap as Ft, cH as zA, cI as i3, cJ as jA, cK as WA, cL as UA, am as _y, an as Sy, cM as Ey, cN as Ly, cO as To, cP as qA, cQ as A5, cR as GA, cS as KA, cT as ZA, cU as Kt, ac as li, cV as ye, cW as f0, cX as bi, a7 as Ni, a8 as JA, cY as Ty, cZ as r3, b0 as ol, c_ as Qp, c$ as Ay, d0 as My, d1 as Ny, d2 as Oy, d3 as Fy, a5 as zt, d4 as Dy, d5 as Iy, d6 as Ry, d7 as Py, d8 as By, d9 as XA, da as YA, db as d0, dc as Hy, ag as QA, bd as eM, dd as Oi, aj as Jo, de as hn, ah as s3, ao as e2, df as M5, dg as kd, dh as tM, a9 as ua, di as Xo, dj as $y, dk as nM, dl as N5, dm as al, dn as o3, dp as Ff, dq as wd, dr as iM, ds as Vy, dt as rM, du as a3, dv as zc, dw as Fi, dx as sM, dy as oM, dz as $s, dA as Ah, dB as aM, dC as cc, dD as Da, dE as lM, dF as zy, dG as cM, dH as fM, dI as dM, dJ as uM, ad as ri, s as hM, w as pM, x as mM, z as gM, J as O5, K as F5, M as vM, N as yM, dK as xM, dL as Mh, dM as l3, dN as kM, dO as wM, dP as bM, aZ as CM, dQ as _M, by as Df, aY as bd, dR as jy, R as Ri, dS as u0, aV as ws, dT as SM, dU as EM, dV as Wy, aT as yr, dW as LM, dX as Uy, dY as qy, dZ as Ol, d_ as c3, d$ as TM, e0 as Gy, e1 as AM, e2 as MM, a3 as f3, a4 as d3, a6 as u3, e3 as Ky, e4 as NM, e5 as OM, e6 as FM, e7 as Zy, av as DM, e8 as t2, e9 as Jy, aQ as Cd, ea as IM, eb as RM, ec as PM, ed as BM, ee as HM, aN as n2, bA as $M, bz as VM, ef as Xy, ai as ro, eg as zM, eh as jM, b6 as h0, aR as h3, aK as If, ei as Yy, aU as WM, aM as Qy, aI as ex, ej as UM, ek as tx, el as qM, aL as Fl, aO as nx, ax as GM, em as KM, bf as ZM, bg as JM, bn as p0, bl as p3, at as m0, en as g0, eo as v0, au as y0, ep as m3, bm as ix, aX as g3, eq as XM, br as YM, er as i2, es as QM, et as _d, eu as eN, bh as Sd, bs as tN, ev as nN, bq as rx, ew as iN, bp as rN, bo as sN, ex as oN, ey as aN, ez as v3, eA as lN, eB as cN, eC as fN, eD as dN, eE as uN, eF as hN, eG as pN, eH as mN, eI as sx, b2 as gN, bk as vN, eJ as yN, eK as xN, eL as kN, aP as wN, eM as Rf, eN as y3, aW as x3, eO as k3, eP as Pf, eQ as bN, eR as ox, eS as D5, eT as CN, eU as _N, bt as ax, eV as lx, b3 as cx, eW as SN, eX as EN, eY as LN, aw as TN, _ as AN, T as MN, V as NN, W as ON, Z as FN, U as DN, eZ as I5, e_ as IN, e$ as RN, m as PN, f0 as fx, f1 as BN } from "./hooks-DVXzUSyf.js";
2
- import { ay as P4e, f4 as B4e, f5 as H4e, f3 as $4e, aS as V4e, a_ as z4e, f2 as j4e, b1 as W4e } from "./hooks-DVXzUSyf.js";
1
+ import { bA as Gm, bB as Hc, bC as uA, bD as hA, bE as Km, bF as hy, bG as Ls, ak as a0, bH as Wr, bI as l0, bJ as Ts, bK as Lf, ap as ii, bL as sl, bM as Zm, bN as pA, bO as ks, bP as $c, bQ as mA, bR as gA, bS as vA, bT as yA, bU as Jm, bV as py, bW as my, bX as xA, bY as kA, bZ as wA, b_ as Xm, b$ as Tf, c0 as bA, c1 as gy, c2 as Ym, c3 as Qm, c4 as CA, c5 as c0, ay as vy, c6 as e3, c7 as _A, c8 as yy, c9 as xy, ca as E5, cb as Af, cc as SA, cd as EA, ce as LA, cf as Lh, cg as TA, ch as AA, ci as MA, cj as we, ck as ky, cl as NA, f as qa, cm as Vc, j as yd, cn as wy, h as l1, co as OA, L as Th, cp as FA, A as DA, i as c1, c as IA, l as RA, G as PA, g as L5, cq as BA, k as T5, cr as HA, o as $A, cs as by, ct as Cy, cu as VA, cv as Mf, aq as Le, aj as We, ac as D, cw as Nf, cx as t3, cy as n3, cz as Gn, cA as Vn, cB as Of, cC as Ml, cD as xd, bw as Nl, cE as us, cF as Xe, cG as da, cH as ht, a_ as cs, ao as Ft, cI as zA, cJ as i3, cK as jA, cL as WA, cM as UA, al as _y, am as Sy, cN as Ey, cO as Ly, cP as To, cQ as qA, cR as A5, cS as GA, cT as KA, cU as ZA, cV as Kt, aa as li, cW as ye, cX as f0, cY as bi, a5 as Ni, a6 as JA, cZ as Ty, c_ as r3, a$ as ol, c$ as Qp, d0 as Ay, d1 as My, d2 as Ny, d3 as Oy, d4 as Fy, a3 as zt, d5 as Dy, d6 as Iy, d7 as Ry, d8 as Py, d9 as By, da as XA, db as YA, dc as d0, dd as Hy, af as QA, bc as eM, de as Oi, ai as Jo, df as hn, ag as s3, an as e2, dg as M5, dh as kd, di as tM, a7 as ua, dj as Xo, dk as $y, dl as nM, dm as N5, dn as al, dp as o3, dq as Ff, dr as wd, ds as iM, dt as Vy, du as rM, dv as a3, dw as zc, dx as Fi, dy as sM, dz as oM, dA as $s, dB as Ah, dC as aM, dD as cc, dE as Da, dF as lM, dG as zy, dH as cM, dI as fM, dJ as dM, dK as uM, ab as ri, s as hM, w as pM, x as mM, z as gM, J as O5, K as F5, M as vM, N as yM, dL as xM, dM as Mh, dN as l3, dO as kM, dP as wM, dQ as bM, aY as CM, dR as _M, bx as Df, aX as bd, dS as jy, O as Ri, dT as u0, aU as ws, dU as SM, dV as EM, dW as Wy, aS as yr, dX as LM, dY as Uy, dZ as qy, d_ as Ol, d$ as c3, e0 as TM, e1 as Gy, e2 as AM, e3 as MM, a1 as f3, a2 as d3, a4 as u3, e4 as Ky, e5 as NM, e6 as OM, e7 as FM, e8 as Zy, au as DM, e9 as t2, ea as Jy, aP as Cd, eb as IM, ec as RM, ed as PM, ee as BM, ef as HM, aM as n2, bz as $M, by as VM, eg as Xy, ah as ro, eh as zM, ei as jM, b5 as h0, aQ as h3, aJ as If, ej as Yy, aT as WM, aL as Qy, aH as ex, ek as UM, el as tx, em as qM, aK as Fl, aN as nx, aw as GM, en as KM, be as ZM, bf as JM, bm as p0, bk as p3, as as m0, eo as g0, ep as v0, at as y0, eq as m3, bl as ix, aW as g3, er as XM, bq as YM, es as i2, et as QM, eu as _d, ev as eN, bg as Sd, br as tN, ew as nN, bp as rx, ex as iN, bo as rN, bn as sN, ey as oN, ez as aN, eA as v3, eB as lN, eC as cN, eD as fN, eE as dN, eF as uN, eG as hN, eH as pN, eI as mN, eJ as sx, b1 as gN, bj as vN, eK as yN, eL as xN, eM as kN, aO as wN, eN as Rf, eO as y3, aV as x3, eP as k3, eQ as Pf, eR as bN, eS as ox, eT as D5, eU as CN, eV as _N, bs as ax, eW as lx, b2 as cx, eX as SN, eY as EN, eZ as LN, av as TN, W as AN, Q as MN, T as NN, U as ON, V as FN, R as DN, e_ as I5, e$ as IN, f0 as RN, m as PN, f1 as fx, f2 as BN } from "./hooks-D-lZODNt.js";
2
+ import { ax as P4e, f5 as B4e, f6 as H4e, f4 as $4e, aR as V4e, aZ as z4e, f3 as j4e, b0 as W4e } from "./hooks-D-lZODNt.js";
3
3
  import { jsxs as x, jsx as f, Fragment as Ze } from "react/jsx-runtime";
4
4
  import { useCopilotChatInternal as Bf, useCopilotContext as HN, useCopilotAction as R5, CopilotKit as $N } from "@copilotkit/react-core";
5
5
  import { Markdown as VN, useChatContext as zN, CopilotSidebar as jN } from "@copilotkit/react-ui";
package/dist/f0.d.ts CHANGED
@@ -59,6 +59,8 @@ import { PersonCellValue } from '../../value-display/types/person';
59
59
  import { PersonCellValue as PersonCellValue_2 } from './types/person';
60
60
  import { PieChartProps } from './PieChart';
61
61
  import { PopoverContentProps } from '@radix-ui/react-popover';
62
+ import { ProgressBarCellValue } from '../../value-display/types/progressBar';
63
+ import { ProgressBarCellValue as ProgressBarCellValue_2 } from './types/progressBar';
62
64
  import * as React_2 from 'react';
63
65
  import { ReactElement } from 'react';
64
66
  import { ReactNode } from 'react';
@@ -183,6 +185,14 @@ declare interface ActionCommonProps {
183
185
  * The tab index of the action.
184
186
  */
185
187
  tabIndex?: number;
188
+ /**
189
+ * Mouse enter event handler.
190
+ */
191
+ onMouseEnter?: React.MouseEventHandler<HTMLElement>;
192
+ /**
193
+ * Mouse leave event handler.
194
+ */
195
+ onMouseLeave?: React.MouseEventHandler<HTMLElement>;
186
196
  }
187
197
 
188
198
  declare type ActionDefinition = DropdownItemSeparator | (Pick<DropdownItemObject, "label" | "icon" | "description" | "critical"> & {
@@ -671,6 +681,11 @@ declare type ButtonInternalProps = Pick<ActionProps, "size" | "disabled" | "clas
671
681
  * If true, the button will not automatically add a title based label
672
682
  */
673
683
  noTitle?: boolean;
684
+ /**
685
+ * @private
686
+ * If true, the button will rotate the icon when the button is hovered.
687
+ */
688
+ iconRotate?: boolean;
674
689
  /**
675
690
  * @private
676
691
  * The style of the button.
@@ -855,6 +870,7 @@ declare const cardPropertyRenderers: {
855
870
  readonly dotTag: (args: DotTagCellValue) => default_2.JSX.Element;
856
871
  readonly file: (args: FileCellValue) => default_2.JSX.Element;
857
872
  readonly folder: (args: FolderCellValue) => default_2.JSX.Element;
873
+ readonly progressBar: (args: ProgressBarCellValue, _meta: ValueDisplayRendererContext) => default_2.JSX.Element | null;
858
874
  };
859
875
 
860
876
  declare type CardPropertyType = keyof typeof cardPropertyRenderers;
@@ -4536,6 +4552,7 @@ declare const valueDisplayRenderers: {
4536
4552
  readonly alertTag: (args: AlertTagCellValue_2) => JSX_2.Element;
4537
4553
  readonly person: (args: PersonCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
4538
4554
  readonly percentage: (args: PercentageCellValue, meta: ValueDisplayRendererContext_2) => JSX_2.Element | null;
4555
+ readonly progressBar: (args: ProgressBarCellValue_2, _meta: ValueDisplayRendererContext_2) => JSX_2.Element | null;
4539
4556
  readonly company: (args: CompanyCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
4540
4557
  readonly team: (args: TeamCellValue_2, meta: ValueDisplayRendererContext_2) => JSX_2.Element;
4541
4558
  readonly tag: (args: TagCellValue_2) => JSX_2.Element;
@@ -4668,6 +4685,11 @@ declare module "@tiptap/core" {
4668
4685
  }
4669
4686
 
4670
4687
 
4688
+ declare namespace Calendar {
4689
+ var displayName: string;
4690
+ }
4691
+
4692
+
4671
4693
  declare module "@tiptap/core" {
4672
4694
  interface Commands<ReturnType> {
4673
4695
  moodTracker: {
@@ -4675,8 +4697,3 @@ declare module "@tiptap/core" {
4675
4697
  };
4676
4698
  }
4677
4699
  }
4678
-
4679
-
4680
- declare namespace Calendar {
4681
- var displayName: string;
4682
- }