@factorialco/f0-react 7.28.1 → 7.28.2

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 { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
2
2
  import { useState as i, useEffect as k } from "react";
3
3
  import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-CMwh5HFX.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-Bf5SCuTi.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-1oZRVL2Q.js";
6
6
  const g = 1e3, F = 100, G = ({
7
7
  url: n,
8
8
  filename: y,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as _, useEffect as h } from "react";
3
3
  import { u as x, S as p, p as w } from "./F0CanvasPanel-CMwh5HFX.js";
4
- import { u as y, D as g } from "./DocumentToolbar-Bf5SCuTi.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-1oZRVL2Q.js";
5
5
  const k = 2 * 1024 * 1024, v = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
package/dist/ai.d.ts CHANGED
@@ -6157,9 +6157,11 @@ declare namespace Calendar {
6157
6157
 
6158
6158
  declare module "@tiptap/core" {
6159
6159
  interface Commands<ReturnType> {
6160
- aiBlock: {
6161
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6162
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6160
+ enhanceHighlight: {
6161
+ setEnhanceHighlight: (from: number, to: number, options?: {
6162
+ placeholder?: string;
6163
+ }) => ReturnType;
6164
+ clearEnhanceHighlight: () => ReturnType;
6163
6165
  };
6164
6166
  }
6165
6167
  }
@@ -6175,18 +6177,6 @@ declare module "@tiptap/core" {
6175
6177
  }
6176
6178
 
6177
6179
 
6178
- declare module "@tiptap/core" {
6179
- interface Commands<ReturnType> {
6180
- enhanceHighlight: {
6181
- setEnhanceHighlight: (from: number, to: number, options?: {
6182
- placeholder?: string;
6183
- }) => ReturnType;
6184
- clearEnhanceHighlight: () => ReturnType;
6185
- };
6186
- }
6187
- }
6188
-
6189
-
6190
6180
  declare module "@tiptap/core" {
6191
6181
  interface Commands<ReturnType> {
6192
6182
  indent: {
@@ -6216,6 +6206,16 @@ declare module "@tiptap/core" {
6216
6206
  }
6217
6207
 
6218
6208
 
6209
+ declare module "@tiptap/core" {
6210
+ interface Commands<ReturnType> {
6211
+ aiBlock: {
6212
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
6213
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
6214
+ };
6215
+ }
6216
+ }
6217
+
6218
+
6219
6219
  declare module "@tiptap/core" {
6220
6220
  interface Commands<ReturnType> {
6221
6221
  videoEmbed: {
@@ -296,9 +296,11 @@ declare namespace Calendar {
296
296
 
297
297
  declare module "@tiptap/core" {
298
298
  interface Commands<ReturnType> {
299
- aiBlock: {
300
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
301
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
299
+ enhanceHighlight: {
300
+ setEnhanceHighlight: (from: number, to: number, options?: {
301
+ placeholder?: string;
302
+ }) => ReturnType;
303
+ clearEnhanceHighlight: () => ReturnType;
302
304
  };
303
305
  }
304
306
  }
@@ -314,18 +316,6 @@ declare module "@tiptap/core" {
314
316
  }
315
317
 
316
318
 
317
- declare module "@tiptap/core" {
318
- interface Commands<ReturnType> {
319
- enhanceHighlight: {
320
- setEnhanceHighlight: (from: number, to: number, options?: {
321
- placeholder?: string;
322
- }) => ReturnType;
323
- clearEnhanceHighlight: () => ReturnType;
324
- };
325
- }
326
- }
327
-
328
-
329
319
  declare module "@tiptap/core" {
330
320
  interface Commands<ReturnType> {
331
321
  indent: {
@@ -355,6 +345,16 @@ declare module "@tiptap/core" {
355
345
  }
356
346
 
357
347
 
348
+ declare module "@tiptap/core" {
349
+ interface Commands<ReturnType> {
350
+ aiBlock: {
351
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
352
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
353
+ };
354
+ }
355
+ }
356
+
357
+
358
358
  declare module "@tiptap/core" {
359
359
  interface Commands<ReturnType> {
360
360
  videoEmbed: {