@burdenoff/website-sdk 2026.524.12 → 2026.526.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.mjs CHANGED
@@ -1450,7 +1450,14 @@ function PartnersPage(props) {
1450
1450
  cancelled = true;
1451
1451
  };
1452
1452
  }, [client, resolvedProductId, contentSlug, contentTag, documentsTag]);
1453
- const lockedCategory = contactCategory === false ? null : contactCategory ?? DEFAULT_PARTNER_CATEGORY;
1453
+ let partnerCategories;
1454
+ if (contactCategory === false) {
1455
+ partnerCategories = [];
1456
+ } else if (Array.isArray(contactCategory)) {
1457
+ partnerCategories = contactCategory.length > 0 ? contactCategory : [DEFAULT_PARTNER_CATEGORY];
1458
+ } else {
1459
+ partnerCategories = [contactCategory ?? DEFAULT_PARTNER_CATEGORY];
1460
+ }
1454
1461
  return /* @__PURE__ */ jsxs("div", { className, children: [
1455
1462
  /* @__PURE__ */ jsx(
1456
1463
  PageHead,
@@ -1483,9 +1490,9 @@ function PartnersPage(props) {
1483
1490
  responseTime,
1484
1491
  recaptchaSiteKey,
1485
1492
  additionalOptions,
1486
- categories: lockedCategory ? [lockedCategory] : [],
1493
+ categories: partnerCategories,
1487
1494
  categoryLabel: "Partnership type",
1488
- categoryRequired: !!lockedCategory
1495
+ categoryRequired: partnerCategories.length > 0
1489
1496
  }
1490
1497
  )
1491
1498
  ] });
@@ -2495,7 +2502,8 @@ function getMetadataForPlan(planName, planMetadata) {
2495
2502
  defaultDescription: meta.defaultDescription || "Choose this plan",
2496
2503
  popular: meta.popular ?? false,
2497
2504
  ctaText: meta.ctaText || "Get Started",
2498
- ctaType: meta.ctaType || "signup"
2505
+ ctaType: meta.ctaType || "signup",
2506
+ features: meta.features
2499
2507
  };
2500
2508
  }
2501
2509
  const tier = detectPlanTier(planName);
@@ -2576,7 +2584,7 @@ function transformToDisplayCard(plan, props) {
2576
2584
  props.currencies
2577
2585
  );
2578
2586
  const interval = formatInterval(plan.duration, props.billingIntervals);
2579
- const features = extractDisplayFeatures(
2587
+ const features = metadata.features && metadata.features.length > 0 ? metadata.features : extractDisplayFeatures(
2580
2588
  plan.features,
2581
2589
  plan.name,
2582
2590
  props.fallbackFeatures