@factorialco/f0-react 6.92.0 → 6.93.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.
Files changed (26) hide show
  1. package/dist/{ChatPdfThumbnail-B5AL0nrd.js → ChatPdfThumbnail-CPl0nss6.js} +1 -1
  2. package/dist/{CoachmarkProvider-BvHCC6U-.js → CoachmarkProvider-BWN-lnib.js} +18779 -18560
  3. package/dist/{DocumentToolbar-Z04LbjLe.js → DocumentToolbar-DXwHOIRR.js} +2 -2
  4. package/dist/{DocxViewer-DatEcuPj.js → DocxViewer-Bq8rtoGl.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-CIBXF0aA.js → F0AiProcessingOverlay-CnPJe6l9.js} +3029 -2971
  6. package/dist/{F0CanvasPanel-BYk37H3S.js → F0CanvasPanel-CRfRDRcY.js} +30014 -29695
  7. package/dist/{F0VideoPlayer-ivv-8jRS.js → F0VideoPlayer-YejLcqsl.js} +1 -1
  8. package/dist/{LocationMap-DJV-K2nH.js → LocationMap-BB6ejEpS.js} +1 -1
  9. package/dist/{SheetViewer-DOPXx5v-.js → SheetViewer-ENbTiiHW.js} +2 -2
  10. package/dist/{TextViewer-CLD0qUx1.js → TextViewer-ClU-D6hJ.js} +2 -2
  11. package/dist/ai.d.ts +94 -13
  12. package/dist/ai.js +2 -2
  13. package/dist/component-status.d.ts +8 -8
  14. package/dist/component-status.js +1 -1
  15. package/dist/{experimental-CjCTiapX.js → experimental-BSasmmWC.js} +14488 -14341
  16. package/dist/experimental.d.ts +19 -10
  17. package/dist/experimental.js +35 -35
  18. package/dist/f0.d.ts +106 -20
  19. package/dist/f0.js +10554 -10458
  20. package/dist/i18n-provider-defaults.d.ts +10 -8
  21. package/dist/i18n-provider-defaults.js +5 -0
  22. package/dist/{index-C2ylL84h.js → index-BO9XpVCw.js} +3 -3
  23. package/dist/index-CjympfBT.js +4 -0
  24. package/dist/{pdfWorker-vVxORhXo.js → pdfWorker-BlHUxQSr.js} +2 -2
  25. package/package.json +2 -2
  26. package/dist/index-Bl4ay97j.js +0 -4
@@ -639,6 +639,8 @@ export declare const defaultTranslations: {
639
639
  readonly thoughtsGroupTitle: "Reasoning";
640
640
  readonly resourcesGroupTitle: "Resources";
641
641
  readonly thinking: "Thinking...";
642
+ readonly thinkingElapsedSeconds: "{{seconds}}s";
643
+ readonly thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s";
642
644
  readonly feedbackModal: {
643
645
  readonly positive: {
644
646
  readonly title: "What did you like about this response?";
@@ -1348,11 +1350,9 @@ declare namespace Calendar {
1348
1350
 
1349
1351
  declare module "@tiptap/core" {
1350
1352
  interface Commands<ReturnType> {
1351
- enhanceHighlight: {
1352
- setEnhanceHighlight: (from: number, to: number, options?: {
1353
- placeholder?: string;
1354
- }) => ReturnType;
1355
- clearEnhanceHighlight: () => ReturnType;
1353
+ aiBlock: {
1354
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1355
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1356
1356
  };
1357
1357
  }
1358
1358
  }
@@ -1370,9 +1370,11 @@ declare module "@tiptap/core" {
1370
1370
 
1371
1371
  declare module "@tiptap/core" {
1372
1372
  interface Commands<ReturnType> {
1373
- aiBlock: {
1374
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
1375
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
1373
+ enhanceHighlight: {
1374
+ setEnhanceHighlight: (from: number, to: number, options?: {
1375
+ placeholder?: string;
1376
+ }) => ReturnType;
1377
+ clearEnhanceHighlight: () => ReturnType;
1376
1378
  };
1377
1379
  }
1378
1380
  }
@@ -639,6 +639,11 @@ const e = {
639
639
  thoughtsGroupTitle: "Reasoning",
640
640
  resourcesGroupTitle: "Resources",
641
641
  thinking: "Thinking...",
642
+ // How long the turn has been thinking, shown beside the step that is
643
+ // running. Two keys rather than one unbounded second count, because "137s"
644
+ // reads badly past a couple of minutes — the consumer picks.
645
+ thinkingElapsedSeconds: "{{seconds}}s",
646
+ thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s",
642
647
  feedbackModal: {
643
648
  positive: {
644
649
  title: "What did you like about this response?",
@@ -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-BYk37H3S.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-CRfRDRcY.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-vVxORhXo.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-BlHUxQSr.js";
5
5
  import { F as We } from "./Printer-BD-FEi_2.js";
6
6
  import { d as ae } from "./tooltip-CMBdJvJA.js";
7
7
  import './index.css';const Oe = ({
@@ -227,7 +227,7 @@ import './index.css';const Oe = ({
227
227
  }), i;
228
228
  };
229
229
  Ee();
230
- const qe = J(() => import("./SheetViewer-DOPXx5v-.js")), Ge = J(() => import("./DocxViewer-DatEcuPj.js")), Ze = J(() => import("./TextViewer-CLD0qUx1.js")), oe = 48, le = ne(
230
+ const qe = J(() => import("./SheetViewer-ENbTiiHW.js")), Ge = J(() => import("./DocxViewer-Bq8rtoGl.js")), Ze = J(() => import("./TextViewer-ClU-D6hJ.js")), oe = 48, le = ne(
231
231
  (o, a) => {
232
232
  const { kind: e = "pdf", mimeType: i, ...s } = o;
233
233
  if (e === "pdf")
@@ -0,0 +1,4 @@
1
+ import { F as r } from "./F0VideoPlayer-YejLcqsl.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-CMBdJvJA.js";
4
- import { W as invariant } from "./F0CanvasPanel-BYk37H3S.js";
5
- import { d as dequal } from "./CoachmarkProvider-BvHCC6U-.js";
4
+ import { W as invariant } from "./F0CanvasPanel-CRfRDRcY.js";
5
+ import { d as dequal } from "./CoachmarkProvider-BWN-lnib.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: {} };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "6.92.0",
3
+ "version": "6.93.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -114,7 +114,7 @@
114
114
  "yjs": "^13.6.27",
115
115
  "zen-observable-ts": "^1.1.0",
116
116
  "zod-to-json-schema": "^3.25.1",
117
- "@factorialco/f0-core": "2.2.0"
117
+ "@factorialco/f0-core": "2.2.1"
118
118
  },
119
119
  "devDependencies": {
120
120
  "@chromatic-com/storybook": "^5.1.1",
@@ -1,4 +0,0 @@
1
- import { F as r } from "./F0VideoPlayer-ivv-8jRS.js";
2
- export {
3
- r as F0VideoPlayer
4
- };