@factorialco/f0-react 6.57.1 → 6.58.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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as l } from "react/jsx-runtime";
2
2
  import { useState as u, useCallback as m, useMemo as p } from "react";
3
3
  import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-CZf80ymn.js";
4
- import { n as g, a as h, f as v, T as r, d as F } from "./index-CbTv8rou.js";
4
+ import { n as g, a as h, f as v, T as r, d as F } from "./index-DQ3UHiDn.js";
5
5
  const D = () => {
6
6
  const [t, a] = u(1), n = m(
7
7
  () => a((e) => g(e) ?? e),
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
2
  import { useRef as g, useState as h, useEffect as b } from "react";
3
3
  import { r as p } from "./docx-preview-BaRDMyPN.js";
4
4
  import { u as v, S as w } from "./F0CanvasPanel-CZf80ymn.js";
5
- import { u as x, D as y } from "./DocumentToolbar-BtlkAmjH.js";
5
+ import { u as x, D as y } from "./DocumentToolbar-CxSzmiQY.js";
6
6
  const V = ({
7
7
  url: o,
8
8
  filename: d,
@@ -1,5 +1,5 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { m } from "./experimental-DBE84eYE.js";
2
+ import { m } from "./experimental-CntjeMd1.js";
3
3
  import { useRef as l, useEffect as i, useState as b } from "react";
4
4
  const k = "https://tiles.openfreemap.org/styles/positron", y = "https://tiles.openfreemap.org/styles/dark", R = 15, d = (n) => {
5
5
  const [c, s] = b(!1);
@@ -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-CZf80ymn.js";
4
4
  import { f as z, c as E } from "./sheetPreview-5qeAOp0W.js";
5
- import { u as _, D as j } from "./DocumentToolbar-BtlkAmjH.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-CxSzmiQY.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-CZf80ymn.js";
4
- import { u as y, D as g } from "./DocumentToolbar-BtlkAmjH.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-CxSzmiQY.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
@@ -5728,9 +5728,11 @@ declare module "@tiptap/core" {
5728
5728
 
5729
5729
  declare module "@tiptap/core" {
5730
5730
  interface Commands<ReturnType> {
5731
- fontSize: {
5732
- setFontSize: (fontSize: string) => ReturnType;
5733
- unsetFontSize: () => ReturnType;
5731
+ enhanceHighlight: {
5732
+ setEnhanceHighlight: (from: number, to: number, options?: {
5733
+ placeholder?: string;
5734
+ }) => ReturnType;
5735
+ clearEnhanceHighlight: () => ReturnType;
5734
5736
  };
5735
5737
  }
5736
5738
  }
@@ -5738,10 +5740,9 @@ declare module "@tiptap/core" {
5738
5740
 
5739
5741
  declare module "@tiptap/core" {
5740
5742
  interface Commands<ReturnType> {
5741
- indent: {
5742
- setIndent: (level: number) => ReturnType;
5743
- unsetIndent: () => ReturnType;
5744
- outdent: () => ReturnType;
5743
+ fontSize: {
5744
+ setFontSize: (fontSize: string) => ReturnType;
5745
+ unsetFontSize: () => ReturnType;
5745
5746
  };
5746
5747
  }
5747
5748
  }
@@ -5749,11 +5750,10 @@ declare module "@tiptap/core" {
5749
5750
 
5750
5751
  declare module "@tiptap/core" {
5751
5752
  interface Commands<ReturnType> {
5752
- enhanceHighlight: {
5753
- setEnhanceHighlight: (from: number, to: number, options?: {
5754
- placeholder?: string;
5755
- }) => ReturnType;
5756
- clearEnhanceHighlight: () => ReturnType;
5753
+ indent: {
5754
+ setIndent: (level: number) => ReturnType;
5755
+ unsetIndent: () => ReturnType;
5756
+ outdent: () => ReturnType;
5757
5757
  };
5758
5758
  }
5759
5759
  }
@@ -5801,3 +5801,8 @@ declare namespace F0GraphExpanderWrapperInner {
5801
5801
  declare namespace F0GraphCollapserWrapperInner {
5802
5802
  var displayName: string;
5803
5803
  }
5804
+
5805
+
5806
+ declare namespace F0GraphStackGroupWrapperInner {
5807
+ var displayName: string;
5808
+ }
@@ -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,10 +318,9 @@ declare module "@tiptap/core" {
316
318
 
317
319
  declare module "@tiptap/core" {
318
320
  interface Commands<ReturnType> {
319
- indent: {
320
- setIndent: (level: number) => ReturnType;
321
- unsetIndent: () => ReturnType;
322
- outdent: () => ReturnType;
321
+ fontSize: {
322
+ setFontSize: (fontSize: string) => ReturnType;
323
+ unsetFontSize: () => ReturnType;
323
324
  };
324
325
  }
325
326
  }
@@ -327,11 +328,10 @@ declare module "@tiptap/core" {
327
328
 
328
329
  declare module "@tiptap/core" {
329
330
  interface Commands<ReturnType> {
330
- enhanceHighlight: {
331
- setEnhanceHighlight: (from: number, to: number, options?: {
332
- placeholder?: string;
333
- }) => ReturnType;
334
- clearEnhanceHighlight: () => ReturnType;
331
+ indent: {
332
+ setIndent: (level: number) => ReturnType;
333
+ unsetIndent: () => ReturnType;
334
+ outdent: () => ReturnType;
335
335
  };
336
336
  }
337
337
  }
@@ -379,3 +379,8 @@ declare namespace F0GraphExpanderWrapperInner {
379
379
  declare namespace F0GraphCollapserWrapperInner {
380
380
  var displayName: string;
381
381
  }
382
+
383
+
384
+ declare namespace F0GraphStackGroupWrapperInner {
385
+ var displayName: string;
386
+ }