@burdenoff/website-sdk 2026.925.3 → 2026.927.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/contact.js +8 -0
- package/dist/components/contact.js.map +1 -1
- package/dist/components/contact.mjs +8 -0
- package/dist/components/contact.mjs.map +1 -1
- package/dist/components/explore.js +55 -18
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +55 -18
- package/dist/components/explore.mjs.map +1 -1
- package/dist/components/newsletter.js +8 -0
- package/dist/components/newsletter.js.map +1 -1
- package/dist/components/newsletter.mjs +8 -0
- package/dist/components/newsletter.mjs.map +1 -1
- package/dist/components/partners.js +8 -0
- package/dist/components/partners.js.map +1 -1
- package/dist/components/partners.mjs +8 -0
- package/dist/components/partners.mjs.map +1 -1
- package/dist/components/resource-links.js +8 -0
- package/dist/components/resource-links.js.map +1 -1
- package/dist/components/resource-links.mjs +8 -0
- package/dist/components/resource-links.mjs.map +1 -1
- package/dist/components/social-links.js +8 -0
- package/dist/components/social-links.js.map +1 -1
- package/dist/components/social-links.mjs +8 -0
- package/dist/components/social-links.mjs.map +1 -1
- package/dist/components/waitlist.js +8 -0
- package/dist/components/waitlist.js.map +1 -1
- package/dist/components/waitlist.mjs +8 -0
- package/dist/components/waitlist.mjs.map +1 -1
- package/dist/content/index.js +8 -0
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +8 -0
- package/dist/content/index.mjs.map +1 -1
- package/dist/hooks/index.js +30 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +30 -1
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +103 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +95 -36
- package/dist/index.mjs.map +1 -1
- package/dist/product/index.d.mts +16 -1
- package/dist/product/index.d.ts +16 -1
- package/dist/product/index.js +61 -17
- package/dist/product/index.js.map +1 -1
- package/dist/product/index.mjs +61 -18
- package/dist/product/index.mjs.map +1 -1
- package/dist/store/index.js +8 -0
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +8 -0
- package/dist/store/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +43 -1
- package/dist/utils/index.d.ts +43 -1
- package/dist/utils/index.js +42 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +35 -1
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2271,6 +2271,35 @@ function useWebSDKConfig() {
|
|
|
2271
2271
|
return client.getConfig();
|
|
2272
2272
|
}
|
|
2273
2273
|
|
|
2274
|
+
// src/utils/product-slug.ts
|
|
2275
|
+
var PRODUCT_SLUG_RENAMES = Object.freeze(
|
|
2276
|
+
[Object.freeze({ legacy: "botlit", current: "botmanor" })]
|
|
2277
|
+
);
|
|
2278
|
+
Object.freeze(
|
|
2279
|
+
Object.fromEntries(PRODUCT_SLUG_RENAMES.map((r) => [r.legacy, r.current]))
|
|
2280
|
+
);
|
|
2281
|
+
var PRODUCT_SLUG_EMIT = Object.freeze({ productSlug: "current" });
|
|
2282
|
+
function findRename(slug) {
|
|
2283
|
+
const wanted = slug.toLowerCase();
|
|
2284
|
+
return PRODUCT_SLUG_RENAMES.find(
|
|
2285
|
+
(r) => r.legacy === wanted || r.current === wanted
|
|
2286
|
+
);
|
|
2287
|
+
}
|
|
2288
|
+
function normalizeProductSlug(slug) {
|
|
2289
|
+
if (slug == null) return slug;
|
|
2290
|
+
return findRename(slug)?.current ?? slug;
|
|
2291
|
+
}
|
|
2292
|
+
function legacyProductSlug(slug) {
|
|
2293
|
+
return findRename(slug)?.legacy ?? slug;
|
|
2294
|
+
}
|
|
2295
|
+
function isSameProductSlug(a, b) {
|
|
2296
|
+
if (a == null || b == null) return a === b;
|
|
2297
|
+
return a === b || normalizeProductSlug(a) === normalizeProductSlug(b);
|
|
2298
|
+
}
|
|
2299
|
+
function emitProductSlug(slug) {
|
|
2300
|
+
return PRODUCT_SLUG_EMIT.productSlug === "current" ? normalizeProductSlug(slug) : legacyProductSlug(slug);
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2274
2303
|
// src/data/products.ts
|
|
2275
2304
|
var ECOSYSTEM_PRODUCTS = [
|
|
2276
2305
|
{
|
|
@@ -2293,7 +2322,12 @@ var ECOSYSTEM_PRODUCTS = [
|
|
|
2293
2322
|
},
|
|
2294
2323
|
// BotManor ships on www.botmanor.com (the apex redirects there; the old botlit.ai domain
|
|
2295
2324
|
// still serves the same site but is no longer the name we link to).
|
|
2296
|
-
|
|
2325
|
+
// The slug follows the botlit → botmanor rename switch (utils/product-slug.ts).
|
|
2326
|
+
{
|
|
2327
|
+
slug: emitProductSlug("botmanor"),
|
|
2328
|
+
name: "BotManor",
|
|
2329
|
+
websiteUrl: "https://www.botmanor.com"
|
|
2330
|
+
},
|
|
2297
2331
|
{
|
|
2298
2332
|
slug: "bigconsole",
|
|
2299
2333
|
name: "BigConsole",
|
|
@@ -6009,21 +6043,24 @@ function ProductStrip({
|
|
|
6009
6043
|
children: T.allProducts
|
|
6010
6044
|
}
|
|
6011
6045
|
),
|
|
6012
|
-
products.map((product) =>
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
"
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6046
|
+
products.map((product) => {
|
|
6047
|
+
const focused = isSameProductSlug(focusProduct, product.slug);
|
|
6048
|
+
return /* @__PURE__ */ jsx(
|
|
6049
|
+
"button",
|
|
6050
|
+
{
|
|
6051
|
+
"data-boff-explore": "chip",
|
|
6052
|
+
"data-chip-kind": "product",
|
|
6053
|
+
"data-product": product.slug,
|
|
6054
|
+
type: "button",
|
|
6055
|
+
"aria-pressed": focused,
|
|
6056
|
+
title: product.tagline ?? product.name,
|
|
6057
|
+
onClick: () => onFocus(focused ? null : product.slug),
|
|
6058
|
+
className: chipClass(focused),
|
|
6059
|
+
children: product.name
|
|
6060
|
+
},
|
|
6061
|
+
product.slug
|
|
6062
|
+
);
|
|
6063
|
+
})
|
|
6027
6064
|
]
|
|
6028
6065
|
}
|
|
6029
6066
|
),
|
|
@@ -6481,11 +6518,11 @@ function ExplorePage({
|
|
|
6481
6518
|
const resolvedBody = welcomeBody ?? catalog.welcomeBody;
|
|
6482
6519
|
const prompts = catalog.examplePrompts;
|
|
6483
6520
|
const focusedProductName = useMemo(
|
|
6484
|
-
() => catalog.products.find((p) => p.slug
|
|
6521
|
+
() => catalog.products.find((p) => isSameProductSlug(p.slug, focusProduct))?.name ?? null,
|
|
6485
6522
|
[catalog.products, focusProduct]
|
|
6486
6523
|
);
|
|
6487
6524
|
const headProductName = useMemo(
|
|
6488
|
-
() => productSlug ? catalog.products.find((p) => p.slug
|
|
6525
|
+
() => productSlug ? catalog.products.find((p) => isSameProductSlug(p.slug, productSlug))?.name ?? null : null,
|
|
6489
6526
|
[catalog.products, productSlug]
|
|
6490
6527
|
);
|
|
6491
6528
|
const imageOrigins = useMemo(
|