@factorialco/f0-react 13.12.0 → 13.12.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 (48) hide show
  1. package/dist/{ArchiveThumbnail-BKLyYbOq.js → ArchiveThumbnail-DmnSGwhP.js} +1 -1
  2. package/dist/{ArchiveViewer-Cz5T16vE.js → ArchiveViewer-RNMB3M36.js} +2 -2
  3. package/dist/{ChatPostComposerDialog-C67F4elc.js → ChatPostComposerDialog-Z8gG_J2L.js} +2 -2
  4. package/dist/{CoachmarkProvider-BuWFPpmG.js → CoachmarkProvider-fehx7Q_o.js} +23651 -23539
  5. package/dist/{CodeThumbnail-D-wJheIP.js → CodeThumbnail-C6HoRhcZ.js} +1 -1
  6. package/dist/{CodeViewer-gDQOS6iI.js → CodeViewer-BZRBu6at.js} +4 -4
  7. package/dist/{DocumentToolbar-DLK2n_-s.js → DocumentToolbar-BHrbd-HZ.js} +4 -4
  8. package/dist/{DocxViewer-9hhmeMbJ.js → DocxViewer-V8WC-PWo.js} +1 -1
  9. package/dist/{F0AiProcessingOverlay-CbHR_I3P.js → F0AiProcessingOverlay-ReygG6pE.js} +172 -172
  10. package/dist/{F0Alert-BibfCJRG.js → F0Alert-D4m2sucP.js} +3 -3
  11. package/dist/F0AudioPlayer-Wj-PKKtF.js +2 -0
  12. package/dist/{F0Button-Cql35ZB4.js → F0Button-DliApWoo.js} +5764 -5335
  13. package/dist/{F0CanvasPanel-DjbzJ4if.js → F0CanvasPanel-BKvyk32z.js} +9616 -9564
  14. package/dist/{F0DocumentViewer-DdQaLXAs.js → F0DocumentViewer-B2vIyYsn.js} +2 -2
  15. package/dist/{F0DocumentViewer-Biac8pVX.js → F0DocumentViewer-CSJh6Ed7.js} +1 -1
  16. package/dist/{F0Map-BgIwfjqD.js → F0Map-DClia8fc.js} +56 -56
  17. package/dist/{F0Select-qyqqfXH7.js → F0Select-DLK87Tv6.js} +187 -187
  18. package/dist/{F0Text-DulwHmaW.js → F0Text-Cb-FVBzx.js} +1 -1
  19. package/dist/F0VideoPlayer-CsCI9jzU.js +1 -0
  20. package/dist/{F0VideoPlayer-BbmoKHh4.js → F0VideoPlayer-WyWePBV8.js} +2 -2
  21. package/dist/{HtmlThumbnail-lVNYvRe4.js → HtmlThumbnail-B_9tldlm.js} +1 -1
  22. package/dist/{HtmlViewer-DTorB5Ni.js → HtmlViewer-BVkwk56S.js} +6 -6
  23. package/dist/LayoutGroup-gwem4ADm.js +57 -0
  24. package/dist/{Map-B6eQeS3P.js → Map-BDMz636c.js} +7 -7
  25. package/dist/{PdfThumbnail-Ds_9D-7B.js → PdfThumbnail-CHPvHqdQ.js} +1 -1
  26. package/dist/{PdfViewer-e2eSdSp-.js → PdfViewer-CBs15JQG.js} +6 -6
  27. package/dist/{SandboxedHtmlFrame-C6RrQ2yQ.js → SandboxedHtmlFrame-CWcJ_fWA.js} +1 -1
  28. package/dist/{SheetViewer-CSkVsC3-.js → SheetViewer-BaqxWzpW.js} +3 -3
  29. package/dist/{TextViewer-10UG7pXL.js → TextViewer-DdEtdDZH.js} +2 -2
  30. package/dist/ai.js +3 -3
  31. package/dist/component-status.js +1 -1
  32. package/dist/{dist-BJcZ_X3W.js → dist-2k-bLufS.js} +1 -1
  33. package/dist/experimental.d.ts +2 -2
  34. package/dist/experimental.js +502 -502
  35. package/dist/f0.d.ts +1 -1
  36. package/dist/f0.js +202 -202
  37. package/dist/{highlight-CKsTraEJ.js → highlight-BFih_ytR.js} +1 -1
  38. package/dist/{maplibre-DZrUxuUr.js → maplibre-DYSBHNua.js} +1 -1
  39. package/dist/{pdfWorker-Dhn7-lDq.js → pdfWorker-C4oRZ-W-.js} +1 -1
  40. package/dist/{scrollarea-NoqKFiLU.js → scrollarea-B6RGaKme.js} +1 -1
  41. package/dist/{toolbarStyles-BgK2AYri.js → toolbarStyles-Bm2pq-KH.js} +1 -1
  42. package/dist/{types-BD4eJ3Ek.d.ts → types-Dp-ibo8p.d.ts} +2 -17
  43. package/dist/{useData-DPmbJ0Mf.js → useData-CuyhVJ87.js} +2 -2
  44. package/icons/animated/PalmTree.js +2 -2
  45. package/package.json +3 -2
  46. package/dist/F0AudioPlayer-CWwt7LV6.js +0 -2
  47. package/dist/F0VideoPlayer-y0zqezdL.js +0 -1
  48. package/dist/LayoutGroup-OL4BUDqc.js +0 -57
@@ -1,4 +1,4 @@
1
- import { Qt as e, Ut as t, Zt as n } from "./F0CanvasPanel-DjbzJ4if.js";
1
+ import { Qt as e, Ut as t, Zt as n } from "./F0CanvasPanel-BKvyk32z.js";
2
2
  import { t as r } from "./purify.es-ZpfdAuNV.js";
3
3
  import { t as i } from "./ownValue-D4uSXt0d.js";
4
4
  //#region src/addons/documents/lib/codeLanguages.ts
@@ -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-BgIwfjqD.js";
3
+ import { s as n } from "./F0Map-DClia8fc.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 { ya as invariant } from "./F0CanvasPanel-DjbzJ4if.js";
3
+ import { ya as invariant } from "./F0CanvasPanel-BKvyk32z.js";
4
4
  import { t as dequal } from "./dist-Dt-cTb6D.js";
5
5
  import { n as pdfWorkerOverride, r as registerPdfWorkerApplier } from "./pdfWorkerConfig-BwllKt1K.js";
6
6
  import { createContext, forwardRef, useCallback, useContext, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef } from "react";
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-BX4dSfeL.js";
2
- import { i as t, r as n } from "./F0Button-Cql35ZB4.js";
2
+ import { i as t, r as n } from "./F0Button-DliApWoo.js";
3
3
  import { o as r } from "./F0Icon-Dw-YD4Mz.js";
4
4
  import { E as i, O as a, T as o, b as s, p as c, w as l, y as u } from "./popover-Cd6ZZfjD.js";
5
5
  import * as d from "react";
@@ -1,5 +1,5 @@
1
1
  import { L as e } from "./tooltip-BX4dSfeL.js";
2
- import { t } from "./F0Button-Cql35ZB4.js";
2
+ import { t } from "./F0Button-DliApWoo.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  //#region src/addons/documents/F0DocumentViewer/pdfActions.ts
5
5
  var r = async (e) => {
@@ -4,6 +4,7 @@ import * as React$2 from "react";
4
4
  import React$1, { AriaAttributes, AutoFill, CSSProperties, ComponentProps, ComponentType, Dispatch, FC, ForwardedRef, HTMLAttributes, HTMLInputTypeAttribute, ReactElement, ReactNode, Ref, RefAttributes, RefObject, TextareaHTMLAttributes } from "react";
5
5
  import { VariantProps } from "cva";
6
6
  import { Observable } from "zen-observable-ts";
7
+ import { Variants } from "motion/react";
7
8
  import * as RechartsPrimitive from "recharts";
8
9
  import "libphonenumber-js";
9
10
  import "@xyflow/react";
@@ -1512,23 +1513,7 @@ interface AnimationVariantsOptions {
1512
1513
  duration?: number;
1513
1514
  maxDelay?: number;
1514
1515
  }
1515
- declare const getAnimationVariants: (options?: AnimationVariantsOptions) => {
1516
- hidden: {
1517
- opacity: number;
1518
- y: number;
1519
- };
1520
- visible: (i: number) => {
1521
- opacity: number;
1522
- y: number;
1523
- transition: {
1524
- delay: number;
1525
- duration: number;
1526
- type: string;
1527
- stiffness: number;
1528
- damping: number;
1529
- };
1530
- };
1531
- };
1516
+ declare const getAnimationVariants: (options?: AnimationVariantsOptions) => Variants;
1532
1517
  //#endregion
1533
1518
  //#region src/blocks/datasource/useSelectable/typings.d.ts
1534
1519
  interface AllSelectionStatus {
@@ -2,10 +2,10 @@ import { r as e } from "./rolldown-runtime-BItFwnF5.js";
2
2
  import { a as t, i as n, r } from "./i18n-provider-C_jciu_6.js";
3
3
  import { n as i, t as a } from "./skeleton-BEiQvWC1.js";
4
4
  import { L as o, R as s } from "./tooltip-BX4dSfeL.js";
5
- import { N as c, S as l, U as u, f as d, t as f } from "./F0Button-Cql35ZB4.js";
5
+ import { N as c, S as l, U as u, f as d, t as f } from "./F0Button-DliApWoo.js";
6
6
  import { o as p, r as m, t as h } from "./F0Icon-Dw-YD4Mz.js";
7
7
  import { A as g, E as _, H as v, M as y, O as b, T as x, a as ee, b as S, i as te, k as C, t as w } from "./popover-Cd6ZZfjD.js";
8
- import { n as T, r as E } from "./scrollarea-NoqKFiLU.js";
8
+ import { n as T, r as E } from "./scrollarea-B6RGaKme.js";
9
9
  import { t as D } from "./dist-Cuwaibqg.js";
10
10
  import { t as ne } from "./ownValue-D4uSXt0d.js";
11
11
  import * as O from "react";
@@ -7,12 +7,12 @@ const defaultTransition = {
7
7
  };
8
8
  const treeVariants = {
9
9
  normal: {
10
- skew: 0,
10
+ skewX: 0,
11
11
  originX: "50%",
12
12
  originY: "100%",
13
13
  },
14
14
  animate: {
15
- skew: [0, 8, -8, 0],
15
+ skewX: [0, 8, -8, 0],
16
16
  },
17
17
  };
18
18
  const palmVariants = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "13.12.0",
3
+ "version": "13.12.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/factorialco/f0.git",
@@ -182,6 +182,7 @@
182
182
  "maplibre-gl": "^5.24.0",
183
183
  "markdown-to-jsx": "^9.3.3",
184
184
  "mockdate": "^3.0.5",
185
+ "motion": "^12.43.0",
185
186
  "npm-run-all": "^4.1.5",
186
187
  "oxc-parser": "^0.155.0",
187
188
  "oxfmt": "^0.26.0",
@@ -234,7 +235,7 @@
234
235
  "livekit-client": "^2.17.0",
235
236
  "lucide-react": "^0.383.0",
236
237
  "maplibre-gl": "^5.24.0",
237
- "motion": "^12",
238
+ "motion": "^12.34.5",
238
239
  "nanoid": "^5.0.7",
239
240
  "pdfjs-dist": "^3.11.174",
240
241
  "react": "18.3.1",
@@ -1,2 +0,0 @@
1
- export { Ai as F0AudioPlayer } from "./F0CanvasPanel-DjbzJ4if.js";
2
- import "./f0.js";
@@ -1 +0,0 @@
1
- export { t as F0VideoPlayer } from "./F0VideoPlayer-BbmoKHh4.js";
@@ -1,57 +0,0 @@
1
- import { At as e, Ot as t, St as n } from "./F0Button-Cql35ZB4.js";
2
- import { createContext as r, useCallback as i, useContext as a, useMemo as o, useRef as s, useState as c } from "react";
3
- import { jsx as l } from "react/jsx-runtime";
4
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs
5
- var u = r(null);
6
- //#endregion
7
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-is-mounted.mjs
8
- function d() {
9
- let e = s(!1);
10
- return t(() => (e.current = !0, () => {
11
- e.current = !1;
12
- }), []), e;
13
- }
14
- //#endregion
15
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/utils/use-force-update.mjs
16
- function f() {
17
- let e = d(), [t, r] = c(0), a = i(() => {
18
- e.current && r(t + 1);
19
- }, [t]);
20
- return [i(() => n.postRender(a), [a]), t];
21
- }
22
- //#endregion
23
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/projection/node/group.mjs
24
- var p = (e) => !e.isLayoutDirty && e.willUpdate(!1);
25
- function m() {
26
- let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = () => e.forEach(p);
27
- return {
28
- add: (r) => {
29
- e.add(r), t.set(r, r.addEventListener("willUpdate", n));
30
- },
31
- remove: (r) => {
32
- e.delete(r);
33
- let i = t.get(r);
34
- i && (i(), t.delete(r)), n();
35
- },
36
- dirty: n
37
- };
38
- }
39
- //#endregion
40
- //#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/components/LayoutGroup/index.mjs
41
- var h = (e) => e === !0, g = (e) => h(e === !0) || e === "id", _ = ({ children: t, id: n, inherit: r = !0 }) => {
42
- let i = a(e), c = a(u), [d, p] = f(), _ = s(null), v = i.id || c;
43
- _.current === null && (g(r) && v && (n = n ? v + "-" + n : v), _.current = {
44
- id: n,
45
- group: h(r) && i.group || m()
46
- });
47
- let y = o(() => ({
48
- ..._.current,
49
- forceRender: d
50
- }), [p]);
51
- return l(e.Provider, {
52
- value: y,
53
- children: t
54
- });
55
- };
56
- //#endregion
57
- export { _ as t };