@factorialco/f0-react 7.14.0 → 7.15.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.
@@ -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-Cd27SePP.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-CV9lcCCY.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-DB5vW2uL.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-Cd27SePP.js";
4
- import { u as y, D as g } from "./DocumentToolbar-CV9lcCCY.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-DB5vW2uL.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
@@ -2871,6 +2871,7 @@ export declare const defaultTranslations: {
2871
2871
  readonly edit: "Edit";
2872
2872
  readonly editing: "Editing";
2873
2873
  readonly edited: "edited";
2874
+ readonly aiAssisted: "drafted with One";
2874
2875
  readonly cancelEdit: "Cancel edit";
2875
2876
  readonly saveEdit: "Save";
2876
2877
  readonly you: "You";
@@ -6126,18 +6127,6 @@ declare module "@tiptap/core" {
6126
6127
  }
6127
6128
 
6128
6129
 
6129
- declare module "@tiptap/core" {
6130
- interface Commands<ReturnType> {
6131
- enhanceHighlight: {
6132
- setEnhanceHighlight: (from: number, to: number, options?: {
6133
- placeholder?: string;
6134
- }) => ReturnType;
6135
- clearEnhanceHighlight: () => ReturnType;
6136
- };
6137
- }
6138
- }
6139
-
6140
-
6141
6130
  declare module "@tiptap/core" {
6142
6131
  interface Commands<ReturnType> {
6143
6132
  fontSize: {
@@ -6159,6 +6148,18 @@ declare module "@tiptap/core" {
6159
6148
  }
6160
6149
 
6161
6150
 
6151
+ declare module "@tiptap/core" {
6152
+ interface Commands<ReturnType> {
6153
+ enhanceHighlight: {
6154
+ setEnhanceHighlight: (from: number, to: number, options?: {
6155
+ placeholder?: string;
6156
+ }) => ReturnType;
6157
+ clearEnhanceHighlight: () => ReturnType;
6158
+ };
6159
+ }
6160
+ }
6161
+
6162
+
6162
6163
  declare module "@tiptap/core" {
6163
6164
  interface Commands<ReturnType> {
6164
6165
  moodTracker: {
@@ -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: {