@burdenoff/website-sdk 2026.524.11 → 2026.526.1
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/components/partners.d.mts +6 -7
- package/dist/components/partners.d.ts +6 -7
- package/dist/components/partners.js +10 -3
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs +10 -3
- package/dist/components/partners.mjs.map +1 -1
- package/dist/components/pricing.d.mts +7 -0
- package/dist/components/pricing.d.ts +7 -0
- package/dist/components/pricing.js +3 -2
- package/dist/components/pricing.js.map +1 -1
- package/dist/components/pricing.mjs +3 -2
- package/dist/components/pricing.mjs.map +1 -1
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -49,14 +49,13 @@ interface PartnersPageProps {
|
|
|
49
49
|
*/
|
|
50
50
|
showContactForm?: boolean;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
* `{ value: "partnership", label: "Partner program" }
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* wires the full categories list externally.
|
|
52
|
+
* Inquiry-category options for the embedded `<ContactPage>` dropdown.
|
|
53
|
+
* Default: `{ value: "partnership", label: "Partner program" }` (a single,
|
|
54
|
+
* required option so every submission is tagged for partner triage). Pass an
|
|
55
|
+
* **array** to offer multiple selectable partner tracks (Referral, Reseller,
|
|
56
|
+
* MSP, …). Pass `false` to disable the dropdown entirely.
|
|
58
57
|
*/
|
|
59
|
-
contactCategory?: ContactCategory | false;
|
|
58
|
+
contactCategory?: ContactCategory | ContactCategory[] | false;
|
|
60
59
|
/** Heading shown above the form. Default: `"Become a partner"`. */
|
|
61
60
|
formTitle?: string;
|
|
62
61
|
/** Subtitle / lead above the form. */
|
|
@@ -49,14 +49,13 @@ interface PartnersPageProps {
|
|
|
49
49
|
*/
|
|
50
50
|
showContactForm?: boolean;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
* `{ value: "partnership", label: "Partner program" }
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* wires the full categories list externally.
|
|
52
|
+
* Inquiry-category options for the embedded `<ContactPage>` dropdown.
|
|
53
|
+
* Default: `{ value: "partnership", label: "Partner program" }` (a single,
|
|
54
|
+
* required option so every submission is tagged for partner triage). Pass an
|
|
55
|
+
* **array** to offer multiple selectable partner tracks (Referral, Reseller,
|
|
56
|
+
* MSP, …). Pass `false` to disable the dropdown entirely.
|
|
58
57
|
*/
|
|
59
|
-
contactCategory?: ContactCategory | false;
|
|
58
|
+
contactCategory?: ContactCategory | ContactCategory[] | false;
|
|
60
59
|
/** Heading shown above the form. Default: `"Become a partner"`. */
|
|
61
60
|
formTitle?: string;
|
|
62
61
|
/** Subtitle / lead above the form. */
|
|
@@ -1115,7 +1115,14 @@ function PartnersPage(props) {
|
|
|
1115
1115
|
cancelled = true;
|
|
1116
1116
|
};
|
|
1117
1117
|
}, [client, resolvedProductId, contentSlug, contentTag, documentsTag]);
|
|
1118
|
-
|
|
1118
|
+
let partnerCategories;
|
|
1119
|
+
if (contactCategory === false) {
|
|
1120
|
+
partnerCategories = [];
|
|
1121
|
+
} else if (Array.isArray(contactCategory)) {
|
|
1122
|
+
partnerCategories = contactCategory.length > 0 ? contactCategory : [DEFAULT_PARTNER_CATEGORY];
|
|
1123
|
+
} else {
|
|
1124
|
+
partnerCategories = [contactCategory ?? DEFAULT_PARTNER_CATEGORY];
|
|
1125
|
+
}
|
|
1119
1126
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className, children: [
|
|
1120
1127
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1121
1128
|
PageHead,
|
|
@@ -1148,9 +1155,9 @@ function PartnersPage(props) {
|
|
|
1148
1155
|
responseTime,
|
|
1149
1156
|
recaptchaSiteKey,
|
|
1150
1157
|
additionalOptions,
|
|
1151
|
-
categories:
|
|
1158
|
+
categories: partnerCategories,
|
|
1152
1159
|
categoryLabel: "Partnership type",
|
|
1153
|
-
categoryRequired:
|
|
1160
|
+
categoryRequired: partnerCategories.length > 0
|
|
1154
1161
|
}
|
|
1155
1162
|
)
|
|
1156
1163
|
] });
|