@factorialco/f0-react 6.22.0 → 6.23.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.
@@ -1170,6 +1170,21 @@ export declare const defaultTranslations: {
1170
1170
  readonly submit: "Submit";
1171
1171
  readonly stepOf: "Step {{current}} of {{total}}";
1172
1172
  };
1173
+ readonly widgets: {
1174
+ /** Turns a widget over to read what it is telling you (Home's `info`). */
1175
+ readonly whatThisMeans: "What this info means?";
1176
+ /** The button on that other side, which turns it back. */
1177
+ readonly gotIt: "Got it";
1178
+ /** The widget menu's own items, and the dialogs they open. */
1179
+ readonly editParams: "Edit params";
1180
+ readonly editParamsTitle: "Edit widget params";
1181
+ readonly removeWidget: "Remove widget";
1182
+ readonly addWidget: "Add widget";
1183
+ /** Heads the widgets a Home suggests, at the top of the picker. */
1184
+ readonly recommended: "Recommended";
1185
+ /** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
1186
+ readonly cannotMoveHere: "You can't move a widget here — {{title}} is locked.";
1187
+ };
1173
1188
  readonly pdfViewer: {
1174
1189
  readonly toolbar: "Document toolbar";
1175
1190
  readonly previousPage: "Previous page";
@@ -1285,9 +1300,11 @@ declare module "@tiptap/core" {
1285
1300
 
1286
1301
  declare module "@tiptap/core" {
1287
1302
  interface Commands<ReturnType> {
1288
- fontSize: {
1289
- setFontSize: (fontSize: string) => ReturnType;
1290
- unsetFontSize: () => ReturnType;
1303
+ enhanceHighlight: {
1304
+ setEnhanceHighlight: (from: number, to: number, options?: {
1305
+ placeholder?: string;
1306
+ }) => ReturnType;
1307
+ clearEnhanceHighlight: () => ReturnType;
1291
1308
  };
1292
1309
  }
1293
1310
  }
@@ -1295,10 +1312,9 @@ declare module "@tiptap/core" {
1295
1312
 
1296
1313
  declare module "@tiptap/core" {
1297
1314
  interface Commands<ReturnType> {
1298
- indent: {
1299
- setIndent: (level: number) => ReturnType;
1300
- unsetIndent: () => ReturnType;
1301
- outdent: () => ReturnType;
1315
+ fontSize: {
1316
+ setFontSize: (fontSize: string) => ReturnType;
1317
+ unsetFontSize: () => ReturnType;
1302
1318
  };
1303
1319
  }
1304
1320
  }
@@ -1306,11 +1322,8 @@ declare module "@tiptap/core" {
1306
1322
 
1307
1323
  declare module "@tiptap/core" {
1308
1324
  interface Commands<ReturnType> {
1309
- enhanceHighlight: {
1310
- setEnhanceHighlight: (from: number, to: number, options?: {
1311
- placeholder?: string;
1312
- }) => ReturnType;
1313
- clearEnhanceHighlight: () => ReturnType;
1325
+ moodTracker: {
1326
+ insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1314
1327
  };
1315
1328
  }
1316
1329
  }
@@ -1318,8 +1331,10 @@ declare module "@tiptap/core" {
1318
1331
 
1319
1332
  declare module "@tiptap/core" {
1320
1333
  interface Commands<ReturnType> {
1321
- moodTracker: {
1322
- insertMoodTracker: (data: MoodTrackerData) => ReturnType;
1334
+ indent: {
1335
+ setIndent: (level: number) => ReturnType;
1336
+ unsetIndent: () => ReturnType;
1337
+ outdent: () => ReturnType;
1323
1338
  };
1324
1339
  }
1325
1340
  }
@@ -1327,8 +1342,10 @@ declare module "@tiptap/core" {
1327
1342
 
1328
1343
  declare module "@tiptap/core" {
1329
1344
  interface Commands<ReturnType> {
1330
- transcript: {
1331
- insertTranscript: (data: TranscriptData) => ReturnType;
1345
+ videoEmbed: {
1346
+ setVideoEmbed: (options: {
1347
+ src: string;
1348
+ }) => ReturnType;
1332
1349
  };
1333
1350
  }
1334
1351
  }
@@ -1336,10 +1353,8 @@ declare module "@tiptap/core" {
1336
1353
 
1337
1354
  declare module "@tiptap/core" {
1338
1355
  interface Commands<ReturnType> {
1339
- videoEmbed: {
1340
- setVideoEmbed: (options: {
1341
- src: string;
1342
- }) => ReturnType;
1356
+ transcript: {
1357
+ insertTranscript: (data: TranscriptData) => ReturnType;
1343
1358
  };
1344
1359
  }
1345
1360
  }
@@ -1193,6 +1193,21 @@ const e = {
1193
1193
  submit: "Submit",
1194
1194
  stepOf: "Step {{current}} of {{total}}"
1195
1195
  },
1196
+ widgets: {
1197
+ /** Turns a widget over to read what it is telling you (Home's `info`). */
1198
+ whatThisMeans: "What this info means?",
1199
+ /** The button on that other side, which turns it back. */
1200
+ gotIt: "Got it",
1201
+ /** The widget menu's own items, and the dialogs they open. */
1202
+ editParams: "Edit params",
1203
+ editParamsTitle: "Edit widget params",
1204
+ removeWidget: "Remove widget",
1205
+ addWidget: "Add widget",
1206
+ /** Heads the widgets a Home suggests, at the top of the picker. */
1207
+ recommended: "Recommended",
1208
+ /** Why a drop onto a pinned widget was refused. `{{title}}` is its name. */
1209
+ cannotMoveHere: "You can't move a widget here — {{title}} is locked."
1210
+ },
1196
1211
  pdfViewer: {
1197
1212
  toolbar: "Document toolbar",
1198
1213
  previousPage: "Previous page",
@@ -1,7 +1,7 @@
1
- import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-BCpvC5dQ.js";
1
+ import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-0gGxlTzq.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BYvt_4pI.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-DUmoyoC6.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-Cik7KBQT.js";
7
7
  import './index.css';const Oe = ({
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
222
222
  }), i;
223
223
  };
224
224
  Ee();
225
- const qe = J(() => import("./SheetViewer-CVf7vvsQ.js")), Ge = J(() => import("./DocxViewer-CoibKQeA.js")), Ze = J(() => import("./TextViewer-FbomP246.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-BnrpUthb.js")), Ge = J(() => import("./DocxViewer-Cwbd8fAV.js")), Ze = J(() => import("./TextViewer-CJBoodHy.js")), oe = 48, se = ne(
226
226
  (o, a) => {
227
227
  const { kind: e = "pdf", mimeType: i, ...l } = o;
228
228
  if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-BUhNtrIN.js";
2
+ export {
3
+ r as F0VideoPlayer
4
+ };
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-Cik7KBQT.js";
4
- import { W as invariant } from "./F0CanvasPanel-BCpvC5dQ.js";
5
- import { d as dequal } from "./CoachmarkProvider-DApl8aaf.js";
4
+ import { W as invariant } from "./F0CanvasPanel-0gGxlTzq.js";
5
+ import { d as dequal } from "./CoachmarkProvider-D1Qx4pMZ.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };