@factorialco/f0-react 7.18.1 → 7.19.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.
@@ -2,7 +2,7 @@ import { jsx as c, jsxs as I } from "react/jsx-runtime";
2
2
  import { useRef as M, useState as n, useCallback as v } from "react";
3
3
  import { F as R } from "./MapProvider-DkE6q_Xv.js";
4
4
  import { u as _, m as x } from "./F0CanvasPanel--Wyte3t1.js";
5
- import { u as B, a as L, s as P } from "./experimental-CTZSqZHh.js";
5
+ import { u as B, a as L, s as P } from "./experimental-BvWkzt9z.js";
6
6
  const N = 140, O = 1e4, K = ({
7
7
  onClose: d,
8
8
  searchMembers: f
package/dist/ai.d.ts CHANGED
@@ -2874,7 +2874,7 @@ export declare const defaultTranslations: {
2874
2874
  readonly edit: "Edit";
2875
2875
  readonly editing: "Editing";
2876
2876
  readonly edited: "edited";
2877
- readonly aiAssisted: "drafted with One";
2877
+ readonly aiAssisted: "by One";
2878
2878
  readonly cancelEdit: "Cancel edit";
2879
2879
  readonly saveEdit: "Save";
2880
2880
  readonly you: "You";
@@ -6130,18 +6130,6 @@ declare module "@tiptap/core" {
6130
6130
  }
6131
6131
 
6132
6132
 
6133
- declare module "@tiptap/core" {
6134
- interface Commands<ReturnType> {
6135
- enhanceHighlight: {
6136
- setEnhanceHighlight: (from: number, to: number, options?: {
6137
- placeholder?: string;
6138
- }) => ReturnType;
6139
- clearEnhanceHighlight: () => ReturnType;
6140
- };
6141
- }
6142
- }
6143
-
6144
-
6145
6133
  declare module "@tiptap/core" {
6146
6134
  interface Commands<ReturnType> {
6147
6135
  fontSize: {
@@ -6174,10 +6162,11 @@ declare module "@tiptap/core" {
6174
6162
 
6175
6163
  declare module "@tiptap/core" {
6176
6164
  interface Commands<ReturnType> {
6177
- videoEmbed: {
6178
- setVideoEmbed: (options: {
6179
- src: string;
6165
+ enhanceHighlight: {
6166
+ setEnhanceHighlight: (from: number, to: number, options?: {
6167
+ placeholder?: string;
6180
6168
  }) => ReturnType;
6169
+ clearEnhanceHighlight: () => ReturnType;
6181
6170
  };
6182
6171
  }
6183
6172
  }
@@ -6192,6 +6181,17 @@ declare module "@tiptap/core" {
6192
6181
  }
6193
6182
 
6194
6183
 
6184
+ declare module "@tiptap/core" {
6185
+ interface Commands<ReturnType> {
6186
+ videoEmbed: {
6187
+ setVideoEmbed: (options: {
6188
+ src: string;
6189
+ }) => ReturnType;
6190
+ };
6191
+ }
6192
+ }
6193
+
6194
+
6195
6195
  declare namespace F0GraphNodeWrapperInner {
6196
6196
  var displayName: string;
6197
6197
  }
@@ -304,18 +304,6 @@ declare module "@tiptap/core" {
304
304
  }
305
305
 
306
306
 
307
- declare module "@tiptap/core" {
308
- interface Commands<ReturnType> {
309
- enhanceHighlight: {
310
- setEnhanceHighlight: (from: number, to: number, options?: {
311
- placeholder?: string;
312
- }) => ReturnType;
313
- clearEnhanceHighlight: () => ReturnType;
314
- };
315
- }
316
- }
317
-
318
-
319
307
  declare module "@tiptap/core" {
320
308
  interface Commands<ReturnType> {
321
309
  fontSize: {
@@ -348,10 +336,11 @@ declare module "@tiptap/core" {
348
336
 
349
337
  declare module "@tiptap/core" {
350
338
  interface Commands<ReturnType> {
351
- videoEmbed: {
352
- setVideoEmbed: (options: {
353
- src: string;
339
+ enhanceHighlight: {
340
+ setEnhanceHighlight: (from: number, to: number, options?: {
341
+ placeholder?: string;
354
342
  }) => ReturnType;
343
+ clearEnhanceHighlight: () => ReturnType;
355
344
  };
356
345
  }
357
346
  }
@@ -366,6 +355,17 @@ declare module "@tiptap/core" {
366
355
  }
367
356
 
368
357
 
358
+ declare module "@tiptap/core" {
359
+ interface Commands<ReturnType> {
360
+ videoEmbed: {
361
+ setVideoEmbed: (options: {
362
+ src: string;
363
+ }) => ReturnType;
364
+ };
365
+ }
366
+ }
367
+
368
+
369
369
  declare namespace F0GraphNodeWrapperInner {
370
370
  var displayName: string;
371
371
  }