@factorialco/f0-react 7.8.0 → 7.8.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,7 +1,7 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as b, 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-CuTymScT.js";
4
- import { n as g, a as h, f as v, T as n, d as F } from "./index-DNu7Vcfk.js";
4
+ import { n as g, a as h, f as v, T as n, d as F } from "./index-DJnu4rb0.js";
5
5
  const D = () => {
6
6
  const [r, a] = b(1), t = m(
7
7
  () => a((e) => g(e) ?? e),
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import { r as g } from "./docx-preview-BaRDMyPN.js";
3
3
  import { useRef as b, useState as h, useEffect as w } from "react";
4
4
  import { u as p, S as v } from "./F0CanvasPanel-CuTymScT.js";
5
- import { u as x, D as y } from "./DocumentToolbar-PuSK_gXV.js";
5
+ import { u as x, D as y } from "./DocumentToolbar-C74gbOkg.js";
6
6
  const V = ({
7
7
  url: t,
8
8
  filename: d,
@@ -1,5 +1,5 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { m } from "./experimental-HM_3ZSvd.js";
2
+ import { m } from "./experimental-D9J-myXH.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-CuTymScT.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-PuSK_gXV.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-C74gbOkg.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-CuTymScT.js";
4
- import { u as y, D as g } from "./DocumentToolbar-PuSK_gXV.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-C74gbOkg.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
@@ -5984,12 +5984,12 @@ declare global {
5984
5984
  }
5985
5985
 
5986
5986
 
5987
- declare namespace _Page {
5987
+ declare namespace _DaytimePage {
5988
5988
  var displayName: string;
5989
5989
  }
5990
5990
 
5991
5991
 
5992
- declare namespace _DaytimePage {
5992
+ declare namespace _Page {
5993
5993
  var displayName: string;
5994
5994
  }
5995
5995
 
@@ -6028,11 +6028,9 @@ declare module "@tiptap/core" {
6028
6028
 
6029
6029
  declare module "@tiptap/core" {
6030
6030
  interface Commands<ReturnType> {
6031
- enhanceHighlight: {
6032
- setEnhanceHighlight: (from: number, to: number, options?: {
6033
- placeholder?: string;
6034
- }) => ReturnType;
6035
- clearEnhanceHighlight: () => ReturnType;
6031
+ fontSize: {
6032
+ setFontSize: (fontSize: string) => ReturnType;
6033
+ unsetFontSize: () => ReturnType;
6036
6034
  };
6037
6035
  }
6038
6036
  }
@@ -6040,10 +6038,11 @@ declare module "@tiptap/core" {
6040
6038
 
6041
6039
  declare module "@tiptap/core" {
6042
6040
  interface Commands<ReturnType> {
6043
- indent: {
6044
- setIndent: (level: number) => ReturnType;
6045
- unsetIndent: () => ReturnType;
6046
- outdent: () => ReturnType;
6041
+ enhanceHighlight: {
6042
+ setEnhanceHighlight: (from: number, to: number, options?: {
6043
+ placeholder?: string;
6044
+ }) => ReturnType;
6045
+ clearEnhanceHighlight: () => ReturnType;
6047
6046
  };
6048
6047
  }
6049
6048
  }
@@ -6051,9 +6050,8 @@ declare module "@tiptap/core" {
6051
6050
 
6052
6051
  declare module "@tiptap/core" {
6053
6052
  interface Commands<ReturnType> {
6054
- fontSize: {
6055
- setFontSize: (fontSize: string) => ReturnType;
6056
- unsetFontSize: () => ReturnType;
6053
+ moodTracker: {
6054
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6057
6055
  };
6058
6056
  }
6059
6057
  }
@@ -6061,8 +6059,10 @@ declare module "@tiptap/core" {
6061
6059
 
6062
6060
  declare module "@tiptap/core" {
6063
6061
  interface Commands<ReturnType> {
6064
- moodTracker: {
6065
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
6062
+ indent: {
6063
+ setIndent: (level: number) => ReturnType;
6064
+ unsetIndent: () => ReturnType;
6065
+ outdent: () => ReturnType;
6066
6066
  };
6067
6067
  }
6068
6068
  }
@@ -262,12 +262,12 @@ declare global {
262
262
  }
263
263
 
264
264
 
265
- declare namespace _Page {
265
+ declare namespace _DaytimePage {
266
266
  var displayName: string;
267
267
  }
268
268
 
269
269
 
270
- declare namespace _DaytimePage {
270
+ declare namespace _Page {
271
271
  var displayName: string;
272
272
  }
273
273
 
@@ -306,11 +306,9 @@ declare module "@tiptap/core" {
306
306
 
307
307
  declare module "@tiptap/core" {
308
308
  interface Commands<ReturnType> {
309
- enhanceHighlight: {
310
- setEnhanceHighlight: (from: number, to: number, options?: {
311
- placeholder?: string;
312
- }) => ReturnType;
313
- clearEnhanceHighlight: () => ReturnType;
309
+ fontSize: {
310
+ setFontSize: (fontSize: string) => ReturnType;
311
+ unsetFontSize: () => ReturnType;
314
312
  };
315
313
  }
316
314
  }
@@ -318,10 +316,11 @@ declare module "@tiptap/core" {
318
316
 
319
317
  declare module "@tiptap/core" {
320
318
  interface Commands<ReturnType> {
321
- indent: {
322
- setIndent: (level: number) => ReturnType;
323
- unsetIndent: () => ReturnType;
324
- outdent: () => ReturnType;
319
+ enhanceHighlight: {
320
+ setEnhanceHighlight: (from: number, to: number, options?: {
321
+ placeholder?: string;
322
+ }) => ReturnType;
323
+ clearEnhanceHighlight: () => ReturnType;
325
324
  };
326
325
  }
327
326
  }
@@ -329,9 +328,8 @@ declare module "@tiptap/core" {
329
328
 
330
329
  declare module "@tiptap/core" {
331
330
  interface Commands<ReturnType> {
332
- fontSize: {
333
- setFontSize: (fontSize: string) => ReturnType;
334
- unsetFontSize: () => ReturnType;
331
+ moodTracker: {
332
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
335
333
  };
336
334
  }
337
335
  }
@@ -339,8 +337,10 @@ declare module "@tiptap/core" {
339
337
 
340
338
  declare module "@tiptap/core" {
341
339
  interface Commands<ReturnType> {
342
- moodTracker: {
343
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
340
+ indent: {
341
+ setIndent: (level: number) => ReturnType;
342
+ unsetIndent: () => ReturnType;
343
+ outdent: () => ReturnType;
344
344
  };
345
345
  }
346
346
  }