@factorialco/f0-react 1.261.0 → 1.263.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/experimental.d.ts +15 -6
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +16 -8
- package/dist/f0.js +2 -2
- package/dist/{hooks--adqoAKI.js → hooks-DibdSL-S.js} +7789 -7780
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -625,6 +625,8 @@ declare type AvatarFileSize = (typeof avatarFileSizes)[number];
|
|
|
625
625
|
|
|
626
626
|
declare const avatarFileSizes: readonly ["xs", "sm", "md", "lg"];
|
|
627
627
|
|
|
628
|
+
declare const avatarIconSizes: readonly ["sm", "md", "lg"];
|
|
629
|
+
|
|
628
630
|
declare type AvatarSize = (typeof avatarSizes)[number];
|
|
629
631
|
|
|
630
632
|
declare const avatarSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
@@ -641,7 +643,9 @@ declare type AvatarVariant = DistributiveOmit<({
|
|
|
641
643
|
type: "file";
|
|
642
644
|
} & F0AvatarFileProps) | ({
|
|
643
645
|
type: "flag";
|
|
644
|
-
} & F0AvatarFlagProps)
|
|
646
|
+
} & F0AvatarFlagProps) | ({
|
|
647
|
+
type: "icon";
|
|
648
|
+
} & F0AvatarIconProps), "size">;
|
|
645
649
|
|
|
646
650
|
export declare const Badge: ({ type, size, icon }: BadgeProps) => JSX_2.Element;
|
|
647
651
|
|
|
@@ -2452,6 +2456,11 @@ declare type F0AvatarFlagProps = {
|
|
|
2452
2456
|
badge?: AvatarBadge;
|
|
2453
2457
|
} & Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">;
|
|
2454
2458
|
|
|
2459
|
+
declare type F0AvatarIconProps = {
|
|
2460
|
+
icon: IconType;
|
|
2461
|
+
size?: (typeof avatarIconSizes)[number];
|
|
2462
|
+
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
2463
|
+
|
|
2455
2464
|
/**
|
|
2456
2465
|
* Module avatar
|
|
2457
2466
|
* @description A component that displays a module avatar
|
|
@@ -5700,6 +5709,11 @@ declare module "@tiptap/core" {
|
|
|
5700
5709
|
}
|
|
5701
5710
|
|
|
5702
5711
|
|
|
5712
|
+
declare namespace Calendar {
|
|
5713
|
+
var displayName: string;
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5716
|
+
|
|
5703
5717
|
declare module "@tiptap/core" {
|
|
5704
5718
|
interface Commands<ReturnType> {
|
|
5705
5719
|
moodTracker: {
|
|
@@ -5707,8 +5721,3 @@ declare module "@tiptap/core" {
|
|
|
5707
5721
|
};
|
|
5708
5722
|
}
|
|
5709
5723
|
}
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
declare namespace Calendar {
|
|
5713
|
-
var displayName: string;
|
|
5714
|
-
}
|
package/dist/experimental.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bD as Cp, bE as Qc, bF as H_, bG as V_, bH as _p, ad as f8, bI as Bo, aq as Of, bJ as ji, bK as If, bL as pr, bM as bl, av as Mn, bN as vs, bO as Sp, bP as j_, bQ as Hs, bR as Ha, bS as Lp, bT as W_, bU as q_, bV as Ep, bW as wl, bX as Mp, bY as Np, bZ as U_, b_ as Df, aE as u8, b$ as Ap, c0 as G_, c1 as h8, c2 as p8, c3 as H3, c4 as xl, c5 as K_, c6 as Z_, c7 as J_, c8 as J1, c9 as Y_, ca as X_, cb as Q_, cc as ne, cd as m8, ce as eS, f as as, cf as Va, j as ed, cg as g8, h as Kl, ch as tS, L as Y1, ci as nS, A as iS, i as Zl, c as rS, l as oS, G as sS, g as V3, cj as aS, k as j3, o as lS, ck as y8, cl as v8, cm as cS, cn as Vs, ai as dS, aw as he, ap as _e, co as Cl, O as Tp, cp as Op, P as on, cq as _l, cr as js, cs as td, ct as Qt, bz as Ws, cu as Ch, ab as ze, cv as $o, cw as Je, cx as fS, Q as T, b3 as rr, au as ct, a$ as Rf, ac as k8, cy as Ip, cz as uS, cA as hS, cB as pS, ar as b8, as as w8, cC as x8, cD as C8, cE as io, cF as mS, cG as W3, cH as gS, cI as yS, cJ as vS, cK as xt, al as gn, cL as X, cM as Ff, cN as On, a7 as ai, a8 as kS, cO as _8, cP as Dp, cQ as ks, cR as _h, cS as S8, cT as L8, cU as E8, cV as M8, cW as N8, a5 as wt, cX as A8, cY as bS, cZ as wS, c_ as xS, c$ as CS, d0 as _S, d1 as SS, d2 as LS, d3 as ES, ak as MS, be as NS, d4 as jn, ao as _o, d5 as Nn, am as Rp, at as Sh, d6 as q3, d7 as nd, d8 as AS, a9 as qs, d9 as So, da as T8, db as wi, s as TS, w as OS, x as IS, z as DS, J as U3, K as G3, M as RS, N as FS, dc as PS, dd as BS, de as Us, df as Fp, aY as $i, a_ as Lo, dg as $S, dh as O8, di as I8, dj as zS, dk as HS, a3 as Pp, a4 as Bp, a6 as $p, R as qn, dl as D8, dm as VS, dn as jS, dp as WS, dq as R8, aA as qS, dr as Lh, ds as F8, aV as id, dt as US, du as GS, dv as KS, dw as ZS, dx as JS, bA as Pf, aS as Eh, bC as YS, bB as XS, dy as P8, an as zr, dz as QS, dA as eL, b8 as Bf, aW as zp, aP as $f, dB as Hp, dC as B8, aZ as tL, aR as $8, aN as z8, dD as nL, dE as H8, dF as iL, aQ as Gs, aT as V8, aC as rL, dG as oL, bg as sL, bh as aL, bo as zf, bm as Vp, ay as Hf, dH as Vf, dI as jf, az as Wf, dJ as jp, bn as j8, b0 as Wp, dK as lL, bt as cL, dL as Mh, dM as dL, dN as rd, dO as fL, bi as od, bu as uL, dP as hL, bs as W8, dQ as pL, br as mL, bq as gL, dR as yL, b1 as Nh, dS as q8, dT as vL, af as qp, dU as kL, dV as bL, ag as wL, ah as xL, dW as CL, dX as _L, dY as SL, dZ as LL, d_ as U8, b4 as EL, bl as ML, d$ as NL, e0 as AL, e1 as TL, aU as OL, e2 as Sl, e3 as Up, e4 as Gp, e5 as Ll, e6 as IL, e7 as G8, e8 as DL, e9 as RL, bv as K8, ea as Z8, b5 as J8, eb as FL, ec as PL, ed as BL, aB as $L, _ as zL, T as HL, V as VL, W as jL, Z as WL, U as qL, ee as K3, ef as UL, eg as GL, m as KL, eh as Y8, ei as ZL } from "./hooks
|
|
2
|
-
import { aD as Afe, ej as Tfe, em as Ofe, en as Ife, el as Dfe, aX as Rfe, b2 as Ffe, ek as Pfe } from "./hooks
|
|
1
|
+
import { bD as Cp, bE as Qc, bF as H_, bG as V_, bH as _p, ad as f8, bI as Bo, aq as Of, bJ as ji, bK as If, bL as pr, bM as bl, av as Mn, bN as vs, bO as Sp, bP as j_, bQ as Hs, bR as Ha, bS as Lp, bT as W_, bU as q_, bV as Ep, bW as wl, bX as Mp, bY as Np, bZ as U_, b_ as Df, aE as u8, b$ as Ap, c0 as G_, c1 as h8, c2 as p8, c3 as H3, c4 as xl, c5 as K_, c6 as Z_, c7 as J_, c8 as J1, c9 as Y_, ca as X_, cb as Q_, cc as ne, cd as m8, ce as eS, f as as, cf as Va, j as ed, cg as g8, h as Kl, ch as tS, L as Y1, ci as nS, A as iS, i as Zl, c as rS, l as oS, G as sS, g as V3, cj as aS, k as j3, o as lS, ck as y8, cl as v8, cm as cS, cn as Vs, ai as dS, aw as he, ap as _e, co as Cl, O as Tp, cp as Op, P as on, cq as _l, cr as js, cs as td, ct as Qt, bz as Ws, cu as Ch, ab as ze, cv as $o, cw as Je, cx as fS, Q as T, b3 as rr, au as ct, a$ as Rf, ac as k8, cy as Ip, cz as uS, cA as hS, cB as pS, ar as b8, as as w8, cC as x8, cD as C8, cE as io, cF as mS, cG as W3, cH as gS, cI as yS, cJ as vS, cK as xt, al as gn, cL as X, cM as Ff, cN as On, a7 as ai, a8 as kS, cO as _8, cP as Dp, cQ as ks, cR as _h, cS as S8, cT as L8, cU as E8, cV as M8, cW as N8, a5 as wt, cX as A8, cY as bS, cZ as wS, c_ as xS, c$ as CS, d0 as _S, d1 as SS, d2 as LS, d3 as ES, ak as MS, be as NS, d4 as jn, ao as _o, d5 as Nn, am as Rp, at as Sh, d6 as q3, d7 as nd, d8 as AS, a9 as qs, d9 as So, da as T8, db as wi, s as TS, w as OS, x as IS, z as DS, J as U3, K as G3, M as RS, N as FS, dc as PS, dd as BS, de as Us, df as Fp, aY as $i, a_ as Lo, dg as $S, dh as O8, di as I8, dj as zS, dk as HS, a3 as Pp, a4 as Bp, a6 as $p, R as qn, dl as D8, dm as VS, dn as jS, dp as WS, dq as R8, aA as qS, dr as Lh, ds as F8, aV as id, dt as US, du as GS, dv as KS, dw as ZS, dx as JS, bA as Pf, aS as Eh, bC as YS, bB as XS, dy as P8, an as zr, dz as QS, dA as eL, b8 as Bf, aW as zp, aP as $f, dB as Hp, dC as B8, aZ as tL, aR as $8, aN as z8, dD as nL, dE as H8, dF as iL, aQ as Gs, aT as V8, aC as rL, dG as oL, bg as sL, bh as aL, bo as zf, bm as Vp, ay as Hf, dH as Vf, dI as jf, az as Wf, dJ as jp, bn as j8, b0 as Wp, dK as lL, bt as cL, dL as Mh, dM as dL, dN as rd, dO as fL, bi as od, bu as uL, dP as hL, bs as W8, dQ as pL, br as mL, bq as gL, dR as yL, b1 as Nh, dS as q8, dT as vL, af as qp, dU as kL, dV as bL, ag as wL, ah as xL, dW as CL, dX as _L, dY as SL, dZ as LL, d_ as U8, b4 as EL, bl as ML, d$ as NL, e0 as AL, e1 as TL, aU as OL, e2 as Sl, e3 as Up, e4 as Gp, e5 as Ll, e6 as IL, e7 as G8, e8 as DL, e9 as RL, bv as K8, ea as Z8, b5 as J8, eb as FL, ec as PL, ed as BL, aB as $L, _ as zL, T as HL, V as VL, W as jL, Z as WL, U as qL, ee as K3, ef as UL, eg as GL, m as KL, eh as Y8, ei as ZL } from "./hooks-DibdSL-S.js";
|
|
2
|
+
import { aD as Afe, ej as Tfe, em as Ofe, en as Ife, el as Dfe, aX as Rfe, b2 as Ffe, ek as Pfe } from "./hooks-DibdSL-S.js";
|
|
3
3
|
import { jsxs as k, jsx as d, Fragment as Ie } from "react/jsx-runtime";
|
|
4
4
|
import { useCopilotChatInternal as qf, useCopilotContext as JL, useCopilotAction as Z3, CopilotKit as YL } from "@copilotkit/react-core";
|
|
5
5
|
import { Markdown as XL, useChatContext as QL, CopilotSidebar as eE } from "@copilotkit/react-ui";
|
package/dist/f0.d.ts
CHANGED
|
@@ -288,7 +288,9 @@ export declare type AvatarVariant = DistributiveOmit<({
|
|
|
288
288
|
type: "file";
|
|
289
289
|
} & F0AvatarFileProps) | ({
|
|
290
290
|
type: "flag";
|
|
291
|
-
} & F0AvatarFlagProps)
|
|
291
|
+
} & F0AvatarFlagProps) | ({
|
|
292
|
+
type: "icon";
|
|
293
|
+
} & F0AvatarIconProps), "size">;
|
|
292
294
|
|
|
293
295
|
declare type AvatarVariant_2 = ({
|
|
294
296
|
type: "person";
|
|
@@ -302,7 +304,9 @@ declare type AvatarVariant_2 = ({
|
|
|
302
304
|
type: "flag";
|
|
303
305
|
} & Omit<F0AvatarFlagProps, "size">) | ({
|
|
304
306
|
type: "emoji";
|
|
305
|
-
} & Omit<F0AvatarEmojiProps, "size">)
|
|
307
|
+
} & Omit<F0AvatarEmojiProps, "size">) | ({
|
|
308
|
+
type: "icon";
|
|
309
|
+
} & Omit<F0AvatarIconProps, "size">);
|
|
306
310
|
|
|
307
311
|
export declare type AvatarVariants = (typeof avatarVariants)[number];
|
|
308
312
|
|
|
@@ -1781,7 +1785,7 @@ export declare const F0AvatarIcon: {
|
|
|
1781
1785
|
displayName: string;
|
|
1782
1786
|
};
|
|
1783
1787
|
|
|
1784
|
-
declare type F0AvatarIconProps = {
|
|
1788
|
+
export declare type F0AvatarIconProps = {
|
|
1785
1789
|
icon: IconType;
|
|
1786
1790
|
size?: (typeof avatarIconSizes)[number];
|
|
1787
1791
|
} & Partial<Pick<BaseAvatarProps, "aria-label" | "aria-labelledby">>;
|
|
@@ -2322,6 +2326,10 @@ declare interface I18nProviderProps {
|
|
|
2322
2326
|
translations: TranslationsType;
|
|
2323
2327
|
}
|
|
2324
2328
|
|
|
2329
|
+
export declare type IconAvatarVariant = Extract<AvatarVariant, {
|
|
2330
|
+
type: "icon";
|
|
2331
|
+
}>;
|
|
2332
|
+
|
|
2325
2333
|
declare const iconSizes: {
|
|
2326
2334
|
readonly xs: "xs";
|
|
2327
2335
|
readonly sm: "xs";
|
|
@@ -3965,6 +3973,11 @@ declare module "@tiptap/core" {
|
|
|
3965
3973
|
}
|
|
3966
3974
|
|
|
3967
3975
|
|
|
3976
|
+
declare namespace Calendar {
|
|
3977
|
+
var displayName: string;
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3980
|
+
|
|
3968
3981
|
declare module "@tiptap/core" {
|
|
3969
3982
|
interface Commands<ReturnType> {
|
|
3970
3983
|
moodTracker: {
|
|
@@ -3972,8 +3985,3 @@ declare module "@tiptap/core" {
|
|
|
3972
3985
|
};
|
|
3973
3986
|
}
|
|
3974
3987
|
}
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
declare namespace Calendar {
|
|
3978
|
-
var displayName: string;
|
|
3979
|
-
}
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as J, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as E, R as I, T as zt, U as Kt, V as Wt, W as qt, Z as Gt, _ as Vt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Ut, a6 as ze, a7 as Ke, a8 as We, a9 as qe, aa as Jt, ab as Ge, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as Ve, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as da, av as He, aw as M, ax as Ue, ay as fa, az as pa, aA as Ce, aB as ma, aC as Je, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na, aO as Aa } from "./hooks
|
|
2
|
-
import { bp as tn, br as an, bA as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aW as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, b1 as bn, bw as gn, b3 as xn, b5 as wn, b6 as Pn, b7 as Sn, b8 as Cn, bb as Nn, bc as An, bd as On, bf as kn, b4 as Ln, be as Dn, ba as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aX as Rn, b2 as zn, b9 as Kn, bg as Wn, bl as qn, bs as Gn, bt as Vn, bu as Yn, bC as Hn, bm as Un, bv as Jn, bz as Xn, bo as Zn, by as Qn } from "./hooks
|
|
1
|
+
import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as J, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as E, R as I, T as zt, U as Kt, V as Wt, W as qt, Z as Gt, _ as Vt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Ut, a6 as ze, a7 as Ke, a8 as We, a9 as qe, aa as Jt, ab as Ge, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as Ve, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as da, av as He, aw as M, ax as Ue, ay as fa, az as pa, aA as Ce, aB as ma, aC as Je, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa, aM as Ca, aN as Na, aO as Aa } from "./hooks-DibdSL-S.js";
|
|
2
|
+
import { bp as tn, br as an, bA as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aW as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, b1 as bn, bw as gn, b3 as xn, b5 as wn, b6 as Pn, b7 as Sn, b8 as Cn, bb as Nn, bc as An, bd as On, bf as kn, b4 as Ln, be as Dn, ba as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aX as Rn, b2 as zn, b9 as Kn, bg as Wn, bl as qn, bs as Gn, bt as Vn, bu as Yn, bC as Hn, bm as Un, bv as Jn, bz as Xn, bo as Zn, by as Qn } from "./hooks-DibdSL-S.js";
|
|
3
3
|
import { jsx as n, jsxs as C, Fragment as ae } from "react/jsx-runtime";
|
|
4
4
|
import * as fe from "react";
|
|
5
5
|
import k, { PureComponent as Oa, useState as D, forwardRef as V, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as ka, Children as La, createContext as Da } from "react";
|