@factorialco/f0-react 2.23.0 → 2.24.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
@@ -2180,7 +2180,9 @@ declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
2180
2180
  }[TagType_2] | {
2181
2181
  type: "avatar-list";
2182
2182
  avatarList: F0AvatarListProps;
2183
- };
2183
+ } | (ComponentProps<typeof FileItem> & {
2184
+ type: "file";
2185
+ });
2184
2186
 
2185
2187
  /**
2186
2188
  * Remove a property from a union of objects.
@@ -2785,6 +2787,15 @@ declare type F0AvatarIconProps = {
2785
2787
  state?: F0IconProps["state"];
2786
2788
  } & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
2787
2789
 
2790
+ /**
2791
+ * Optional extras every avatar entry may carry regardless of `type`.
2792
+ * `tooltipDescription` is rendered as the tooltip's secondary line via the
2793
+ * underlying `Tooltip` `description` slot (use it for emails, roles, etc.).
2794
+ */
2795
+ declare type F0AvatarListExtras = {
2796
+ tooltipDescription?: string;
2797
+ };
2798
+
2788
2799
  declare type F0AvatarListProps = {
2789
2800
  /**
2790
2801
  * The size of the avatars in the list.
@@ -2812,23 +2823,32 @@ declare type F0AvatarListProps = {
2812
2823
  * @default "compact"
2813
2824
  */
2814
2825
  layout?: "fill" | "compact";
2826
+ /**
2827
+ * Controls the scroll behavior of the `+N` overflow popover that lists
2828
+ * collapsed avatars (including their `tooltipDescription` entries).
2829
+ * - `"vertical"` (default): caps the popover height and scrolls vertically.
2830
+ * - `"none"`: lets the popover grow to fit all entries.
2831
+ * @default "vertical"
2832
+ */
2833
+ tooltipScroll?: "vertical" | "none";
2815
2834
  } & F0AvatarListPropsAvatars;
2816
2835
 
2817
2836
  declare type F0AvatarListPropsAvatars = {
2818
2837
  type: "person";
2819
- avatars: (Omit<PersonAvatarVariant, "type"> & Record<string, unknown>)[];
2838
+ avatars: (Omit<PersonAvatarVariant, "type"> & // Allow to have more properties in the avatar variant
2839
+ F0AvatarListExtras & Record<string, unknown>)[];
2820
2840
  } | {
2821
2841
  type: "team";
2822
- avatars: (Omit<TeamAvatarVariant, "type"> & Record<string, unknown>)[];
2842
+ avatars: (Omit<TeamAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
2823
2843
  } | {
2824
2844
  type: "company";
2825
- avatars: (Omit<CompanyAvatarVariant, "type"> & Record<string, unknown>)[];
2845
+ avatars: (Omit<CompanyAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
2826
2846
  } | {
2827
2847
  type: "flag";
2828
- avatars: (Omit<FlagAvatarVariant, "type"> & Record<string, unknown>)[];
2848
+ avatars: (Omit<FlagAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
2829
2849
  } | {
2830
2850
  type: "file";
2831
- avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
2851
+ avatars: (Omit<FileAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
2832
2852
  };
2833
2853
 
2834
2854
  declare type F0AvatarPersonProps = {
@@ -3165,6 +3185,13 @@ export declare type FeedbackConfig = {
3165
3185
  }) => void;
3166
3186
  };
3167
3187
 
3188
+ declare type FileAction = {
3189
+ icon?: IconType;
3190
+ label: string;
3191
+ onClick: () => void;
3192
+ critical?: boolean;
3193
+ };
3194
+
3168
3195
  declare type FileAvatarVariant = Extract<AvatarVariant, {
3169
3196
  type: "file";
3170
3197
  }>;
@@ -3174,6 +3201,27 @@ declare type FileDef = {
3174
3201
  type: string;
3175
3202
  };
3176
3203
 
3204
+ declare const FileItem: WithDataTestIdReturnType<ForwardRefExoticComponent<FileItemProps & RefAttributes<HTMLDivElement>>>;
3205
+
3206
+ declare interface FileItemProps extends React.HTMLAttributes<HTMLDivElement> {
3207
+ file: File | FileDef;
3208
+ actions?: FileAction[];
3209
+ disabled?: boolean;
3210
+ size?: FileItemSize;
3211
+ }
3212
+
3213
+ declare type FileItemSize = NonNullable<VariantProps<typeof fileItemVariants>["size"]>;
3214
+
3215
+ declare const fileItemVariants: (props?: ({
3216
+ size?: "lg" | "md" | undefined;
3217
+ } & ({
3218
+ class?: ClassValue;
3219
+ className?: never;
3220
+ } | {
3221
+ class?: never;
3222
+ className?: ClassValue;
3223
+ })) | undefined) => string;
3224
+
3177
3225
  declare type FlagAvatarVariant = Extract<AvatarVariant, {
3178
3226
  type: "flag";
3179
3227
  }>;
@@ -4123,11 +4171,6 @@ declare module "gridstack" {
4123
4171
  }
4124
4172
 
4125
4173
 
4126
- declare namespace Calendar {
4127
- var displayName: string;
4128
- }
4129
-
4130
-
4131
4174
  declare module "@tiptap/core" {
4132
4175
  interface Commands<ReturnType> {
4133
4176
  aiBlock: {
@@ -4177,6 +4220,11 @@ declare module "@tiptap/core" {
4177
4220
  }
4178
4221
 
4179
4222
 
4223
+ declare namespace Calendar {
4224
+ var displayName: string;
4225
+ }
4226
+
4227
+
4180
4228
  declare namespace F0GraphNodeWrapperInner {
4181
4229
  var displayName: string;
4182
4230
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D as e, F as r, a as t, e as i, f as o, c as n, d as F, I as C, P as A, b as l, u } from "./F0CanvasPanel-CSOSmTuX.js";
1
+ import { D as e, F as r, a as t, e as i, f as o, c as n, d as F, I as C, P as A, b as l, u } from "./F0CanvasPanel-DAJcyyFM.js";
2
2
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
3
- import { A as c, C as I, h as P, s as v, t as f, w as p, m as T, j as g, q as y, x as S, p as x, r as H, k as V, e as b, g as M, l as O, F as k, i as w, a as D, n as j, o as q, b as z, f as B, v as E, c as L, d as G, u as J } from "./useChatHistory-CUWc-i-8.js";
3
+ import { A as c, C as I, h as P, s as v, t as f, w as p, m as T, j as g, q as y, x as S, p as x, r as H, k as V, e as b, g as M, l as O, F as k, i as w, a as D, n as j, o as q, b as z, f as B, v as E, c as L, d as G, u as J } from "./useChatHistory-DsrI2Vz9.js";
4
4
  export {
5
5
  c as AiChatTranslationsProvider,
6
6
  I as ChatSpinner,
@@ -3602,7 +3602,9 @@ export declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> &
3602
3602
  }[TagType_2] | {
3603
3603
  type: "avatar-list";
3604
3604
  avatarList: F0AvatarListProps;
3605
- };
3605
+ } | (ComponentProps<typeof FileItem> & {
3606
+ type: "file";
3607
+ });
3606
3608
 
3607
3609
  /**
3608
3610
  * @experimental This is an experimental component use it at your own risk
@@ -4123,6 +4125,15 @@ declare type F0AvatarIconProps = {
4123
4125
  state?: F0IconProps["state"];
4124
4126
  } & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
4125
4127
 
4128
+ /**
4129
+ * Optional extras every avatar entry may carry regardless of `type`.
4130
+ * `tooltipDescription` is rendered as the tooltip's secondary line via the
4131
+ * underlying `Tooltip` `description` slot (use it for emails, roles, etc.).
4132
+ */
4133
+ declare type F0AvatarListExtras = {
4134
+ tooltipDescription?: string;
4135
+ };
4136
+
4126
4137
  declare type F0AvatarListProps = {
4127
4138
  /**
4128
4139
  * The size of the avatars in the list.
@@ -4150,23 +4161,32 @@ declare type F0AvatarListProps = {
4150
4161
  * @default "compact"
4151
4162
  */
4152
4163
  layout?: "fill" | "compact";
4164
+ /**
4165
+ * Controls the scroll behavior of the `+N` overflow popover that lists
4166
+ * collapsed avatars (including their `tooltipDescription` entries).
4167
+ * - `"vertical"` (default): caps the popover height and scrolls vertically.
4168
+ * - `"none"`: lets the popover grow to fit all entries.
4169
+ * @default "vertical"
4170
+ */
4171
+ tooltipScroll?: "vertical" | "none";
4153
4172
  } & F0AvatarListPropsAvatars;
4154
4173
 
4155
4174
  declare type F0AvatarListPropsAvatars = {
4156
4175
  type: "person";
4157
- avatars: (Omit<PersonAvatarVariant, "type"> & Record<string, unknown>)[];
4176
+ avatars: (Omit<PersonAvatarVariant, "type"> & // Allow to have more properties in the avatar variant
4177
+ F0AvatarListExtras & Record<string, unknown>)[];
4158
4178
  } | {
4159
4179
  type: "team";
4160
- avatars: (Omit<TeamAvatarVariant, "type"> & Record<string, unknown>)[];
4180
+ avatars: (Omit<TeamAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
4161
4181
  } | {
4162
4182
  type: "company";
4163
- avatars: (Omit<CompanyAvatarVariant, "type"> & Record<string, unknown>)[];
4183
+ avatars: (Omit<CompanyAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
4164
4184
  } | {
4165
4185
  type: "flag";
4166
- avatars: (Omit<FlagAvatarVariant, "type"> & Record<string, unknown>)[];
4186
+ avatars: (Omit<FlagAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
4167
4187
  } | {
4168
4188
  type: "file";
4169
- avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
4189
+ avatars: (Omit<FileAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
4170
4190
  };
4171
4191
 
4172
4192
  export declare const F0AvatarModule: WithDataTestIdReturnType_5<typeof F0AvatarModule_2>;
@@ -5588,6 +5608,7 @@ declare type MetadataItemValue = {
5588
5608
  variant: StatusVariant;
5589
5609
  } | ({
5590
5610
  type: "list";
5611
+ max?: number;
5591
5612
  } & ({
5592
5613
  variant: "person";
5593
5614
  avatars: (PersonAvatarVariant | (PersonAvatarVariant & Record<string, unknown>))[];
@@ -8485,11 +8506,6 @@ declare module "gridstack" {
8485
8506
  }
8486
8507
 
8487
8508
 
8488
- declare namespace Calendar {
8489
- var displayName: string;
8490
- }
8491
-
8492
-
8493
8509
  declare module "@tiptap/core" {
8494
8510
  interface Commands<ReturnType> {
8495
8511
  aiBlock: {
@@ -8539,6 +8555,11 @@ declare module "@tiptap/core" {
8539
8555
  }
8540
8556
 
8541
8557
 
8558
+ declare namespace Calendar {
8559
+ var displayName: string;
8560
+ }
8561
+
8562
+
8542
8563
  declare namespace F0GraphNodeWrapperInner {
8543
8564
  var displayName: string;
8544
8565
  }
@@ -1,9 +1,9 @@
1
- import { g as ua, B as fa, h as ma, i as ha, j as At, k as De, l as ga, m as g, n as X, o as pe, u as se, T as pa, p as ba, q as xa, R as va, r as wa, s as ne, t as ya, v as gt, w as rt, x as Re, A as _e, y as Na, z as Ca, C as W, E as ka, G as Sa, H as ve, J as sn, K as Ia, L as Fa, M, N as on, S as O, O as we, Q as Aa, U as La, V as Ea, W as _a, X as Oa, Y as ke, Z as cn, _ as Da, $ as be, a0 as $e, a1 as Ta, a2 as pt, d as dn, a3 as Ce, a4 as za, a5 as un, a6 as ae, a7 as H, a8 as fn, a9 as Pa, aa as Ba, ab as Ra, ac as mn, ad as $a, ae as hn, af as me, ag as ee, ah as Wa, ai as Ma, aj as ja, ak as Va, al as ge, am as Ge, an as Ga, ao as Ha, ap as Ua, aq as Ka, ar as He, as as gn, at as qa, au as Ya, av as Za, aw as We, ax as Xa, ay as Ja, az as Qa, aA as er, aB as tr, aC as nr, aD as ar, aE as rr, aF as lr, aG as sr, aH as lt, aI as st, aJ as pn, aK as ir, aL as or, aM as cr, aN as dr, aO as Ue, aP as bt, aQ as bn, aR as ur, aS as xn, aT as fr, aU as mr, aV as hr, aW as Ee, aX as gr, aY as Lt, aZ as it, a_ as pr, a$ as br, a as xr, b as vr, b0 as vn, b1 as wr, f as yr, F as Nr, b2 as wn, b3 as Cr, b4 as yn, b5 as kr, b6 as Sr, b7 as Ir, b8 as Fr, b9 as Ar, ba as Lr, bb as Er, bc as _r, bd as Or, be as Nn, bf as ue, bg as Cn, bh as kn, bi as Dr, bj as Tr, bk as zr, bl as Pr, bm as Br, bn as Rr, bo as $r, bp as Et, bq as _t, br as Ot, bs as Wr, bt as Mr, bu as jr, bv as Vr, bw as Sn, bx as Gr, by as Hr } from "./F0CanvasPanel-CSOSmTuX.js";
2
- import { bK as Tc, bJ as zc, bW as Pc, bG as Bc, bH as Rc, bz as $c, bA as Wc, bX as Mc, bB as jc, bI as Vc, bS as Gc, bT as Hc, bC as Uc, bM as Kc, bL as qc, bD as Yc, bE as Zc, bU as Xc, bY as Jc, bV as Qc, bR as ed, bO as td, bQ as nd, bN as ad, bF as rd, bP as ld } from "./F0CanvasPanel-CSOSmTuX.js";
1
+ import { g as ua, B as fa, h as ma, i as ha, j as At, k as De, l as ga, m as g, n as X, o as pe, u as se, T as pa, p as ba, q as xa, R as va, r as wa, s as ne, t as ya, v as gt, w as rt, x as Re, A as _e, y as Na, z as Ca, C as W, E as ka, G as Sa, H as ve, J as sn, K as Ia, L as Fa, M, N as on, S as O, O as we, Q as Aa, U as La, V as Ea, W as _a, X as Oa, Y as ke, Z as cn, _ as Da, $ as be, a0 as $e, a1 as Ta, a2 as pt, d as dn, a3 as Ce, a4 as za, a5 as un, a6 as ae, a7 as H, a8 as fn, a9 as Pa, aa as Ba, ab as Ra, ac as mn, ad as $a, ae as hn, af as me, ag as ee, ah as Wa, ai as Ma, aj as ja, ak as Va, al as ge, am as Ge, an as Ga, ao as Ha, ap as Ua, aq as Ka, ar as He, as as gn, at as qa, au as Ya, av as Za, aw as We, ax as Xa, ay as Ja, az as Qa, aA as er, aB as tr, aC as nr, aD as ar, aE as rr, aF as lr, aG as sr, aH as lt, aI as st, aJ as pn, aK as ir, aL as or, aM as cr, aN as dr, aO as Ue, aP as bt, aQ as bn, aR as ur, aS as xn, aT as fr, aU as mr, aV as hr, aW as Ee, aX as gr, aY as Lt, aZ as it, a_ as pr, a$ as br, a as xr, b as vr, b0 as vn, b1 as wr, f as yr, F as Nr, b2 as wn, b3 as Cr, b4 as yn, b5 as kr, b6 as Sr, b7 as Ir, b8 as Fr, b9 as Ar, ba as Lr, bb as Er, bc as _r, bd as Or, be as Nn, bf as ue, bg as Cn, bh as kn, bi as Dr, bj as Tr, bk as zr, bl as Pr, bm as Br, bn as Rr, bo as $r, bp as Et, bq as _t, br as Ot, bs as Wr, bt as Mr, bu as jr, bv as Vr, bw as Sn, bx as Gr, by as Hr } from "./F0CanvasPanel-DAJcyyFM.js";
2
+ import { bK as Tc, bJ as zc, bW as Pc, bG as Bc, bH as Rc, bz as $c, bA as Wc, bX as Mc, bB as jc, bI as Vc, bS as Gc, bT as Hc, bC as Uc, bM as Kc, bL as qc, bD as Yc, bE as Zc, bU as Xc, bY as Jc, bV as Qc, bR as ed, bO as td, bQ as nd, bN as ad, bF as rd, bP as ld } from "./F0CanvasPanel-DAJcyyFM.js";
3
3
  import { jsx as e, jsxs as o, Fragment as K } from "react/jsx-runtime";
4
4
  import ie, { forwardRef as j, useRef as G, useTransition as Ur, useState as _, useLayoutEffect as In, useId as ot, useContext as Ke, createContext as xt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Kr, isValidElement as qr, cloneElement as Fn, Children as An } from "react";
5
- import { C as Yr, P as Zr, g as Ln, c as Xr, a as En, F as ct, f as Jr, b as Te, M as Qr, d as el, R as Dt, e as _n, u as tl, h as On, i as vt, j as wt, k as yt, l as Dn, m as Nt, n as nl, o as al, S as rl, p as ll, A as sl, B as il, L as ol, q as cl, V as dl, r as ul, s as Tt, t as fl, v as ml, O as hl } from "./useDataCollectionSource-DnYC5D7b.js";
6
- import { D as id, E as od, y as cd, W as dd, G as ud, N as fd, ad as md, U as hd, z as gd, a0 as pd, aj as bd, a1 as xd, a2 as vd, H as wd, af as yd, ag as Nd, ae as Cd, ah as kd, Y as Sd, a3 as Id, aa as Fd, ac as Ad, I as Ld, K as Ed, Q as _d, _ as Od, ai as Dd, $ as Td, Z as zd, J as Pd, T as Bd, w as Rd, x as $d, a5 as Wd, a6 as Md, ab as jd, X as Vd, a7 as Gd, a8 as Hd, a4 as Ud, a9 as Kd } from "./useDataCollectionSource-DnYC5D7b.js";
5
+ import { C as Yr, P as Zr, g as Ln, c as Xr, a as En, F as ct, f as Jr, b as Te, M as Qr, d as el, R as Dt, e as _n, u as tl, h as On, i as vt, j as wt, k as yt, l as Dn, m as Nt, n as nl, o as al, S as rl, p as ll, A as sl, B as il, L as ol, q as cl, V as dl, r as ul, s as Tt, t as fl, v as ml, O as hl } from "./useDataCollectionSource-B5-atCQw.js";
6
+ import { D as id, E as od, y as cd, W as dd, G as ud, N as fd, ad as md, U as hd, z as gd, a0 as pd, aj as bd, a1 as xd, a2 as vd, H as wd, af as yd, ag as Nd, ae as Cd, ah as kd, Y as Sd, a3 as Id, aa as Fd, ac as Ad, I as Ld, K as Ed, Q as _d, _ as Od, ai as Dd, $ as Td, Z as zd, J as Pd, T as Bd, w as Rd, x as $d, a5 as Wd, a6 as Md, ab as jd, X as Vd, a7 as Gd, a8 as Hd, a4 as Ud, a9 as Kd } from "./useDataCollectionSource-B5-atCQw.js";
7
7
  const gl = ua("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
@@ -4789,7 +4789,9 @@ declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
4789
4789
  }[TagType] | {
4790
4790
  type: "avatar-list";
4791
4791
  avatarList: F0AvatarListProps;
4792
- };
4792
+ } | (ComponentProps<typeof FileItem> & {
4793
+ type: "file";
4794
+ });
4793
4795
 
4794
4796
  export declare type DialogPosition = (typeof dialogPositions)[number];
4795
4797
 
@@ -6092,10 +6094,19 @@ export declare type F0AvatarIconProps = {
6092
6094
  } & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
6093
6095
 
6094
6096
  export declare const F0AvatarList: WithDataTestIdReturnType_4< {
6095
- ({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, }: F0AvatarListProps_2): JSX_2.Element;
6097
+ ({ avatars, size, type, noTooltip, remainingCount: initialRemainingCount, max, tooltipScroll, }: F0AvatarListProps_2): JSX_2.Element;
6096
6098
  displayName: string;
6097
6099
  }>;
6098
6100
 
6101
+ /**
6102
+ * Optional extras every avatar entry may carry regardless of `type`.
6103
+ * `tooltipDescription` is rendered as the tooltip's secondary line via the
6104
+ * underlying `Tooltip` `description` slot (use it for emails, roles, etc.).
6105
+ */
6106
+ declare type F0AvatarListExtras = {
6107
+ tooltipDescription?: string;
6108
+ };
6109
+
6099
6110
  export declare type F0AvatarListProps = {
6100
6111
  /**
6101
6112
  * The size of the avatars in the list.
@@ -6123,23 +6134,32 @@ export declare type F0AvatarListProps = {
6123
6134
  * @default "compact"
6124
6135
  */
6125
6136
  layout?: "fill" | "compact";
6137
+ /**
6138
+ * Controls the scroll behavior of the `+N` overflow popover that lists
6139
+ * collapsed avatars (including their `tooltipDescription` entries).
6140
+ * - `"vertical"` (default): caps the popover height and scrolls vertically.
6141
+ * - `"none"`: lets the popover grow to fit all entries.
6142
+ * @default "vertical"
6143
+ */
6144
+ tooltipScroll?: "vertical" | "none";
6126
6145
  } & F0AvatarListPropsAvatars;
6127
6146
 
6128
6147
  declare type F0AvatarListPropsAvatars = {
6129
6148
  type: "person";
6130
- avatars: (Omit<PersonAvatarVariant, "type"> & Record<string, unknown>)[];
6149
+ avatars: (Omit<PersonAvatarVariant, "type"> & // Allow to have more properties in the avatar variant
6150
+ F0AvatarListExtras & Record<string, unknown>)[];
6131
6151
  } | {
6132
6152
  type: "team";
6133
- avatars: (Omit<TeamAvatarVariant, "type"> & Record<string, unknown>)[];
6153
+ avatars: (Omit<TeamAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
6134
6154
  } | {
6135
6155
  type: "company";
6136
- avatars: (Omit<CompanyAvatarVariant, "type"> & Record<string, unknown>)[];
6156
+ avatars: (Omit<CompanyAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
6137
6157
  } | {
6138
6158
  type: "flag";
6139
- avatars: (Omit<FlagAvatarVariant, "type"> & Record<string, unknown>)[];
6159
+ avatars: (Omit<FlagAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
6140
6160
  } | {
6141
6161
  type: "file";
6142
- avatars: (Omit<FileAvatarVariant, "type"> & Record<string, unknown>)[];
6162
+ avatars: (Omit<FileAvatarVariant, "type"> & F0AvatarListExtras & Record<string, unknown>)[];
6143
6163
  };
6144
6164
 
6145
6165
  export declare const F0AvatarModule: WithDataTestIdReturnType_4<typeof F0AvatarModule_2>;
@@ -9564,28 +9584,35 @@ export declare interface F0TimelineRowMultitaskProps extends F0TimelineRowBasePr
9564
9584
  }
9565
9585
 
9566
9586
  /**
9567
- * Props for a nestedtask timeline row.
9568
- * Renders a task-style header (custom icon, title, description, chevron toggle)
9569
- * with collapsible nested items and optional group-level metadata (assignees, file chips, etc.).
9570
- * Unlike multitask, the header looks like a regular task row with expand/collapse capability.
9587
+ * Shared shape for nestedtask rows. The collapsible behaviour is layered on
9588
+ * top via a discriminated union (`F0TimelineRowNestedtaskProps`) so callers
9589
+ * either provide both `expanded` and `onExpandToggle` (collapsible) or
9590
+ * neither (non-collapsible).
9571
9591
  */
9572
- export declare interface F0TimelineRowNestedtaskProps extends F0TimelineRowBaseProps {
9592
+ declare interface F0TimelineRowNestedtaskBaseProps extends F0TimelineRowBaseProps {
9573
9593
  /** The icon representing the task type */
9574
9594
  icon: IconType;
9575
9595
  /** Description text (e.g., "Estimated on 18/07/2025") */
9576
9596
  description?: string;
9577
- /** Number of nested items (displayed in the progress pill) */
9578
- taskCount: number;
9597
+ /**
9598
+ * Number of nested items (displayed in the progress pill alongside
9599
+ * `completedCount`). Omit when the row body conveys progress on its own
9600
+ * (e.g. an embedded info card or table) and a pill would be redundant.
9601
+ */
9602
+ taskCount?: number;
9579
9603
  /** Number of completed items (displayed in the progress pill) */
9580
9604
  completedCount?: number;
9581
- /** Whether the row is expanded (controlled) */
9582
- expanded: boolean;
9583
- /** Callback when expand/collapse is toggled */
9584
- onExpandToggle: () => void;
9585
9605
  /** Metadata items displayed below the header (e.g., assignees, file chips). Always visible regardless of expand/collapse */
9586
9606
  metadata?: (MetadataItem | undefined | boolean)[];
9587
- /** The nested task items to render when expanded */
9588
- items: F0TimelineRowTaskProps[];
9607
+ /** The nested task items to render when expanded. Ignored when `content` is provided. */
9608
+ items?: F0TimelineRowTaskProps[];
9609
+ /**
9610
+ * Custom content to render in the expanded body of the row. When provided,
9611
+ * `items` is ignored and this React node is rendered instead. Use this to
9612
+ * embed richer UI (callout cards, tables, custom panels) inside a nested
9613
+ * timeline row.
9614
+ */
9615
+ content?: React.ReactNode;
9589
9616
  /** Primary action button (displayed on the right after a divider) */
9590
9617
  primaryAction?: F0TimelineRowAction;
9591
9618
  /** Secondary action buttons (displayed on the left) */
@@ -9594,6 +9621,38 @@ export declare interface F0TimelineRowNestedtaskProps extends F0TimelineRowBaseP
9594
9621
  otherActions?: F0TimelineRowOtherAction[];
9595
9622
  }
9596
9623
 
9624
+ /**
9625
+ * Props for a nestedtask timeline row.
9626
+ * Renders a task-style header (custom icon, title, description, chevron toggle)
9627
+ * with collapsible nested items and optional group-level metadata (assignees, file chips, etc.).
9628
+ * Unlike multitask, the header looks like a regular task row with expand/collapse capability.
9629
+ *
9630
+ * Discriminated by `collapsible`:
9631
+ * - default / `collapsible: true` — both `expanded` and `onExpandToggle` are required.
9632
+ * - `collapsible: false` — the row is always expanded, the header has no toggle affordance,
9633
+ * and `expanded`/`onExpandToggle` are not accepted.
9634
+ */
9635
+ export declare type F0TimelineRowNestedtaskProps = (F0TimelineRowNestedtaskBaseProps & {
9636
+ /**
9637
+ * Whether the header chevron toggles the body.
9638
+ * @default true
9639
+ */
9640
+ collapsible?: true;
9641
+ /** Whether the row is expanded (controlled) */
9642
+ expanded: boolean;
9643
+ /** Callback when expand/collapse is toggled */
9644
+ onExpandToggle: () => void;
9645
+ }) | (F0TimelineRowNestedtaskBaseProps & {
9646
+ /**
9647
+ * When false, the row is always expanded and the header has no toggle
9648
+ * affordance — useful when the body controls its own expansion
9649
+ * (e.g. a collapsible callout card).
9650
+ */
9651
+ collapsible: false;
9652
+ expanded?: never;
9653
+ onExpandToggle?: never;
9654
+ });
9655
+
9597
9656
  export declare type F0TimelineRowOtherAction = DropdownItem;
9598
9657
 
9599
9658
  export declare type F0TimelineRowProps = F0TimelineRowTaskProps | F0TimelineRowMultitaskProps | F0TimelineRowNestedtaskProps;
@@ -11200,6 +11259,7 @@ declare type MetadataItemValue = {
11200
11259
  variant: StatusVariant;
11201
11260
  } | ({
11202
11261
  type: "list";
11262
+ max?: number;
11203
11263
  } & ({
11204
11264
  variant: "person";
11205
11265
  avatars: (PersonAvatarVariant | (PersonAvatarVariant & Record<string, unknown>))[];
@@ -14959,11 +15019,6 @@ declare module "gridstack" {
14959
15019
  }
14960
15020
 
14961
15021
 
14962
- declare namespace Calendar {
14963
- var displayName: string;
14964
- }
14965
-
14966
-
14967
15022
  declare module "@tiptap/core" {
14968
15023
  interface Commands<ReturnType> {
14969
15024
  aiBlock: {
@@ -15013,6 +15068,11 @@ declare module "@tiptap/core" {
15013
15068
  }
15014
15069
 
15015
15070
 
15071
+ declare namespace Calendar {
15072
+ var displayName: string;
15073
+ }
15074
+
15075
+
15016
15076
  declare namespace F0GraphNodeWrapperInner {
15017
15077
  var displayName: string;
15018
15078
  }