@factorialco/f0-react 14.26.0 → 14.27.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.
- package/dist/{ArchiveThumbnail-BciW8bDD.js → ArchiveThumbnail-CK_y9-6q.js} +5 -5
- package/dist/{ArchiveViewer-DwhPXF1H.js → ArchiveViewer-CobwfFT3.js} +2 -2
- package/dist/{ChatPostComposerDialog-X0ahtJIT.js → ChatPostComposerDialog-CBopYp7G.js} +2 -2
- package/dist/{CoachmarkProvider-CnrMkoIe.js → CoachmarkProvider-D3kuCz0z.js} +19306 -19311
- package/dist/{CodeThumbnail-Cscng7h6.js → CodeThumbnail-cguJtEXN.js} +1 -1
- package/dist/{CodeViewer-CMaEe3ZO.js → CodeViewer-yVmti_7O.js} +5 -5
- package/dist/{DocumentToolbar-koKH6Q6H.js → DocumentToolbar-DYKlo13z.js} +1 -1
- package/dist/{DocxViewer-iyF3d-JG.js → DocxViewer-Ds2KckJ_.js} +1 -1
- package/dist/{F0AiProcessingOverlay-DwjXWfKs.js → F0AiProcessingOverlay-3dgwZFNY.js} +1126 -1152
- package/dist/{F0Alert-CMVic7p0.js → F0Alert-CI8Zc3OH.js} +13 -13
- package/dist/F0AudioPlayer-Bxp9G84X.js +2 -0
- package/dist/{F0CanvasPanel-D_R4eFSe.js → F0CanvasPanel-DGb3UCXE.js} +5958 -5925
- package/dist/{F0DocumentViewer-CMDmIA9P.js → F0DocumentViewer-D0lh7mHM.js} +1 -1
- package/dist/{F0DocumentViewer-D2vG2ixf.js → F0DocumentViewer-D11Mqhsb.js} +2 -2
- package/dist/{F0Map-Dgxut-Pn.js → F0Map-DMwl26B1.js} +10 -10
- package/dist/{F0VideoPlayer-B43rYlXo.js → F0VideoPlayer-Cxc72xXe.js} +14 -14
- package/dist/F0VideoPlayer-ToceCBF6.js +1 -0
- package/dist/{HtmlViewer-CLDIqqrl.js → HtmlViewer-Ueq3VrPq.js} +3 -3
- package/dist/{Map-DsaWPB3H.js → Map-CN0m8z-_.js} +5 -5
- package/dist/{PdfThumbnail-D28X3Ruq.js → PdfThumbnail-CQpF4Wug.js} +1 -1
- package/dist/{PdfViewer-sIKw4apL.js → PdfViewer-SHBMeKcA.js} +4 -4
- package/dist/{SheetViewer-BtkF2oWs.js → SheetViewer-B3RFGmIZ.js} +12 -12
- package/dist/{TextViewer-BkyRV_Z9.js → TextViewer-PYP-Xgcq.js} +1 -1
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +2 -2
- package/dist/experimental.d.ts +7 -6
- package/dist/experimental.js +5344 -5045
- package/dist/{exports-1FGQwag6.d.ts → exports-BLOAk-CE.d.ts} +21 -2
- package/dist/f0.d.ts +4 -4
- package/dist/f0.js +1744 -1744
- package/dist/{highlight-3IQlMsPy.js → highlight-C-TMlQlj.js} +5 -5
- package/dist/{index-C-c4LlvM.d.ts → index-IA1mJXlz.d.ts} +2607 -2568
- package/dist/{maplibre-DNo2ik_t.js → maplibre-CSERfVkQ.js} +1 -1
- package/dist/{pdfWorker-CDo-WRVD.js → pdfWorker-DwlxEEEk.js} +1 -1
- package/dist/{types-CAUjGhf9.d.ts → types-Cfr7Avzp.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/F0AudioPlayer-NjMPo2u7.js +0 -2
- package/dist/F0VideoPlayer-DyUcSzOX.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, r as t } from "./i18n-provider-Dh10DM8E.js";
|
|
2
2
|
import { L as n } from "./tooltip-DFMOxXQO.js";
|
|
3
3
|
import { t as r } from "./F0Button-CGbIBIjd.js";
|
|
4
|
-
import {
|
|
4
|
+
import { Ai as i, Tc as a, gs as o, lo as s } from "./F0CanvasPanel-DGb3UCXE.js";
|
|
5
5
|
import { o as c } from "./F0Icon-BlWwWAoj.js";
|
|
6
6
|
import { M as l, g as u } from "./useData-CIObT3HY.js";
|
|
7
7
|
import { useRef as d } from "react";
|
|
@@ -32,7 +32,7 @@ var m = c({
|
|
|
32
32
|
}), g = ({ onClose: e }) => {
|
|
33
33
|
let { actions: n } = t();
|
|
34
34
|
return /* @__PURE__ */ f(r, {
|
|
35
|
-
icon:
|
|
35
|
+
icon: a,
|
|
36
36
|
label: n.close,
|
|
37
37
|
hideLabel: !0,
|
|
38
38
|
variant: "outline",
|
|
@@ -40,8 +40,8 @@ var m = c({
|
|
|
40
40
|
onClick: e,
|
|
41
41
|
type: "button"
|
|
42
42
|
});
|
|
43
|
-
}, _ = ({ action: e, secondaryAction: t, link:
|
|
44
|
-
className: n("flex-shrink-0",
|
|
43
|
+
}, _ = ({ action: e, secondaryAction: t, link: a, indented: o }) => /* @__PURE__ */ f("div", {
|
|
44
|
+
className: n("flex-shrink-0", o && "pl-8 @xs:pl-0"),
|
|
45
45
|
children: /* @__PURE__ */ p(l, {
|
|
46
46
|
display: "flex",
|
|
47
47
|
flexDirection: "row",
|
|
@@ -49,12 +49,12 @@ var m = c({
|
|
|
49
49
|
alignItems: "center",
|
|
50
50
|
gap: "lg",
|
|
51
51
|
children: [
|
|
52
|
-
|
|
53
|
-
href:
|
|
52
|
+
a ? /* @__PURE__ */ f(i, {
|
|
53
|
+
href: a.href,
|
|
54
54
|
target: "_blank",
|
|
55
55
|
variant: "link",
|
|
56
56
|
size: "sm",
|
|
57
|
-
children:
|
|
57
|
+
children: a.label
|
|
58
58
|
}) : null,
|
|
59
59
|
e && t ? /* @__PURE__ */ f(r, {
|
|
60
60
|
label: t.label,
|
|
@@ -74,7 +74,7 @@ var m = c({
|
|
|
74
74
|
}) : null
|
|
75
75
|
]
|
|
76
76
|
})
|
|
77
|
-
}), v = e(({ title: e, description: t, action: r, secondaryAction:
|
|
77
|
+
}), v = e(({ title: e, description: t, action: r, secondaryAction: i, link: a, icon: c, hideIcon: v = !1, variant: y = "neutral", onClose: b }) => {
|
|
78
78
|
let x = d(null), S = y === "neutral" || y === "transparent", C = !(S && v);
|
|
79
79
|
return /* @__PURE__ */ f("div", {
|
|
80
80
|
ref: x,
|
|
@@ -93,9 +93,9 @@ var m = c({
|
|
|
93
93
|
height: "6",
|
|
94
94
|
shrink: !1,
|
|
95
95
|
children: S ? /* @__PURE__ */ f(u, {
|
|
96
|
-
icon: c ||
|
|
96
|
+
icon: c || o,
|
|
97
97
|
size: "sm"
|
|
98
|
-
}) : /* @__PURE__ */ f(
|
|
98
|
+
}) : /* @__PURE__ */ f(s, {
|
|
99
99
|
type: y,
|
|
100
100
|
size: "sm"
|
|
101
101
|
})
|
|
@@ -109,10 +109,10 @@ var m = c({
|
|
|
109
109
|
children: t
|
|
110
110
|
}) : null]
|
|
111
111
|
})]
|
|
112
|
-
}), r ||
|
|
112
|
+
}), r || a ? /* @__PURE__ */ f(_, {
|
|
113
113
|
action: r,
|
|
114
|
-
secondaryAction:
|
|
115
|
-
link:
|
|
114
|
+
secondaryAction: i,
|
|
115
|
+
link: a,
|
|
116
116
|
indented: C
|
|
117
117
|
}) : null]
|
|
118
118
|
}), b ? /* @__PURE__ */ f("div", {
|