@factorialco/f0-react 10.6.1 → 10.8.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 (45) hide show
  1. package/dist/{ChatPostComposerDialog-BeJZv7tT.js → ChatPostComposerDialog-Fz7bdV_-.js} +3 -3
  2. package/dist/{CoachmarkProvider-DVF40v2q.js → CoachmarkProvider-DqNqwEPd.js} +21880 -21945
  3. package/dist/{DocumentToolbar-rCarM1oo.js → DocumentToolbar-B4aCipER.js} +5 -5
  4. package/dist/{ChatDocxThumbnail-DdI_ITWn.js → DocxThumbnail-kHTNnwW0.js} +1 -1
  5. package/dist/{DocxViewer-C1dP05wX.js → DocxViewer-BOdYordL.js} +2 -2
  6. package/dist/{F0AiProcessingOverlay-CrvPHV1G.js → F0AiProcessingOverlay-BTW13lnQ.js} +1682 -2192
  7. package/dist/{F0Box-D0fWIRgc.js → F0Box-CYL5_Zhb.js} +1 -1
  8. package/dist/{F0CanvasPanel-C7vHU_iJ.js → F0CanvasPanel-BcBFycU-.js} +9869 -7037
  9. package/dist/F0DocumentViewer-BqRsz00c.js +3 -0
  10. package/dist/{F0DocumentViewer-BrxSgrT8.js → F0DocumentViewer-CWZNde9w.js} +8 -8
  11. package/dist/{F0Map-DC_Mplnx.js → F0Map-4fqLL5gP.js} +22 -22
  12. package/dist/{F0Select-CovHF33V.js → F0Select-By_QpX1S.js} +2 -2
  13. package/dist/{F0VideoPlayer-NjaAU0Gm.js → F0VideoPlayer-CTsCZ4u5.js} +105 -105
  14. package/dist/F0VideoPlayer-DEpDxvjC.js +1 -0
  15. package/dist/{Map-D6mJxw2a.js → Map-B_fzR9ly.js} +29 -29
  16. package/dist/{ChatPdfThumbnail-adL3N5Xz.js → PdfThumbnail-BLNfQ1EH.js} +2 -2
  17. package/dist/{ChatSheetThumbnail-BKCy7BGq.js → SheetThumbnail-HtGezPp4.js} +1 -1
  18. package/dist/{SheetViewer-8ZWEuOLq.js → SheetViewer-BhZTOpb4.js} +4 -4
  19. package/dist/{ChatTextThumbnail-Ct32PcXO.js → TextThumbnail-X04JgaNI.js} +1 -1
  20. package/dist/{TextViewer-B00Rmqc7.js → TextViewer-B1eR_7q4.js} +2 -2
  21. package/dist/ai.d.ts +4 -4
  22. package/dist/ai.js +5 -5
  23. package/dist/component-status.js +51 -7
  24. package/dist/{dist-7YY6sRd4.js → dist-CUsub1Mu.js} +1 -1
  25. package/dist/dist-Dt-cTb6D.js +43 -0
  26. package/dist/experimental.d.ts +2 -2
  27. package/dist/experimental.js +8554 -10320
  28. package/dist/{exports-B1AxzHkB.d.ts → exports-cU26nMV5.d.ts} +449 -16
  29. package/dist/f0.d.ts +5 -5
  30. package/dist/f0.js +2034 -2034
  31. package/dist/{i18n-provider-defaults-DliS9uYl.js → i18n-provider-defaults-BA2_-hRH.js} +2 -0
  32. package/dist/{i18n-provider-defaults-DiJM3DSg.d.ts → i18n-provider-defaults-m88KkXdP.d.ts} +2 -0
  33. package/dist/i18n-provider-defaults.d.ts +1 -1
  34. package/dist/i18n-provider-defaults.js +1 -1
  35. package/dist/{index-DQo_UZ7M.d.ts → index-BDEEuyti.d.ts} +3 -3
  36. package/dist/{index-CHpMOnlX.d.ts → index-BftFpZQm.d.ts} +95 -4
  37. package/dist/{maplibre-C8TCdToL.js → maplibre-NpfvETJP.js} +1 -1
  38. package/dist/{pdfWorker-8f29nzGo.js → pdfWorker-CA8jPCRh.js} +2 -2
  39. package/dist/{popover-B2hEEubt.js → popover-B7fqB9lu.js} +1 -1
  40. package/dist/styles.css +1 -1
  41. package/dist/{useData-DjJsB0qa.js → useData-CAl9SKtE.js} +1 -1
  42. package/dist/useFullscreen-CNwpzjpz.js +23 -0
  43. package/package.json +1 -1
  44. package/dist/F0DocumentViewer-Crhq3XFQ.js +0 -3
  45. package/dist/F0VideoPlayer-C0kP3yFk.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./rolldown-runtime-BItFwnF5.js";
2
- import { A as t, D as n, E as r, N as i, T as a, U as o, Xt as s, a as c, ar as l, b as u, bt as d, gn as f, hn as p, i as m, in as h, ir as g, j as _, k as v, kt as y, ln as b, p as x, rn as S, rr as C, t as w, x as T, y as E, yt as D, zt as O } from "./popover-B2hEEubt.js";
2
+ import { A as t, D as n, E as r, N as i, T as a, U as o, Xt as s, a as c, ar as l, b as u, bt as d, gn as f, hn as p, i as m, in as h, ir as g, j as _, k as v, kt as y, ln as b, p as x, rn as S, rr as C, t as w, x as T, y as E, yt as D, zt as O } from "./popover-B7fqB9lu.js";
3
3
  import { I as k, L as ee } from "./tooltip-TOvfXq9F.js";
4
4
  import * as A from "react";
5
5
  import { createContext as j, createElement as M, forwardRef as N, useCallback as P, useContext as te, useDeferredValue as ne, useEffect as F, useId as re, useMemo as I, useRef as L, useState as R } from "react";
@@ -0,0 +1,23 @@
1
+ import { useCallback as e, useEffect as t, useState as n } from "react";
2
+ //#region src/blocks/F0VideoPlayer/hooks/useFullscreen.ts
3
+ function r({ targetRef: r }) {
4
+ let [i, a] = n(!1);
5
+ return t(() => {
6
+ let e = () => {
7
+ a(document.fullscreenElement === r.current);
8
+ };
9
+ return document.addEventListener("fullscreenchange", e), () => {
10
+ document.removeEventListener("fullscreenchange", e);
11
+ };
12
+ }, [r]), {
13
+ isFullscreen: i,
14
+ toggleFullscreen: e(async () => {
15
+ let e = r.current;
16
+ if (e) try {
17
+ document.fullscreenElement ? await document.exitFullscreen() : await e.requestFullscreen();
18
+ } catch {}
19
+ }, [r])
20
+ };
21
+ }
22
+ //#endregion
23
+ export { r as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "10.6.1",
3
+ "version": "10.8.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -1,3 +0,0 @@
1
- import "./pdfWorker-8f29nzGo.js";
2
- export { t as F0DocumentViewer } from "./F0DocumentViewer-BrxSgrT8.js";
3
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-NjaAU0Gm.js";