@factorialco/f0-react 2.52.0 → 2.54.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
@@ -2862,9 +2862,10 @@ export declare type F0AiChatTextAreaProps = {
2862
2862
  * `item` and its parent `group` (the outline-button entry). */
2863
2863
  onSuggestionClick?: (item: WelcomeScreenSuggestionItem, group: WelcomeScreenSuggestion) => void;
2864
2864
  /**
2865
- * When true, the composer adopts the fullscreen layout: the welcome
2866
- * footer is pushed to the bottom and the disclaimer is hidden so the
2867
- * footer is the only thing under the textarea.
2865
+ * When true on the welcome screen, the composer adopts the fullscreen
2866
+ * layout: the input slot grows to claim the bottom half (so the textarea
2867
+ * rises toward the vertical center), and the welcome suggestions render
2868
+ * below the textarea with their popover opening downward (instead of above).
2868
2869
  */
2869
2870
  fullscreen?: boolean;
2870
2871
  };
@@ -2962,6 +2963,9 @@ export declare type F0AiMessagesContainerProps = {
2962
2963
  onAssistantMessageRendered?: (message: Message) => void;
2963
2964
  /** Disables auto-scrollIntoView on new user messages (fullscreen sets false). */
2964
2965
  autoScrollUserIntoView?: boolean;
2966
+ /** Fullscreen welcome layout: pushes the welcome phrase to the bottom of the
2967
+ * top half so it meets the composer near the vertical center. */
2968
+ fullscreen?: boolean;
2965
2969
  /**
2966
2970
  * Renders the markdown content of user/assistant messages. The connected
2967
2971
  * wrapper provides a CopilotKit + f0-markdown-renderers implementation;
@@ -4705,6 +4709,11 @@ declare module "gridstack" {
4705
4709
  }
4706
4710
 
4707
4711
 
4712
+ declare namespace Calendar {
4713
+ var displayName: string;
4714
+ }
4715
+
4716
+
4708
4717
  declare module "@tiptap/core" {
4709
4718
  interface Commands<ReturnType> {
4710
4719
  aiBlock: {
@@ -4717,8 +4726,9 @@ declare module "@tiptap/core" {
4717
4726
 
4718
4727
  declare module "@tiptap/core" {
4719
4728
  interface Commands<ReturnType> {
4720
- moodTracker: {
4721
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
4729
+ enhanceHighlight: {
4730
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
4731
+ clearEnhanceHighlight: () => ReturnType;
4722
4732
  };
4723
4733
  }
4724
4734
  }
@@ -4726,9 +4736,8 @@ declare module "@tiptap/core" {
4726
4736
 
4727
4737
  declare module "@tiptap/core" {
4728
4738
  interface Commands<ReturnType> {
4729
- enhanceHighlight: {
4730
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
4731
- clearEnhanceHighlight: () => ReturnType;
4739
+ moodTracker: {
4740
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
4732
4741
  };
4733
4742
  }
4734
4743
  }
@@ -4754,11 +4763,6 @@ declare module "@tiptap/core" {
4754
4763
  }
4755
4764
 
4756
4765
 
4757
- declare namespace Calendar {
4758
- var displayName: string;
4759
- }
4760
-
4761
-
4762
4766
  declare namespace F0GraphNodeWrapperInner {
4763
4767
  var displayName: string;
4764
4768
  }
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-DHzu-56s.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-Cb-XPsWw.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-DbcUH7Tf.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-K5KKfnAw.js";
4
4
  export {
5
5
  c as AiChatTranslationsProvider,
6
6
  I as ChatSpinner,
@@ -8864,6 +8864,11 @@ declare module "gridstack" {
8864
8864
  }
8865
8865
 
8866
8866
 
8867
+ declare namespace Calendar {
8868
+ var displayName: string;
8869
+ }
8870
+
8871
+
8867
8872
  declare module "@tiptap/core" {
8868
8873
  interface Commands<ReturnType> {
8869
8874
  aiBlock: {
@@ -8876,8 +8881,9 @@ declare module "@tiptap/core" {
8876
8881
 
8877
8882
  declare module "@tiptap/core" {
8878
8883
  interface Commands<ReturnType> {
8879
- moodTracker: {
8880
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
8884
+ enhanceHighlight: {
8885
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8886
+ clearEnhanceHighlight: () => ReturnType;
8881
8887
  };
8882
8888
  }
8883
8889
  }
@@ -8885,9 +8891,8 @@ declare module "@tiptap/core" {
8885
8891
 
8886
8892
  declare module "@tiptap/core" {
8887
8893
  interface Commands<ReturnType> {
8888
- enhanceHighlight: {
8889
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8890
- clearEnhanceHighlight: () => ReturnType;
8894
+ moodTracker: {
8895
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
8891
8896
  };
8892
8897
  }
8893
8898
  }
@@ -8913,11 +8918,6 @@ declare module "@tiptap/core" {
8913
8918
  }
8914
8919
 
8915
8920
 
8916
- declare namespace Calendar {
8917
- var displayName: string;
8918
- }
8919
-
8920
-
8921
8921
  declare namespace F0GraphNodeWrapperInner {
8922
8922
  var displayName: string;
8923
8923
  }
@@ -1,9 +1,9 @@
1
- import { g as ca, B as da, h as ua, i as fa, j as Ft, k as De, l as ma, m as g, n as X, o as pe, u as ie, T as ha, p as ga, q as pa, R as ba, r as xa, s as re, t as va, v as gt, w as rt, x as Re, A as _e, y as wa, z as ya, C as W, E as Na, G as Ca, H as ve, J as rn, K as ka, L as Sa, M, N as ln, S as O, O as we, Q as Ia, U as Fa, V as Aa, W as La, X as Ea, Y as ke, Z as sn, _ as _a, $ as be, a0 as $e, a1 as Oa, d as on, a2 as Ce, a3 as Da, a4 as cn, a5 as ne, a6 as K, a7 as dn, a8 as un, a9 as Ta, aa as fn, ab as me, ac as ee, ad as za, ae as Pa, af as Ba, ag as Ra, ah as ge, ai as Ge, aj as $a, ak as Wa, al as Ma, am as ja, an as He, ao as mn, ap as Va, aq as Ga, ar as Ha, as as We, at as Ua, 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 lt, aE as hn, aF as it, aG as gn, aH as nr, aI as ar, aJ as rr, aK as lr, aL as ir, aM as Ue, aN as pt, aO as st, aP as pn, aQ as sr, aR as bn, aS as or, aT as cr, aU as dr, aV as Ee, aW as ur, aX as fr, aY as Te, aZ as At, a_ as ot, a$ as mr, b0 as hr, a as gr, b as pr, b1 as xn, b2 as br, f as xr, F as vr, b3 as wr, b4 as vn, b5 as yr, b6 as wn, b7 as yn, b8 as Nr, b9 as Cr, ba as kr, bb as Sr, bc as Ir, bd as Fr, be as Ar, bf as Lr, bg as Er, bh as Nn, bi as ue, bj as bt, bk as xt, bl as vt, bm as Cn, bn as wt, bo as kn, bp as Sn, bq as _r, br as Or, bs as Dr, bt as Tr, bu as zr, bv as Pr, bw as Br, bx as Rr, by as Lt, bz as $r, bA as Wr, bB as Et, bC as _t, bD as Ot, bE as Mr, bF as jr, bG as Vr, bH as Gr, bI as In, bJ as Hr, bK as Ur } from "./F0CanvasPanel-DHzu-56s.js";
2
- import { bW as Ac, bV as Lc, c6 as Ec, bS as _c, bT as Oc, bL as Dc, bM as Tc, bN as zc, c7 as Pc, bU as Bc, c2 as Rc, c3 as $c, bO as Wc, bY as Mc, bX as jc, bP as Vc, bQ as Gc, c4 as Hc, c8 as Uc, c5 as Kc, c1 as qc, b_ as Yc, c0 as Zc, bZ as Xc, bR as Jc, b$ as Qc } from "./F0CanvasPanel-DHzu-56s.js";
1
+ import { g as ca, B as da, h as ua, i as fa, j as Ft, k as De, l as ma, m as g, n as X, o as pe, u as ie, T as ha, p as ga, q as pa, R as ba, r as xa, s as re, t as va, v as gt, w as rt, x as Re, A as _e, y as wa, z as ya, C as W, E as Na, G as Ca, H as ve, J as rn, K as ka, L as Sa, M, N as ln, S as O, O as we, Q as Ia, U as Fa, V as Aa, W as La, X as Ea, Y as ke, Z as sn, _ as _a, $ as be, a0 as $e, a1 as Oa, d as on, a2 as Ce, a3 as Da, a4 as cn, a5 as ne, a6 as K, a7 as dn, a8 as un, a9 as Ta, aa as fn, ab as me, ac as ee, ad as za, ae as Pa, af as Ba, ag as Ra, ah as ge, ai as Ge, aj as $a, ak as Wa, al as Ma, am as ja, an as He, ao as mn, ap as Va, aq as Ga, ar as Ha, as as We, at as Ua, 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 lt, aE as hn, aF as it, aG as gn, aH as nr, aI as ar, aJ as rr, aK as lr, aL as ir, aM as Ue, aN as pt, aO as st, aP as pn, aQ as sr, aR as bn, aS as or, aT as cr, aU as dr, aV as Ee, aW as ur, aX as fr, aY as Te, aZ as At, a_ as ot, a$ as mr, b0 as hr, a as gr, b as pr, b1 as xn, b2 as br, f as xr, F as vr, b3 as wr, b4 as vn, b5 as yr, b6 as wn, b7 as yn, b8 as Nr, b9 as Cr, ba as kr, bb as Sr, bc as Ir, bd as Fr, be as Ar, bf as Lr, bg as Er, bh as Nn, bi as ue, bj as bt, bk as xt, bl as vt, bm as Cn, bn as wt, bo as kn, bp as Sn, bq as _r, br as Or, bs as Dr, bt as Tr, bu as zr, bv as Pr, bw as Br, bx as Rr, by as Lt, bz as $r, bA as Wr, bB as Et, bC as _t, bD as Ot, bE as Mr, bF as jr, bG as Vr, bH as Gr, bI as In, bJ as Hr, bK as Ur } from "./F0CanvasPanel-Cb-XPsWw.js";
2
+ import { bW as Ac, bV as Lc, c6 as Ec, bS as _c, bT as Oc, bL as Dc, bM as Tc, bN as zc, c7 as Pc, bU as Bc, c2 as Rc, c3 as $c, bO as Wc, bY as Mc, bX as jc, bP as Vc, bQ as Gc, c4 as Hc, c8 as Uc, c5 as Kc, c1 as qc, b_ as Yc, c0 as Zc, bZ as Xc, bR as Jc, b$ as Qc } from "./F0CanvasPanel-Cb-XPsWw.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 Kr, useState as _, useLayoutEffect as Fn, useId as ct, useContext as Ke, createContext as yt, useEffect as $, useCallback as Q, useMemo as q, Fragment as qr, isValidElement as Yr, cloneElement as An, Children as Ln } from "react";
5
- import { C as Zr, P as Xr, a as En, M as Jr, R as Dt, b as _n, u as Qr, c as On, S as el, A as tl, B as nl, L as al, d as rl, V as ll, e as il, f as sl, g as ol, O as cl } from "./useDataCollectionSource-BxNZJCZw.js";
6
- import { l as td, m as nd, j as ad, x as rd, n as ld, s as id, a3 as sd, w as od, k as cd, D as dd, F as ud, J as fd, E as md, z as hd, a9 as gd, I as pd, K as bd, Q as xd, o as vd, a5 as wd, a6 as yd, a4 as Nd, a7 as Cd, N as kd, U as Sd, a0 as Id, a2 as Fd, p as Ad, r as Ld, t as Ed, G as _d, a8 as Od, H as Dd, T as Td, q as zd, v as Pd, h as Bd, i as Rd, X as $d, Y as Wd, a1 as Md, y as jd, Z as Vd, _ as Gd, W as Hd, $ as Ud } from "./useDataCollectionSource-BxNZJCZw.js";
5
+ import { C as Zr, P as Xr, a as En, M as Jr, R as Dt, b as _n, u as Qr, c as On, S as el, A as tl, B as nl, L as al, d as rl, V as ll, e as il, f as sl, g as ol, O as cl } from "./useDataCollectionSource-D0OxkURJ.js";
6
+ import { l as td, m as nd, j as ad, x as rd, n as ld, s as id, a3 as sd, w as od, k as cd, D as dd, F as ud, J as fd, E as md, z as hd, a9 as gd, I as pd, K as bd, Q as xd, o as vd, a5 as wd, a6 as yd, a4 as Nd, a7 as Cd, N as kd, U as Sd, a0 as Id, a2 as Fd, p as Ad, r as Ld, t as Ed, G as _d, a8 as Od, H as Dd, T as Td, q as zd, v as Pd, h as Bd, i as Rd, X as $d, Y as Wd, a1 as Md, y as jd, Z as Vd, _ as Gd, W as Hd, $ as Ud } from "./useDataCollectionSource-D0OxkURJ.js";
7
7
  const dl = ca("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
@@ -1048,6 +1048,11 @@ declare const alertAvatarVariants: (props?: ({
1048
1048
  className?: ClassValue;
1049
1049
  })) | undefined) => string;
1050
1050
 
1051
+ export declare type AlertDialogOptions = NotificationDialogBaseOptions & {
1052
+ /** The alert action (default: label "Ok", value true). */
1053
+ confirm?: DialogSimpleAction;
1054
+ };
1055
+
1051
1056
  declare type AlertTagProps = ComponentProps<typeof F0TagAlert>;
1052
1057
 
1053
1058
  export declare type AlertVariant = (typeof alertVariantOptions)[number];
@@ -3097,6 +3102,13 @@ declare const componentTypes: readonly ["layout", "info", "action", "form"];
3097
3102
 
3098
3103
  export declare function computeSectionEndIds(elements: SurveyFormBuilderElement[]): Set<string>;
3099
3104
 
3105
+ export declare type ConfirmDialogOptions = NotificationDialogBaseOptions & {
3106
+ /** The confirm action (default: label "Ok", value true). */
3107
+ confirm?: DialogSimpleAction;
3108
+ /** The cancel action (default: label "Cancel", value false). */
3109
+ cancel?: DialogSimpleAction;
3110
+ };
3111
+
3100
3112
  export declare type ContentType = (typeof contentTypes)[number];
3101
3113
 
3102
3114
  export declare const contentTypes: readonly ["text", "person", "people", "team", "company", "alert", "balance", "sparkline"];
@@ -5033,6 +5045,41 @@ declare type DetailsItemContent = (ComponentProps<typeof DataList.Item> & {
5033
5045
  type: "file";
5034
5046
  });
5035
5047
 
5048
+ /**
5049
+ * Imperative API for centered dialogs. Requires `<F0Provider>` (which mounts
5050
+ * `DialogsAlikeLayoutProvider`) to be present in the tree.
5051
+ *
5052
+ * @example
5053
+ * const result = await dialog.open({ title, content, actions: { primary: { label: "OK", value: true } } })
5054
+ */
5055
+ export declare const dialog: {
5056
+ /** Open a dialog. Resolves with the value of the action the user picked. */
5057
+ open: (definition: Optional<DialogDefinition, "id">) => Promise<DialogActionValue>;
5058
+ /** Open a notification-style dialog (info/warning/critical/positive). */
5059
+ notification: (options: NotificationDialogOptions) => Promise<DialogActionValue>;
5060
+ /** Notification dialog with a single confirm action (defaults to "Ok"). */
5061
+ alert: (options: AlertDialogOptions) => Promise<DialogActionValue>;
5062
+ /** Notification dialog with confirm + cancel actions (defaults to Ok/Cancel). */
5063
+ confirm: (options: ConfirmDialogOptions) => Promise<DialogActionValue>;
5064
+ /** Programmatically close a dialog by id (resolves its promise with undefined). */
5065
+ close: (id: DialogId) => void;
5066
+ };
5067
+
5068
+ export declare type DialogAction = Optional<Pick<F0ButtonProps, "label" | "icon" | "disabled">, "icon" | "disabled"> & {
5069
+ value: DialogActionValue;
5070
+ keepOpen?: boolean;
5071
+ nonBlocking?: boolean;
5072
+ };
5073
+
5074
+ export declare type DialogActions = {
5075
+ primary: DialogAction | DialogAction[];
5076
+ secondary?: DialogAction | DialogAction[];
5077
+ };
5078
+
5079
+ export declare type DialogActionValue = DialogActionValuePrimitive | (() => Promise<DialogActionValuePrimitive>);
5080
+
5081
+ declare type DialogActionValuePrimitive = string | boolean | number | undefined | null;
5082
+
5036
5083
  declare type DialogAlikeAction = {
5037
5084
  value?: string;
5038
5085
  label: string;
@@ -5065,10 +5112,58 @@ export declare type DialogControls = {
5065
5112
  onClick: () => void;
5066
5113
  };
5067
5114
 
5115
+ export declare type DialogDefinition = {
5116
+ size?: F0DialogSize;
5117
+ id: DialogId;
5118
+ title: string;
5119
+ description?: string;
5120
+ content: ReactNode;
5121
+ actions: DialogActions;
5122
+ keepOpen?: boolean;
5123
+ /**
5124
+ * If true, the dialog will be modal (cannot be closed by clicking outside or pressing Escape).
5125
+ * @default false
5126
+ */
5127
+ modal?: boolean;
5128
+ /**
5129
+ * The module of the dialog.
5130
+ */
5131
+ module?: DialogModule;
5132
+ };
5133
+
5134
+ export declare type DialogId = string;
5135
+
5136
+ /**
5137
+ * Module configuration shown in a dialog/drawer header.
5138
+ *
5139
+ * Kept in its own module (free of any F0Dialog/F0Drawer dependency) so the
5140
+ * shared `dialog-alike/common` layer can reference it without creating a
5141
+ * circular dependency back through `dialogs-alike/types`.
5142
+ */
5143
+ declare type DialogModule = {
5144
+ id: ModuleId;
5145
+ label: string;
5146
+ href: string;
5147
+ };
5148
+
5149
+ declare type DialogNotificationType = (typeof dialogNotificationTypes)[number];
5150
+
5151
+ /**
5152
+ * The levels of the alert.
5153
+ */
5154
+ declare const dialogNotificationTypes: readonly ["info", "warning", "critical", "positive"];
5155
+
5068
5156
  export declare type DialogPosition = (typeof dialogPositions)[number];
5069
5157
 
5070
5158
  declare const dialogPositions: readonly ["center", "left", "right", "fullscreen"];
5071
5159
 
5160
+ declare type DialogSimpleAction = {
5161
+ label?: string;
5162
+ value?: DialogActionValue;
5163
+ };
5164
+
5165
+ declare const dialogSizes: readonly ["sm", "md", "lg", "xl", "fullscreen"];
5166
+
5072
5167
  export declare type DialogWidth = (typeof dialogWidths)[number];
5073
5168
 
5074
5169
  declare const dialogWidths: readonly ["sm", "md", "lg", "xl"];
@@ -5148,8 +5243,54 @@ export declare type DragPayload<T = unknown> = {
5148
5243
  data?: T;
5149
5244
  };
5150
5245
 
5246
+ /**
5247
+ * Imperative API for side drawers. Requires `<F0Provider>` to be present.
5248
+ *
5249
+ * @example
5250
+ * const result = await drawer.open({ title, content, actions: { primary: { label: "Save", value: "save" } } })
5251
+ */
5252
+ export declare const drawer: {
5253
+ /** Open a drawer. Resolves with the value of the action the user picked. */
5254
+ open: (definition: Optional<DrawerDefinition, "id">) => Promise<DialogActionValue>;
5255
+ /** Programmatically close a drawer by id (resolves its promise with undefined). */
5256
+ close: (id: DialogId) => void;
5257
+ };
5258
+
5259
+ export declare type DrawerDefinition = {
5260
+ /** The size of the drawer. */
5261
+ size?: DrawerSize;
5262
+ /** The id of the drawer. Auto-generated if not provided. */
5263
+ id: DialogId;
5264
+ /** The title of the drawer. */
5265
+ title: string;
5266
+ /** The description of the drawer. */
5267
+ description?: string;
5268
+ /** The content of the drawer. */
5269
+ content: ReactNode;
5270
+ /** The actions of the drawer. */
5271
+ actions: DialogActions;
5272
+ /**
5273
+ * If true, the drawer will not be closed automatically when an action is
5274
+ * clicked. Useful for drawers that need to be closed manually.
5275
+ */
5276
+ keepOpen?: boolean;
5277
+ /**
5278
+ * The position of the drawer.
5279
+ * @default "right"
5280
+ */
5281
+ position?: F0DrawerPosition;
5282
+ /** If true, the drawer will be modal. */
5283
+ modal?: boolean;
5284
+ /** The module of the drawer. */
5285
+ module?: DialogModule;
5286
+ };
5287
+
5151
5288
  declare const drawerPositions: readonly ["left", "right"];
5152
5289
 
5290
+ declare type DrawerSize = (typeof drawerSizes)[number];
5291
+
5292
+ declare const drawerSizes: readonly ["md"];
5293
+
5153
5294
  declare type DropdownItem = DropdownItemObject | DropdownItemSeparator | DropdownItemLabel;
5154
5295
 
5155
5296
  declare type DropdownItemLabel = {
@@ -5878,9 +6019,10 @@ export declare type F0AiChatTextAreaProps = {
5878
6019
  * `item` and its parent `group` (the outline-button entry). */
5879
6020
  onSuggestionClick?: (item: WelcomeScreenSuggestionItem, group: WelcomeScreenSuggestion) => void;
5880
6021
  /**
5881
- * When true, the composer adopts the fullscreen layout: the welcome
5882
- * footer is pushed to the bottom and the disclaimer is hidden so the
5883
- * footer is the only thing under the textarea.
6022
+ * When true on the welcome screen, the composer adopts the fullscreen
6023
+ * layout: the input slot grows to claim the bottom half (so the textarea
6024
+ * rises toward the vertical center), and the welcome suggestions render
6025
+ * below the textarea with their popover opening downward (instead of above).
5884
6026
  */
5885
6027
  fullscreen?: boolean;
5886
6028
  };
@@ -6110,6 +6252,9 @@ export declare type F0AiMessagesContainerProps = {
6110
6252
  onAssistantMessageRendered?: (message: Message_2) => void;
6111
6253
  /** Disables auto-scrollIntoView on new user messages (fullscreen sets false). */
6112
6254
  autoScrollUserIntoView?: boolean;
6255
+ /** Fullscreen welcome layout: pushes the welcome phrase to the bottom of the
6256
+ * top half so it meets the composer near the vertical center. */
6257
+ fullscreen?: boolean;
6113
6258
  /**
6114
6259
  * Renders the markdown content of user/assistant messages. The connected
6115
6260
  * wrapper provides a CopilotKit + f0-markdown-renderers implementation;
@@ -7927,6 +8072,8 @@ export declare type F0DialogSecondaryAction = {
7927
8072
 
7928
8073
  export declare type F0DialogSecondaryActionItem = F0DialogActionItem;
7929
8074
 
8075
+ declare type F0DialogSize = (typeof dialogSizes)[number];
8076
+
7930
8077
  /**
7931
8078
  * @experimental This is an experimental component use it at your own risk
7932
8079
  */
@@ -12271,6 +12418,15 @@ export declare class NotesTextEditorUnsupportedPatchTypeError extends Error {
12271
12418
  constructor(patchType: unknown);
12272
12419
  }
12273
12420
 
12421
+ declare type NotificationDialogBaseOptions = Optional<Pick<DialogDefinition, "id" | "title">, "id"> & {
12422
+ msg: string;
12423
+ type?: DialogNotificationType;
12424
+ };
12425
+
12426
+ export declare type NotificationDialogOptions = NotificationDialogBaseOptions & {
12427
+ actions: DialogActions;
12428
+ };
12429
+
12274
12430
  declare type NumberCellConfig<R extends RecordType = RecordType> = {
12275
12431
  min?: number;
12276
12432
  max?: number;
@@ -15985,6 +16141,11 @@ declare module "gridstack" {
15985
16141
  }
15986
16142
 
15987
16143
 
16144
+ declare namespace Calendar {
16145
+ var displayName: string;
16146
+ }
16147
+
16148
+
15988
16149
  declare module "@tiptap/core" {
15989
16150
  interface Commands<ReturnType> {
15990
16151
  aiBlock: {
@@ -15997,8 +16158,9 @@ declare module "@tiptap/core" {
15997
16158
 
15998
16159
  declare module "@tiptap/core" {
15999
16160
  interface Commands<ReturnType> {
16000
- moodTracker: {
16001
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
16161
+ enhanceHighlight: {
16162
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
16163
+ clearEnhanceHighlight: () => ReturnType;
16002
16164
  };
16003
16165
  }
16004
16166
  }
@@ -16006,9 +16168,8 @@ declare module "@tiptap/core" {
16006
16168
 
16007
16169
  declare module "@tiptap/core" {
16008
16170
  interface Commands<ReturnType> {
16009
- enhanceHighlight: {
16010
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
16011
- clearEnhanceHighlight: () => ReturnType;
16171
+ moodTracker: {
16172
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
16012
16173
  };
16013
16174
  }
16014
16175
  }
@@ -16034,11 +16195,6 @@ declare module "@tiptap/core" {
16034
16195
  }
16035
16196
 
16036
16197
 
16037
- declare namespace Calendar {
16038
- var displayName: string;
16039
- }
16040
-
16041
-
16042
16198
  declare namespace F0GraphNodeWrapperInner {
16043
16199
  var displayName: string;
16044
16200
  }