@factorialco/f0-react 7.8.0 → 7.8.2

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-BZJokdaH.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-Dtc6yYzn.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-CVxLqLmr.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-Dtc6yYzn.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-Dtc6yYzn.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
 
@@ -6040,10 +6040,9 @@ declare module "@tiptap/core" {
6040
6040
 
6041
6041
  declare module "@tiptap/core" {
6042
6042
  interface Commands<ReturnType> {
6043
- indent: {
6044
- setIndent: (level: number) => ReturnType;
6045
- unsetIndent: () => ReturnType;
6046
- outdent: () => ReturnType;
6043
+ fontSize: {
6044
+ setFontSize: (fontSize: string) => ReturnType;
6045
+ unsetFontSize: () => ReturnType;
6047
6046
  };
6048
6047
  }
6049
6048
  }
@@ -6051,9 +6050,10 @@ 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
+ indent: {
6054
+ setIndent: (level: number) => ReturnType;
6055
+ unsetIndent: () => ReturnType;
6056
+ outdent: () => ReturnType;
6057
6057
  };
6058
6058
  }
6059
6059
  }
@@ -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
 
@@ -318,10 +318,9 @@ declare module "@tiptap/core" {
318
318
 
319
319
  declare module "@tiptap/core" {
320
320
  interface Commands<ReturnType> {
321
- indent: {
322
- setIndent: (level: number) => ReturnType;
323
- unsetIndent: () => ReturnType;
324
- outdent: () => ReturnType;
321
+ fontSize: {
322
+ setFontSize: (fontSize: string) => ReturnType;
323
+ unsetFontSize: () => ReturnType;
325
324
  };
326
325
  }
327
326
  }
@@ -329,9 +328,10 @@ 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
+ indent: {
332
+ setIndent: (level: number) => ReturnType;
333
+ unsetIndent: () => ReturnType;
334
+ outdent: () => ReturnType;
335
335
  };
336
336
  }
337
337
  }