@factorialco/f0-react 4.71.0 → 4.72.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
@@ -1076,6 +1076,9 @@ declare type CanvasCardAvatar = {
1076
1076
  } | {
1077
1077
  type: "file";
1078
1078
  file: FileDef;
1079
+ } | {
1080
+ type: "icon";
1081
+ icon: IconType;
1079
1082
  };
1080
1083
 
1081
1084
  /**
@@ -3741,7 +3744,7 @@ export declare namespace F0CanvasCard {
3741
3744
  * @removeIn 5.0.0
3742
3745
  */
3743
3746
  export declare type F0CanvasCardProps = {
3744
- /** Avatar to display: a module icon or a file-type badge */
3747
+ /** Avatar to display: a module icon, a file-type badge, or a plain icon */
3745
3748
  avatar?: CanvasCardAvatar;
3746
3749
  /** Primary title */
3747
3750
  title: string;
@@ -5267,15 +5270,6 @@ declare module "@tiptap/core" {
5267
5270
  }
5268
5271
 
5269
5272
 
5270
- declare module "@tiptap/core" {
5271
- interface Commands<ReturnType> {
5272
- moodTracker: {
5273
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
5274
- };
5275
- }
5276
- }
5277
-
5278
-
5279
5273
  declare module "@tiptap/core" {
5280
5274
  interface Commands<ReturnType> {
5281
5275
  enhanceHighlight: {
@@ -5290,10 +5284,8 @@ declare module "@tiptap/core" {
5290
5284
 
5291
5285
  declare module "@tiptap/core" {
5292
5286
  interface Commands<ReturnType> {
5293
- videoEmbed: {
5294
- setVideoEmbed: (options: {
5295
- src: string;
5296
- }) => ReturnType;
5287
+ moodTracker: {
5288
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
5297
5289
  };
5298
5290
  }
5299
5291
  }
@@ -5308,6 +5300,17 @@ declare module "@tiptap/core" {
5308
5300
  }
5309
5301
 
5310
5302
 
5303
+ declare module "@tiptap/core" {
5304
+ interface Commands<ReturnType> {
5305
+ videoEmbed: {
5306
+ setVideoEmbed: (options: {
5307
+ src: string;
5308
+ }) => ReturnType;
5309
+ };
5310
+ }
5311
+ }
5312
+
5313
+
5311
5314
  declare namespace F0GraphNodeWrapperInner {
5312
5315
  var displayName: string;
5313
5316
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { C as e, D as r, c as t, F as i, a as o, f as n, g as F, d as C, e as l, I as A, P as d, b as u, u as h } from "./F0CanvasPanel-CuBJDK-f.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-CjBkeySm.js";
3
+ import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-B72LXxMn.js";
4
4
  export {
5
5
  P as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -51,6 +51,8 @@ export declare interface ComponentEntry {
51
51
  hasStories: boolean;
52
52
  hasUnitTests: boolean;
53
53
  hasPlayFunction: boolean;
54
+ /** Has a Chromatic visual-regression snapshot story (`withSnapshot(...)`). */
55
+ hasSnapshot: boolean;
54
56
  hasMdxDocs: boolean;
55
57
  docQuality: DocQuality;
56
58
  docSignals: DocSignals;
@@ -291,15 +293,6 @@ declare module "@tiptap/core" {
291
293
  }
292
294
 
293
295
 
294
- declare module "@tiptap/core" {
295
- interface Commands<ReturnType> {
296
- moodTracker: {
297
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
298
- };
299
- }
300
- }
301
-
302
-
303
296
  declare module "@tiptap/core" {
304
297
  interface Commands<ReturnType> {
305
298
  enhanceHighlight: {
@@ -314,10 +307,8 @@ declare module "@tiptap/core" {
314
307
 
315
308
  declare module "@tiptap/core" {
316
309
  interface Commands<ReturnType> {
317
- videoEmbed: {
318
- setVideoEmbed: (options: {
319
- src: string;
320
- }) => ReturnType;
310
+ moodTracker: {
311
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
321
312
  };
322
313
  }
323
314
  }
@@ -332,6 +323,17 @@ declare module "@tiptap/core" {
332
323
  }
333
324
 
334
325
 
326
+ declare module "@tiptap/core" {
327
+ interface Commands<ReturnType> {
328
+ videoEmbed: {
329
+ setVideoEmbed: (options: {
330
+ src: string;
331
+ }) => ReturnType;
332
+ };
333
+ }
334
+ }
335
+
336
+
335
337
  declare namespace F0GraphNodeWrapperInner {
336
338
  var displayName: string;
337
339
  }