@factorialco/f0-react 10.0.2 → 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.
Files changed (50) hide show
  1. package/dist/{ChatDocxThumbnail-CX5HYrKS.js → ChatDocxThumbnail-DdI_ITWn.js} +1 -1
  2. package/dist/{ChatPdfThumbnail-CgbTHVHm.js → ChatPdfThumbnail-CMvdzQlT.js} +1 -1
  3. package/dist/{ChatPostComposerDialog-DYzN-eX4.js → ChatPostComposerDialog-bd8lzP97.js} +3 -3
  4. package/dist/{ChatSheetThumbnail-B2lUZoSi.js → ChatSheetThumbnail-BKCy7BGq.js} +1 -1
  5. package/dist/{CoachmarkProvider-BBnPwJlV.js → CoachmarkProvider-HwUJwl0s.js} +66865 -19858
  6. package/dist/{DocumentToolbar-m4Bls9Gs.js → DocumentToolbar-CkwATXJC.js} +5 -5
  7. package/dist/{DocxViewer-anOO_tjK.js → DocxViewer-Beq6tJg6.js} +3 -3
  8. package/dist/F0AiProcessingOverlay-EcECIDHB.js +5999 -0
  9. package/dist/{F0Box-DrW7A9gg.js → F0Box-BfJP_8en.js} +20 -20
  10. package/dist/{F0CanvasPanel-vdx67B15.js → F0CanvasPanel-BSy9YhCp.js} +12994 -9709
  11. package/dist/F0DocumentViewer-DdSXgL2y.js +3 -0
  12. package/dist/F0DocumentViewer-DuOmy-Rl.js +391 -0
  13. package/dist/{F0Map-D13CD_QJ.js → F0Map-B4ZY2a8W.js} +170 -170
  14. package/dist/{F0Select-CwkVLiZO.js → F0Select-DjRI2bXi.js} +2270 -2269
  15. package/dist/{F0VideoPlayer-CduWGTSQ.js → F0VideoPlayer-BpWEh96S.js} +396 -397
  16. package/dist/F0VideoPlayer-D3IZFSdv.js +1 -0
  17. package/dist/{LocationMap-CYwkLWH5.js → LocationMap-Ds0SgBMO.js} +2 -2
  18. package/dist/{Map-Bj7zFfSZ.js → Map-s_51iu88.js} +55 -55
  19. package/dist/{SheetViewer-lQMqCbl9.js → SheetViewer-CzQqGbhK.js} +5 -5
  20. package/dist/{TextViewer-DknEfxvF.js → TextViewer-s4OTVt8v.js} +2 -2
  21. package/dist/ai.d.ts +2 -2
  22. package/dist/ai.js +3 -3
  23. package/dist/{axe-Z5T0keK7.js → axe-CpDXsSXe.js} +1 -1
  24. package/dist/component-status.js +54 -9
  25. package/dist/{dist-DjxhsV9m.js → dist-GzNNYDti.js} +1 -1
  26. package/dist/experimental.d.ts +1721 -68
  27. package/dist/experimental.js +8945 -8164
  28. package/dist/{exports-CcIlylmm.d.ts → exports-Abz0im-8.d.ts} +1 -1
  29. package/dist/f0.d.ts +12 -4
  30. package/dist/f0.js +3995 -50997
  31. package/dist/{index-CAJfRljV.d.ts → index-BYtL6YpF.d.ts} +1 -1
  32. package/dist/{index-B_My10oo.d.ts → index-CjrSuf94.d.ts} +1 -1
  33. package/dist/{maplibre-CdKUh24m.js → maplibre-C1Y7C_IM.js} +3 -3
  34. package/dist/{maplibre-gl-DT2EWG65.js → maplibre-gl-DVldSYfz.js} +1 -1
  35. package/dist/{papaparse.min-CJow4fNM.js → papaparse.min-BwPbUAd9.js} +1 -1
  36. package/dist/{pdfWorker-CHwsVELe.js → pdfWorker-ec6uLJUT.js} +4 -3
  37. package/dist/{popover-BTxkQ2PV.js → popover-Bd02P3vo.js} +177 -176
  38. package/dist/{renderDocx-gCyLwCY2.js → renderDocx-_UmnE-yc.js} +1 -1
  39. package/dist/rolldown-runtime-BItFwnF5.js +30 -0
  40. package/dist/{sheetPreview-CcQwSTIl.js → sheetPreview-Ca0kCtSa.js} +2 -2
  41. package/dist/styles.css +1 -1
  42. package/dist/{tooltip-DVXqL5Ri.js → tooltip-TOvfXq9F.js} +1481 -1509
  43. package/dist/{useData-CiWwYG4W.js → useData-0irGsZlM.js} +4744 -4743
  44. package/package.json +1 -1
  45. package/dist/F0AiProcessingOverlay-DHRJJOPo.js +0 -9183
  46. package/dist/F0DocumentViewer-D0UX5YfV.js +0 -392
  47. package/dist/F0DocumentViewer-DaewX8OQ.js +0 -3
  48. package/dist/F0VideoPlayer-BtNCeA9T.js +0 -1
  49. package/dist/Printer-snTHysV7.js +0 -34
  50. package/dist/VolumeMuted-Db9P5djr.js +0 -65
@@ -1,5 +1,5 @@
1
- import { I as e } from "./tooltip-DVXqL5Ri.js";
2
- import { Yn as t, er as n, hn as r, nr as i, on as a } from "./popover-BTxkQ2PV.js";
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 n(() => (e.current = !0, () => {
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 e = g(), [n, r] = f(0), i = c(() => {
19
- e.current && r(n + 1);
18
+ let t = g(), [n, r] = f(0), i = c(() => {
19
+ t.current && r(n + 1);
20
20
  }, [n]);
21
- return [c(() => t.postRender(i), [i]), n];
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 r = l(i), a = l(h), [o, s] = _(), c = d(null), f = r.id || a;
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) && r.group || y()
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(i.Provider, {
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 = r({
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: t, position: n, top: r, right: i, bottom: a, 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: Q, ...me }, he) => {
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: Q
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: e($ && "border-0", te({
1017
- display: t,
1018
- position: n,
1019
- top: r,
1020
- right: i,
1021
- bottom: a,
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
- ...me
1076
+ ...Q
1077
1077
  });
1078
1078
  });
1079
1079
  W.displayName = "F0Box";
1080
- var G = a({
1080
+ var G = i({
1081
1081
  name: "F0Box",
1082
1082
  type: "layout"
1083
1083
  }, W);