@factorialco/f0-react 1.246.0 → 1.247.1

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.
@@ -7,6 +7,7 @@ import { AmountCellValue as AmountCellValue_2 } from '../../value-display/types/
7
7
  import { AnchorHTMLAttributes } from 'react';
8
8
  import { AreaChartWidgetProps } from './AreaChartWidget';
9
9
  import { AriaAttributes } from 'react';
10
+ import { AutoFill as AutoFill_2 } from 'react';
10
11
  import { AvatarListCellValue } from './types/avatarList.tsx';
11
12
  import { AvatarListCellValue as AvatarListCellValue_2 } from '../../value-display/types/avatarList';
12
13
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -2981,7 +2982,7 @@ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResp
2981
2982
 
2982
2983
  export declare const Input: <T extends string = string>(props: InputProps<T>) => JSX_2.Element;
2983
2984
 
2984
- declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "status" | "disabled" | "maxLength" | "required" | "loading" | "error" | "hideLabel" | "append" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
2985
+ declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "status" | "disabled" | "maxLength" | "required" | "loading" | "error" | "hideLabel" | "append" | "labelIcon" | "onClickContent" | "hint" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider"> & React_2.RefAttributes<HTMLInputElement>>;
2985
2986
 
2986
2987
  declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
2987
2988
 
@@ -3008,6 +3009,7 @@ declare type InputFieldProps<T> = {
3008
3009
  readonly?: boolean;
3009
3010
  clearable?: boolean;
3010
3011
  role?: string;
3012
+ autocomplete?: AutoFill_2;
3011
3013
  inputRef?: React.Ref<unknown>;
3012
3014
  "aria-controls"?: AriaAttributes["aria-controls"];
3013
3015
  "aria-expanded"?: AriaAttributes["aria-expanded"];
@@ -3059,7 +3061,7 @@ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"]
3059
3061
 
3060
3062
  declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
3061
3063
 
3062
- export declare type InputProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint"> & {
3064
+ export declare type InputProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete"> & {
3063
3065
  type?: Exclude<HTMLInputTypeAttribute, "number">;
3064
3066
  onPressEnter?: () => void;
3065
3067
  };
@@ -5601,11 +5603,6 @@ declare module "@tiptap/core" {
5601
5603
  }
5602
5604
 
5603
5605
 
5604
- declare namespace Calendar {
5605
- var displayName: string;
5606
- }
5607
-
5608
-
5609
5606
  declare module "@tiptap/core" {
5610
5607
  interface Commands<ReturnType> {
5611
5608
  moodTracker: {
@@ -5613,3 +5610,8 @@ declare module "@tiptap/core" {
5613
5610
  };
5614
5611
  }
5615
5612
  }
5613
+
5614
+
5615
+ declare namespace Calendar {
5616
+ var displayName: string;
5617
+ }
@@ -1,5 +1,5 @@
1
- import { bD as Zv, bE as Qv, bF as Rg, bG as al, bH as uC, bI as hC, bJ as pC, bK as Su, bL as mC, bM as gC, bN as yC, bO as ie, bP as Xv, bQ as vC, f as Js, bR as Ma, j as Ic, bS as e5, h as Il, bT as bC, L as Nu, bU as kC, A as xC, i as Dl, c as wC, l as CC, G as _C, g as Fg, bV as SC, k as Pg, o as NC, bW as t5, bX as n5, bY as LC, bZ as Mo, ai as EC, av as pe, b_ as To, ao as Ce, b$ as i5, ab as qe, c0 as Ao, c1 as Ye, c2 as MC, Q as T, b2 as Yi, at, au as Rn, c3 as r5, ac as Hp, c4 as Vp, c5 as TC, c6 as AC, c7 as OC, aq as s5, ar as o5, c8 as Oo, c9 as a5, ca as ll, P as nn, O as Wp, cb as l5, cc as Jr, cd as qp, ce as IC, cf as Zt, cg as Bg, ch as DC, ci as cl, cj as Dc, ck as RC, cl as FC, cm as bt, al as un, cn as ee, co as df, cp as Bn, aD as PC, a7 as ti, a8 as BC, cq as c5, cr as $r, cs as Up, ct as oo, cu as Pi, cv as Z1, cw as d5, cx as zC, cy as $C, cz as f5, cA as jC, cB as HC, cC as VC, cD as u5, cE as h5, cF as p5, a5 as gt, cG as m5, cH as WC, cI as qC, cJ as UC, cK as GC, cL as KC, cM as JC, cN as YC, cO as g5, cP as ZC, ak as QC, be as XC, cQ as y5, cR as Gp, cS as Fn, bc as gs, cT as _n, am as Kp, as as Q1, cU as zg, bz as Io, cV as $g, cW as Rc, cX as X1, cY as e_, a9 as Do, cZ as ys, c_ as v5, c$ as ir, d0 as b5, d1 as k5, ap as Jp, s as t_, w as n_, x as i_, z as r_, J as jg, K as Hg, M as s_, N as o_, d2 as a_, d3 as l_, d4 as Ro, d5 as Yp, aX as Ii, aZ as vs, d6 as Ta, d7 as c_, d8 as x5, d9 as w5, da as d_, db as f_, a3 as Zp, a4 as Qp, a6 as Xp, R as zn, dc as C5, dd as u_, de as h_, df as p_, dg as _5, az as m_, dh as eh, di as S5, aU as Fc, dj as g_, dk as y_, dl as v_, dm as b_, dn as k_, bA as ff, aR as th, bC as x_, bB as w_, dp as N5, an as Or, dq as C_, dr as __, ds as Pc, b7 as uf, aV as em, aO as hf, dt as pf, du as tm, dv as L5, aY as S_, aQ as E5, aM as M5, dw as dl, dx as N_, dy as T5, dz as A5, dA as L_, aP as Fo, aS as O5, aB as E_, dB as M_, bg as T_, bh as A_, bo as mf, bm as nm, ax as gf, dC as yf, dD as vf, ay as bf, dE as im, bn as I5, a$ as rm, dF as O_, bt as I_, dG as nh, dH as D_, dI as Bc, dJ as R_, bi as zc, bu as F_, dK as P_, bs as D5, dL as B_, br as z_, bq as $_, dM as j_, b0 as ih, dN as H_, af as sm, dO as V_, dP as W_, ag as q_, ah as U_, dQ as G_, dR as K_, dS as J_, dT as Y_, b3 as Z_, bl as Q_, dU as X_, dV as eS, dW as tS, aT as nS, dX as fl, dY as om, a_ as am, dZ as lm, d_ as ul, d$ as R5, e0 as iS, e1 as F5, e2 as rS, bv as P5, e3 as B5, b4 as z5, e4 as sS, e5 as oS, e6 as aS, aA as lS, _ as cS, T as dS, V as fS, W as uS, Z as hS, U as pS, e7 as Vg, e8 as mS, e9 as gS, m as yS, ad as vS, ea as $5, eb as bS } from "./hooks-rjsVZjmG.js";
2
- import { aC as qre, ee as Ure, ef as Gre, ed as Kre, aW as Jre, b1 as Yre, ec as Zre } from "./hooks-rjsVZjmG.js";
1
+ import { bD as Zv, bE as Qv, bF as Rg, bG as al, bH as uC, bI as hC, bJ as pC, bK as Su, bL as mC, bM as gC, bN as yC, bO as ie, bP as Xv, bQ as vC, f as Js, bR as Ma, j as Ic, bS as e5, h as Il, bT as bC, L as Nu, bU as kC, A as xC, i as Dl, c as wC, l as CC, G as _C, g as Fg, bV as SC, k as Pg, o as NC, bW as t5, bX as n5, bY as LC, bZ as Mo, ai as EC, av as pe, b_ as To, ao as Ce, b$ as i5, ab as qe, c0 as Ao, c1 as Ye, c2 as MC, Q as T, b2 as Yi, at, au as Rn, c3 as r5, ac as Hp, c4 as Vp, c5 as TC, c6 as AC, c7 as OC, aq as s5, ar as o5, c8 as Oo, c9 as a5, ca as ll, P as nn, O as Wp, cb as l5, cc as Jr, cd as qp, ce as IC, cf as Zt, cg as Bg, ch as DC, ci as cl, cj as Dc, ck as RC, cl as FC, cm as bt, al as un, cn as ee, co as df, cp as Bn, aD as PC, a7 as ti, a8 as BC, cq as c5, cr as $r, cs as Up, ct as oo, cu as Pi, cv as Z1, cw as d5, cx as zC, cy as $C, cz as f5, cA as jC, cB as HC, cC as VC, cD as u5, cE as h5, cF as p5, a5 as gt, cG as m5, cH as WC, cI as qC, cJ as UC, cK as GC, cL as KC, cM as JC, cN as YC, cO as g5, cP as ZC, ak as QC, be as XC, cQ as y5, cR as Gp, cS as Fn, bc as gs, cT as _n, am as Kp, as as Q1, cU as zg, bz as Io, cV as $g, cW as Rc, cX as X1, cY as e_, a9 as Do, cZ as ys, c_ as v5, c$ as ir, d0 as b5, d1 as k5, ap as Jp, s as t_, w as n_, x as i_, z as r_, J as jg, K as Hg, M as s_, N as o_, d2 as a_, d3 as l_, d4 as Ro, d5 as Yp, aX as Ii, aZ as vs, d6 as Ta, d7 as c_, d8 as x5, d9 as w5, da as d_, db as f_, a3 as Zp, a4 as Qp, a6 as Xp, R as zn, dc as C5, dd as u_, de as h_, df as p_, dg as _5, az as m_, dh as eh, di as S5, aU as Fc, dj as g_, dk as y_, dl as v_, dm as b_, dn as k_, bA as ff, aR as th, bC as x_, bB as w_, dp as N5, an as Or, dq as C_, dr as __, ds as Pc, b7 as uf, aV as em, aO as hf, dt as pf, du as tm, dv as L5, aY as S_, aQ as E5, aM as M5, dw as dl, dx as N_, dy as T5, dz as A5, dA as L_, aP as Fo, aS as O5, aB as E_, dB as M_, bg as T_, bh as A_, bo as mf, bm as nm, ax as gf, dC as yf, dD as vf, ay as bf, dE as im, bn as I5, a$ as rm, dF as O_, bt as I_, dG as nh, dH as D_, dI as Bc, dJ as R_, bi as zc, bu as F_, dK as P_, bs as D5, dL as B_, br as z_, bq as $_, dM as j_, b0 as ih, dN as H_, af as sm, dO as V_, dP as W_, ag as q_, ah as U_, dQ as G_, dR as K_, dS as J_, dT as Y_, b3 as Z_, bl as Q_, dU as X_, dV as eS, dW as tS, aT as nS, dX as fl, dY as om, a_ as am, dZ as lm, d_ as ul, d$ as R5, e0 as iS, e1 as F5, e2 as rS, bv as P5, e3 as B5, b4 as z5, e4 as sS, e5 as oS, e6 as aS, aA as lS, _ as cS, T as dS, V as fS, W as uS, Z as hS, U as pS, e7 as Vg, e8 as mS, e9 as gS, m as yS, ad as vS, ea as $5, eb as bS } from "./hooks-D5C509le.js";
2
+ import { aC as qre, ee as Ure, ef as Gre, ed as Kre, aW as Jre, b1 as Yre, ec as Zre } from "./hooks-D5C509le.js";
3
3
  import { jsxs as b, jsx as f, Fragment as Me } from "react/jsx-runtime";
4
4
  import { useCopilotChatInternal as kf, useCopilotContext as kS, useCopilotAction as xS, CopilotKit as wS } from "@copilotkit/react-core";
5
5
  import { Markdown as CS, useChatContext as _S, CopilotSidebar as SS } from "@copilotkit/react-ui";
package/dist/f0.d.ts CHANGED
@@ -4,6 +4,7 @@ import { AmountCellValue } from '../../value-display/types/amount';
4
4
  import { AmountCellValue as AmountCellValue_2 } from './types/amount.tsx';
5
5
  import { AnchorHTMLAttributes } from 'react';
6
6
  import { AriaAttributes } from 'react';
7
+ import { AutoFill as AutoFill_2 } from 'react';
7
8
  import { AvatarListCellValue } from '../../value-display/types/avatarList';
8
9
  import { AvatarListCellValue as AvatarListCellValue_2 } from './types/avatarList.tsx';
9
10
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
@@ -2367,6 +2368,7 @@ declare type InputFieldProps<T> = {
2367
2368
  readonly?: boolean;
2368
2369
  clearable?: boolean;
2369
2370
  role?: string;
2371
+ autocomplete?: AutoFill_2;
2370
2372
  inputRef?: React.Ref<unknown>;
2371
2373
  "aria-controls"?: AriaAttributes["aria-controls"];
2372
2374
  "aria-expanded"?: AriaAttributes["aria-expanded"];
@@ -3869,11 +3871,6 @@ declare module "@tiptap/core" {
3869
3871
  }
3870
3872
 
3871
3873
 
3872
- declare namespace Calendar {
3873
- var displayName: string;
3874
- }
3875
-
3876
-
3877
3874
  declare module "@tiptap/core" {
3878
3875
  interface Commands<ReturnType> {
3879
3876
  moodTracker: {
@@ -3881,3 +3878,8 @@ declare module "@tiptap/core" {
3881
3878
  };
3882
3879
  }
3883
3880
  }
3881
+
3882
+
3883
+ declare namespace Calendar {
3884
+ var displayName: string;
3885
+ }
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 U, 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 _, R as I, T as zt, U as Kt, V as Wt, W as Gt, Z as Vt, _ as qt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Jt, a6 as ze, a7 as Ke, a8 as We, a9 as Ge, aa as Ut, ab as Ve, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as qe, 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 He, av as M, aw as Je, ax as da, ay as fa, az as Ce, aA as pa, aB as Ue, aC as ma, 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 } from "./hooks-rjsVZjmG.js";
2
- import { bp as en, br as tn, bA as an, aO as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aX as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, bw as bn, b2 as gn, b4 as xn, b5 as wn, b6 as Pn, b7 as Sn, ba as Cn, bb as Nn, bc as An, bd as On, bf as kn, b3 as Ln, be as Dn, b9 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, aW as Rn, b1 as zn, b8 as Kn, bg as Wn, bl as Gn, bs as Vn, bt as qn, bu as Yn, bC as Hn, bm as Jn, bv as Un, bz as Xn, bo as Zn, by as Qn } from "./hooks-rjsVZjmG.js";
1
+ import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as U, 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 _, R as I, T as zt, U as Kt, V as Wt, W as Gt, Z as Vt, _ as qt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Jt, a6 as ze, a7 as Ke, a8 as We, a9 as Ge, aa as Ut, ab as Ve, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as qe, 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 He, av as M, aw as Je, ax as da, ay as fa, az as Ce, aA as pa, aB as Ue, aC as ma, 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 } from "./hooks-D5C509le.js";
2
+ import { bp as en, br as tn, bA as an, aO as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aX as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, bw as bn, b2 as gn, b4 as xn, b5 as wn, b6 as Pn, b7 as Sn, ba as Cn, bb as Nn, bc as An, bd as On, bf as kn, b3 as Ln, be as Dn, b9 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, aW as Rn, b1 as zn, b8 as Kn, bg as Wn, bl as Gn, bs as Vn, bt as qn, bu as Yn, bC as Hn, bm as Jn, bv as Un, bz as Xn, bo as Zn, by as Qn } from "./hooks-D5C509le.js";
3
3
  import { jsx as n, jsxs as N, Fragment as ae } from "react/jsx-runtime";
4
4
  import * as fe from "react";
5
5
  import k, { PureComponent as Aa, useState as D, forwardRef as q, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Oa, Children as ka, createContext as La } from "react";