@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/index.mjs
CHANGED
|
@@ -8186,9 +8186,11 @@ function StoreProductDetailPage({
|
|
|
8186
8186
|
id,
|
|
8187
8187
|
appLoginUrl,
|
|
8188
8188
|
onNavigate,
|
|
8189
|
-
productName
|
|
8189
|
+
productName,
|
|
8190
|
+
waitlist: waitlistProp
|
|
8190
8191
|
}) {
|
|
8191
8192
|
const client = useWebSDK();
|
|
8193
|
+
const waitlist = waitlistProp ?? false;
|
|
8192
8194
|
const [details, setDetails] = useState(null);
|
|
8193
8195
|
const [loading, setLoading] = useState(true);
|
|
8194
8196
|
const [error, setError] = useState(null);
|
|
@@ -8272,6 +8274,9 @@ function StoreProductDetailPage({
|
|
|
8272
8274
|
product.currency,
|
|
8273
8275
|
product.pricingModel
|
|
8274
8276
|
);
|
|
8277
|
+
const ctaLabel = waitlist ? "Coming Soon" : priceLabel === "Free" ? "Install Free" : `Get for ${priceLabel}`;
|
|
8278
|
+
const ctaHref = waitlist ? "#" : appLoginUrl;
|
|
8279
|
+
const ctaAriaDisabled = waitlist || void 0;
|
|
8275
8280
|
const screenshots = product.screenshots ?? [];
|
|
8276
8281
|
const totalRatings = ratingDistribution ? ratingDistribution.fiveStars + ratingDistribution.fourStars + ratingDistribution.threeStars + ratingDistribution.twoStars + ratingDistribution.oneStar : 0;
|
|
8277
8282
|
return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
|
|
@@ -8396,11 +8401,12 @@ function StoreProductDetailPage({
|
|
|
8396
8401
|
/* @__PURE__ */ jsx(
|
|
8397
8402
|
"a",
|
|
8398
8403
|
{
|
|
8399
|
-
href:
|
|
8400
|
-
target: "_blank",
|
|
8401
|
-
rel: "noopener noreferrer",
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
+
href: ctaHref,
|
|
8405
|
+
target: waitlist ? void 0 : "_blank",
|
|
8406
|
+
rel: waitlist ? void 0 : "noopener noreferrer",
|
|
8407
|
+
"aria-disabled": ctaAriaDisabled,
|
|
8408
|
+
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",
|
|
8409
|
+
children: ctaLabel
|
|
8404
8410
|
}
|
|
8405
8411
|
)
|
|
8406
8412
|
] }),
|
|
@@ -8573,14 +8579,15 @@ function StoreProductDetailPage({
|
|
|
8573
8579
|
/* @__PURE__ */ jsx(
|
|
8574
8580
|
"a",
|
|
8575
8581
|
{
|
|
8576
|
-
href:
|
|
8577
|
-
target: "_blank",
|
|
8578
|
-
rel: "noopener noreferrer",
|
|
8579
|
-
|
|
8580
|
-
|
|
8582
|
+
href: ctaHref,
|
|
8583
|
+
target: waitlist ? void 0 : "_blank",
|
|
8584
|
+
rel: waitlist ? void 0 : "noopener noreferrer",
|
|
8585
|
+
"aria-disabled": ctaAriaDisabled,
|
|
8586
|
+
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",
|
|
8587
|
+
children: ctaLabel
|
|
8581
8588
|
}
|
|
8582
8589
|
),
|
|
8583
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground text-center", children: "Login required to install" }),
|
|
8590
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground text-center", children: waitlist ? `Available when ${product?.name ?? "this product"} launches` : "Login required to install" }),
|
|
8584
8591
|
/* @__PURE__ */ jsxs("div", { className: "border-t border-border pt-4 space-y-2 text-xs text-muted-foreground", children: [
|
|
8585
8592
|
product.type && /* @__PURE__ */ jsxs("div", { className: "flex justify-between", children: [
|
|
8586
8593
|
/* @__PURE__ */ jsx("span", { children: "Type" }),
|