@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.
Files changed (59) hide show
  1. package/dist/components/contact.js +8 -0
  2. package/dist/components/contact.js.map +1 -1
  3. package/dist/components/contact.mjs +8 -0
  4. package/dist/components/contact.mjs.map +1 -1
  5. package/dist/components/explore.js +55 -18
  6. package/dist/components/explore.js.map +1 -1
  7. package/dist/components/explore.mjs +55 -18
  8. package/dist/components/explore.mjs.map +1 -1
  9. package/dist/components/newsletter.js +8 -0
  10. package/dist/components/newsletter.js.map +1 -1
  11. package/dist/components/newsletter.mjs +8 -0
  12. package/dist/components/newsletter.mjs.map +1 -1
  13. package/dist/components/partners.js +8 -0
  14. package/dist/components/partners.js.map +1 -1
  15. package/dist/components/partners.mjs +8 -0
  16. package/dist/components/partners.mjs.map +1 -1
  17. package/dist/components/resource-links.js +8 -0
  18. package/dist/components/resource-links.js.map +1 -1
  19. package/dist/components/resource-links.mjs +8 -0
  20. package/dist/components/resource-links.mjs.map +1 -1
  21. package/dist/components/social-links.js +8 -0
  22. package/dist/components/social-links.js.map +1 -1
  23. package/dist/components/social-links.mjs +8 -0
  24. package/dist/components/social-links.mjs.map +1 -1
  25. package/dist/components/waitlist.js +8 -0
  26. package/dist/components/waitlist.js.map +1 -1
  27. package/dist/components/waitlist.mjs +8 -0
  28. package/dist/components/waitlist.mjs.map +1 -1
  29. package/dist/content/index.js +8 -0
  30. package/dist/content/index.js.map +1 -1
  31. package/dist/content/index.mjs +8 -0
  32. package/dist/content/index.mjs.map +1 -1
  33. package/dist/hooks/index.js +30 -1
  34. package/dist/hooks/index.js.map +1 -1
  35. package/dist/hooks/index.mjs +30 -1
  36. package/dist/hooks/index.mjs.map +1 -1
  37. package/dist/index.d.mts +2 -2
  38. package/dist/index.d.ts +2 -2
  39. package/dist/index.js +103 -35
  40. package/dist/index.js.map +1 -1
  41. package/dist/index.mjs +95 -36
  42. package/dist/index.mjs.map +1 -1
  43. package/dist/product/index.d.mts +16 -1
  44. package/dist/product/index.d.ts +16 -1
  45. package/dist/product/index.js +61 -17
  46. package/dist/product/index.js.map +1 -1
  47. package/dist/product/index.mjs +61 -18
  48. package/dist/product/index.mjs.map +1 -1
  49. package/dist/store/index.js +8 -0
  50. package/dist/store/index.js.map +1 -1
  51. package/dist/store/index.mjs +8 -0
  52. package/dist/store/index.mjs.map +1 -1
  53. package/dist/utils/index.d.mts +43 -1
  54. package/dist/utils/index.d.ts +43 -1
  55. package/dist/utils/index.js +42 -0
  56. package/dist/utils/index.js.map +1 -1
  57. package/dist/utils/index.mjs +35 -1
  58. package/dist/utils/index.mjs.map +1 -1
  59. 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
- { slug: "botlit", name: "BotManor", websiteUrl: "https://www.botmanor.com" },
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) => /* @__PURE__ */ jsx(
6013
- "button",
6014
- {
6015
- "data-boff-explore": "chip",
6016
- "data-chip-kind": "product",
6017
- "data-product": product.slug,
6018
- type: "button",
6019
- "aria-pressed": focusProduct === product.slug,
6020
- title: product.tagline ?? product.name,
6021
- onClick: () => onFocus(focusProduct === product.slug ? null : product.slug),
6022
- className: chipClass(focusProduct === product.slug),
6023
- children: product.name
6024
- },
6025
- product.slug
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 === focusProduct)?.name ?? null,
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 === productSlug)?.name ?? null : null,
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(