@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.d.mts
CHANGED
|
@@ -21,7 +21,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
21
21
|
import * as React from 'react';
|
|
22
22
|
import { VariantProps } from 'class-variance-authority';
|
|
23
23
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
24
|
-
export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from './product-card-
|
|
24
|
+
export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from './product-card-DL9O3Ez9.mjs';
|
|
25
25
|
export { cn } from './utils/index.mjs';
|
|
26
26
|
import 'react-markdown';
|
|
27
27
|
import 'clsx';
|
|
@@ -56,7 +56,7 @@ declare function CareersApplyForm({ productName, recaptchaSiteKey, positions, he
|
|
|
56
56
|
|
|
57
57
|
declare const buttonVariants: (props?: ({
|
|
58
58
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
59
|
-
size?: "
|
|
59
|
+
size?: "icon" | "default" | "sm" | "lg" | null | undefined;
|
|
60
60
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
61
61
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
62
62
|
asChild?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
21
21
|
import * as React from 'react';
|
|
22
22
|
import { VariantProps } from 'class-variance-authority';
|
|
23
23
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
24
|
-
export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from './product-card-
|
|
24
|
+
export { B as BrowseStoreResult, G as GroupedStoreProducts, P as ProductCard, a as ProductCategory, R as RatingDistribution, S as SearchSuggestion, b as StarRating, c as StoreBrowsePage, d as StoreBrowsePageProps, e as StoreFacet, f as StoreFacets, g as StoreHomePage, h as StoreHomePageProps, i as StorePageProps, j as StoreProduct, k as StoreProductDetailPage, l as StoreProductDetailPageProps, m as StoreProductDetails, n as StorePublisher, o as StoreReview, p as StoreTerminology, q as StoreTypeFilter, T as TypeBadge, r as formatDownloads, s as formatPrice } from './product-card-DL9O3Ez9.js';
|
|
25
25
|
export { cn } from './utils/index.js';
|
|
26
26
|
import 'react-markdown';
|
|
27
27
|
import 'clsx';
|
|
@@ -56,7 +56,7 @@ declare function CareersApplyForm({ productName, recaptchaSiteKey, positions, he
|
|
|
56
56
|
|
|
57
57
|
declare const buttonVariants: (props?: ({
|
|
58
58
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
59
|
-
size?: "
|
|
59
|
+
size?: "icon" | "default" | "sm" | "lg" | null | undefined;
|
|
60
60
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
61
61
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
62
62
|
asChild?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -8216,9 +8216,11 @@ function StoreProductDetailPage({
|
|
|
8216
8216
|
id,
|
|
8217
8217
|
appLoginUrl,
|
|
8218
8218
|
onNavigate,
|
|
8219
|
-
productName
|
|
8219
|
+
productName,
|
|
8220
|
+
waitlist: waitlistProp
|
|
8220
8221
|
}) {
|
|
8221
8222
|
const client = useWebSDK();
|
|
8223
|
+
const waitlist = waitlistProp ?? false;
|
|
8222
8224
|
const [details, setDetails] = React.useState(null);
|
|
8223
8225
|
const [loading, setLoading] = React.useState(true);
|
|
8224
8226
|
const [error, setError] = React.useState(null);
|
|
@@ -8302,6 +8304,9 @@ function StoreProductDetailPage({
|
|
|
8302
8304
|
product.currency,
|
|
8303
8305
|
product.pricingModel
|
|
8304
8306
|
);
|
|
8307
|
+
const ctaLabel = waitlist ? "Coming Soon" : priceLabel === "Free" ? "Install Free" : `Get for ${priceLabel}`;
|
|
8308
|
+
const ctaHref = waitlist ? "#" : appLoginUrl;
|
|
8309
|
+
const ctaAriaDisabled = waitlist || void 0;
|
|
8305
8310
|
const screenshots = product.screenshots ?? [];
|
|
8306
8311
|
const totalRatings = ratingDistribution ? ratingDistribution.fiveStars + ratingDistribution.fourStars + ratingDistribution.threeStars + ratingDistribution.twoStars + ratingDistribution.oneStar : 0;
|
|
8307
8312
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
@@ -8426,11 +8431,12 @@ function StoreProductDetailPage({
|
|
|
8426
8431
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8427
8432
|
"a",
|
|
8428
8433
|
{
|
|
8429
|
-
href:
|
|
8430
|
-
target: "_blank",
|
|
8431
|
-
rel: "noopener noreferrer",
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
+
href: ctaHref,
|
|
8435
|
+
target: waitlist ? void 0 : "_blank",
|
|
8436
|
+
rel: waitlist ? void 0 : "noopener noreferrer",
|
|
8437
|
+
"aria-disabled": ctaAriaDisabled,
|
|
8438
|
+
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",
|
|
8439
|
+
children: ctaLabel
|
|
8434
8440
|
}
|
|
8435
8441
|
)
|
|
8436
8442
|
] }),
|
|
@@ -8603,14 +8609,15 @@ function StoreProductDetailPage({
|
|
|
8603
8609
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
8604
8610
|
"a",
|
|
8605
8611
|
{
|
|
8606
|
-
href:
|
|
8607
|
-
target: "_blank",
|
|
8608
|
-
rel: "noopener noreferrer",
|
|
8609
|
-
|
|
8610
|
-
|
|
8612
|
+
href: ctaHref,
|
|
8613
|
+
target: waitlist ? void 0 : "_blank",
|
|
8614
|
+
rel: waitlist ? void 0 : "noopener noreferrer",
|
|
8615
|
+
"aria-disabled": ctaAriaDisabled,
|
|
8616
|
+
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",
|
|
8617
|
+
children: ctaLabel
|
|
8611
8618
|
}
|
|
8612
8619
|
),
|
|
8613
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground text-center", children: "Login required to install" }),
|
|
8620
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground text-center", children: waitlist ? `Available when ${product?.name ?? "this product"} launches` : "Login required to install" }),
|
|
8614
8621
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-t border-border pt-4 space-y-2 text-xs text-muted-foreground", children: [
|
|
8615
8622
|
product.type && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-between", children: [
|
|
8616
8623
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: "Type" }),
|