@hook-sdk/template 0.28.7 → 0.28.8
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/index.cjs +24 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2708,6 +2708,29 @@ function PushPrompt2({ texts, onSubscribed, onDeclined, onInstallRequested, clas
|
|
|
2708
2708
|
}
|
|
2709
2709
|
if (state.kind === "ios_needs_install") {
|
|
2710
2710
|
return /* @__PURE__ */ jsxs16("div", { className, role: "region", "aria-label": texts.iosInstallTitle, children: [
|
|
2711
|
+
onDeclined && /* @__PURE__ */ jsx24(
|
|
2712
|
+
"button",
|
|
2713
|
+
{
|
|
2714
|
+
type: "button",
|
|
2715
|
+
onClick: onDeclined,
|
|
2716
|
+
"aria-label": "Fechar",
|
|
2717
|
+
className: "push-prompt-close",
|
|
2718
|
+
style: {
|
|
2719
|
+
position: "absolute",
|
|
2720
|
+
top: 8,
|
|
2721
|
+
right: 8,
|
|
2722
|
+
width: 32,
|
|
2723
|
+
height: 32,
|
|
2724
|
+
border: "none",
|
|
2725
|
+
background: "transparent",
|
|
2726
|
+
fontSize: 20,
|
|
2727
|
+
lineHeight: 1,
|
|
2728
|
+
cursor: "pointer",
|
|
2729
|
+
color: "inherit"
|
|
2730
|
+
},
|
|
2731
|
+
children: "\xD7"
|
|
2732
|
+
}
|
|
2733
|
+
),
|
|
2711
2734
|
/* @__PURE__ */ jsx24("h3", { children: texts.iosInstallTitle }),
|
|
2712
2735
|
/* @__PURE__ */ jsx24("p", { children: texts.iosInstallBody }),
|
|
2713
2736
|
onInstallRequested && texts.iosInstallCta && /* @__PURE__ */ jsx24("button", { onClick: onInstallRequested, children: texts.iosInstallCta })
|
|
@@ -3898,7 +3921,7 @@ function CheckoutPageDefault() {
|
|
|
3898
3921
|
navigate(result.redirect.replace(/^.*\/app\/[^/]+/, ""));
|
|
3899
3922
|
return;
|
|
3900
3923
|
}
|
|
3901
|
-
navigate(
|
|
3924
|
+
navigate("/paywall/pronta");
|
|
3902
3925
|
}
|
|
3903
3926
|
return /* @__PURE__ */ jsx48("div", { className: "flex-1 flex flex-col bg-background min-h-0", children: /* @__PURE__ */ jsxs29("form", { onSubmit, className: "flex-1 flex flex-col min-h-0", children: [
|
|
3904
3927
|
/* @__PURE__ */ jsxs29("div", { className: "flex-1 overflow-y-auto px-5 pt-5 pb-6 space-y-6", children: [
|