@factorialco/f0-react 6.103.0 → 6.104.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,4 +1,4 @@
1
- import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ot, N as ye, O as st, Q as Ce, l as it, R as ct, U as lt, V as ut, w as dt, r as ft } from "./F0CanvasPanel-_KOYIR1A.js";
1
+ import { u as W, t as je, v as Ge, m as $, x as Xe, y as Ze, z as qe, A as Ye, B as Je, E as Qe, G as et, H as tt, J as nt, K as rt, L as at, M as ot, N as ye, O as st, Q as Ce, l as it, R as ct, U as lt, V as ut, w as dt, r as ft } from "./F0CanvasPanel-DT64c3E-.js";
2
2
  import { jsxs as S, jsx as c } from "react/jsx-runtime";
3
3
  import { forwardRef as re, useId as mt, useState as x, useRef as F, useEffect as N, useMemo as J, useCallback as T } from "react";
4
4
  import { d as H, f as ue } from "./tooltip-CMBdJvJA.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { m } from "./experimental-mgjNL16g.js";
2
+ import { m } from "./experimental-DjvvLdnE.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);
@@ -1,8 +1,8 @@
1
1
  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
- import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-_KOYIR1A.js";
3
+ import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-DT64c3E-.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-BzcsaSRy.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-BrZ13rVL.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
- import { u as x, S as p, p as w } from "./F0CanvasPanel-_KOYIR1A.js";
4
- import { u as y, D as g } from "./DocumentToolbar-BzcsaSRy.js";
3
+ import { u as x, S as p, p as w } from "./F0CanvasPanel-DT64c3E-.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-BrZ13rVL.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
@@ -5982,9 +5982,11 @@ declare module "@tiptap/core" {
5982
5982
 
5983
5983
  declare module "@tiptap/core" {
5984
5984
  interface Commands<ReturnType> {
5985
- fontSize: {
5986
- setFontSize: (fontSize: string) => ReturnType;
5987
- unsetFontSize: () => ReturnType;
5985
+ enhanceHighlight: {
5986
+ setEnhanceHighlight: (from: number, to: number, options?: {
5987
+ placeholder?: string;
5988
+ }) => ReturnType;
5989
+ clearEnhanceHighlight: () => ReturnType;
5988
5990
  };
5989
5991
  }
5990
5992
  }
@@ -5992,11 +5994,9 @@ declare module "@tiptap/core" {
5992
5994
 
5993
5995
  declare module "@tiptap/core" {
5994
5996
  interface Commands<ReturnType> {
5995
- enhanceHighlight: {
5996
- setEnhanceHighlight: (from: number, to: number, options?: {
5997
- placeholder?: string;
5998
- }) => ReturnType;
5999
- clearEnhanceHighlight: () => ReturnType;
5997
+ fontSize: {
5998
+ setFontSize: (fontSize: string) => ReturnType;
5999
+ unsetFontSize: () => ReturnType;
6000
6000
  };
6001
6001
  }
6002
6002
  }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
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 m } from "./F0CanvasPanel-_KOYIR1A.js";
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 m } from "./F0CanvasPanel-DT64c3E-.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-DTHL0mWj.js";
3
+ import { A as g, C as p, t as v, s as I, v as T, y as f, z as y, l as S, i as x, q as b, D as k, E as B, p as H, r as L, j as O, e as V, g as w, k as D, F as M, T as z, w as E, h as j, a as q, n as G, m as R, o as U, B as J, b as K, f as N, x as Q, c as W, d as X, u as Y } from "./F0AiProcessingOverlay-B-MR6cMY.js";
4
4
  export {
5
5
  g as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -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
  }