@burdenoff/website-sdk 2026.720.10 → 2026.723.2
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -12
- package/dist/index.mjs.map +1 -1
- package/dist/{product-card-D2HQglaf.d.mts → product-card-DL9O3Ez9.d.mts} +3 -1
- package/dist/{product-card-D2HQglaf.d.ts → product-card-DL9O3Ez9.d.ts} +3 -1
- package/dist/store/index.d.mts +1 -1
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.js +19 -12
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +19 -12
- package/dist/store/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/store/index.mjs
CHANGED
|
@@ -1901,9 +1901,11 @@ function StoreProductDetailPage({
|
|
|
1901
1901
|
id,
|
|
1902
1902
|
appLoginUrl,
|
|
1903
1903
|
onNavigate,
|
|
1904
|
-
productName
|
|
1904
|
+
productName,
|
|
1905
|
+
waitlist: waitlistProp
|
|
1905
1906
|
}) {
|
|
1906
1907
|
const client = useWebSDK();
|
|
1908
|
+
const waitlist = waitlistProp ?? false;
|
|
1907
1909
|
const [details, setDetails] = useState(null);
|
|
1908
1910
|
const [loading, setLoading] = useState(true);
|
|
1909
1911
|
const [error, setError] = useState(null);
|
|
@@ -1987,6 +1989,9 @@ function StoreProductDetailPage({
|
|
|
1987
1989
|
product.currency,
|
|
1988
1990
|
product.pricingModel
|
|
1989
1991
|
);
|
|
1992
|
+
const ctaLabel = waitlist ? "Coming Soon" : priceLabel === "Free" ? "Install Free" : `Get for ${priceLabel}`;
|
|
1993
|
+
const ctaHref = waitlist ? "#" : appLoginUrl;
|
|
1994
|
+
const ctaAriaDisabled = waitlist || void 0;
|
|
1990
1995
|
const screenshots = product.screenshots ?? [];
|
|
1991
1996
|
const totalRatings = ratingDistribution ? ratingDistribution.fiveStars + ratingDistribution.fourStars + ratingDistribution.threeStars + ratingDistribution.twoStars + ratingDistribution.oneStar : 0;
|
|
1992
1997
|
return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
|
|
@@ -2111,11 +2116,12 @@ function StoreProductDetailPage({
|
|
|
2111
2116
|
/* @__PURE__ */ jsx(
|
|
2112
2117
|
"a",
|
|
2113
2118
|
{
|
|
2114
|
-
href:
|
|
2115
|
-
target: "_blank",
|
|
2116
|
-
rel: "noopener noreferrer",
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
+
href: ctaHref,
|
|
2120
|
+
target: waitlist ? void 0 : "_blank",
|
|
2121
|
+
rel: waitlist ? void 0 : "noopener noreferrer",
|
|
2122
|
+
"aria-disabled": ctaAriaDisabled,
|
|
2123
|
+
className: "flex-1 h-11 rounded-lg bg-primary text-primary-foreground text-sm font-semibold flex items-center justify-center hover:opacity-90 transition-opacity aria-disabled:opacity-60 aria-disabled:cursor-not-allowed",
|
|
2124
|
+
children: ctaLabel
|
|
2119
2125
|
}
|
|
2120
2126
|
)
|
|
2121
2127
|
] }),
|
|
@@ -2288,14 +2294,15 @@ function StoreProductDetailPage({
|
|
|
2288
2294
|
/* @__PURE__ */ jsx(
|
|
2289
2295
|
"a",
|
|
2290
2296
|
{
|
|
2291
|
-
href:
|
|
2292
|
-
target: "_blank",
|
|
2293
|
-
rel: "noopener noreferrer",
|
|
2294
|
-
|
|
2295
|
-
|
|
2297
|
+
href: ctaHref,
|
|
2298
|
+
target: waitlist ? void 0 : "_blank",
|
|
2299
|
+
rel: waitlist ? void 0 : "noopener noreferrer",
|
|
2300
|
+
"aria-disabled": ctaAriaDisabled,
|
|
2301
|
+
className: "flex items-center justify-center w-full h-11 rounded-lg bg-primary text-primary-foreground text-sm font-semibold hover:opacity-90 active:scale-[0.98] transition-all duration-150 aria-disabled:opacity-60 aria-disabled:cursor-not-allowed",
|
|
2302
|
+
children: ctaLabel
|
|
2296
2303
|
}
|
|
2297
2304
|
),
|
|
2298
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground text-center", children: "Login required to install" }),
|
|
2305
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground text-center", children: waitlist ? `Available when ${product?.name ?? "this product"} launches` : "Login required to install" }),
|
|
2299
2306
|
/* @__PURE__ */ jsxs("div", { className: "border-t border-border pt-4 space-y-2 text-xs text-muted-foreground", children: [
|
|
2300
2307
|
product.type && /* @__PURE__ */ jsxs("div", { className: "flex justify-between", children: [
|
|
2301
2308
|
/* @__PURE__ */ jsx("span", { children: "Type" }),
|