@factorialco/f0-react 10.1.0 → 10.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/{ChatDocxThumbnail-CX5HYrKS.js → ChatDocxThumbnail-DdI_ITWn.js} +1 -1
- package/dist/{ChatPdfThumbnail-ISkJYLY9.js → ChatPdfThumbnail-CMvdzQlT.js} +1 -1
- package/dist/{ChatPostComposerDialog-DxbHdZxW.js → ChatPostComposerDialog-bd8lzP97.js} +3 -3
- package/dist/{ChatSheetThumbnail-B2lUZoSi.js → ChatSheetThumbnail-BKCy7BGq.js} +1 -1
- package/dist/{CoachmarkProvider-DqWyppW-.js → CoachmarkProvider-HwUJwl0s.js} +66867 -19860
- package/dist/{DocumentToolbar-BcDACwRP.js → DocumentToolbar-CkwATXJC.js} +5 -5
- package/dist/{DocxViewer-D-5449ha.js → DocxViewer-Beq6tJg6.js} +3 -3
- package/dist/F0AiProcessingOverlay-EcECIDHB.js +5999 -0
- package/dist/{F0Box-DrW7A9gg.js → F0Box-BfJP_8en.js} +20 -20
- package/dist/{F0CanvasPanel-DCKaKwkK.js → F0CanvasPanel-BSy9YhCp.js} +12993 -9719
- package/dist/F0DocumentViewer-DdSXgL2y.js +3 -0
- package/dist/F0DocumentViewer-DuOmy-Rl.js +391 -0
- package/dist/{F0Map-o0Ni4sbn.js → F0Map-B4ZY2a8W.js} +170 -170
- package/dist/{F0Select-CwkVLiZO.js → F0Select-DjRI2bXi.js} +2270 -2269
- package/dist/{F0VideoPlayer-Iw-SFQqN.js → F0VideoPlayer-BpWEh96S.js} +396 -397
- package/dist/F0VideoPlayer-D3IZFSdv.js +1 -0
- package/dist/{LocationMap-CYwkLWH5.js → LocationMap-Ds0SgBMO.js} +2 -2
- package/dist/{Map-DM9wfTpz.js → Map-s_51iu88.js} +55 -55
- package/dist/{SheetViewer-BbDeLWkN.js → SheetViewer-CzQqGbhK.js} +5 -5
- package/dist/{TextViewer-CnI7Nabs.js → TextViewer-s4OTVt8v.js} +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +3 -3
- package/dist/{axe-Z5T0keK7.js → axe-CpDXsSXe.js} +1 -1
- package/dist/component-status.js +54 -9
- package/dist/{dist-DjxhsV9m.js → dist-GzNNYDti.js} +1 -1
- package/dist/experimental.d.ts +1702 -66
- package/dist/experimental.js +8944 -8185
- package/dist/{exports-CcIlylmm.d.ts → exports-Abz0im-8.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +3995 -50997
- package/dist/{index-CAJfRljV.d.ts → index-BYtL6YpF.d.ts} +1 -1
- package/dist/{index-B_My10oo.d.ts → index-CjrSuf94.d.ts} +1 -1
- package/dist/{maplibre-BD2IQLbD.js → maplibre-C1Y7C_IM.js} +3 -3
- package/dist/{maplibre-gl-DT2EWG65.js → maplibre-gl-DVldSYfz.js} +1 -1
- package/dist/{papaparse.min-CJow4fNM.js → papaparse.min-BwPbUAd9.js} +1 -1
- package/dist/{pdfWorker-DYQKoZEy.js → pdfWorker-ec6uLJUT.js} +4 -3
- package/dist/{popover-BTxkQ2PV.js → popover-Bd02P3vo.js} +177 -176
- package/dist/{renderDocx-gCyLwCY2.js → renderDocx-_UmnE-yc.js} +1 -1
- package/dist/rolldown-runtime-BItFwnF5.js +30 -0
- package/dist/{sheetPreview-CcQwSTIl.js → sheetPreview-Ca0kCtSa.js} +2 -2
- package/dist/styles.css +1 -1
- package/dist/{tooltip-DVXqL5Ri.js → tooltip-TOvfXq9F.js} +1481 -1509
- package/dist/{useData-CiWwYG4W.js → useData-0irGsZlM.js} +4744 -4743
- package/package.json +1 -1
- package/dist/F0AiProcessingOverlay-CmqXWu0j.js +0 -9183
- package/dist/F0DocumentViewer-CEhoiH_i.js +0 -3
- package/dist/F0DocumentViewer-DpuzMqKE.js +0 -392
- package/dist/F0VideoPlayer-CnrSP5Em.js +0 -1
- package/dist/Printer-snTHysV7.js +0 -34
- package/dist/VolumeMuted-Db9P5djr.js +0 -65
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Yn as e, er as t, hn as n, nr as r, on as i } from "./popover-Bd02P3vo.js";
|
|
2
|
+
import { I as a } from "./tooltip-TOvfXq9F.js";
|
|
3
3
|
import { createContext as o, forwardRef as s, useCallback as c, useContext as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
4
4
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
5
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
|
|
@@ -8,17 +8,17 @@ var h = o(null);
|
|
|
8
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
9
|
function g() {
|
|
10
10
|
let e = d(!1);
|
|
11
|
-
return
|
|
11
|
+
return t(() => (e.current = !0, () => {
|
|
12
12
|
e.current = !1;
|
|
13
13
|
}), []), e;
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
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
17
|
function _() {
|
|
18
|
-
let
|
|
19
|
-
|
|
18
|
+
let t = g(), [n, r] = f(0), i = c(() => {
|
|
19
|
+
t.current && r(n + 1);
|
|
20
20
|
}, [n]);
|
|
21
|
-
return [c(() =>
|
|
21
|
+
return [c(() => e.postRender(i), [i]), n];
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
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
|
|
@@ -40,16 +40,16 @@ function y() {
|
|
|
40
40
|
//#endregion
|
|
41
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
42
|
var b = (e) => e === !0, x = (e) => b(e === !0) || e === "id", S = ({ children: e, id: t, inherit: n = !0 }) => {
|
|
43
|
-
let
|
|
43
|
+
let i = l(r), a = l(h), [o, s] = _(), c = d(null), f = i.id || a;
|
|
44
44
|
c.current === null && (x(n) && f && (t = t ? f + "-" + t : f), c.current = {
|
|
45
45
|
id: t,
|
|
46
|
-
group: b(n) &&
|
|
46
|
+
group: b(n) && i.group || y()
|
|
47
47
|
});
|
|
48
48
|
let m = u(() => ({
|
|
49
49
|
...c.current,
|
|
50
50
|
forceRender: o
|
|
51
51
|
}), [s]);
|
|
52
|
-
return p(
|
|
52
|
+
return p(r.Provider, {
|
|
53
53
|
value: m,
|
|
54
54
|
children: e
|
|
55
55
|
});
|
|
@@ -972,7 +972,7 @@ function ee(e, t) {
|
|
|
972
972
|
}
|
|
973
973
|
//#endregion
|
|
974
974
|
//#region src/elements/F0Box/F0Box.tsx
|
|
975
|
-
var te =
|
|
975
|
+
var te = n({
|
|
976
976
|
base: "",
|
|
977
977
|
variants: {
|
|
978
978
|
...O,
|
|
@@ -1001,24 +1001,24 @@ var te = r({
|
|
|
1001
1001
|
"md",
|
|
1002
1002
|
"lg",
|
|
1003
1003
|
"xl"
|
|
1004
|
-
], W = s(({ display:
|
|
1004
|
+
], W = s(({ display: e, position: t, top: n, right: r, bottom: i, left: o, zIndex: s, padding: c, paddingX: l, paddingY: u, paddingTop: d, paddingBottom: f, paddingLeft: m, paddingRight: h, margin: g, marginX: _, marginY: v, marginTop: y, marginBottom: b, marginLeft: x, marginRight: S, gap: C, columns: w, rows: T, colSpan: E, colStart: D, rowSpan: O, width: k, height: A, minWidth: j, minHeight: M, maxWidth: N, maxHeight: P, background: F, borderColor: I, border: L, borderTop: R, borderBottom: z, borderLeft: B, borderRight: V, borderRadius: H, borderRadiusTopLeft: U, borderRadiusTopRight: W, borderRadiusBottomLeft: G, borderRadiusBottomRight: re, borderStyle: K, overflow: q, overflowX: J, overflowY: Y, divider: X, dividerColor: Z, boxShadow: ie, alignItems: ae, justifyContent: oe, flexDirection: se, flexWrap: ce, grow: le, shrink: ue, sm: de, md: fe, lg: pe, xl: me, ...Q }, he) => {
|
|
1005
1005
|
let $ = R && R !== "none" || z && z !== "none" || B && B !== "none" || V && V !== "none", ge = L && L !== "none" || $, _e = {
|
|
1006
1006
|
sm: de,
|
|
1007
1007
|
md: fe,
|
|
1008
1008
|
lg: pe,
|
|
1009
|
-
xl:
|
|
1009
|
+
xl: me
|
|
1010
1010
|
}, ve = ne.map((e) => {
|
|
1011
1011
|
let t = _e[e];
|
|
1012
1012
|
return t ? ee(e, t) : "";
|
|
1013
1013
|
}).filter(Boolean).join(" ");
|
|
1014
1014
|
return /* @__PURE__ */ p("div", {
|
|
1015
1015
|
ref: he,
|
|
1016
|
-
className:
|
|
1017
|
-
display:
|
|
1018
|
-
position:
|
|
1019
|
-
top:
|
|
1020
|
-
right:
|
|
1021
|
-
bottom:
|
|
1016
|
+
className: a($ && "border-0", te({
|
|
1017
|
+
display: e,
|
|
1018
|
+
position: t,
|
|
1019
|
+
top: n,
|
|
1020
|
+
right: r,
|
|
1021
|
+
bottom: i,
|
|
1022
1022
|
left: o,
|
|
1023
1023
|
zIndex: s,
|
|
1024
1024
|
padding: c,
|
|
@@ -1073,11 +1073,11 @@ var te = r({
|
|
|
1073
1073
|
shrink: ue,
|
|
1074
1074
|
boxShadow: ie
|
|
1075
1075
|
}), ve, ge && !I && "border-f1-border", X && !Z && "divide-f1-border", "scrollbar-macos"),
|
|
1076
|
-
...
|
|
1076
|
+
...Q
|
|
1077
1077
|
});
|
|
1078
1078
|
});
|
|
1079
1079
|
W.displayName = "F0Box";
|
|
1080
|
-
var G =
|
|
1080
|
+
var G = i({
|
|
1081
1081
|
name: "F0Box",
|
|
1082
1082
|
type: "layout"
|
|
1083
1083
|
}, W);
|