@factorialco/f0-react 11.4.0 → 11.6.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.
Files changed (41) hide show
  1. package/dist/{ChatPostComposerDialog-Cc7fvKS6.js → ChatPostComposerDialog-Cck0eXo_.js} +3 -3
  2. package/dist/{CoachmarkProvider-Ci3AcnP8.js → CoachmarkProvider-BFqqg2UJ.js} +19537 -18773
  3. package/dist/{DocumentToolbar-ROjm7TTq.js → DocumentToolbar-C8mxENP5.js} +5 -5
  4. package/dist/{DocxViewer-C-hqdAtr.js → DocxViewer-DrVcTEmI.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-c1krdBYn.js → F0AiProcessingOverlay-Ce8D6iy4.js} +81 -68
  6. package/dist/{F0CanvasPanel-CK1xxsUA.js → F0CanvasPanel-BM8XJQxg.js} +901 -823
  7. package/dist/F0CanvasPanel.css +1 -1
  8. package/dist/{F0DocumentViewer-BCfJXjvm.js → F0DocumentViewer-2l2m-eh2.js} +6 -6
  9. package/dist/F0DocumentViewer-D2Ha0lRL.js +3 -0
  10. package/dist/{F0Map-BiAloAMK.js → F0Map-CytIPUVk.js} +6 -6
  11. package/dist/{F0Select-BetgBZSF.js → F0Select-i2dNQl-o.js} +2 -2
  12. package/dist/{F0Text-C9DFseNJ.js → F0Text-CgSfveNl.js} +2 -2
  13. package/dist/F0VideoPlayer-Ahs45M0U.js +1 -0
  14. package/dist/{F0VideoPlayer-BSV-SiM6.js → F0VideoPlayer-CkrzZndG.js} +2 -2
  15. package/dist/{Map-BMmBgKVH.js → Map-C7J7GS7i.js} +6 -6
  16. package/dist/{PdfThumbnail-BSpty5h1.js → PdfThumbnail-CSm1-nL6.js} +1 -1
  17. package/dist/{SheetViewer-Gswnolu0.js → SheetViewer-Dr05AACA.js} +4 -4
  18. package/dist/{TextViewer-Chm6U7Pw.js → TextViewer-B-ElqCqI.js} +2 -2
  19. package/dist/ai.d.ts +3 -3
  20. package/dist/ai.js +4 -4
  21. package/dist/component-status.js +36 -36
  22. package/dist/{dist-B7gjXV8f.js → dist-CMwSnU0b.js} +1 -1
  23. package/dist/experimental.d.ts +240 -28
  24. package/dist/experimental.js +4401 -4265
  25. package/dist/{exports-4kSDLHnh.d.ts → exports-BUy6iwlC.d.ts} +27 -11
  26. package/dist/f0.d.ts +4 -765
  27. package/dist/f0.js +2062 -2716
  28. package/dist/{i18n-provider-defaults-0FwmF5YL.js → i18n-provider-defaults-DuEbMwBE.js} +1 -0
  29. package/dist/{i18n-provider-defaults-Yf7knX-_.d.ts → i18n-provider-defaults-iUxatyvB.d.ts} +1 -0
  30. package/dist/i18n-provider-defaults.d.ts +1 -1
  31. package/dist/i18n-provider-defaults.js +1 -1
  32. package/dist/{index-D7tei3SJ.d.ts → index-DN2jqF-n.d.ts} +6 -2
  33. package/dist/{maplibre-BK-KYVbw.js → maplibre-DJXwBvGf.js} +1 -1
  34. package/dist/{pdfWorker-D_jkJFme.js → pdfWorker-BsMaV8KV.js} +1 -1
  35. package/dist/{popover-CL68oVjH.js → popover-DDzOLSXr.js} +1 -1
  36. package/dist/styles.css +1 -1
  37. package/dist/{index-DkOgixiu.d.ts → types-Bhw7yTkP.d.ts} +769 -3
  38. package/dist/{useData-DHe37Z81.js → useData-Dics8Os6.js} +1 -1
  39. package/package.json +1 -1
  40. package/dist/F0DocumentViewer-C1x5k9E4.js +0 -3
  41. package/dist/F0VideoPlayer-DSP9Q57g.js +0 -1
@@ -673,6 +673,7 @@ var e = {
673
673
  thoughtsGroupTitle: "Reasoning",
674
674
  resourcesGroupTitle: "Resources",
675
675
  thinking: "Thinking...",
676
+ askingQuestions: "Asking questions",
676
677
  thinkingElapsedSeconds: "{{seconds}}s",
677
678
  thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s",
678
679
  attribution: "Suggested by One",
@@ -694,6 +694,7 @@ declare const defaultTranslations: {
694
694
  readonly thoughtsGroupTitle: "Reasoning";
695
695
  readonly resourcesGroupTitle: "Resources";
696
696
  readonly thinking: "Thinking...";
697
+ readonly askingQuestions: "Asking questions";
697
698
  readonly thinkingElapsedSeconds: "{{seconds}}s";
698
699
  readonly thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s";
699
700
  readonly attribution: "Suggested by One";
@@ -1,2 +1,2 @@
1
- import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-Yf7knX-_.js";
1
+ import { n as TranslationsType, r as defaultTranslations, t as TranslationKey } from "./i18n-provider-defaults-iUxatyvB.js";
2
2
  export { TranslationKey, TranslationsType, defaultTranslations };
@@ -1 +1 @@
1
- export { t as defaultTranslations } from "./i18n-provider-defaults-0FwmF5YL.js";
1
+ export { t as defaultTranslations } from "./i18n-provider-defaults-DuEbMwBE.js";
@@ -1,4 +1,4 @@
1
- import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-Yf7knX-_.js";
1
+ import { n as TranslationsType, t as TranslationKey } from "./i18n-provider-defaults-iUxatyvB.js";
2
2
  import * as React$2 from "react";
3
3
  import React$1, { AnchorHTMLAttributes, ComponentProps, ComponentType, FC, ForwardRefExoticComponent, ForwardedRef, HTMLAttributeAnchorTarget, HTMLAttributes, PropsWithChildren, ReactElement, ReactNode, RefAttributes, RefObject, SVGProps } from "react";
4
4
  import { baseColors, f1Colors } from "@factorialco/f0-core";
@@ -3971,6 +3971,7 @@ declare const aiTranslations: {
3971
3971
  readonly thoughtsGroupTitle: "Reasoning";
3972
3972
  readonly resourcesGroupTitle: "Resources";
3973
3973
  readonly thinking: "Thinking...";
3974
+ readonly askingQuestions: "Asking questions";
3974
3975
  readonly thinkingElapsedSeconds: "{{seconds}}s";
3975
3976
  readonly thinkingElapsedMinutes: "{{minutes}}m {{seconds}}s";
3976
3977
  readonly attribution: "Suggested by One";
@@ -4299,8 +4300,11 @@ type RenderableTurn = {
4299
4300
  * yet (renders an action item titled "Thinking...").
4300
4301
  * - `"activity"`: agent is streaming with some assistant output already
4301
4302
  * visible (renders an empty action item).
4303
+ * - `"asking"`: the turn ended on a clarifying question the user still has
4304
+ * to answer (renders "Asking questions"). The turn shows no feedback
4305
+ * footer meanwhile: there is no answer yet to copy or rate.
4302
4306
  */
4303
- endIndicator?: "thinking" | "activity";
4307
+ endIndicator?: "thinking" | "activity" | "asking";
4304
4308
  /**
4305
4309
  * Optional feedback footer (thumbs + copy button). When omitted, the
4306
4310
  * turn renders without feedback affordances.
@@ -1,6 +1,6 @@
1
1
  import { o as e } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { t } from "./dist-Cuwaibqg.js";
3
- import { s as n } from "./F0Map-BiAloAMK.js";
3
+ import { s as n } from "./F0Map-CytIPUVk.js";
4
4
  import './maplibre-gl.css';import './maplibre.css';/* empty css */
5
5
  import { t as r } from "./maplibre-gl-DVldSYfz.js";
6
6
  //#region ../../node_modules/.pnpm/@mapbox+mapbox-gl-rtl-text@0.2.3_mapbox-gl@1.13.3/node_modules/@mapbox/mapbox-gl-rtl-text/mapbox-gl-rtl-text.js?url
@@ -1,6 +1,6 @@
1
1
  import { i as __require, o as __toESM, t as __commonJSMin } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { z as clsx } from "./tooltip-BX4dSfeL.js";
3
- import { Oi as invariant } from "./F0CanvasPanel-CK1xxsUA.js";
3
+ import { Oi as invariant } from "./F0CanvasPanel-BM8XJQxg.js";
4
4
  import { t as dequal } from "./dist-Dt-cTb6D.js";
5
5
  import { createContext, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { L as a, R as o, i as s, n as c, r as l, s as u, t as d, z as f } from "./tooltip-BX4dSfeL.js";
3
- import { t as p } from "./i18n-provider-defaults-0FwmF5YL.js";
3
+ import { t as p } from "./i18n-provider-defaults-DuEbMwBE.js";
4
4
  import * as m from "react";
5
5
  import h, { Children as g, Component as _, Fragment as v, cloneElement as y, createContext as b, createElement as x, forwardRef as S, isValidElement as C, memo as w, useCallback as T, useContext as E, useEffect as D, useId as O, useImperativeHandle as k, useInsertionEffect as A, useLayoutEffect as j, useMemo as M, useRef as N, useState as P } from "react";
6
6
  import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";