@factorialco/f0-react 1.446.0 → 1.448.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/{F0AiChat-B95s1fWA.js → F0AiChat-D1mRjixu.js} +1358 -1348
- package/dist/ai.d.ts +5 -5
- package/dist/ai.js +2 -2
- package/dist/experimental.d.ts +5 -5
- package/dist/experimental.js +4 -4
- package/dist/f0.d.ts +45 -9
- package/dist/f0.js +2780 -2652
- package/dist/i18n-provider-defaults.d.ts +5 -5
- package/dist/{index-Drho_LGp.js → index-Dx1UjDSr.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-CEI7lcP8.js → types-DQz_EKLk.js} +1 -1
- package/package.json +1 -1
package/dist/ai.d.ts
CHANGED
|
@@ -2562,6 +2562,11 @@ declare module "gridstack" {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
|
|
2564
2564
|
|
|
2565
|
+
declare namespace Calendar {
|
|
2566
|
+
var displayName: string;
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
|
|
2565
2570
|
declare module "@tiptap/core" {
|
|
2566
2571
|
interface Commands<ReturnType> {
|
|
2567
2572
|
aiBlock: {
|
|
@@ -2609,8 +2614,3 @@ declare module "@tiptap/core" {
|
|
|
2609
2614
|
};
|
|
2610
2615
|
}
|
|
2611
2616
|
}
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
declare namespace Calendar {
|
|
2615
|
-
var displayName: string;
|
|
2616
|
-
}
|
package/dist/ai.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-
|
|
1
|
+
import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-D1mRjixu.js";
|
|
2
2
|
import { defaultTranslations as m } from "./i18n-provider-defaults.js";
|
|
3
|
-
import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-
|
|
3
|
+
import { A as p, e as g, F as S, c as v, d as x, b as k, a as O, f as P, o as b, u as y } from "./types-DQz_EKLk.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AiChatTranslationsProvider,
|
|
6
6
|
t as ChatSpinner,
|
package/dist/experimental.d.ts
CHANGED
|
@@ -7649,6 +7649,11 @@ declare module "gridstack" {
|
|
|
7649
7649
|
}
|
|
7650
7650
|
|
|
7651
7651
|
|
|
7652
|
+
declare namespace Calendar {
|
|
7653
|
+
var displayName: string;
|
|
7654
|
+
}
|
|
7655
|
+
|
|
7656
|
+
|
|
7652
7657
|
declare module "@tiptap/core" {
|
|
7653
7658
|
interface Commands<ReturnType> {
|
|
7654
7659
|
aiBlock: {
|
|
@@ -7696,8 +7701,3 @@ declare module "@tiptap/core" {
|
|
|
7696
7701
|
};
|
|
7697
7702
|
}
|
|
7698
7703
|
}
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
declare namespace Calendar {
|
|
7702
|
-
var displayName: string;
|
|
7703
|
-
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a6 as zn, a7 as Pn, a8 as Rn, a9 as $n, aa as zt, ab as Re, ac as Bn, ad as xt, ae as ot, af as je, L as h, R as K, M as be, u as oe, ag as Wn, ah as Mn, ai as jn, aj as Vn, ak as Gn, a2 as le, al as Hn, Q as ke, am as Un, an as Kn, ao as B, ap as qn, aq as Yn, J as Oe, ar as ma, as as Jn, at as Zn, N as M, au as vt, a5 as _, av as fe, aw as Xn, ax as Qn, ay as er, az as tr, aA as ar, aB as Se, aC as ha, aD as nr, aE as ve, aF as Ee, aG as rr, aH as yt, k as pa, aI as Ce, aJ as lr, aK as ga, a3 as ae, aL as $, O as ba, aM as xa, aN as sr, aO as wt, aP as pe, a4 as ee, aQ as ir, aR as or, aS as cr, aT as dr, T as ge, aU as Ke, aV as ur, aW as fr, aX as mr, aY as hr, aZ as qe, a_ as va, a$ as pr, b0 as gr, b1 as br, b2 as Ve, b3 as xr, b4 as vr, b5 as yr, b6 as wr, b7 as Nr, b8 as Cr, b9 as Ir, ba as kr, bb as Sr, bc as Ar, bd as ya, be as wa, bf as Na, bg as ct, bh as dt, bi as Ca, bj as Lr, bk as Fr, bl as Tr, bm as _r, P as Ye, bn as Nt, bo as Ia, bp as Er, bq as ka, br as Dr, bs as Or, bt as zr, bu as Ie, bv as Pr, bw as $e, bx as Pt, by as ut, bz as Rr, bA as $r, bB as Br, X as Sa, W as Wr, bC as Aa, Y as Ct, Z as Mr, bD as jr, U as It, bE as Vr, a as Gr, c as Hr, bF as Ur, bG as La, bH as Kr, bI as qr, F as Yr, bJ as Fa, bK as Ta, bL as Jr, bM as Rt, bN as Zr, bO as Xr, bP as Qr, bQ as el, bR as _a, bS as tl, bT as al, bU as nl, bV as rl, bW as ll, bX as me, bY as kt, bZ as St, b_ as At, b$ as Ea, c0 as Lt, c1 as Da, c2 as sl, c3 as il, c4 as ol, c5 as cl, c6 as dl, c7 as ul, c8 as fl, c9 as ml, ca as hl, cb as pl, cc as gl, cd as $t, ce as Bt, cf as Wt, cg as bl, ch as xl, ci as vl, cj as yl, ck as Oa, cl as wl, cm as Nl, cn as Cl } from "./F0AiChat-
|
|
2
|
-
import { cx as Ld, cw as Fd, cJ as Td, cp as _d, cq as Ed, cT as Dd, cr as Od, cv as zd, cs as Pd, cF as Rd, cG as $d, cK as Bd, cR as Wd, cS as Md, ct as jd, cz as Vd, cy as Gd, cH as Hd, co as Ud, cI as Kd, cM as qd, cN as Yd, cE as Jd, cB as Zd, cD as Xd, cA as Qd, cu as eu, cC as tu, cO as au, cP as nu, cL as ru, cQ as lu } from "./F0AiChat-
|
|
1
|
+
import { a6 as zn, a7 as Pn, a8 as Rn, a9 as $n, aa as zt, ab as Re, ac as Bn, ad as xt, ae as ot, af as je, L as h, R as K, M as be, u as oe, ag as Wn, ah as Mn, ai as jn, aj as Vn, ak as Gn, a2 as le, al as Hn, Q as ke, am as Un, an as Kn, ao as B, ap as qn, aq as Yn, J as Oe, ar as ma, as as Jn, at as Zn, N as M, au as vt, a5 as _, av as fe, aw as Xn, ax as Qn, ay as er, az as tr, aA as ar, aB as Se, aC as ha, aD as nr, aE as ve, aF as Ee, aG as rr, aH as yt, k as pa, aI as Ce, aJ as lr, aK as ga, a3 as ae, aL as $, O as ba, aM as xa, aN as sr, aO as wt, aP as pe, a4 as ee, aQ as ir, aR as or, aS as cr, aT as dr, T as ge, aU as Ke, aV as ur, aW as fr, aX as mr, aY as hr, aZ as qe, a_ as va, a$ as pr, b0 as gr, b1 as br, b2 as Ve, b3 as xr, b4 as vr, b5 as yr, b6 as wr, b7 as Nr, b8 as Cr, b9 as Ir, ba as kr, bb as Sr, bc as Ar, bd as ya, be as wa, bf as Na, bg as ct, bh as dt, bi as Ca, bj as Lr, bk as Fr, bl as Tr, bm as _r, P as Ye, bn as Nt, bo as Ia, bp as Er, bq as ka, br as Dr, bs as Or, bt as zr, bu as Ie, bv as Pr, bw as $e, bx as Pt, by as ut, bz as Rr, bA as $r, bB as Br, X as Sa, W as Wr, bC as Aa, Y as Ct, Z as Mr, bD as jr, U as It, bE as Vr, a as Gr, c as Hr, bF as Ur, bG as La, bH as Kr, bI as qr, F as Yr, bJ as Fa, bK as Ta, bL as Jr, bM as Rt, bN as Zr, bO as Xr, bP as Qr, bQ as el, bR as _a, bS as tl, bT as al, bU as nl, bV as rl, bW as ll, bX as me, bY as kt, bZ as St, b_ as At, b$ as Ea, c0 as Lt, c1 as Da, c2 as sl, c3 as il, c4 as ol, c5 as cl, c6 as dl, c7 as ul, c8 as fl, c9 as ml, ca as hl, cb as pl, cc as gl, cd as $t, ce as Bt, cf as Wt, cg as bl, ch as xl, ci as vl, cj as yl, ck as Oa, cl as wl, cm as Nl, cn as Cl } from "./F0AiChat-D1mRjixu.js";
|
|
2
|
+
import { cx as Ld, cw as Fd, cJ as Td, cp as _d, cq as Ed, cT as Dd, cr as Od, cv as zd, cs as Pd, cF as Rd, cG as $d, cK as Bd, cR as Wd, cS as Md, ct as jd, cz as Vd, cy as Gd, cH as Hd, co as Ud, cI as Kd, cM as qd, cN as Yd, cE as Jd, cB as Zd, cD as Xd, cA as Qd, cu as eu, cC as tu, cO as au, cP as nu, cL as ru, cQ as lu } from "./F0AiChat-D1mRjixu.js";
|
|
3
3
|
import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import * as De from "react";
|
|
5
5
|
import re, { forwardRef as E, useRef as G, useTransition as Il, useState as T, useLayoutEffect as za, useContext as Je, createContext as Ft, useCallback as Q, useMemo as q, useEffect as j, useId as kl, memo as Pa, Fragment as Sl, isValidElement as Al, cloneElement as Ra, Children as $a } from "react";
|
|
6
|
-
import { C as Ll, P as Fl, g as Ba, c as Tl, a as Wa, F as ft, f as _l, b as El, u as Ma, A as Dl, B as Ol, L as zl, d as Pl, V as Rl, e as $l, h as Mt, i as Bl, j as Wl } from "./index-
|
|
7
|
-
import { m as iu, n as ou, k as cu, v as du, o as uu, t as fu, E as mu, l as hu, y as pu, M as gu, I as bu, z as xu, p as vu, G as yu, H as wu, N as Nu, J as Cu, q as Iu, s as ku, R as Su, x as Au, K as Lu, S as Fu, T as Tu, r as _u, _ as Eu, D as Du, w as Ou } from "./index-
|
|
6
|
+
import { C as Ll, P as Fl, g as Ba, c as Tl, a as Wa, F as ft, f as _l, b as El, u as Ma, A as Dl, B as Ol, L as zl, d as Pl, V as Rl, e as $l, h as Mt, i as Bl, j as Wl } from "./index-Dx1UjDSr.js";
|
|
7
|
+
import { m as iu, n as ou, k as cu, v as du, o as uu, t as fu, E as mu, l as hu, y as pu, M as gu, I as bu, z as xu, p as vu, G as yu, H as wu, N as Nu, J as Cu, q as Iu, s as ku, R as Su, x as Au, K as Lu, S as Fu, T as Tu, r as _u, _ as Eu, D as Du, w as Ou } from "./index-Dx1UjDSr.js";
|
|
8
8
|
const Ml = zn("Search", [
|
|
9
9
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
10
10
|
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
package/dist/f0.d.ts
CHANGED
|
@@ -4820,7 +4820,7 @@ export declare interface F0AiPresentedForm {
|
|
|
4820
4820
|
initialValues: Record<string, unknown>;
|
|
4821
4821
|
}
|
|
4822
4822
|
|
|
4823
|
-
export declare const F0Alert: WithDataTestIdReturnType_3<({ title, description, action, link, icon, variant, }: F0AlertProps) => JSX_2.Element>;
|
|
4823
|
+
export declare const F0Alert: WithDataTestIdReturnType_3<({ title, description, action, link, icon, variant, onClose, }: F0AlertProps) => JSX_2.Element>;
|
|
4824
4824
|
|
|
4825
4825
|
export declare interface F0AlertProps {
|
|
4826
4826
|
title: string;
|
|
@@ -4835,7 +4835,9 @@ export declare interface F0AlertProps {
|
|
|
4835
4835
|
href: string;
|
|
4836
4836
|
};
|
|
4837
4837
|
icon?: IconType;
|
|
4838
|
-
variant
|
|
4838
|
+
variant: AlertVariant;
|
|
4839
|
+
/** Called when the user dismisses the alert. When provided, a close button is shown. */
|
|
4840
|
+
onClose?: () => void;
|
|
4839
4841
|
}
|
|
4840
4842
|
|
|
4841
4843
|
/**
|
|
@@ -7724,6 +7726,9 @@ declare interface F0TimelineRowBaseProps {
|
|
|
7724
7726
|
hideStatus?: boolean;
|
|
7725
7727
|
}
|
|
7726
7728
|
|
|
7729
|
+
/** Item types that can be rendered inside a multitask row */
|
|
7730
|
+
export declare type F0TimelineRowMultitaskItemProps = F0TimelineRowTaskProps | F0TimelineRowNestedtaskProps;
|
|
7731
|
+
|
|
7727
7732
|
/** Props for a multitask (collapsible group) timeline row */
|
|
7728
7733
|
export declare interface F0TimelineRowMultitaskProps extends F0TimelineRowBaseProps {
|
|
7729
7734
|
/** Number of grouped tasks */
|
|
@@ -7734,13 +7739,44 @@ export declare interface F0TimelineRowMultitaskProps extends F0TimelineRowBasePr
|
|
|
7734
7739
|
expanded: boolean;
|
|
7735
7740
|
/** Callback when multitask row expand/collapse is toggled */
|
|
7736
7741
|
onExpandToggle: () => void;
|
|
7737
|
-
/** The subtask items to render when expanded */
|
|
7742
|
+
/** The subtask items to render when expanded. Can be single tasks or nestedtask groups */
|
|
7743
|
+
items: F0TimelineRowMultitaskItemProps[];
|
|
7744
|
+
}
|
|
7745
|
+
|
|
7746
|
+
/**
|
|
7747
|
+
* Props for a nestedtask timeline row.
|
|
7748
|
+
* Renders a task-style header (custom icon, title, description, chevron toggle)
|
|
7749
|
+
* with collapsible nested items and optional group-level metadata (assignees, file chips, etc.).
|
|
7750
|
+
* Unlike multitask, the header looks like a regular task row with expand/collapse capability.
|
|
7751
|
+
*/
|
|
7752
|
+
export declare interface F0TimelineRowNestedtaskProps extends F0TimelineRowBaseProps {
|
|
7753
|
+
/** The icon representing the task type */
|
|
7754
|
+
icon: IconType;
|
|
7755
|
+
/** Description text (e.g., "Estimated on 18/07/2025") */
|
|
7756
|
+
description?: string;
|
|
7757
|
+
/** Number of nested items (displayed in the progress pill) */
|
|
7758
|
+
taskCount: number;
|
|
7759
|
+
/** Number of completed items (displayed in the progress pill) */
|
|
7760
|
+
completedCount?: number;
|
|
7761
|
+
/** Whether the row is expanded (controlled) */
|
|
7762
|
+
expanded: boolean;
|
|
7763
|
+
/** Callback when expand/collapse is toggled */
|
|
7764
|
+
onExpandToggle: () => void;
|
|
7765
|
+
/** Metadata items displayed below the header (e.g., assignees, file chips). Always visible regardless of expand/collapse */
|
|
7766
|
+
metadata?: (MetadataItem | undefined | boolean)[];
|
|
7767
|
+
/** The nested task items to render when expanded */
|
|
7738
7768
|
items: F0TimelineRowTaskProps[];
|
|
7769
|
+
/** Primary action button (displayed on the right after a divider) */
|
|
7770
|
+
primaryAction?: F0TimelineRowAction;
|
|
7771
|
+
/** Secondary action buttons (displayed on the left) */
|
|
7772
|
+
secondaryActions?: F0TimelineRowAction[];
|
|
7773
|
+
/** Overflow menu items (displayed as a dropdown via ellipsis button) */
|
|
7774
|
+
otherActions?: F0TimelineRowOtherAction[];
|
|
7739
7775
|
}
|
|
7740
7776
|
|
|
7741
7777
|
export declare type F0TimelineRowOtherAction = DropdownItem;
|
|
7742
7778
|
|
|
7743
|
-
export declare type F0TimelineRowProps = F0TimelineRowTaskProps | F0TimelineRowMultitaskProps;
|
|
7779
|
+
export declare type F0TimelineRowProps = F0TimelineRowTaskProps | F0TimelineRowMultitaskProps | F0TimelineRowNestedtaskProps;
|
|
7744
7780
|
|
|
7745
7781
|
/** Props for a single-task timeline row */
|
|
7746
7782
|
export declare interface F0TimelineRowTaskProps extends F0TimelineRowBaseProps {
|
|
@@ -12650,6 +12686,11 @@ declare module "gridstack" {
|
|
|
12650
12686
|
}
|
|
12651
12687
|
|
|
12652
12688
|
|
|
12689
|
+
declare namespace Calendar {
|
|
12690
|
+
var displayName: string;
|
|
12691
|
+
}
|
|
12692
|
+
|
|
12693
|
+
|
|
12653
12694
|
declare module "@tiptap/core" {
|
|
12654
12695
|
interface Commands<ReturnType> {
|
|
12655
12696
|
aiBlock: {
|
|
@@ -12697,8 +12738,3 @@ declare module "@tiptap/core" {
|
|
|
12697
12738
|
};
|
|
12698
12739
|
}
|
|
12699
12740
|
}
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
declare namespace Calendar {
|
|
12703
|
-
var displayName: string;
|
|
12704
|
-
}
|