@factorialco/f0-react 6.85.0 → 6.86.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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { m } from "./experimental-Bd1Lalzq.js";
2
+ import { m } from "./experimental-CbI4xOlR.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-1EHjTOQx.js";
4
4
  import { f as z, c as E } from "./sheetPreview-5qeAOp0W.js";
5
- import { u as _, D as j } from "./DocumentToolbar-C2Dqh2LL.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-DGo8KFh8.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-1EHjTOQx.js";
4
- import { u as y, D as g } from "./DocumentToolbar-C2Dqh2LL.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-DGo8KFh8.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
@@ -5787,18 +5787,6 @@ declare module "@tiptap/core" {
5787
5787
  }
5788
5788
 
5789
5789
 
5790
- declare module "@tiptap/core" {
5791
- interface Commands<ReturnType> {
5792
- enhanceHighlight: {
5793
- setEnhanceHighlight: (from: number, to: number, options?: {
5794
- placeholder?: string;
5795
- }) => ReturnType;
5796
- clearEnhanceHighlight: () => ReturnType;
5797
- };
5798
- }
5799
- }
5800
-
5801
-
5802
5790
  declare module "@tiptap/core" {
5803
5791
  interface Commands<ReturnType> {
5804
5792
  fontSize: {
@@ -5820,6 +5808,18 @@ declare module "@tiptap/core" {
5820
5808
  }
5821
5809
 
5822
5810
 
5811
+ declare module "@tiptap/core" {
5812
+ interface Commands<ReturnType> {
5813
+ enhanceHighlight: {
5814
+ setEnhanceHighlight: (from: number, to: number, options?: {
5815
+ placeholder?: string;
5816
+ }) => ReturnType;
5817
+ clearEnhanceHighlight: () => ReturnType;
5818
+ };
5819
+ }
5820
+ }
5821
+
5822
+
5823
5823
  declare module "@tiptap/core" {
5824
5824
  interface Commands<ReturnType> {
5825
5825
  moodTracker: {
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
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 h } from "./F0CanvasPanel-1EHjTOQx.js";
2
2
  import { defaultTranslations as c } from "./i18n-provider-defaults.js";
3
- import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-CRqCcAw2.js";
3
+ import { A as P, C as T, t as p, s as v, v as g, y as f, l as y, i as S, q as x, z as b, B as k, p as H, r as O, j as V, e as w, g as B, k as M, F as z, T as D, w as L, h as j, a as q, n as E, m as G, o as R, b as J, f as K, x as N, c as Q, d as U, u as W } from "./F0AiProcessingOverlay-CvHvl6fB.js";
4
4
  export {
5
5
  P as AiChatTranslationsProvider,
6
6
  e as ChatSpinner,
@@ -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: {
@@ -337,6 +325,18 @@ declare module "@tiptap/core" {
337
325
  }
338
326
 
339
327
 
328
+ declare module "@tiptap/core" {
329
+ interface Commands<ReturnType> {
330
+ enhanceHighlight: {
331
+ setEnhanceHighlight: (from: number, to: number, options?: {
332
+ placeholder?: string;
333
+ }) => ReturnType;
334
+ clearEnhanceHighlight: () => ReturnType;
335
+ };
336
+ }
337
+ }
338
+
339
+
340
340
  declare module "@tiptap/core" {
341
341
  interface Commands<ReturnType> {
342
342
  moodTracker: {