@factorialco/f0-react 16.39.1 → 16.40.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/{ArchiveThumbnail-BuomQ0jm.js → ArchiveThumbnail-fx1k9zF5.js} +1 -1
- package/dist/{ArchiveViewer-Cb1a_yK5.js → ArchiveViewer-4mkxdXyf.js} +2 -2
- package/dist/{ChatPostComposerDialog-BoMZ0Olp.js → ChatPostComposerDialog-ZGoAsax9.js} +2 -2
- package/dist/{CoachmarkProvider-w30wNBNx.js → CoachmarkProvider-BwLQ3v9f.js} +14091 -14093
- package/dist/{CodeThumbnail-bnwIB0Q2.js → CodeThumbnail-DIRVdTYf.js} +1 -1
- package/dist/{CodeViewer-DVL3P-jF.js → CodeViewer-BHA1Osng.js} +4 -4
- package/dist/{DocumentToolbar-7s9QNMWY.js → DocumentToolbar-C8_A4Bhd.js} +5 -5
- package/dist/{DocxViewer-Bn22Gst6.js → DocxViewer-C-UaGNXG.js} +1 -1
- package/dist/{F0AiProcessingOverlay-B6DLMrO7.js → F0AiProcessingOverlay-BQGg-wTQ.js} +502 -504
- package/dist/{F0Alert-m54uY33f.js → F0Alert-Cj4ufDl7.js} +3 -3
- package/dist/F0AudioPlayer-C5CokjE_.js +2 -0
- package/dist/{F0CanvasPanel-CfPdTW_o.js → F0CanvasPanel-D4PhLARb.js} +8987 -9185
- package/dist/{F0DocumentViewer-FuhnkhM-.js → F0DocumentViewer-382b-101.js} +1 -1
- package/dist/{F0DocumentViewer-C_E6pFUZ.js → F0DocumentViewer-De5STCB5.js} +2 -2
- package/dist/{F0Map-BwRUOPzu.js → F0Map-Dz_-4gAZ.js} +764 -697
- package/dist/{F0Select-BCUynP2p.js → F0Select-BQMaDPcg.js} +8266 -8522
- package/dist/{Ellipsis-Bxq1iUUk.js → F0Text-DmUg-CLb.js} +22 -14
- package/dist/F0VideoPlayer-AXw_DAL_.js +1 -0
- package/dist/{F0VideoPlayer-DGHxduSr.js → F0VideoPlayer-Dsna4Es9.js} +306 -307
- package/dist/{HtmlViewer-Q3xUMpkP.js → HtmlViewer-CIAxNnvP.js} +4 -4
- package/dist/{Map-Dt3tV3na.js → Map-DGd3Cl-3.js} +13 -13
- package/dist/{PdfThumbnail-QkmwtnOA.js → PdfThumbnail-BtzXcGHN.js} +1 -1
- package/dist/{PdfViewer-D4NjCixG.js → PdfViewer-BZVnaYKF.js} +6 -6
- package/dist/{SheetViewer-RsRTbw7A.js → SheetViewer-Bn3N9G4D.js} +3 -3
- package/dist/{TextViewer-BvwaMVDG.js → TextViewer-C9NBnJvl.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/{dist-CngBJJ6S.js → dist-CWrWx4g2.js} +4 -4
- package/dist/{dist-CUKjZKvr.js → dist-CZnQ15Wl.js} +1 -1
- package/dist/{dist-CGYo25BY.js → dist-DCb1475M.js} +151 -142
- package/dist/{dist-D83RDDAb.js → dist-DNltp03U.js} +6 -15
- package/dist/{dist-DDAe_kuu.js → dist-DxwodHyk.js} +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +819 -821
- package/dist/{exports-DYl7Pf17.d.ts → exports-CbmGLzn6.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +318 -320
- package/dist/{highlight-CJDVXMe_.js → highlight-u9A6kwy7.js} +1 -1
- package/dist/{index-DA_a_mE2.d.ts → index-CcbdFJRr.d.ts} +1 -1
- package/dist/{index-DOU2q_xI.d.ts → index-D0QIgPoz.d.ts} +7 -0
- package/dist/internal-CGrF2KLC.js +261 -0
- package/dist/{maplibre-BFO6CAl9.js → maplibre-Dqb2AOHT.js} +12 -13
- package/dist/{pdfWorker-BlDYyNbC.js → pdfWorker-C_2eH-2_.js} +1 -1
- package/dist/{popover-BGv1b-fc.js → popover-Y2y9anVX.js} +1282 -1247
- package/dist/styles.css +1 -1
- package/dist/{useData-CmFkOA0P.js → useData-OLWBwcfd.js} +5129 -4873
- package/package.json +1 -1
- package/tailwind.config.ts +4 -0
- package/dist/Check-Cg2vvL5g.js +0 -39
- package/dist/F0AudioPlayer-Ck9Vyjrb.js +0 -2
- package/dist/F0Text-CnmiWNAg.js +0 -14
- package/dist/F0VideoPlayer-BshnHziC.js +0 -1
- package/dist/LayoutGroup-OcrcUDNP.js +0 -57
package/package.json
CHANGED
package/tailwind.config.ts
CHANGED
|
@@ -186,6 +186,10 @@ export default {
|
|
|
186
186
|
// F0SystemBanner's sheet stops at 85% of the screen, so the page
|
|
187
187
|
// stays visible above it.
|
|
188
188
|
"system-banner-sheet": "85vh",
|
|
189
|
+
// A scrollable dropdown: a submenu's 16rem, or the height Radix
|
|
190
|
+
// measures next to the trigger when that is less.
|
|
191
|
+
"dropdown-available":
|
|
192
|
+
"min(16rem,var(--radix-dropdown-menu-content-available-height))",
|
|
189
193
|
},
|
|
190
194
|
width: {
|
|
191
195
|
...baseConfig.theme?.extend?.width,
|
package/dist/Check-Cg2vvL5g.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createIcon-iM5M-dE_.js";
|
|
2
|
-
import { forwardRef as t } from "react";
|
|
3
|
-
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
-
var i = t((e, t) => n("svg", {
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
strokeWidth: "2",
|
|
9
|
-
ref: t,
|
|
10
|
-
...e,
|
|
11
|
-
children: n("path", {
|
|
12
|
-
stroke: "currentColor",
|
|
13
|
-
strokeLinecap: "round",
|
|
14
|
-
strokeLinejoin: "round",
|
|
15
|
-
d: "M10.59 17.34L18.47 6.66 M5.53 11.72L10.59 17.34"
|
|
16
|
-
})
|
|
17
|
-
})), a = t((e, t) => /* @__PURE__ */ r("svg", {
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
-
fill: "none",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
ref: t,
|
|
22
|
-
...e,
|
|
23
|
-
children: [/* @__PURE__ */ n("path", {
|
|
24
|
-
stroke: "currentColor",
|
|
25
|
-
strokeLinecap: "round",
|
|
26
|
-
strokeLinejoin: "round",
|
|
27
|
-
d: "M10.75 16.75L17.75 7.25004"
|
|
28
|
-
}), /* @__PURE__ */ n("path", {
|
|
29
|
-
stroke: "currentColor",
|
|
30
|
-
strokeLinecap: "round",
|
|
31
|
-
strokeLinejoin: "round",
|
|
32
|
-
d: "M6.25 11.75L10.75 16.75"
|
|
33
|
-
})]
|
|
34
|
-
})), o = e({
|
|
35
|
-
v1: a,
|
|
36
|
-
v2: i
|
|
37
|
-
}, "Check");
|
|
38
|
-
//#endregion
|
|
39
|
-
export { o as t };
|
package/dist/F0Text-CnmiWNAg.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { a as e } from "./i18n-provider-Bx71VZQH.js";
|
|
2
|
-
import { y as t } from "./dist-CGYo25BY.js";
|
|
3
|
-
import { forwardRef as n } from "react";
|
|
4
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
-
//#region src/elements/F0Text/F0Text.tsx
|
|
6
|
-
var i = n((e, n) => /* @__PURE__ */ r(t, {
|
|
7
|
-
ref: n,
|
|
8
|
-
markdown: e.markdown ?? !0,
|
|
9
|
-
...e
|
|
10
|
-
}));
|
|
11
|
-
i.displayName = "F0Text";
|
|
12
|
-
var a = e(i);
|
|
13
|
-
//#endregion
|
|
14
|
-
export { a as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as F0VideoPlayer } from "./F0VideoPlayer-DGHxduSr.js";
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { It as e, Rt as t, wt as n } from "./F0Button-fMxOyyNk.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/.bun/motion-dom@12.43.0/node_modules/motion-dom/dist/es/projection/node/group.mjs
|
|
5
|
-
var u = (e) => !e.isLayoutDirty && e.willUpdate(!1);
|
|
6
|
-
function d() {
|
|
7
|
-
let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new WeakMap(), n = () => e.forEach(u);
|
|
8
|
-
return {
|
|
9
|
-
add: (r) => {
|
|
10
|
-
e.add(r), t.set(r, r.addEventListener("willUpdate", n));
|
|
11
|
-
},
|
|
12
|
-
remove: (r) => {
|
|
13
|
-
e.delete(r);
|
|
14
|
-
let i = t.get(r);
|
|
15
|
-
i && (i(), t.delete(r)), n();
|
|
16
|
-
},
|
|
17
|
-
dirty: n
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region ../../node_modules/.bun/framer-motion@12.43.0+90584e9f7c97d403/node_modules/framer-motion/dist/es/context/DeprecatedLayoutGroupContext.mjs
|
|
22
|
-
var f = r(null);
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region ../../node_modules/.bun/framer-motion@12.43.0+90584e9f7c97d403/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs
|
|
25
|
-
function p() {
|
|
26
|
-
let t = s(!1);
|
|
27
|
-
return e(() => (t.current = !0, () => {
|
|
28
|
-
t.current = !1;
|
|
29
|
-
}), []), t;
|
|
30
|
-
}
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region ../../node_modules/.bun/framer-motion@12.43.0+90584e9f7c97d403/node_modules/framer-motion/dist/es/utils/use-force-update.mjs
|
|
33
|
-
function m() {
|
|
34
|
-
let e = p(), [t, r] = c(0), a = i(() => {
|
|
35
|
-
e.current && r(t + 1);
|
|
36
|
-
}, [t]);
|
|
37
|
-
return [i(() => n.postRender(a), [a]), t];
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region ../../node_modules/.bun/framer-motion@12.43.0+90584e9f7c97d403/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs
|
|
41
|
-
var h = (e) => e === !0, g = (e) => h(e === !0) || e === "id", _ = ({ children: e, id: n, inherit: r = !0 }) => {
|
|
42
|
-
let i = a(t), c = a(f), [u, p] = m(), _ = 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 || d()
|
|
46
|
-
});
|
|
47
|
-
let y = o(() => ({
|
|
48
|
-
..._.current,
|
|
49
|
-
forceRender: u
|
|
50
|
-
}), [p]);
|
|
51
|
-
return l(t.Provider, {
|
|
52
|
-
value: y,
|
|
53
|
-
children: e
|
|
54
|
-
});
|
|
55
|
-
};
|
|
56
|
-
//#endregion
|
|
57
|
-
export { _ as t };
|