@factorialco/f0-react 2.49.0 → 2.51.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.
@@ -122739,21 +122739,23 @@ const Eq1 = ({ text: e }) => /* @__PURE__ */ a(
122739
122739
  label: e,
122740
122740
  required: t,
122741
122741
  htmlFor: n,
122742
- className: r,
122743
- icon: o,
122744
- disabled: i
122742
+ id: r,
122743
+ className: o,
122744
+ icon: i,
122745
+ disabled: s
122745
122746
  }) => /* @__PURE__ */ P(
122746
122747
  "label",
122747
122748
  {
122749
+ id: r,
122748
122750
  className: r2(
122749
- r,
122751
+ o,
122750
122752
  "text-md flex max-w-full gap-1 font-medium text-f1-foreground-secondary"
122751
122753
  ),
122752
122754
  htmlFor: n,
122753
122755
  "aria-label": e,
122754
- "aria-disabled": i,
122756
+ "aria-disabled": s,
122755
122757
  children: [
122756
- o && /* @__PURE__ */ a(g1, { icon: o, size: "sm" }),
122758
+ i && /* @__PURE__ */ a(g1, { icon: i, size: "sm" }),
122757
122759
  /* @__PURE__ */ a(Ce, { className: "shrink-1 min-w-0", children: e }),
122758
122760
  t && /* @__PURE__ */ a("span", { className: "text-f1-foreground-critical", "aria-hidden": "true", children: "*" })
122759
122761
  ]
@@ -140319,7 +140321,7 @@ export {
140319
140321
  BL as fy,
140320
140322
  wU as fz,
140321
140323
  Ba as g,
140322
- $e1 as g$,
140324
+ p41 as g$,
140323
140325
  Nn as g0,
140324
140326
  Dn as g1,
140325
140327
  Pj as g2,
@@ -140330,33 +140332,33 @@ export {
140330
140332
  hG1 as g7,
140331
140333
  uG1 as g8,
140332
140334
  gG1 as g9,
140333
- qU1 as gA,
140334
- UU as gB,
140335
- M8 as gC,
140336
- W33 as gD,
140337
- xj as gE,
140338
- Ir as gF,
140339
- at as gG,
140340
- U9 as gH,
140341
- d6 as gI,
140342
- p41 as gJ,
140343
- VJ as gK,
140344
- x23 as gL,
140345
- p33 as gM,
140346
- z13 as gN,
140347
- M23 as gO,
140348
- K13 as gP,
140349
- TW as gQ,
140350
- x33 as gR,
140351
- M33 as gS,
140352
- k33 as gT,
140353
- RR as gU,
140354
- N22 as gV,
140355
- sY1 as gW,
140356
- $33 as gX,
140357
- B33 as gY,
140358
- G33 as gZ,
140359
- U33 as g_,
140335
+ yG as gA,
140336
+ KM as gB,
140337
+ Tq1 as gC,
140338
+ QM as gD,
140339
+ tk as gE,
140340
+ Uu as gF,
140341
+ nk as gG,
140342
+ Rn as gH,
140343
+ m32 as gI,
140344
+ qU1 as gJ,
140345
+ B6 as gK,
140346
+ HM as gL,
140347
+ r1 as gM,
140348
+ u3 as gN,
140349
+ V3 as gO,
140350
+ VM as gP,
140351
+ JR as gQ,
140352
+ eB as gR,
140353
+ B22 as gS,
140354
+ UU as gT,
140355
+ M8 as gU,
140356
+ W33 as gV,
140357
+ xj as gW,
140358
+ Ir as gX,
140359
+ at as gY,
140360
+ U9 as gZ,
140361
+ d6 as g_,
140360
140362
  A33 as ga,
140361
140363
  k41 as gb,
140362
140364
  lG1 as gc,
@@ -140381,20 +140383,38 @@ export {
140381
140383
  VB as gv,
140382
140384
  $8 as gw,
140383
140385
  Ao as gx,
140384
- Rn as gy,
140385
- m32 as gz,
140386
+ A5 as gy,
140387
+ SG as gz,
140386
140388
  z22 as h,
140387
- RJ as h0,
140388
- DJ as h1,
140389
- rJ as h2,
140390
- De1 as h3,
140391
- ma as h4,
140392
- OL as h5,
140393
- cG1 as h6,
140394
- S33 as h7,
140395
- T33 as h8,
140396
- W13 as h9,
140397
- k23 as ha,
140389
+ VJ as h0,
140390
+ x23 as h1,
140391
+ p33 as h2,
140392
+ z13 as h3,
140393
+ M23 as h4,
140394
+ K13 as h5,
140395
+ TW as h6,
140396
+ x33 as h7,
140397
+ M33 as h8,
140398
+ k33 as h9,
140399
+ RR as ha,
140400
+ N22 as hb,
140401
+ sY1 as hc,
140402
+ $33 as hd,
140403
+ B33 as he,
140404
+ G33 as hf,
140405
+ U33 as hg,
140406
+ $e1 as hh,
140407
+ RJ as hi,
140408
+ DJ as hj,
140409
+ rJ as hk,
140410
+ De1 as hl,
140411
+ ma as hm,
140412
+ OL as hn,
140413
+ cG1 as ho,
140414
+ S33 as hp,
140415
+ T33 as hq,
140416
+ W13 as hr,
140417
+ k23 as hs,
140398
140418
  Ua as i,
140399
140419
  Dq1 as j,
140400
140420
  e12 as k,
package/dist/ai.d.ts CHANGED
@@ -4705,11 +4705,6 @@ declare module "gridstack" {
4705
4705
  }
4706
4706
 
4707
4707
 
4708
- declare namespace Calendar {
4709
- var displayName: string;
4710
- }
4711
-
4712
-
4713
4708
  declare module "@tiptap/core" {
4714
4709
  interface Commands<ReturnType> {
4715
4710
  enhanceHighlight: {
@@ -4759,6 +4754,11 @@ declare module "@tiptap/core" {
4759
4754
  }
4760
4755
 
4761
4756
 
4757
+ declare namespace Calendar {
4758
+ var displayName: string;
4759
+ }
4760
+
4761
+
4762
4762
  declare namespace F0GraphNodeWrapperInner {
4763
4763
  var displayName: string;
4764
4764
  }
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-D70oNR2G.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-DDHvW6gk.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-DjftH8dD.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-CKnLaxwq.js";
4
4
  export {
5
5
  c as AiChatTranslationsProvider,
6
6
  I as ChatSpinner,
@@ -8858,11 +8858,6 @@ declare module "gridstack" {
8858
8858
  }
8859
8859
 
8860
8860
 
8861
- declare namespace Calendar {
8862
- var displayName: string;
8863
- }
8864
-
8865
-
8866
8861
  declare module "@tiptap/core" {
8867
8862
  interface Commands<ReturnType> {
8868
8863
  enhanceHighlight: {
@@ -8912,6 +8907,11 @@ declare module "@tiptap/core" {
8912
8907
  }
8913
8908
 
8914
8909
 
8910
+ declare namespace Calendar {
8911
+ var displayName: string;
8912
+ }
8913
+
8914
+
8915
8915
  declare namespace F0GraphNodeWrapperInner {
8916
8916
  var displayName: string;
8917
8917
  }
@@ -1,9 +1,9 @@
1
- import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as gn, aG as it, aH as bn, aI as ar, aJ as rr, aK as lr, aL as ir, aM as sr, aN as Ue, aO as bt, aP as st, aQ as xn, aR as or, aS as vn, aT as cr, aU as dr, aV as ur, aW as Ee, aX as fr, aY as mr, aZ as Te, a_ as Lt, a$ as ot, b0 as hr, b1 as pr, a as gr, b as br, b2 as wn, b3 as xr, f as vr, F as wr, b4 as yr, b5 as yn, b6 as Nr, b7 as Nn, b8 as Cr, b9 as kr, ba as Sr, bb as Ir, bc as Fr, bd as Ar, be as Lr, bf as Er, bg as _r, bh as Cn, bi as ue, bj as xt, bk as vt, bl as wt, bm as kn, bn as yt, bo as Sn, bp as In, bq as Or, br as Dr, bs as Tr, bt as zr, bu as Pr, bv as Br, bw as Rr, bx as $r, by as Et, bz as Wr, bA as Mr, bB as _t, bC as Ot, bD as Dt, bE as jr, bF as Vr, bG as Gr, bH as Hr, bI as Fn, bJ as Ur, bK as Kr } from "./F0CanvasPanel-D70oNR2G.js";
2
- import { bW as Lc, bV as Ec, c6 as _c, bS as Oc, bT as Dc, bL as Tc, bM as zc, bN as Pc, c7 as Bc, bU as Rc, c2 as $c, c3 as Wc, bO as Mc, bY as jc, bX as Vc, bP as Gc, bQ as Hc, c4 as Uc, c8 as Kc, c5 as qc, c1 as Yc, b_ as Zc, c0 as Xc, bZ as Jc, bR as Qc, b$ as ed } from "./F0CanvasPanel-D70oNR2G.js";
1
+ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p, n as X, o as ge, u as ie, T as pa, p as ga, q as ba, R as xa, r as va, s as re, t as wa, v as pt, w as rt, x as Re, A as _e, y as ya, z as Na, C as M, E as Ca, G as ka, H as ve, J as sn, K as Sa, L as Ia, M as W, N as on, S as O, O as we, Q as Fa, U as Aa, V as La, W as Ea, X as _a, Y as ke, Z as cn, _ as Oa, $ as be, a0 as $e, a1 as Da, a2 as gt, d as dn, a3 as Ce, a4 as Ta, a5 as un, a6 as ne, a7 as K, a8 as fn, a9 as mn, aa as za, ab as hn, ac as me, ad as ee, ae as Pa, af as Ba, ag as Ra, ah as $a, ai as pe, aj as Ge, ak as Wa, al as Ma, am as ja, an as Va, ao as He, ap as pn, aq as Ga, ar as Ha, as as Ua, at as We, au as Ka, av as qa, aw as Ya, ax as Za, ay as Xa, az as Ja, aA as Qa, aB as er, aC as tr, aD as nr, aE as lt, aF as gn, aG as it, aH as bn, aI as ar, aJ as rr, aK as lr, aL as ir, aM as sr, aN as Ue, aO as bt, aP as st, aQ as xn, aR as or, aS as vn, aT as cr, aU as dr, aV as ur, aW as Ee, aX as fr, aY as mr, aZ as Te, a_ as Lt, a$ as ot, b0 as hr, b1 as pr, a as gr, b as br, b2 as wn, b3 as xr, f as vr, F as wr, b4 as yr, b5 as yn, b6 as Nr, b7 as Nn, b8 as Cr, b9 as kr, ba as Sr, bb as Ir, bc as Fr, bd as Ar, be as Lr, bf as Er, bg as _r, bh as Cn, bi as ue, bj as xt, bk as vt, bl as wt, bm as kn, bn as yt, bo as Sn, bp as In, bq as Or, br as Dr, bs as Tr, bt as zr, bu as Pr, bv as Br, bw as Rr, bx as $r, by as Et, bz as Wr, bA as Mr, bB as _t, bC as Ot, bD as Dt, bE as jr, bF as Vr, bG as Gr, bH as Hr, bI as Fn, bJ as Ur, bK as Kr } from "./F0CanvasPanel-DDHvW6gk.js";
2
+ import { bW as Lc, bV as Ec, c6 as _c, bS as Oc, bT as Dc, bL as Tc, bM as zc, bN as Pc, c7 as Bc, bU as Rc, c2 as $c, c3 as Wc, bO as Mc, bY as jc, bX as Vc, bP as Gc, bQ as Hc, c4 as Uc, c8 as Kc, c5 as qc, c1 as Yc, b_ as Zc, c0 as Xc, bZ as Jc, bR as Qc, b$ as ed } from "./F0CanvasPanel-DDHvW6gk.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import se, { forwardRef as j, useRef as G, useTransition as qr, useState as _, useLayoutEffect as An, useId as ct, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Yr, isValidElement as Zr, cloneElement as Ln, Children as En } from "react";
5
- import { C as Xr, P as Jr, a as _n, M as Qr, R as Tt, b as On, u as el, c as Dn, S as tl, A as nl, B as al, L as rl, d as ll, V as il, e as sl, f as ol, g as cl, O as dl } from "./useDataCollectionSource-CDB1LCNu.js";
6
- import { l as nd, m as ad, j as rd, x as ld, n as id, s as sd, a3 as od, w as cd, k as dd, D as ud, F as fd, J as md, E as hd, z as pd, a9 as gd, I as bd, K as xd, Q as vd, o as wd, a5 as yd, a6 as Nd, a4 as Cd, a7 as kd, N as Sd, U as Id, a0 as Fd, a2 as Ad, p as Ld, r as Ed, t as _d, G as Od, a8 as Dd, H as Td, T as zd, q as Pd, v as Bd, h as Rd, i as $d, X as Wd, Y as Md, a1 as jd, y as Vd, Z as Gd, _ as Hd, W as Ud, $ as Kd } from "./useDataCollectionSource-CDB1LCNu.js";
5
+ import { C as Xr, P as Jr, a as _n, M as Qr, R as Tt, b as On, u as el, c as Dn, S as tl, A as nl, B as al, L as rl, d as ll, V as il, e as sl, f as ol, g as cl, O as dl } from "./useDataCollectionSource-FspzgKHC.js";
6
+ import { l as nd, m as ad, j as rd, x as ld, n as id, s as sd, a3 as od, w as cd, k as dd, D as ud, F as fd, J as md, E as hd, z as pd, a9 as gd, I as bd, K as xd, Q as vd, o as wd, a5 as yd, a6 as Nd, a4 as Cd, a7 as kd, N as Sd, U as Id, a0 as Fd, a2 as Ad, p as Ld, r as Ed, t as _d, G as Od, a8 as Dd, H as Td, T as zd, q as Pd, v as Bd, h as Rd, i as $d, X as Wd, Y as Md, a1 as jd, y as Vd, Z as Gd, _ as Hd, W as Ud, $ as Kd } from "./useDataCollectionSource-FspzgKHC.js";
7
7
  const ul = da("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
@@ -54,12 +54,15 @@ import { F0AvatarPersonProps as F0AvatarPersonProps_2 } from './types';
54
54
  import { F0AvatarTeamProps as F0AvatarTeamProps_2 } from './F0AvatarTeam';
55
55
  import { F0DataChartProps as F0DataChartProps_2 } from './types';
56
56
  import { F0DialogInternalProps } from './internal-types';
57
+ import { F0DrawerProps } from './F0Drawer';
57
58
  import { F0DurationInputProps as F0DurationInputProps_2 } from './types';
58
59
  import { F0FormDefinition as F0FormDefinition_2 } from './f0';
59
60
  import { F0FormDefinitionPerSection as F0FormDefinitionPerSection_2 } from './f0';
60
61
  import { F0FormDefinitionSingleSchema as F0FormDefinitionSingleSchema_2 } from './f0';
61
62
  import { F0GridStackProps as F0GridStackProps_2 } from './F0GridStack';
62
63
  import { F0SelectProps as F0SelectProps_2 } from './types';
64
+ import { F0SliderProps as F0SliderProps_2 } from './types';
65
+ import { F0SliderSkeletonProps } from './F0SliderSkeleton';
63
66
  import { F0TagBalanceProps } from './types';
64
67
  import { F0TagCompanyProps } from './types';
65
68
  import { F0TagListProps } from './types';
@@ -154,6 +157,7 @@ import { TextCellValue as TextCellValue_2 } from './types/text';
154
157
  import { TrackReferenceOrPlaceholder } from '@livekit/components-react';
155
158
  import { ValueDisplayRendererContext } from './f0';
156
159
  import { VariantProps } from 'cva';
160
+ import { WithDataTestIdProps as WithDataTestIdProps_2 } from './f0';
157
161
  import { WithDataTestIdReturnType as WithDataTestIdReturnType_2 } from './f0';
158
162
  import { WithDataTestIdReturnType as WithDataTestIdReturnType_3 } from './f0';
159
163
  import { WithDataTestIdReturnType as WithDataTestIdReturnType_4 } from './f0';
@@ -5028,6 +5032,25 @@ declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
5028
5032
  type: "file";
5029
5033
  });
5030
5034
 
5035
+ declare type DialogAlikeAction = {
5036
+ value?: string;
5037
+ label: string;
5038
+ icon?: IconType;
5039
+ onClick: () => void | Promise<void>;
5040
+ disabled?: boolean;
5041
+ loading?: boolean;
5042
+ closeOnClick?: boolean;
5043
+ };
5044
+
5045
+ declare type DialogAlikeActionsProps = {
5046
+ primaryAction?: DialogAlikeAction | DialogAlikeAction[];
5047
+ secondaryAction?: DialogAlikeAction | DialogAlikeAction[];
5048
+ };
5049
+
5050
+ declare type DialogAlikePosition = (typeof dialogAlikePositions)[number];
5051
+
5052
+ declare const dialogAlikePositions: readonly ["center", "left", "right", "fullscreen"];
5053
+
5031
5054
  export declare type DialogPosition = (typeof dialogPositions)[number];
5032
5055
 
5033
5056
  declare const dialogPositions: readonly ["center", "left", "right", "fullscreen"];
@@ -5036,6 +5059,31 @@ export declare type DialogWidth = (typeof dialogWidths)[number];
5036
5059
 
5037
5060
  declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
5038
5061
 
5062
+ declare type DialogWrapperContextType = {
5063
+ open: boolean;
5064
+ onClose: () => void;
5065
+ shownBottomSheet: boolean;
5066
+ position: DialogAlikePosition;
5067
+ /**
5068
+ * The dialog's content container element.
5069
+ * Use this as the `portalContainer` prop for components like F0Select
5070
+ * to ensure dropdowns render inside the dialog.
5071
+ */
5072
+ portalContainer: HTMLDivElement | null;
5073
+ };
5074
+
5075
+ /**
5076
+ * The props for the F0DialogProvider component.
5077
+ */
5078
+ declare type DialogWrapperProviderProps = {
5079
+ isOpen: boolean;
5080
+ onClose: () => void;
5081
+ shownBottomSheet?: boolean;
5082
+ position: DialogAlikePosition;
5083
+ children: ReactNode;
5084
+ portalContainer: HTMLDivElement | null;
5085
+ };
5086
+
5039
5087
  /** Display modes */
5040
5088
  export declare type DisplayToken = "block" | "flex" | "inline" | "inline-flex" | "grid" | "none";
5041
5089
 
@@ -5086,6 +5134,8 @@ export declare type DragPayload<T = unknown> = {
5086
5134
  data?: T;
5087
5135
  };
5088
5136
 
5137
+ declare const drawerPositions: readonly ["left", "right"];
5138
+
5089
5139
  declare type DropdownItem = DropdownItemObject | DropdownItemSeparator | DropdownItemLabel;
5090
5140
 
5091
5141
  declare type DropdownItemLabel = {
@@ -7811,6 +7861,10 @@ export declare type F0DialogActionsProps = {
7811
7861
  secondaryAction?: F0DialogSecondaryAction | F0DialogSecondaryActionItem[];
7812
7862
  };
7813
7863
 
7864
+ export declare const F0DialogAlikeContext: Context<DialogWrapperContextType>;
7865
+
7866
+ export declare const F0DialogAlikeProvider: ({ isOpen, onClose, shownBottomSheet, position, children, portalContainer, }: DialogWrapperProviderProps) => JSX_2.Element;
7867
+
7814
7868
  export declare const F0DialogContext: Context<F0DialogContextType>;
7815
7869
 
7816
7870
  declare type F0DialogContextType = {
@@ -7859,6 +7913,20 @@ export declare type F0DialogSecondaryAction = {
7859
7913
 
7860
7914
  export declare type F0DialogSecondaryActionItem = F0DialogActionItem;
7861
7915
 
7916
+ /**
7917
+ * @experimental This is an experimental component use it at your own risk
7918
+ */
7919
+ export declare const F0Drawer: {
7920
+ (props: F0DrawerProps): JSX_2.Element;
7921
+ displayName: string;
7922
+ };
7923
+
7924
+ export declare type F0DrawerAction = DialogAlikeAction;
7925
+
7926
+ export declare type F0DrawerActionsProps = DialogAlikeActionsProps;
7927
+
7928
+ export declare type F0DrawerPosition = (typeof drawerPositions)[number];
7929
+
7862
7930
  export declare type F0DropdownButtonProps<T = string> = {
7863
7931
  size?: ButtonDropdownSize;
7864
7932
  items: ButtonDropdownItem<T>[] | ButtonDropdownGroup<T>[] | ButtonDropdownGroup<T>;
@@ -9778,6 +9846,57 @@ export declare type F0SelectTagProp = string | {
9778
9846
  variant: StatusVariant;
9779
9847
  };
9780
9848
 
9849
+ /**
9850
+ * @experimental This is an experimental component, use it at your own risk.
9851
+ */
9852
+ export declare const F0Slider: ForwardRefExoticComponent<Omit<F0SliderProps_2 & RefAttributes<HTMLDivElement> & WithDataTestIdProps_2, "ref"> & RefAttributes<HTMLDivElement>> & Pick<ForwardRefExoticComponent<F0SliderProps_2 & RefAttributes<HTMLDivElement>>, never> & {
9853
+ Skeleton: ({ hideLabel }: F0SliderSkeletonProps) => JSX_2.Element;
9854
+ };
9855
+
9856
+ export declare interface F0SliderProps extends WithDataTestIdProps, DataAttributes_2 {
9857
+ label: string;
9858
+ ariaLabel?: string;
9859
+ hideLabel?: boolean;
9860
+ hint?: string;
9861
+ status?: InputFieldStatus;
9862
+ required?: boolean;
9863
+ disabled?: boolean;
9864
+ name?: string;
9865
+ value?: number;
9866
+ defaultValue?: number;
9867
+ onChange?: (value: number) => void;
9868
+ /**
9869
+ * Fires once when the user commits a value: on pointer release after a drag,
9870
+ * and on each discrete keyboard step. Use this — not `onChange` — to trigger
9871
+ * expensive side effects such as mutations, so dragging does not fire one
9872
+ * call per intermediate value.
9873
+ */
9874
+ onValueCommit?: (value: number) => void;
9875
+ min: number;
9876
+ max: number;
9877
+ step?: number;
9878
+ minLabel?: string;
9879
+ maxLabel?: string;
9880
+ /**
9881
+ * Format the value for the floating tooltip. Receives the raw numeric value
9882
+ * and must return the full localised string. The whole string is built by
9883
+ * the consumer (instead of e.g. a `unit` prop concatenated by the component)
9884
+ * so locales can reorder the phrase around the number — for example RTL
9885
+ * languages or locales where the unit precedes the value.
9886
+ */
9887
+ formatValue?: (value: number) => string;
9888
+ /**
9889
+ * When to show the floating value tooltip above the thumb.
9890
+ * - `"always"`: visible at all times.
9891
+ * - `"onHover"`: visible while the slider is hovered, focused or being
9892
+ * dragged. Default.
9893
+ * - `"never"`: never rendered.
9894
+ */
9895
+ showTooltip?: F0SliderTooltipMode;
9896
+ }
9897
+
9898
+ export declare type F0SliderTooltipMode = (typeof sliderTooltipModes)[number];
9899
+
9781
9900
  /**
9782
9901
  * Config for string fields rendered as grouped radio cards
9783
9902
  */
@@ -13870,6 +13989,8 @@ declare type SimpleResult<T> = T[];
13870
13989
  /** Size tokens for width/height/min/max dimensions */
13871
13990
  export declare type SizeToken = "auto" | "full" | "screen" | "min" | "max" | "fit" | NumericSizeToken | FractionToken;
13872
13991
 
13992
+ export declare const sliderTooltipModes: readonly ["always", "onHover", "never"];
13993
+
13873
13994
  /**
13874
13995
  * Type helper to extract keys from a SortingsDefinition
13875
13996
  */
@@ -15161,6 +15282,8 @@ export declare function useF0AiFormRegistry(): F0AiFormRegistryContextValue | nu
15161
15282
 
15162
15283
  export declare const useF0Dialog: () => F0DialogContextType;
15163
15284
 
15285
+ export declare const useF0DialogAlikeContext: () => DialogWrapperContextType;
15286
+
15164
15287
  /**
15165
15288
  * Hook to control F0Form programmatically.
15166
15289
  *
@@ -15830,11 +15953,6 @@ declare module "gridstack" {
15830
15953
  }
15831
15954
 
15832
15955
 
15833
- declare namespace Calendar {
15834
- var displayName: string;
15835
- }
15836
-
15837
-
15838
15956
  declare module "@tiptap/core" {
15839
15957
  interface Commands<ReturnType> {
15840
15958
  enhanceHighlight: {
@@ -15884,6 +16002,11 @@ declare module "@tiptap/core" {
15884
16002
  }
15885
16003
 
15886
16004
 
16005
+ declare namespace Calendar {
16006
+ var displayName: string;
16007
+ }
16008
+
16009
+
15887
16010
  declare namespace F0GraphNodeWrapperInner {
15888
16011
  var displayName: string;
15889
16012
  }