@factorialco/f0-react 7.28.1 → 7.28.3

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
@@ -6167,9 +6167,11 @@ declare module "@tiptap/core" {
6167
6167
 
6168
6168
  declare module "@tiptap/core" {
6169
6169
  interface Commands<ReturnType> {
6170
- fontSize: {
6171
- setFontSize: (fontSize: string) => ReturnType;
6172
- unsetFontSize: () => ReturnType;
6170
+ enhanceHighlight: {
6171
+ setEnhanceHighlight: (from: number, to: number, options?: {
6172
+ placeholder?: string;
6173
+ }) => ReturnType;
6174
+ clearEnhanceHighlight: () => ReturnType;
6173
6175
  };
6174
6176
  }
6175
6177
  }
@@ -6177,11 +6179,9 @@ declare module "@tiptap/core" {
6177
6179
 
6178
6180
  declare module "@tiptap/core" {
6179
6181
  interface Commands<ReturnType> {
6180
- enhanceHighlight: {
6181
- setEnhanceHighlight: (from: number, to: number, options?: {
6182
- placeholder?: string;
6183
- }) => ReturnType;
6184
- clearEnhanceHighlight: () => ReturnType;
6182
+ fontSize: {
6183
+ setFontSize: (fontSize: string) => ReturnType;
6184
+ unsetFontSize: () => ReturnType;
6185
6185
  };
6186
6186
  }
6187
6187
  }
@@ -306,9 +306,11 @@ declare module "@tiptap/core" {
306
306
 
307
307
  declare module "@tiptap/core" {
308
308
  interface Commands<ReturnType> {
309
- fontSize: {
310
- setFontSize: (fontSize: string) => ReturnType;
311
- unsetFontSize: () => ReturnType;
309
+ enhanceHighlight: {
310
+ setEnhanceHighlight: (from: number, to: number, options?: {
311
+ placeholder?: string;
312
+ }) => ReturnType;
313
+ clearEnhanceHighlight: () => ReturnType;
312
314
  };
313
315
  }
314
316
  }
@@ -316,11 +318,9 @@ declare module "@tiptap/core" {
316
318
 
317
319
  declare module "@tiptap/core" {
318
320
  interface Commands<ReturnType> {
319
- enhanceHighlight: {
320
- setEnhanceHighlight: (from: number, to: number, options?: {
321
- placeholder?: string;
322
- }) => ReturnType;
323
- clearEnhanceHighlight: () => ReturnType;
321
+ fontSize: {
322
+ setFontSize: (fontSize: string) => ReturnType;
323
+ unsetFontSize: () => ReturnType;
324
324
  };
325
325
  }
326
326
  }