@factorialco/f0-react 12.0.2 → 12.2.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.
- package/dist/{ChatPostComposerDialog-BjrsNFUH.js → ChatPostComposerDialog-DxjgJvww.js} +3 -3
- package/dist/{CoachmarkProvider-BJFpsBQz.js → CoachmarkProvider-DxxTrrK0.js} +27397 -27397
- package/dist/{DocumentToolbar-CS2Z7HiZ.js → DocumentToolbar-MbpAP2xa.js} +5 -5
- package/dist/{DocxViewer-B_NnBwF0.js → DocxViewer-DLnunbBn.js} +2 -2
- package/dist/{F0AiProcessingOverlay-_6Q5DfJg.js → F0AiProcessingOverlay-cNJdJNme.js} +1063 -1047
- package/dist/{F0CanvasPanel-BMURqtcr.js → F0CanvasPanel-d0ARNvCs.js} +7881 -7877
- package/dist/F0DocumentViewer-CMTc9-v6.js +3 -0
- package/dist/{F0DocumentViewer-DRm6fqh4.js → F0DocumentViewer-DU0u8sE9.js} +39 -39
- package/dist/{F0Map-f0PCE1Mz.js → F0Map-Ytutlfjd.js} +125 -125
- package/dist/{F0Select-BcKwX9W8.js → F0Select-DKCy1C1n.js} +5549 -5477
- package/dist/F0Text-BtzfLrwP.js +81 -0
- package/dist/F0VideoPlayer-BZmP3fGi.js +1 -0
- package/dist/{F0VideoPlayer-CRXj4sNZ.js → F0VideoPlayer-DWE0J3NR.js} +290 -290
- package/dist/{Map-Cq4G6JVt.js → Map-DyNfwVdY.js} +20 -20
- package/dist/{PdfThumbnail-BEH1NBCB.js → PdfThumbnail-C-F-aujX.js} +1 -1
- package/dist/{SheetViewer-CcXri71G.js → SheetViewer-BRTqhc5o.js} +6 -6
- package/dist/{TextViewer-BMHUpHg-.js → TextViewer-_rXZwM4E.js} +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +4 -4
- package/dist/component-status.js +1 -1
- package/dist/{dist-UTTWm0CV.js → dist-DvxtFKDL.js} +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +4529 -4707
- package/dist/{exports-CMhLojYN.d.ts → exports-CnbBeOMM.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +500 -500
- package/dist/{index-aXC2gQbs.d.ts → index-DE9tIS8D.d.ts} +1 -1
- package/dist/{maplibre-B2bLeY4t.js → maplibre-BMdn9aMc.js} +1 -1
- package/dist/{pdfWorker-C7GrpmLJ.js → pdfWorker-YDigL1gB.js} +1 -1
- package/dist/{popover-B-ET_Kay.js → popover-BjrPOMeQ.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{types-CEo4cZBQ.d.ts → types-DiDeZRzi.d.ts} +5 -1
- package/dist/{useData-DpxY5-yo.js → useData-BPTvQHGp.js} +5800 -4789
- package/package.json +1 -1
- package/dist/F0DocumentViewer-7PUNVXNk.js +0 -3
- package/dist/F0Text-Bu80O85X.js +0 -1093
- package/dist/F0VideoPlayer-cuFJGYLM.js +0 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Yn as e, ar as t, er as n, nr as r } from "./popover-BjrPOMeQ.js";
|
|
2
|
+
import { z as i } from "./useData-BPTvQHGp.js";
|
|
3
|
+
import { createContext as a, forwardRef as o, useCallback as s, useContext as c, useMemo as l, useRef as u, useState as d } from "react";
|
|
4
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
5
|
+
//#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
|
|
6
|
+
var m = a(null);
|
|
7
|
+
//#endregion
|
|
8
|
+
//#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
|
|
9
|
+
function h() {
|
|
10
|
+
let e = u(!1);
|
|
11
|
+
return n(() => (e.current = !0, () => {
|
|
12
|
+
e.current = !1;
|
|
13
|
+
}), []), e;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
//#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
|
|
17
|
+
function g() {
|
|
18
|
+
let t = h(), [n, r] = d(0), i = s(() => {
|
|
19
|
+
t.current && r(n + 1);
|
|
20
|
+
}, [n]);
|
|
21
|
+
return [s(() => e.postRender(i), [i]), n];
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#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
|
|
25
|
+
var _ = (e) => !e.isLayoutDirty && e.willUpdate(!1);
|
|
26
|
+
function v() {
|
|
27
|
+
let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = () => e.forEach(_);
|
|
28
|
+
return {
|
|
29
|
+
add: (r) => {
|
|
30
|
+
e.add(r), t.set(r, r.addEventListener("willUpdate", n));
|
|
31
|
+
},
|
|
32
|
+
remove: (r) => {
|
|
33
|
+
e.delete(r);
|
|
34
|
+
let i = t.get(r);
|
|
35
|
+
i && (i(), t.delete(r)), n();
|
|
36
|
+
},
|
|
37
|
+
dirty: n
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#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
|
|
42
|
+
var y = (e) => e === !0, b = (e) => y(e === !0) || e === "id", x = ({ children: e, id: t, inherit: n = !0 }) => {
|
|
43
|
+
let i = c(r), a = c(m), [o, s] = g(), d = u(null), p = i.id || a;
|
|
44
|
+
d.current === null && (b(n) && p && (t = t ? p + "-" + t : p), d.current = {
|
|
45
|
+
id: t,
|
|
46
|
+
group: y(n) && i.group || v()
|
|
47
|
+
});
|
|
48
|
+
let h = l(() => ({
|
|
49
|
+
...d.current,
|
|
50
|
+
forceRender: o
|
|
51
|
+
}), [s]);
|
|
52
|
+
return f(r.Provider, {
|
|
53
|
+
value: h,
|
|
54
|
+
children: e
|
|
55
|
+
});
|
|
56
|
+
}, S = o((e, t) => /* @__PURE__ */ p("svg", {
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
+
fill: "none",
|
|
59
|
+
viewBox: "0 0 24 24",
|
|
60
|
+
ref: t,
|
|
61
|
+
...e,
|
|
62
|
+
children: [/* @__PURE__ */ f("path", {
|
|
63
|
+
stroke: "currentColor",
|
|
64
|
+
strokeLinecap: "round",
|
|
65
|
+
strokeLinejoin: "round",
|
|
66
|
+
d: "M16.9497 7.05026L12 12L7.05025 16.9498"
|
|
67
|
+
}), /* @__PURE__ */ f("path", {
|
|
68
|
+
stroke: "currentColor",
|
|
69
|
+
strokeLinecap: "round",
|
|
70
|
+
strokeLinejoin: "round",
|
|
71
|
+
d: "M12 12L7.05025 7.05026L16.9497 16.9498"
|
|
72
|
+
})]
|
|
73
|
+
})), C = o((e, t) => /* @__PURE__ */ f(i, {
|
|
74
|
+
ref: t,
|
|
75
|
+
markdown: e.markdown ?? !0,
|
|
76
|
+
...e
|
|
77
|
+
}));
|
|
78
|
+
C.displayName = "F0Text";
|
|
79
|
+
var w = t(C);
|
|
80
|
+
//#endregion
|
|
81
|
+
export { S as n, x as r, w as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as F0VideoPlayer } from "./F0VideoPlayer-DWE0J3NR.js";
|