@factorialco/f0-react 1.401.0 → 1.401.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/ai.d.ts +7 -0
- package/dist/experimental.d.ts +7 -0
- package/dist/experimental.js +2 -2
- package/dist/f0.d.ts +33 -5
- package/dist/f0.js +14464 -14198
- package/dist/i18n-provider-defaults.d.ts +7 -0
- package/dist/i18n-provider-defaults.js +7 -0
- package/dist/styles.css +1 -1
- package/dist/{useDataCollectionSource-CcLFbGx4.js → useDataCollectionSource-BUi4l1cD.js} +55 -54
- package/package.json +1 -1
|
@@ -50775,7 +50775,54 @@ function Vme({
|
|
|
50775
50775
|
)
|
|
50776
50776
|
] });
|
|
50777
50777
|
}
|
|
50778
|
-
const Ume = en(Vme)
|
|
50778
|
+
const Ume = en(Vme);
|
|
50779
|
+
function Kme({
|
|
50780
|
+
title: t,
|
|
50781
|
+
description: e,
|
|
50782
|
+
variant: n = "default",
|
|
50783
|
+
emoji: i,
|
|
50784
|
+
actions: r,
|
|
50785
|
+
...a
|
|
50786
|
+
}) {
|
|
50787
|
+
return /* @__PURE__ */ z(
|
|
50788
|
+
"div",
|
|
50789
|
+
{
|
|
50790
|
+
className: "flex flex-col items-center justify-center gap-5 p-8",
|
|
50791
|
+
...a,
|
|
50792
|
+
children: [
|
|
50793
|
+
n === "default" && /* @__PURE__ */ g(mE, { emoji: i, size: "lg" }),
|
|
50794
|
+
n !== "default" && /* @__PURE__ */ g(fc, { type: n, size: "lg" }),
|
|
50795
|
+
/* @__PURE__ */ z("div", { className: "flex flex-col items-center justify-center gap-0.5", children: [
|
|
50796
|
+
/* @__PURE__ */ g("p", { className: "text-center text-lg font-medium text-f1-foreground", children: t }),
|
|
50797
|
+
e && /* @__PURE__ */ g("p", { className: "max-w-96 text-center text-f1-foreground-secondary", children: e })
|
|
50798
|
+
] }),
|
|
50799
|
+
r && /* @__PURE__ */ g("div", { className: "flex w-full flex-col items-center justify-center gap-2 sm:w-fit sm:flex-row sm:gap-3 [&>div]:w-full", children: r.map((o) => o.type === "upsell" ? /* @__PURE__ */ g(
|
|
50800
|
+
Ume,
|
|
50801
|
+
{
|
|
50802
|
+
label: o.label,
|
|
50803
|
+
onRequest: () => Promise.resolve(o.onClick()),
|
|
50804
|
+
errorMessage: o.errorMessage,
|
|
50805
|
+
successMessage: o.successMessage,
|
|
50806
|
+
loadingState: o.loadingState,
|
|
50807
|
+
nextSteps: o.nextSteps,
|
|
50808
|
+
closeLabel: o.closeLabel
|
|
50809
|
+
},
|
|
50810
|
+
o.label
|
|
50811
|
+
) : /* @__PURE__ */ g(
|
|
50812
|
+
Ee,
|
|
50813
|
+
{
|
|
50814
|
+
label: o.label,
|
|
50815
|
+
variant: o.variant,
|
|
50816
|
+
onClick: o.onClick,
|
|
50817
|
+
icon: o.icon
|
|
50818
|
+
},
|
|
50819
|
+
o.label
|
|
50820
|
+
)) })
|
|
50821
|
+
]
|
|
50822
|
+
}
|
|
50823
|
+
);
|
|
50824
|
+
}
|
|
50825
|
+
const Gme = en(Kme), Yme = ht(
|
|
50779
50826
|
function({
|
|
50780
50827
|
title: e,
|
|
50781
50828
|
subtitle: n,
|
|
@@ -50895,57 +50942,11 @@ const Ume = en(Vme), Kme = ht(
|
|
|
50895
50942
|
}
|
|
50896
50943
|
);
|
|
50897
50944
|
}
|
|
50898
|
-
),
|
|
50899
|
-
Mx(
|
|
50945
|
+
), Xme = en(
|
|
50946
|
+
Mx(Yme, HN)
|
|
50900
50947
|
);
|
|
50901
|
-
|
|
50902
|
-
|
|
50903
|
-
title: t,
|
|
50904
|
-
description: e,
|
|
50905
|
-
variant: n = "default",
|
|
50906
|
-
emoji: i,
|
|
50907
|
-
actions: r,
|
|
50908
|
-
...a
|
|
50909
|
-
}) {
|
|
50910
|
-
return /* @__PURE__ */ z(
|
|
50911
|
-
"div",
|
|
50912
|
-
{
|
|
50913
|
-
className: "flex flex-col items-center justify-center gap-5 p-8",
|
|
50914
|
-
...a,
|
|
50915
|
-
children: [
|
|
50916
|
-
n === "default" && /* @__PURE__ */ g(mE, { emoji: i, size: "lg" }),
|
|
50917
|
-
n !== "default" && /* @__PURE__ */ g(fc, { type: n, size: "lg" }),
|
|
50918
|
-
/* @__PURE__ */ z("div", { className: "flex flex-col items-center justify-center gap-0.5", children: [
|
|
50919
|
-
/* @__PURE__ */ g("p", { className: "text-center text-lg font-medium text-f1-foreground", children: t }),
|
|
50920
|
-
e && /* @__PURE__ */ g("p", { className: "max-w-96 text-center text-f1-foreground-secondary", children: e })
|
|
50921
|
-
] }),
|
|
50922
|
-
r && /* @__PURE__ */ g("div", { className: "flex w-full flex-col items-center justify-center gap-2 sm:w-fit sm:flex-row sm:gap-3 [&>div]:w-full", children: r.map((o) => o.type === "upsell" ? /* @__PURE__ */ g(
|
|
50923
|
-
Ume,
|
|
50924
|
-
{
|
|
50925
|
-
label: o.label,
|
|
50926
|
-
onRequest: () => Promise.resolve(o.onClick()),
|
|
50927
|
-
errorMessage: o.errorMessage,
|
|
50928
|
-
successMessage: o.successMessage,
|
|
50929
|
-
loadingState: o.loadingState,
|
|
50930
|
-
nextSteps: o.nextSteps,
|
|
50931
|
-
closeLabel: o.closeLabel
|
|
50932
|
-
},
|
|
50933
|
-
o.label
|
|
50934
|
-
) : /* @__PURE__ */ g(
|
|
50935
|
-
Ee,
|
|
50936
|
-
{
|
|
50937
|
-
label: o.label,
|
|
50938
|
-
variant: o.variant,
|
|
50939
|
-
onClick: o.onClick,
|
|
50940
|
-
icon: o.icon
|
|
50941
|
-
},
|
|
50942
|
-
o.label
|
|
50943
|
-
)) })
|
|
50944
|
-
]
|
|
50945
|
-
}
|
|
50946
|
-
);
|
|
50947
|
-
}
|
|
50948
|
-
const Xme = en(Yme), bx = ({
|
|
50948
|
+
Xme.displayName = "BaseBanner";
|
|
50949
|
+
const bx = ({
|
|
50949
50950
|
value: t,
|
|
50950
50951
|
delay: e
|
|
50951
50952
|
}) => {
|
|
@@ -57116,7 +57117,7 @@ const e1e = ({
|
|
|
57116
57117
|
}
|
|
57117
57118
|
),
|
|
57118
57119
|
me ? /* @__PURE__ */ g("div", { className: "flex flex-1 flex-col items-center justify-center", children: /* @__PURE__ */ g(
|
|
57119
|
-
|
|
57120
|
+
Gme,
|
|
57120
57121
|
{
|
|
57121
57122
|
emoji: me.emoji,
|
|
57122
57123
|
title: me.title,
|
|
@@ -57228,8 +57229,8 @@ export {
|
|
|
57228
57229
|
Ene as aK,
|
|
57229
57230
|
kr as aL,
|
|
57230
57231
|
Uh as aM,
|
|
57231
|
-
|
|
57232
|
-
|
|
57232
|
+
Gme as aN,
|
|
57233
|
+
Xme as aO,
|
|
57233
57234
|
j1e as aP,
|
|
57234
57235
|
G1e as aQ,
|
|
57235
57236
|
I1e as aR,
|