@factorialco/f0-react 2.61.4 → 3.0.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
@@ -3384,10 +3384,6 @@ declare interface F0CardRowProps {
3384
3384
  * @default "never"
3385
3385
  */
3386
3386
  stackAt?: CardRowStackAt;
3387
- /**
3388
- * When set, the whole row becomes a link to this href.
3389
- */
3390
- link?: string;
3391
3387
  /**
3392
3388
  * Stretch to fill the height of its container.
3393
3389
  */
@@ -3398,15 +3394,6 @@ declare interface F0CardRowProps {
3398
3394
  * Use `visible` + `onDismiss` for controlled dismiss behaviour.
3399
3395
  */
3400
3396
  alert?: CardAlertProps;
3401
- /**
3402
- * Called when the row is clicked.
3403
- */
3404
- onClick?: () => void;
3405
- /**
3406
- * Disables the full-row overlay link so a parent can manage drag-and-drop while
3407
- * still allowing click navigation via `onClick`.
3408
- */
3409
- disableOverlayLink?: boolean;
3410
3397
  }
3411
3398
 
3412
3399
  /**
@@ -4702,6 +4689,11 @@ declare module "gridstack" {
4702
4689
  }
4703
4690
 
4704
4691
 
4692
+ declare namespace Calendar {
4693
+ var displayName: string;
4694
+ }
4695
+
4696
+
4705
4697
  declare module "@tiptap/core" {
4706
4698
  interface Commands<ReturnType> {
4707
4699
  aiBlock: {
@@ -4751,11 +4743,6 @@ declare module "@tiptap/core" {
4751
4743
  }
4752
4744
 
4753
4745
 
4754
- declare namespace Calendar {
4755
- var displayName: string;
4756
- }
4757
-
4758
-
4759
4746
  declare namespace F0GraphNodeWrapperInner {
4760
4747
  var displayName: string;
4761
4748
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-CC0-kGJd.js";
1
+ import { D as e, F as r, a as t, e as o, f as i, c as n, d as F, I as C, P as A, b as l, u as d } from "./F0CanvasPanel-ptgXy87G.js";
2
2
  import { defaultTranslations as m } from "./i18n-provider-defaults.js";
3
- import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-BPEqZAVa.js";
3
+ import { A as c, C as I, h as P, t as v, v as f, x as p, n as T, j as g, r as y, y as S, q as x, s as H, k as V, e as b, g as k, l as w, F as M, i as O, a as D, p as j, m as q, o as z, b as B, f as E, w as L, c as R, d as G, u as J } from "./useChatHistory-BphMZrVl.js";
4
4
  export {
5
5
  c as AiChatTranslationsProvider,
6
6
  I as ChatSpinner,
@@ -4569,23 +4569,14 @@ declare type F0Message = {
4569
4569
  };
4570
4570
 
4571
4571
  /**
4572
- * @experimental This is an experimental component, use it at your own risk.
4573
- *
4574
4572
  * F0NumberInput is the writable numeric field for forms — a box where the
4575
4573
  * user types a number. For arbitrary text use F0TextInput; for durations
4576
4574
  * (hours/minutes) use F0DurationInput.
4577
4575
  */
4578
- export declare const F0NumberInput: (props: F0NumberInputProps) => JSX_2.Element;
4576
+ export declare const F0NumberInput: ForwardRefExoticComponent<Omit<F0NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
4579
4577
 
4580
4578
  export declare type F0NumberInputProps = Omit<NumberInputInternalProps, (typeof privateProps_4)[number]>;
4581
4579
 
4582
- /**
4583
- * @experimental This is an experimental component, use it at your own risk.
4584
- *
4585
- * F0SearchInput is the writable search field — a single-line text input
4586
- * pre-configured with a search icon, `role="searchbox"`, debouncing, and
4587
- * an optional minimum-length threshold before emitting changes.
4588
- */
4589
4580
  export declare const F0SearchInput: ForwardRefExoticComponent< {
4590
4581
  value?: string;
4591
4582
  threshold?: number;
@@ -4893,27 +4884,23 @@ declare interface F0TagStatusProps {
4893
4884
  declare const F0TagTeam: WithDataTestIdReturnType_5<ForwardRefExoticComponent<F0TagTeamProps & RefAttributes<HTMLDivElement>>>;
4894
4885
 
4895
4886
  /**
4896
- * @experimental This is an experimental component, use it at your own risk.
4897
- *
4898
4887
  * F0TextAreaInput is the writable multi-line text field for forms — a box
4899
- * where the user types longer text spanning multiple lines. For a single
4900
- * line of text use F0TextInput.
4888
+ * where the user types longer text spanning multiple lines (notes,
4889
+ * descriptions, comments). For a single line of text use F0TextInput.
4901
4890
  */
4902
- export declare const F0TextAreaInput: FC<F0TextAreaInputProps>;
4891
+ export declare const F0TextAreaInput: React.FC<F0TextAreaInputProps>;
4903
4892
 
4904
4893
  export declare type F0TextAreaInputProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading" | "required" | "maxHeight">;
4905
4894
 
4906
4895
  /**
4907
- * @experimental This is an experimental component, use it at your own risk.
4908
- *
4909
4896
  * F0TextInput is the writable text field for forms — a box where the user
4910
- * types text, numbers (as text), passwords, emails, etc. It is the canonical
4911
- * "text input" of F0. For numeric or duration data prefer F0NumberInput or
4912
- * F0DurationInput respectively.
4897
+ * types text, passwords, emails, etc. It is the canonical "text input" of
4898
+ * F0. For numeric data use F0NumberInput; for durations use F0DurationInput;
4899
+ * for queries use F0SearchInput.
4913
4900
  */
4914
- export declare const F0TextInput: <T extends string>(props: F0TextInputProps<T>) => JSX_2.Element;
4901
+ export declare const F0TextInput: ForwardRefExoticComponent<Omit<F0TextInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
4915
4902
 
4916
- export declare type F0TextInputProps<T extends string> = Omit<InputInternalProps<T>, (typeof privateProps_3)[number]>;
4903
+ export declare type F0TextInputProps = Omit<InputInternalProps, (typeof privateProps_3)[number]>;
4917
4904
 
4918
4905
  /**
4919
4906
  * Loose message shape used inside f0. Mirrors the CopilotKit `Message`
@@ -5566,12 +5553,26 @@ export declare type InfiniteScrollPaginatedResponse<TRecord> = BasePaginatedResp
5566
5553
  *
5567
5554
  * @removeIn 2.0.0
5568
5555
  */
5569
- export declare const Input: <T extends string>(props: F0TextInputProps<T>) => JSX_2.Element;
5556
+ export declare const Input: ForwardRefExoticComponent<Omit<F0TextInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
5570
5557
 
5571
5558
  declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "transparent" | "status" | "loading" | "disabled" | "maxLength" | "required" | "error" | "append" | "hideLabel" | "hint" | "labelIcon" | "onClickContent" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
5572
5559
 
5573
5560
  declare const INPUTFIELD_SIZES: readonly ["sm", "md"];
5574
5561
 
5562
+ /**
5563
+ * Design system primitive. Do NOT use in product code.
5564
+ *
5565
+ * `F0InputField` is the shared chrome (label, status, icon, append, clear,
5566
+ * loading, focus/hover/disabled styles, a11y wiring) used by every writable
5567
+ * F0 input. It is intentionally not exported from `@factorialco/f0-react`.
5568
+ *
5569
+ * Product code must use the dedicated `F0*Input` components instead:
5570
+ * - F0TextInput, F0NumberInput, F0SearchInput, F0TextAreaInput,
5571
+ * F0DurationInput, F0DatePicker, F0Select, ...
5572
+ *
5573
+ * Use `F0InputField` only when you are adding a new input type to the design
5574
+ * system itself (e.g. F0CurrencyInput, F0PhoneInput, F0PercentageInput).
5575
+ */
5575
5576
  declare type InputFieldProps<T> = {
5576
5577
  id?: string;
5577
5578
  autoFocus?: boolean;
@@ -5659,7 +5660,7 @@ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"]
5659
5660
 
5660
5661
  declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
5661
5662
 
5662
- declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref" | "id" | "aria-describedby" | "aria-invalid"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading" | "transparent" | "onBlur" | "readonly"> & {
5663
+ declare type InputInternalProps = Pick<ComponentProps<typeof Input_2>, "ref" | "id" | "aria-describedby" | "aria-invalid"> & Pick<InputFieldProps<string>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading" | "transparent" | "onBlur" | "readonly"> & {
5663
5664
  type?: Exclude<HTMLInputTypeAttribute, "number">;
5664
5665
  onPressEnter?: () => void;
5665
5666
  };
@@ -5668,7 +5669,7 @@ declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof I
5668
5669
  * @deprecated Renamed to `F0TextInputProps`. See the `Input` deprecation note.
5669
5670
  * @removeIn 2.0.0
5670
5671
  */
5671
- export declare type InputProps<T extends string> = F0TextInputProps<T>;
5672
+ export declare type InputProps = F0TextInputProps;
5672
5673
 
5673
5674
  declare interface InsertAfterNotesTextEditorPageDocumentPatch {
5674
5675
  type: "insert_after";
@@ -6304,9 +6305,9 @@ declare type NumberFilterValue = {
6304
6305
  *
6305
6306
  * @removeIn 2.0.0
6306
6307
  */
6307
- export declare const NumberInput: (props: F0NumberInputProps) => JSX_2.Element;
6308
+ export declare const NumberInput: ForwardRefExoticComponent<Omit<F0NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
6308
6309
 
6309
- declare type NumberInputInternalProps = Omit<InputInternalProps<string>, "value" | "type" | "onChange"> & {
6310
+ declare type NumberInputInternalProps = Pick<ComponentProps<typeof Input_2>, "ref" | "id" | "aria-describedby" | "aria-invalid"> & Pick<InputFieldProps<string>, "autoFocus" | "required" | "disabled" | "size" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading" | "transparent" | "onBlur" | "readonly"> & {
6310
6311
  locale: string;
6311
6312
  value?: number | null;
6312
6313
  step?: number;
@@ -9255,6 +9256,11 @@ declare module "gridstack" {
9255
9256
  }
9256
9257
 
9257
9258
 
9259
+ declare namespace Calendar {
9260
+ var displayName: string;
9261
+ }
9262
+
9263
+
9258
9264
  declare module "@tiptap/core" {
9259
9265
  interface Commands<ReturnType> {
9260
9266
  aiBlock: {
@@ -9304,11 +9310,6 @@ declare module "@tiptap/core" {
9304
9310
  }
9305
9311
 
9306
9312
 
9307
- declare namespace Calendar {
9308
- var displayName: string;
9309
- }
9310
-
9311
-
9312
9313
  declare namespace F0GraphNodeWrapperInner {
9313
9314
  var displayName: string;
9314
9315
  }
@@ -1,9 +1,9 @@
1
- import { g as ma, B as ha, h as ga, i as pa, j as _t, k as Re, l as ba, m as p, n as Y, o as ve, u as ce, T as xa, p as va, q as ya, R as wa, r as Na, s as de, t as Ca, v as wt, w as dt, x as je, A as Se, y as Ia, z as ka, C as V, E as Sa, G as Fa, H as be, J as un, K as Aa, L as La, M as H, N as fn, S as D, O as Ne, Q as Oa, U as Ea, V as Pa, W as _a, X as Da, Y as Fe, Z as mn, _ as Ta, $ as ye, a0 as Ve, a1 as za, d as hn, a2 as ke, a3 as Ra, a4 as gn, a5 as se, a6 as Q, a7 as pn, a8 as bn, a9 as Ba, aa as xn, ab as pe, ac as re, ad as $a, ae as Wa, af as Ma, ag as ja, ah as xe, ai as qe, aj as Va, ak as Ua, al as Ha, am as Ga, an as Ye, ao as vn, ap as Ka, aq as qa, ar as Ya, as as Ue, at as Ja, au as yn, av as Za, aw as Xa, ax as Qa, ay as er, az as tr, aA as nr, aB as ar, aC as rr, aD as ut, aE as wn, aF as ft, aG as Nn, aH as ir, aI as lr, aJ as sr, aK as or, aL as cr, aM as Je, aN as Ze, aO as mt, aP as Cn, aQ as dr, aR as Nt, aS as ur, aT as fr, aU as mr, aV as Te, aW as hr, aX as gr, aY as Be, aZ as Dt, a_ as ht, a$ as pr, b0 as br, a as xr, b as vr, b1 as In, b2 as yr, f as wr, F as Nr, b3 as Cr, b4 as kn, b5 as Ir, b6 as Sn, b7 as Fn, b8 as kr, b9 as Sr, ba as Fr, bb as Ar, bc as Lr, bd as Or, be as Er, bf as Pr, bg as _r, bh as An, bi as Dr, bj as Tr, bk as ge, bl as Ct, bm as It, bn as kt, bo as Ln, bp as St, bq as On, br as En, bs as zr, bt as Rr, bu as Br, bv as $r, bw as Wr, bx as Mr, by as jr, bz as Vr, bA as Tt, bB as Ur, bC as Hr, bD as zt, bE as Rt, bF as Bt, bG as Gr, bH as Kr, bI as qr, bJ as Yr, bK as Pn, bL as Jr, bM as Zr } from "./F0CanvasPanel-CC0-kGJd.js";
2
- import { bY as Hc, bX as Gc, c8 as Kc, bU as qc, bV as Yc, bN as Jc, bO as Zc, bP as Xc, c9 as Qc, bW as ed, c4 as td, c5 as nd, bQ as ad, b_ as rd, bZ as id, bR as ld, bS as sd, c6 as od, ca as cd, c7 as dd, c3 as ud, c0 as fd, c2 as md, b$ as hd, bT as gd, c1 as pd } from "./F0CanvasPanel-CC0-kGJd.js";
1
+ import { g as ma, B as ha, h as ga, i as pa, j as _t, k as Re, l as ba, m as p, n as Y, o as ve, u as ce, T as xa, p as va, q as ya, R as wa, r as Na, s as de, t as Ca, v as wt, w as dt, x as je, A as Se, y as Ia, z as ka, C as V, E as Sa, G as Fa, H as be, J as un, K as Aa, L as La, M as H, N as fn, S as D, O as Ne, Q as Oa, U as Ea, V as Pa, W as _a, X as Da, Y as Fe, Z as mn, _ as Ta, $ as ye, a0 as Ve, a1 as za, d as hn, a2 as ke, a3 as Ra, a4 as gn, a5 as se, a6 as Q, a7 as pn, a8 as bn, a9 as Ba, aa as xn, ab as pe, ac as re, ad as $a, ae as Wa, af as Ma, ag as ja, ah as xe, ai as qe, aj as Va, ak as Ua, al as Ha, am as Ga, an as Ye, ao as vn, ap as Ka, aq as qa, ar as Ya, as as Ue, at as Ja, au as yn, av as Za, aw as Xa, ax as Qa, ay as er, az as tr, aA as nr, aB as ar, aC as rr, aD as ut, aE as wn, aF as ft, aG as Nn, aH as ir, aI as lr, aJ as sr, aK as or, aL as cr, aM as Je, aN as Ze, aO as mt, aP as Cn, aQ as dr, aR as Nt, aS as ur, aT as fr, aU as mr, aV as Te, aW as hr, aX as gr, aY as Be, aZ as Dt, a_ as ht, a$ as pr, b0 as br, a as xr, b as vr, b1 as In, b2 as yr, f as wr, F as Nr, b3 as Cr, b4 as kn, b5 as Ir, b6 as Sn, b7 as Fn, b8 as kr, b9 as Sr, ba as Fr, bb as Ar, bc as Lr, bd as Or, be as Er, bf as Pr, bg as _r, bh as An, bi as Dr, bj as Tr, bk as ge, bl as Ct, bm as It, bn as kt, bo as Ln, bp as St, bq as On, br as En, bs as zr, bt as Rr, bu as Br, bv as $r, bw as Wr, bx as Mr, by as jr, bz as Vr, bA as Tt, bB as Ur, bC as Hr, bD as zt, bE as Rt, bF as Bt, bG as Gr, bH as Kr, bI as qr, bJ as Yr, bK as Pn, bL as Jr, bM as Zr } from "./F0CanvasPanel-ptgXy87G.js";
2
+ import { bY as Hc, bX as Gc, c8 as Kc, bU as qc, bV as Yc, bN as Jc, bO as Zc, bP as Xc, c9 as Qc, bW as ed, c4 as td, c5 as nd, bQ as ad, b_ as rd, bZ as id, bR as ld, bS as sd, c6 as od, ca as cd, c7 as dd, c3 as ud, c0 as fd, c2 as md, b$ as hd, bT as gd, c1 as pd } from "./F0CanvasPanel-ptgXy87G.js";
3
3
  import { jsx as e, jsxs as o, Fragment as X } from "react/jsx-runtime";
4
4
  import ue, { forwardRef as G, useRef as M, useTransition as Xr, useState as E, useLayoutEffect as _n, useId as gt, useContext as Ae, createContext as Xe, useEffect as W, useCallback as ae, useMemo as K, Fragment as Qr, isValidElement as ei, cloneElement as Dn, Children as Tn } from "react";
5
- import { C as ti, P as ni, a as zn, M as ai, p as ri, b as ii, R as $t, c as Rn, u as li, d as si, e as oi, f as ci, g as di, h as ui, i as Bn, S as fi, A as mi, B as hi, L as gi, j as pi, V as bi, k as xi, l as vi, m as yi, O as wi } from "./useDataCollectionSource-JnNUQWjt.js";
6
- import { s as xd, t as vd, q as yd, I as wd, v as Nd, D as Cd, a9 as Id, H as kd, r as Sd, T as Fd, F as Ad, Z as Ld, W as Od, K as Ed, af as Pd, N as _d, _ as Dd, $ as Td, w as zd, ab as Rd, ac as Bd, aa as $d, ad as Wd, Q as Md, a0 as jd, a6 as Vd, a8 as Ud, x as Hd, z as Gd, E as Kd, X as qd, ae as Yd, Y as Jd, U as Zd, y as Xd, G as Qd, n as eu, o as tu, a2 as nu, a3 as au, a7 as ru, J as iu, a4 as lu, a1 as su, a5 as ou } from "./useDataCollectionSource-JnNUQWjt.js";
5
+ import { C as ti, P as ni, a as zn, M as ai, p as ri, b as ii, R as $t, c as Rn, u as li, d as si, e as oi, f as ci, g as di, h as ui, i as Bn, S as fi, A as mi, B as hi, L as gi, j as pi, V as bi, k as xi, l as vi, m as yi, O as wi } from "./useDataCollectionSource-SH2WbTKC.js";
6
+ import { s as xd, t as vd, q as yd, I as wd, v as Nd, D as Cd, a9 as Id, H as kd, r as Sd, T as Fd, F as Ad, Z as Ld, W as Od, K as Ed, af as Pd, N as _d, _ as Dd, $ as Td, w as zd, ab as Rd, ac as Bd, aa as $d, ad as Wd, Q as Md, a0 as jd, a6 as Vd, a8 as Ud, x as Hd, z as Gd, E as Kd, X as qd, ae as Yd, Y as Jd, U as Zd, y as Xd, G as Qd, n as eu, o as tu, a2 as nu, a3 as au, a7 as ru, J as iu, a4 as lu, a1 as su, a5 as ou } from "./useDataCollectionSource-SH2WbTKC.js";
7
7
  const Ni = ma("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
@@ -7221,10 +7221,6 @@ export declare interface F0CardRowProps {
7221
7221
  * @default "never"
7222
7222
  */
7223
7223
  stackAt?: CardRowStackAt;
7224
- /**
7225
- * When set, the whole row becomes a link to this href.
7226
- */
7227
- link?: string;
7228
7224
  /**
7229
7225
  * Stretch to fill the height of its container.
7230
7226
  */
@@ -7235,15 +7231,6 @@ export declare interface F0CardRowProps {
7235
7231
  * Use `visible` + `onDismiss` for controlled dismiss behaviour.
7236
7232
  */
7237
7233
  alert?: CardAlertProps;
7238
- /**
7239
- * Called when the row is clicked.
7240
- */
7241
- onClick?: () => void;
7242
- /**
7243
- * Disables the full-row overlay link so a parent can manage drag-and-drop while
7244
- * still allowing click navigation via `onClick`.
7245
- */
7246
- disableOverlayLink?: boolean;
7247
7234
  }
7248
7235
 
7249
7236
  declare interface F0CardSelectConfig {
@@ -9462,13 +9449,11 @@ export declare type F0NumberField = F0BaseField & F0NumberConfig & {
9462
9449
  export declare type F0NumberFieldConfig<R extends Record<string, unknown> = Record<string, unknown>> = F0NumberInputConfig | F0NumberMoneyConfig | F0NumberSelectConfig<R> | F0DurationFieldConfig;
9463
9450
 
9464
9451
  /**
9465
- * @experimental This is an experimental component, use it at your own risk.
9466
- *
9467
9452
  * F0NumberInput is the writable numeric field for forms — a box where the
9468
9453
  * user types a number. For arbitrary text use F0TextInput; for durations
9469
9454
  * (hours/minutes) use F0DurationInput.
9470
9455
  */
9471
- export declare const F0NumberInput: (props: F0NumberInputProps) => JSX_2.Element;
9456
+ export declare const F0NumberInput: ForwardRefExoticComponent<Omit<F0NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
9472
9457
 
9473
9458
  /**
9474
9459
  * Config for number fields - number input
@@ -9747,13 +9732,6 @@ export declare type F0RichTextFieldConfig = F0BaseConfig & F0RichTextConfig & {
9747
9732
  fieldType: "richtext";
9748
9733
  };
9749
9734
 
9750
- /**
9751
- * @experimental This is an experimental component, use it at your own risk.
9752
- *
9753
- * F0SearchInput is the writable search field — a single-line text input
9754
- * pre-configured with a search icon, `role="searchbox"`, debouncing, and
9755
- * an optional minimum-length threshold before emitting changes.
9756
- */
9757
9735
  export declare const F0SearchInput: ForwardRefExoticComponent< {
9758
9736
  value?: string;
9759
9737
  threshold?: number;
@@ -10249,13 +10227,11 @@ export declare type F0TextareaField = F0BaseField & F0TextareaConfig & {
10249
10227
  };
10250
10228
 
10251
10229
  /**
10252
- * @experimental This is an experimental component, use it at your own risk.
10253
- *
10254
10230
  * F0TextAreaInput is the writable multi-line text field for forms — a box
10255
- * where the user types longer text spanning multiple lines. For a single
10256
- * line of text use F0TextInput.
10231
+ * where the user types longer text spanning multiple lines (notes,
10232
+ * descriptions, comments). For a single line of text use F0TextInput.
10257
10233
  */
10258
- export declare const F0TextAreaInput: FC<F0TextAreaInputProps>;
10234
+ export declare const F0TextAreaInput: React.FC<F0TextAreaInputProps>;
10259
10235
 
10260
10236
  export declare type F0TextAreaInputProps = Pick<ComponentProps<typeof Textarea_2>, "disabled" | "onChange" | "value" | "placeholder" | "rows" | "cols" | "label" | "labelIcon" | "icon" | "hideLabel" | "maxLength" | "clearable" | "onBlur" | "onFocus" | "name" | "status" | "hint" | "error" | "size" | "loading" | "required" | "maxHeight">;
10261
10237
 
@@ -10279,16 +10255,14 @@ export declare type F0TextField = F0BaseField & F0TextConfig & {
10279
10255
  };
10280
10256
 
10281
10257
  /**
10282
- * @experimental This is an experimental component, use it at your own risk.
10283
- *
10284
10258
  * F0TextInput is the writable text field for forms — a box where the user
10285
- * types text, numbers (as text), passwords, emails, etc. It is the canonical
10286
- * "text input" of F0. For numeric or duration data prefer F0NumberInput or
10287
- * F0DurationInput respectively.
10259
+ * types text, passwords, emails, etc. It is the canonical "text input" of
10260
+ * F0. For numeric data use F0NumberInput; for durations use F0DurationInput;
10261
+ * for queries use F0SearchInput.
10288
10262
  */
10289
- export declare const F0TextInput: <T extends string>(props: F0TextInputProps<T>) => JSX_2.Element;
10263
+ export declare const F0TextInput: ForwardRefExoticComponent<Omit<F0TextInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
10290
10264
 
10291
- export declare type F0TextInputProps<T extends string> = Omit<InputInternalProps<T>, (typeof privateProps_5)[number]>;
10265
+ export declare type F0TextInputProps = Omit<InputInternalProps, (typeof privateProps_5)[number]>;
10292
10266
 
10293
10267
  export declare type F0TextProps = Omit<TextProps, "className" | "variant" | "as"> & {
10294
10268
  variant?: (typeof _allowedVariants_2)[number];
@@ -11607,7 +11581,7 @@ export declare function injectSectionEnds(items: FlatFormItem[], inSectionQuesti
11607
11581
  *
11608
11582
  * @removeIn 2.0.0
11609
11583
  */
11610
- export declare const Input: <T extends string>(props: F0TextInputProps<T>) => JSX_2.Element;
11584
+ export declare const Input: ForwardRefExoticComponent<Omit<F0TextInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
11611
11585
 
11612
11586
  declare const Input_2: React_2.ForwardRefExoticComponent<Omit<React_2.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size"> & Pick<InputFieldProps<string>, "label" | "onChange" | "size" | "icon" | "role" | "onFocus" | "onBlur" | "transparent" | "status" | "loading" | "disabled" | "maxLength" | "required" | "error" | "append" | "hideLabel" | "hint" | "labelIcon" | "onClickContent" | "readonly" | "clearable" | "autocomplete" | "onClear" | "isEmpty" | "emptyValue" | "hideMaxLength" | "appendTag" | "lengthProvider" | "buttonToggle"> & React_2.RefAttributes<HTMLInputElement>>;
11613
11587
 
@@ -11617,6 +11591,20 @@ declare type InputFieldInheritedProps = (typeof inputFieldInheritedProps)[number
11617
11591
 
11618
11592
  declare const inputFieldInheritedProps: readonly ["className", "label", "placeholder", "hideLabel", "size", "error", "disabled", "readonly", "required", "clearable", "labelIcon", "status", "hint", "loading", "transparent"];
11619
11593
 
11594
+ /**
11595
+ * Design system primitive. Do NOT use in product code.
11596
+ *
11597
+ * `F0InputField` is the shared chrome (label, status, icon, append, clear,
11598
+ * loading, focus/hover/disabled styles, a11y wiring) used by every writable
11599
+ * F0 input. It is intentionally not exported from `@factorialco/f0-react`.
11600
+ *
11601
+ * Product code must use the dedicated `F0*Input` components instead:
11602
+ * - F0TextInput, F0NumberInput, F0SearchInput, F0TextAreaInput,
11603
+ * F0DurationInput, F0DatePicker, F0Select, ...
11604
+ *
11605
+ * Use `F0InputField` only when you are adding a new input type to the design
11606
+ * system itself (e.g. F0CurrencyInput, F0PhoneInput, F0PercentageInput).
11607
+ */
11620
11608
  declare type InputFieldProps<T> = {
11621
11609
  id?: string;
11622
11610
  autoFocus?: boolean;
@@ -11704,7 +11692,7 @@ declare const inputFieldStatus: readonly ["default", "warning", "info", "error"]
11704
11692
 
11705
11693
  declare type InputFieldStatusType = (typeof inputFieldStatus)[number];
11706
11694
 
11707
- declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof Input_2>, "ref" | "id" | "aria-describedby" | "aria-invalid"> & Pick<InputFieldProps<T>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading" | "transparent" | "onBlur" | "readonly"> & {
11695
+ declare type InputInternalProps = Pick<ComponentProps<typeof Input_2>, "ref" | "id" | "aria-describedby" | "aria-invalid"> & Pick<InputFieldProps<string>, "autoFocus" | "required" | "disabled" | "size" | "onChange" | "value" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading" | "transparent" | "onBlur" | "readonly"> & {
11708
11696
  type?: Exclude<HTMLInputTypeAttribute, "number">;
11709
11697
  onPressEnter?: () => void;
11710
11698
  };
@@ -11713,7 +11701,7 @@ declare type InputInternalProps<T extends string> = Pick<ComponentProps<typeof I
11713
11701
  * @deprecated Renamed to `F0TextInputProps`. See the `Input` deprecation note.
11714
11702
  * @removeIn 2.0.0
11715
11703
  */
11716
- export declare type InputProps<T extends string> = F0TextInputProps<T>;
11704
+ export declare type InputProps = F0TextInputProps;
11717
11705
 
11718
11706
  declare interface InsertAfterNotesTextEditorPageDocumentPatch {
11719
11707
  type: "insert_after";
@@ -12567,9 +12555,9 @@ declare type NumberFilterValue = {
12567
12555
  *
12568
12556
  * @removeIn 2.0.0
12569
12557
  */
12570
- export declare const NumberInput: (props: F0NumberInputProps) => JSX_2.Element;
12558
+ export declare const NumberInput: ForwardRefExoticComponent<Omit<F0NumberInputProps, "ref"> & RefAttributes<HTMLInputElement>>;
12571
12559
 
12572
- declare type NumberInputInternalProps = Omit<InputInternalProps<string>, "value" | "type" | "onChange"> & {
12560
+ declare type NumberInputInternalProps = Pick<ComponentProps<typeof Input_2>, "ref" | "id" | "aria-describedby" | "aria-invalid"> & Pick<InputFieldProps<string>, "autoFocus" | "required" | "disabled" | "size" | "placeholder" | "clearable" | "maxLength" | "label" | "labelIcon" | "icon" | "hideLabel" | "name" | "error" | "status" | "hint" | "autocomplete" | "buttonToggle" | "hideMaxLength" | "loading" | "transparent" | "onBlur" | "readonly"> & {
12573
12561
  locale: string;
12574
12562
  value?: number | null;
12575
12563
  step?: number;
@@ -16387,6 +16375,11 @@ declare module "gridstack" {
16387
16375
  }
16388
16376
 
16389
16377
 
16378
+ declare namespace Calendar {
16379
+ var displayName: string;
16380
+ }
16381
+
16382
+
16390
16383
  declare module "@tiptap/core" {
16391
16384
  interface Commands<ReturnType> {
16392
16385
  aiBlock: {
@@ -16436,11 +16429,6 @@ declare module "@tiptap/core" {
16436
16429
  }
16437
16430
 
16438
16431
 
16439
- declare namespace Calendar {
16440
- var displayName: string;
16441
- }
16442
-
16443
-
16444
16432
  declare namespace F0GraphNodeWrapperInner {
16445
16433
  var displayName: string;
16446
16434
  }
package/dist/f0.js CHANGED
@@ -1,13 +1,13 @@
1
- import { gs as zI, a5 as at, bk as Tx, m as ie, o as Ii, gm as VI, n as ea, eH as QF, ac as kp, S as K, u as Ze, C as tt, d7 as nu, A as Op, i as FI, H as ja, cU as fs, a6 as ur, a2 as Rf, gt as JF, ab as Dl, gu as Y0, gv as eG, gw as tG, gx as GS, dZ as rG, gy as nG, gz as GI, gA as iG, M as yt, aM as HI, bd as aG, dV as HS, s as iu, cO as WI, b7 as zl, be as oG, fh as Dx, aA as Ax, aB as Mx, aC as Ex, ai as Lx, c8 as nv, gB as Nx, gC as sG, fm as lG, gD as iv, aq as uG, g1 as Ix, gE as cG, Y as Pf, b_ as fG, l as dG, k as hG, gF as UI, gG as vG, gH as pG, gI as $I, w as gG, gJ as mG, gK as yG, gL as bG, gM as WS, ff as _G, gN as xG, fL as au, fM as kf, fZ as wG, fB as YI, a7 as bn, an as SG, cH as X0, cG as XI, fO as qI, gO as CG, gP as TG, gQ as yl, gR as Of, gS as ou, gT as DG, gU as ZI, gV as AG, gW as MG, fA as EG, gX as Bp, dh as Rx, gd as LG, a0 as jI, fe as NG, bG as IG, aa as zp, g2 as Px, dM as RG, dN as PG, dO as kG, c as OG, er as BG, z as KI, cN as ws, dy as QI, dg as JI, bJ as kx, dA as e2, E as Vp, G as Fp, cx as Ox, L as Gp, V as cr, X as Vl, fF as Al, fG as Ml, K as El, fH as Ll, fD as zG, fE as Pa, cA as t2, ap as VG, de as av, bb as Fl, gY as Fr, bQ as FG, dW as jc, bP as GG, az as HG, g7 as jr, gZ as WG, g_ as UG, g$ as r2, h0 as Hp, h1 as $G, h2 as YG, dk as n2, dj as i2, dT as XG, h3 as qG, aP as a2, aV as ZG, f$ as jG, g0 as KG, bl as su, bp as lu, bw as Bf, dB as QG, bm as JG, b4 as e3, N as o2, bc as t3, _ as r3, db as US, dx as Kc, fi as n3, fj as i3, h4 as a3, aU as o3, bq as s3, cS as s2, a3 as l3, cF as u3, gp as c3, by as f3, h5 as d3, h6 as h3, I as v3, h7 as p3, h8 as g3, h9 as m3, ha as y3, gl as $S } from "./F0CanvasPanel-CC0-kGJd.js";
2
- import { hq as mpe, D as ype, aN as bpe, F as _pe, a as xpe, hj as wpe, e as Spe, b5 as Cpe, aO as Tpe, bz as Dpe, dQ as Ape, aF as Mpe, bh as Epe, ah as Lpe, dY as Npe, bN as Ipe, f as Rpe, dP as Ppe, he as kpe, hv as Ope, aY as Bpe, d as zpe, bO as Vpe, as as Fpe, br as Gpe, hl as Hpe, b0 as Wpe, hm as Upe, ho as $pe, hp as Ype, c9 as Xpe, hs as qpe, c4 as Zpe, c5 as jpe, P as Kpe, hn as Qpe, c6 as Jpe, hr as ege, hw as tge, hb as rge, hc as nge, hd as ige, c7 as age, hu as oge, hk as sge, hh as lge, hg as uge, fy as cge, ge as fge, ht as dge, aS as hge, c3 as vge, c0 as pge, c2 as gge, b$ as mge, hi as yge, gg as bge, ga as _ge, fP as xge, bT as wge, c1 as Sge, hy as Cge, bi as Tge, dR as Dge, fx as Age, fQ as Mge, b as Ege, bj as Lge, gr as Nge, aQ as Ige, dS as Rge, hf as Pge, gc as kge, gb as Oge, hx as Bge } from "./F0CanvasPanel-CC0-kGJd.js";
1
+ import { gs as zI, a5 as at, bk as Tx, m as ie, o as Ii, gm as VI, n as ea, eH as QF, ac as kp, S as K, u as Ze, C as tt, d7 as nu, A as Op, i as FI, H as ja, cU as fs, a6 as ur, a2 as Rf, gt as JF, ab as Dl, gu as Y0, gv as eG, gw as tG, gx as GS, dZ as rG, gy as nG, gz as GI, gA as iG, M as yt, aM as HI, bd as aG, dV as HS, s as iu, cO as WI, b7 as zl, be as oG, fh as Dx, aA as Ax, aB as Mx, aC as Ex, ai as Lx, c8 as nv, gB as Nx, gC as sG, fm as lG, gD as iv, aq as uG, g1 as Ix, gE as cG, Y as Pf, b_ as fG, l as dG, k as hG, gF as UI, gG as vG, gH as pG, gI as $I, w as gG, gJ as mG, gK as yG, gL as bG, gM as WS, ff as _G, gN as xG, fL as au, fM as kf, fZ as wG, fB as YI, a7 as bn, an as SG, cH as X0, cG as XI, fO as qI, gO as CG, gP as TG, gQ as yl, gR as Of, gS as ou, gT as DG, gU as ZI, gV as AG, gW as MG, fA as EG, gX as Bp, dh as Rx, gd as LG, a0 as jI, fe as NG, bG as IG, aa as zp, g2 as Px, dM as RG, dN as PG, dO as kG, c as OG, er as BG, z as KI, cN as ws, dy as QI, dg as JI, bJ as kx, dA as e2, E as Vp, G as Fp, cx as Ox, L as Gp, V as cr, X as Vl, fF as Al, fG as Ml, K as El, fH as Ll, fD as zG, fE as Pa, cA as t2, ap as VG, de as av, bb as Fl, gY as Fr, bQ as FG, dW as jc, bP as GG, az as HG, g7 as jr, gZ as WG, g_ as UG, g$ as r2, h0 as Hp, h1 as $G, h2 as YG, dk as n2, dj as i2, dT as XG, h3 as qG, aP as a2, aV as ZG, f$ as jG, g0 as KG, bl as su, bp as lu, bw as Bf, dB as QG, bm as JG, b4 as e3, N as o2, bc as t3, _ as r3, db as US, dx as Kc, fi as n3, fj as i3, h4 as a3, aU as o3, bq as s3, cS as s2, a3 as l3, cF as u3, gp as c3, by as f3, h5 as d3, h6 as h3, I as v3, h7 as p3, h8 as g3, h9 as m3, ha as y3, gl as $S } from "./F0CanvasPanel-ptgXy87G.js";
2
+ import { hq as mpe, D as ype, aN as bpe, F as _pe, a as xpe, hj as wpe, e as Spe, b5 as Cpe, aO as Tpe, bz as Dpe, dQ as Ape, aF as Mpe, bh as Epe, ah as Lpe, dY as Npe, bN as Ipe, f as Rpe, dP as Ppe, he as kpe, hv as Ope, aY as Bpe, d as zpe, bO as Vpe, as as Fpe, br as Gpe, hl as Hpe, b0 as Wpe, hm as Upe, ho as $pe, hp as Ype, c9 as Xpe, hs as qpe, c4 as Zpe, c5 as jpe, P as Kpe, hn as Qpe, c6 as Jpe, hr as ege, hw as tge, hb as rge, hc as nge, hd as ige, c7 as age, hu as oge, hk as sge, hh as lge, hg as uge, fy as cge, ge as fge, ht as dge, aS as hge, c3 as vge, c0 as pge, c2 as gge, b$ as mge, hi as yge, gg as bge, ga as _ge, fP as xge, bT as wge, c1 as Sge, hy as Cge, bi as Tge, dR as Dge, fx as Age, fQ as Mge, b as Ege, bj as Lge, gr as Nge, aQ as Ige, dS as Rge, hf as Pge, gc as kge, gb as Oge, hx as Bge } from "./F0CanvasPanel-ptgXy87G.js";
3
3
  import { jsx as S, jsxs as z, Fragment as st } from "react/jsx-runtime";
4
4
  import * as St from "react";
5
5
  import _t, { forwardRef as kr, useRef as fe, useImperativeHandle as b3, Children as ov, createContext as Or, useContext as fr, useState as ce, useMemo as se, useEffect as ge, useCallback as le, useLayoutEffect as q0, isValidElement as l2, Fragment as Wp, memo as u2, useReducer as _3, cloneElement as x3, useId as Ic, useSyncExternalStore as YS } from "react";
6
- import { T as c2, z as w3, B as S3, D as C3, E as T3, G as f2, H as sv, I as Bx, J as d2, K as h2, L as v2, M as D3, N as A3, O as M3, P as E3, Q as L3, F as N3 } from "./useChatHistory-BPEqZAVa.js";
7
- import { A as Vge, C as Fge, h as Gge, t as Hge, v as Wge, x as Uge, n as $ge, j as Yge, r as Xge, y as qge, q as Zge, s as jge, k as Kge, e as Qge, R as Jge, g as eme, l as tme, i as rme, a as nme, p as ime, m as ame, o as ome, b as sme, f as lme, w as ume, c as cme, d as fme, u as dme } from "./useChatHistory-BPEqZAVa.js";
6
+ import { T as c2, z as w3, B as S3, D as C3, E as T3, G as f2, H as sv, I as Bx, J as d2, K as h2, L as v2, M as D3, N as A3, O as M3, P as E3, Q as L3, F as N3 } from "./useChatHistory-BphMZrVl.js";
7
+ import { A as Vge, C as Fge, h as Gge, t as Hge, v as Wge, x as Uge, n as $ge, j as Yge, r as Xge, y as qge, q as Zge, s as jge, k as Kge, e as Qge, R as Jge, g as eme, l as tme, i as rme, a as nme, p as ime, m as ame, o as ome, b as sme, f as lme, w as ume, c as cme, d as fme, u as dme } from "./useChatHistory-BphMZrVl.js";
8
8
  import { createPortal as zx, unstable_batchedUpdates as ud } from "react-dom";
9
- import { C as I3, F as R3, ag as p2, ah as P3, ai as k3, aj as O3, ak as Vx, al as Fx, H as B3, am as z3, Z as V3, a9 as F3, an as G3, T as H3, ao as W3, ap as U3, c as Up, aq as zf, R as Gx, u as Hx, X as g2, O as Wx, ar as m2, as as XS, at as Ux, q as $3, e as y2, a0 as b2, au as Y3, av as X3, aw as q3, ax as Z3, ay as j3, az as K3, M as Q3 } from "./useDataCollectionSource-JnNUQWjt.js";
10
- import { s as vme, t as pme, I as gme, v as mme, D as yme, aQ as bme, aP as _me, aL as xme, aB as wme, aA as Sme, aC as Cme, aD as Tme, W as Dme, K as Ame, af as Mme, N as Eme, w as Lme, aR as Nme, ab as Ime, ac as Rme, aa as Pme, ad as kme, Q as Ome, x as Bme, P as zme, z as Vme, E as Fme, ae as Gme, U as Hme, y as Wme, G as Ume, aT as $me, n as Yme, o as Xme, aK as qme, aG as Zme, aF as jme, aS as Kme, a7 as Qme, aI as Jme, aJ as eye, J as tye, aU as rye, aV as nye, f as iye, aM as aye, aN as oye, aO as sye, aH as lye, g as uye, i as cye, aE as fye, aW as dye } from "./useDataCollectionSource-JnNUQWjt.js";
9
+ import { C as I3, F as R3, ag as p2, ah as P3, ai as k3, aj as O3, ak as Vx, al as Fx, H as B3, am as z3, Z as V3, a9 as F3, an as G3, T as H3, ao as W3, ap as U3, c as Up, aq as zf, R as Gx, u as Hx, X as g2, O as Wx, ar as m2, as as XS, at as Ux, q as $3, e as y2, a0 as b2, au as Y3, av as X3, aw as q3, ax as Z3, ay as j3, az as K3, M as Q3 } from "./useDataCollectionSource-SH2WbTKC.js";
10
+ import { s as vme, t as pme, I as gme, v as mme, D as yme, aQ as bme, aP as _me, aL as xme, aB as wme, aA as Sme, aC as Cme, aD as Tme, W as Dme, K as Ame, af as Mme, N as Eme, w as Lme, aR as Nme, ab as Ime, ac as Rme, aa as Pme, ad as kme, Q as Ome, x as Bme, P as zme, z as Vme, E as Fme, ae as Gme, U as Hme, y as Wme, G as Ume, aT as $me, n as Yme, o as Xme, aK as qme, aG as Zme, aF as jme, aS as Kme, a7 as Qme, aI as Jme, aJ as eye, J as tye, aU as rye, aV as nye, f as iye, aM as aye, aN as oye, aO as sye, aH as lye, g as uye, i as cye, aE as fye, aW as dye } from "./useDataCollectionSource-SH2WbTKC.js";
11
11
  import { utils as Nl, write as _2 } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as vye } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const J3 = {
@@ -869,6 +869,11 @@ declare module "gridstack" {
869
869
  }
870
870
 
871
871
 
872
+ declare namespace Calendar {
873
+ var displayName: string;
874
+ }
875
+
876
+
872
877
  declare module "@tiptap/core" {
873
878
  interface Commands<ReturnType> {
874
879
  aiBlock: {
@@ -918,11 +923,6 @@ declare module "@tiptap/core" {
918
923
  }
919
924
 
920
925
 
921
- declare namespace Calendar {
922
- var displayName: string;
923
- }
924
-
925
-
926
926
  declare namespace F0GraphNodeWrapperInner {
927
927
  var displayName: string;
928
928
  }