@factorialco/f0-react 16.34.1 → 16.35.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-C0Mrip4Q.js → ArchiveThumbnail-BOkvHgd_.js} +3 -3
- package/dist/{ArchiveViewer-BausRIp7.js → ArchiveViewer-CmoM8uO2.js} +2 -2
- package/dist/{ChatPostComposerDialog-6B6tdLwo.js → ChatPostComposerDialog-BlfRnich.js} +2 -2
- package/dist/{CoachmarkProvider-FQEJnDhJ.js → CoachmarkProvider-CE07lM-i.js} +13878 -13878
- package/dist/{CodeThumbnail-B4gAYMKz.js → CodeThumbnail-4Juwr4va.js} +1 -1
- package/dist/{CodeViewer-COT0IBLZ.js → CodeViewer-DxoMNOPf.js} +4 -4
- package/dist/{DocumentToolbar-C3ofBfAQ.js → DocumentToolbar-Ce7J0eV7.js} +6 -6
- package/dist/{DocxViewer-BwCy6gE3.js → DocxViewer-D2CnuS5p.js} +1 -1
- package/dist/{F0AiProcessingOverlay-CpPDvAFx.js → F0AiProcessingOverlay-CqKJmZXs.js} +395 -395
- package/dist/{F0Alert-cjjt8A_k.js → F0Alert-DEa3QgeO.js} +15 -14
- package/dist/F0AudioPlayer-BnSS3X1L.js +2 -0
- package/dist/{F0Button-B9tE57M3.js → F0Button-BJsJt_ZL.js} +7 -7
- package/dist/{F0CanvasPanel-DfyPBByb.js → F0CanvasPanel-BrBCO_gi.js} +8495 -8569
- package/dist/{F0DocumentViewer-Bltwogo_.js → F0DocumentViewer-CFQCY5i6.js} +2 -2
- package/dist/{F0DocumentViewer-D-l4YtO7.js → F0DocumentViewer-DirgMVCZ.js} +1 -1
- package/dist/{F0Map-Bru86FH0.js → F0Map-BPrVyqim.js} +64 -64
- package/dist/{F0Select-DV2A6yo2.js → F0Select-CLzwJBvd.js} +8541 -8449
- package/dist/{F0Text-BDmNaecR.js → F0Text-DO-opB9S.js} +1 -1
- package/dist/F0VideoPlayer-BCA2f2Pf.js +1 -0
- package/dist/{F0VideoPlayer-Dly2Xj6h.js → F0VideoPlayer-Cyb1Vidm.js} +15 -15
- package/dist/{HtmlThumbnail-BakLalKI.js → HtmlThumbnail-Hi747Tmk.js} +1 -1
- package/dist/{HtmlViewer-DzF-1Rq3.js → HtmlViewer-mwi7RfDB.js} +6 -6
- package/dist/{LayoutGroup-CuWgJO_W.js → LayoutGroup-B9BnZypT.js} +1 -1
- package/dist/{Map-VkTSJacu.js → Map-BNiGhT41.js} +7 -7
- package/dist/{PdfThumbnail-wgCEUZm8.js → PdfThumbnail-Dy7HLwhC.js} +1 -1
- package/dist/{PdfViewer-BEYKuiYM.js → PdfViewer-BMC6IGXj.js} +9 -9
- package/dist/{SandboxedHtmlFrame-SKujax-U.js → SandboxedHtmlFrame-Ck62HtyP.js} +1 -1
- package/dist/{SheetViewer-BY-4SW1a.js → SheetViewer-BhLETKTA.js} +4 -3
- package/dist/{TextViewer-Dq7kddkK.js → TextViewer-CGxs4kaE.js} +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +2 -2
- package/dist/{dist-BjlY6-o5.js → dist-BVf4ny05.js} +4 -4
- package/dist/{dist-CiU6Cp6n.js → dist-C04XuJk3.js} +1 -1
- package/dist/{dist-D0tUIJ0v.js → dist-TC4hmHdB.js} +1 -1
- package/dist/{dist-C1RZo6kP.js → dist-mt9P132m.js} +1 -1
- package/dist/{dist-MPgX6tx_.js → dist-vWDXrm7a.js} +1 -1
- package/dist/experimental.d.ts +17 -17
- package/dist/experimental.js +4380 -4342
- package/dist/{exports-Dp2ELtkI.d.ts → exports-OhW2O8GE.d.ts} +1 -1
- package/dist/f0.d.ts +13 -7
- package/dist/f0.js +294 -294
- package/dist/{highlight-CT_XhDqk.js → highlight-CEZ90xPK.js} +1 -1
- package/dist/{index-cqv4ymmh.d.ts → index-BJ6j_yIt.d.ts} +23 -0
- package/dist/{index-usY8QwHC.d.ts → index-sUM6VG1q.d.ts} +1 -1
- package/dist/{maplibre-C781iCGG.js → maplibre-IpicW_Aq.js} +1 -1
- package/dist/{pdfWorker-CzMUDWr4.js → pdfWorker-DwlPZetS.js} +1 -1
- package/dist/{toolbarStyles-DKWFaPuE.js → toolbarStyles-Al2tzXoH.js} +1 -1
- package/dist/{useData-BUahpDRq.js → useData-CZW0gG0I.js} +2 -2
- package/package.json +1 -1
- package/dist/F0AudioPlayer-Dwl16g5B.js +0 -2
- package/dist/F0VideoPlayer-D8quPFLX.js +0 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { a as e, r as t } from "./i18n-provider-DEmElb7u.js";
|
|
2
2
|
import { L as n } from "./tooltip-NXXT56H4.js";
|
|
3
|
-
import { t as r } from "./F0Button-
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { N as
|
|
3
|
+
import { t as r } from "./F0Button-BJsJt_ZL.js";
|
|
4
|
+
import { $s as i, Wo as a, cl as o } from "./F0CanvasPanel-BrBCO_gi.js";
|
|
5
|
+
import { u as s } from "./createIcon-l_kbsdJi.js";
|
|
6
|
+
import { N as c, _ as l } from "./useData-CZW0gG0I.js";
|
|
7
|
+
import { Bt as u } from "./F0Select-CLzwJBvd.js";
|
|
7
8
|
import { useRef as d } from "react";
|
|
8
9
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
9
10
|
//#region src/elements/F0Alert/F0Alert.tsx
|
|
10
|
-
var m =
|
|
11
|
+
var m = s({
|
|
11
12
|
base: "w-full rounded-md p-2 pr-3 text-f1-foreground",
|
|
12
13
|
variants: { variant: {
|
|
13
14
|
info: "bg-f1-background-info",
|
|
@@ -18,7 +19,7 @@ var m = c({
|
|
|
18
19
|
transparent: "bg-transparent"
|
|
19
20
|
} },
|
|
20
21
|
defaultVariants: { variant: "neutral" }
|
|
21
|
-
}), h =
|
|
22
|
+
}), h = s({
|
|
22
23
|
base: "font-medium",
|
|
23
24
|
variants: { variant: {
|
|
24
25
|
info: "text-f1-foreground-info",
|
|
@@ -32,7 +33,7 @@ var m = c({
|
|
|
32
33
|
}), g = ({ onClose: e }) => {
|
|
33
34
|
let { actions: n } = t();
|
|
34
35
|
return /* @__PURE__ */ f(r, {
|
|
35
|
-
icon:
|
|
36
|
+
icon: o,
|
|
36
37
|
label: n.close,
|
|
37
38
|
hideLabel: !0,
|
|
38
39
|
variant: "outline",
|
|
@@ -42,14 +43,14 @@ var m = c({
|
|
|
42
43
|
});
|
|
43
44
|
}, _ = ({ action: e, secondaryAction: t, link: i, indented: a }) => /* @__PURE__ */ f("div", {
|
|
44
45
|
className: n("flex-shrink-0", a && "pl-8 @xs:pl-0"),
|
|
45
|
-
children: /* @__PURE__ */ p(
|
|
46
|
+
children: /* @__PURE__ */ p(c, {
|
|
46
47
|
display: "flex",
|
|
47
48
|
flexDirection: "row",
|
|
48
49
|
flexWrap: "wrap-reverse",
|
|
49
50
|
alignItems: "center",
|
|
50
51
|
gap: "lg",
|
|
51
52
|
children: [
|
|
52
|
-
i ? /* @__PURE__ */ f(
|
|
53
|
+
i ? /* @__PURE__ */ f(u, {
|
|
53
54
|
href: i.href,
|
|
54
55
|
target: "_blank",
|
|
55
56
|
variant: "link",
|
|
@@ -74,7 +75,7 @@ var m = c({
|
|
|
74
75
|
}) : null
|
|
75
76
|
]
|
|
76
77
|
})
|
|
77
|
-
}), v = e(({ title: e, description: t, action: r, secondaryAction: o, link: s, icon:
|
|
78
|
+
}), v = e(({ title: e, description: t, action: r, secondaryAction: o, link: s, icon: u, hideIcon: v = !1, variant: y = "neutral", onClose: b }) => {
|
|
78
79
|
let x = d(null), S = y === "neutral" || y === "transparent", C = !(S && v);
|
|
79
80
|
return /* @__PURE__ */ f("div", {
|
|
80
81
|
ref: x,
|
|
@@ -88,14 +89,14 @@ var m = c({
|
|
|
88
89
|
className: "flex flex-1 flex-col items-start gap-3 @xs:flex-row @xs:items-center @xs:justify-between",
|
|
89
90
|
children: [/* @__PURE__ */ p("div", {
|
|
90
91
|
className: n("flex flex-row gap-2", !t && "items-center"),
|
|
91
|
-
children: [C ? /* @__PURE__ */ f(
|
|
92
|
+
children: [C ? /* @__PURE__ */ f(c, {
|
|
92
93
|
width: "6",
|
|
93
94
|
height: "6",
|
|
94
95
|
shrink: !1,
|
|
95
|
-
children: S ? /* @__PURE__ */ f(
|
|
96
|
-
icon:
|
|
96
|
+
children: S ? /* @__PURE__ */ f(l, {
|
|
97
|
+
icon: u || i,
|
|
97
98
|
size: "sm"
|
|
98
|
-
}) : /* @__PURE__ */ f(
|
|
99
|
+
}) : /* @__PURE__ */ f(a, {
|
|
99
100
|
type: y,
|
|
100
101
|
size: "sm"
|
|
101
102
|
})
|
|
@@ -14329,7 +14329,7 @@ var eC = y({
|
|
|
14329
14329
|
flat: "shadow-none transition-none after:shadow-none"
|
|
14330
14330
|
} },
|
|
14331
14331
|
defaultVariants: { elevation: "default" }
|
|
14332
|
-
}), rC = nd.create(_), iC =
|
|
14332
|
+
}), rC = nd.create(_), iC = k(function({ label: e, hideLabel: t, onClick: n, disabled: r, withoutDisabledAppearance: i, loading: a, keepEnabledWhileLoading: o = !1, icon: c, iconPosition: l = "left", iconColor: u, emoji: f, emojiMode: p, variant: m = "default", size: h = "md", shape: g = "default", elevation: v = "default", fontSize: y, append: b, className: x, "aria-label": S, tooltip: C, noAutoTooltip: w, noTitle: T, iconRotate: E = !1, block: D = !1, wrapLabel: O = !1, narrowPadding: k = !1, counterValue: ee, ...A }, j) {
|
|
14333
14333
|
zf(e, {
|
|
14334
14334
|
disallowEmpty: !0,
|
|
14335
14335
|
disallowEmojis: !0
|
|
@@ -14440,7 +14440,7 @@ var eC = y({
|
|
|
14440
14440
|
lines: O ? 2 : 1,
|
|
14441
14441
|
tag: "span",
|
|
14442
14442
|
noTooltip: w || !!C,
|
|
14443
|
-
delay:
|
|
14443
|
+
delay: 300,
|
|
14444
14444
|
children: ce
|
|
14445
14445
|
}),
|
|
14446
14446
|
l === "right" ? me : null,
|
|
@@ -14457,13 +14457,13 @@ var eC = y({
|
|
|
14457
14457
|
]
|
|
14458
14458
|
})
|
|
14459
14459
|
});
|
|
14460
|
-
}),
|
|
14461
|
-
return /* @__PURE__ */ F(
|
|
14460
|
+
}), aC = k(function(e, t) {
|
|
14461
|
+
return /* @__PURE__ */ F(iC, {
|
|
14462
14462
|
...e,
|
|
14463
14463
|
ref: t
|
|
14464
14464
|
});
|
|
14465
14465
|
});
|
|
14466
|
-
|
|
14467
|
-
var
|
|
14466
|
+
aC.displayName = "F0Button";
|
|
14467
|
+
var oC = a(aC);
|
|
14468
14468
|
//#endregion
|
|
14469
|
-
export { $s as $, Xd as A, ve as At, Sd as B, Ef as C, it as Ct, rf as D, je as Dt, of as E, Re as Et, jd as F, ue as Ft, ad as G, fd as H, Md as I, le as It, td as J, dd as K, kd as L, ce as Lt, Pd as M, ge as Mt, Fd as N, pe as Nt, nf as O, De as Ot, Ad as P, fe as Pt, Uc as Q, Td as R, se as Rt, wf as S, B as St, cf as T, Ye as Tt, id as U, gd as V, od as W, nl as X, vl as Y, Qc as Z, xf as _, Ln as _t, JS as a, no as at, mf as b, An as bt, ex as c, Ha as ct, zf as d, Mi as dt, rs as et, Nf as f, H as ft, bf as g, Mr as gt, Af as h, ri as ht, qS as i, ro as it, Id as j, _e as jt, Yd as k, Te as kt, db as l, Ea as lt, If as m, ti as mt,
|
|
14469
|
+
export { $s as $, Xd as A, ve as At, Sd as B, Ef as C, it as Ct, rf as D, je as Dt, of as E, Re as Et, jd as F, ue as Ft, ad as G, fd as H, Md as I, le as It, td as J, dd as K, kd as L, ce as Lt, Pd as M, ge as Mt, Fd as N, pe as Nt, nf as O, De as Ot, Ad as P, fe as Pt, Uc as Q, Td as R, se as Rt, wf as S, B as St, cf as T, Ye as Tt, id as U, gd as V, od as W, nl as X, vl as Y, Qc as Z, xf as _, Ln as _t, JS as a, no as at, mf as b, An as bt, ex as c, Ha as ct, zf as d, Mi as dt, rs as et, Nf as f, H as ft, bf as g, Mr as gt, Af as h, ri as ht, qS as i, ro as it, Id as j, _e as jt, Yd as k, Te as kt, db as l, Ea as lt, If as m, ti as mt, iC as n, uo as nt, PS as o, Ja as ot, Ff as p, ii as pt, nd as q, $S as r, ao as rt, oS as s, U as st, oC as t, qo as tt, Hm as u, na as ut, gf as v, In as vt, kf as w, I as wt, vf as x, bn as xt, Sf as y, Fn as yt, Od as z };
|