@burdenoff/website-sdk 2026.728.4 → 2026.730.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.js CHANGED
@@ -4378,6 +4378,182 @@ function RybbitAnalytics({
4378
4378
  }, [siteId, scriptUrl, enabled]);
4379
4379
  return null;
4380
4380
  }
4381
+ var PROSE_CSS = `
4382
+ .boff-prose {
4383
+ max-width: none;
4384
+ }
4385
+
4386
+ .boff-prose h1 {
4387
+ font-size: 2.25rem;
4388
+ font-weight: 800;
4389
+ line-height: 1.2;
4390
+ margin-top: 0;
4391
+ margin-bottom: 1rem;
4392
+ color: hsl(var(--foreground));
4393
+ }
4394
+
4395
+ .boff-prose h2 {
4396
+ font-size: 1.75rem;
4397
+ font-weight: 700;
4398
+ line-height: 1.3;
4399
+ margin-top: 2rem;
4400
+ margin-bottom: 1rem;
4401
+ color: hsl(var(--foreground));
4402
+ }
4403
+
4404
+ .boff-prose h3 {
4405
+ font-size: 1.5rem;
4406
+ font-weight: 600;
4407
+ line-height: 1.4;
4408
+ margin-top: 1.5rem;
4409
+ margin-bottom: 0.75rem;
4410
+ color: hsl(var(--foreground));
4411
+ }
4412
+
4413
+ .boff-prose h4 {
4414
+ font-size: 1.25rem;
4415
+ font-weight: 600;
4416
+ line-height: 1.5;
4417
+ margin-top: 1.25rem;
4418
+ margin-bottom: 0.5rem;
4419
+ color: hsl(var(--foreground));
4420
+ }
4421
+
4422
+ .boff-prose p {
4423
+ margin-bottom: 1rem;
4424
+ line-height: 1.75;
4425
+ color: hsl(var(--foreground));
4426
+ }
4427
+
4428
+ .boff-prose ul,
4429
+ .boff-prose ol {
4430
+ margin-bottom: 1rem;
4431
+ padding-left: 1.5rem;
4432
+ }
4433
+
4434
+ .boff-prose ul {
4435
+ list-style-type: disc;
4436
+ }
4437
+
4438
+ .boff-prose ol {
4439
+ list-style-type: decimal;
4440
+ }
4441
+
4442
+ .boff-prose li {
4443
+ margin-bottom: 0.25rem;
4444
+ line-height: 1.75;
4445
+ color: hsl(var(--foreground));
4446
+ }
4447
+
4448
+ .boff-prose li > ul,
4449
+ .boff-prose li > ol {
4450
+ margin-top: 0.25rem;
4451
+ margin-bottom: 0.25rem;
4452
+ }
4453
+
4454
+ .boff-prose a {
4455
+ color: hsl(var(--primary));
4456
+ text-decoration: underline;
4457
+ text-underline-offset: 2px;
4458
+ }
4459
+
4460
+ .boff-prose a:hover {
4461
+ opacity: 0.8;
4462
+ }
4463
+
4464
+ .boff-prose hr {
4465
+ border: none;
4466
+ height: 1px;
4467
+ background-color: hsl(var(--border));
4468
+ margin: 2rem 0;
4469
+ }
4470
+
4471
+ .boff-prose blockquote {
4472
+ border-left: 4px solid hsl(var(--border));
4473
+ padding-left: 1rem;
4474
+ margin: 1.5rem 0;
4475
+ font-style: italic;
4476
+ color: hsl(var(--muted-foreground));
4477
+ }
4478
+
4479
+ .boff-prose strong {
4480
+ font-weight: 700;
4481
+ color: hsl(var(--foreground));
4482
+ }
4483
+
4484
+ .boff-prose code {
4485
+ background-color: hsl(var(--muted));
4486
+ padding: 0.125rem 0.25rem;
4487
+ border-radius: 0.25rem;
4488
+ font-size: 0.875em;
4489
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
4490
+ }
4491
+
4492
+ .boff-prose pre {
4493
+ background-color: hsl(var(--muted));
4494
+ padding: 1rem;
4495
+ border-radius: 0.5rem;
4496
+ overflow-x: auto;
4497
+ margin-bottom: 1rem;
4498
+ }
4499
+
4500
+ .boff-prose pre code {
4501
+ background-color: transparent;
4502
+ padding: 0;
4503
+ }
4504
+
4505
+ .boff-prose img {
4506
+ max-width: 100%;
4507
+ height: auto;
4508
+ }
4509
+
4510
+ .boff-prose table {
4511
+ width: 100%;
4512
+ border-collapse: collapse;
4513
+ margin-bottom: 1rem;
4514
+ }
4515
+
4516
+ .boff-prose th,
4517
+ .boff-prose td {
4518
+ border: 1px solid hsl(var(--border));
4519
+ padding: 0.5rem;
4520
+ text-align: left;
4521
+ }
4522
+
4523
+ .boff-prose th {
4524
+ font-weight: 600;
4525
+ background-color: hsl(var(--muted));
4526
+ }
4527
+
4528
+ /* Smaller variant used inside cards and compact panels */
4529
+ .boff-prose-sm {
4530
+ font-size: 0.875rem;
4531
+ }
4532
+
4533
+ .boff-prose-sm h1 {
4534
+ font-size: 1.75rem;
4535
+ }
4536
+
4537
+ .boff-prose-sm h2 {
4538
+ font-size: 1.5rem;
4539
+ }
4540
+
4541
+ .boff-prose-sm h3 {
4542
+ font-size: 1.25rem;
4543
+ }
4544
+
4545
+ .boff-prose-sm h4 {
4546
+ font-size: 1.125rem;
4547
+ }
4548
+
4549
+ .boff-prose-sm p,
4550
+ .boff-prose-sm li {
4551
+ line-height: 1.625;
4552
+ }
4553
+ `;
4554
+ function ProseStyles() {
4555
+ return /* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: PROSE_CSS } });
4556
+ }
4381
4557
  var BLOG_POSTS_QUERY = `
4382
4558
  query BlogPosts($productId: String!, $limit: Int, $offset: Int) {
4383
4559
  publicContentPages(productId: $productId, limit: $limit, offset: $offset) {
@@ -4680,6 +4856,7 @@ function BlogPostPage(props) {
4680
4856
  day: "numeric"
4681
4857
  }) : "";
4682
4858
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, children: [
4859
+ /* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
4683
4860
  /* @__PURE__ */ jsxRuntime.jsx(
4684
4861
  PageHead,
4685
4862
  {
@@ -4725,7 +4902,7 @@ function BlogPostPage(props) {
4725
4902
  className: "w-full h-full object-cover"
4726
4903
  }
4727
4904
  ) }),
4728
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-gray dark:prose-invert max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) })
4905
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) })
4729
4906
  ] })
4730
4907
  ] });
4731
4908
  }
@@ -5186,6 +5363,7 @@ function CaseStudiesListPage(props) {
5186
5363
  const resolvedEmptyTitle = emptyTitle ?? "Case studies are on the way";
5187
5364
  const resolvedEmptySubtitle = emptySubtitle ?? `${productLabel} is early in its journey, and we'd rather show you real, measurable results than filler. We're working closely with our first teams now \u2014 their stories will be published here soon. In the meantime, we'd love to show you what's possible.`;
5188
5365
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, "data-cs": "case-studies-v2", children: [
5366
+ /* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
5189
5367
  /* @__PURE__ */ jsxRuntime.jsx(AnimationStyles, {}),
5190
5368
  seoTitle && /* @__PURE__ */ jsxRuntime.jsx(
5191
5369
  PageHead,
@@ -5407,6 +5585,7 @@ function CaseStudyPage(props) {
5407
5585
  }
5408
5586
  const formattedDate = formatDate(post.publishedAt || post.lastUpdated);
5409
5587
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, children: [
5588
+ /* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
5410
5589
  /* @__PURE__ */ jsxRuntime.jsx(
5411
5590
  PageHead,
5412
5591
  {
@@ -5450,7 +5629,7 @@ function CaseStudyPage(props) {
5450
5629
  className: "h-full w-full object-cover"
5451
5630
  }
5452
5631
  ) }),
5453
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-gray max-w-none dark:prose-invert", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) }),
5632
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) }),
5454
5633
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-14 rounded-2xl border bg-gradient-to-br from-primary/10 via-card to-card p-8 text-center", children: [
5455
5634
  /* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "text-xl font-bold text-foreground", children: [
5456
5635
  "Curious what ",
@@ -5631,7 +5810,7 @@ function CmsTimeline(props) {
5631
5810
  ] })
5632
5811
  ] }),
5633
5812
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-xl sm:text-2xl font-bold text-foreground mb-4", children: entry.title }),
5634
- entry.content ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-sm prose-gray dark:prose-invert max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(
5813
+ entry.content ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(
5635
5814
  ContentRenderer,
5636
5815
  {
5637
5816
  content: entry.content,
@@ -5646,9 +5825,9 @@ function CmsTimeline(props) {
5646
5825
  }
5647
5826
  function EntryContent({ content }) {
5648
5827
  if (typeof content === "string") {
5649
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-sm prose-gray dark:prose-invert max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content, format: "markdown" }) });
5828
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content, format: "markdown" }) });
5650
5829
  }
5651
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-sm max-w-none", children: content });
5830
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: content });
5652
5831
  }
5653
5832
  function EntriesTimeline(props) {
5654
5833
  const { entries, pageSize, productName } = props;
@@ -5861,6 +6040,7 @@ function ChangelogPage(props) {
5861
6040
  const showCta = Boolean(ctaHref && ctaLabel);
5862
6041
  const isPropDriven = entries != null;
5863
6042
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, children: [
6043
+ /* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
5864
6044
  /* @__PURE__ */ jsxRuntime.jsx(
5865
6045
  PageHead,
5866
6046
  {
@@ -8366,6 +8546,7 @@ function StoreProductDetailPage({
8366
8546
  const totalRatings = ratingDistribution ? ratingDistribution.fiveStars + ratingDistribution.fourStars + ratingDistribution.threeStars + ratingDistribution.twoStars + ratingDistribution.oneStar : 0;
8367
8547
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
8368
8548
  /* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: ANIM_STYLES } }),
8549
+ /* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
8369
8550
  /* @__PURE__ */ jsxRuntime.jsx(
8370
8551
  PageHead,
8371
8552
  {
@@ -8533,7 +8714,7 @@ function StoreProductDetailPage({
8533
8714
  ] }),
8534
8715
  product.longDescription && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sd-fu sd-d4 mb-8", children: [
8535
8716
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-bold text-foreground mb-3", children: "About" }),
8536
- /* @__PURE__ */ jsxRuntime.jsx(Markdown, { className: "prose prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
8717
+ /* @__PURE__ */ jsxRuntime.jsx(Markdown, { className: "boff-prose boff-prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
8537
8718
  ] }),
8538
8719
  publisher && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sd-fu sd-d5 mb-8 p-4 rounded-xl border border-border bg-card hover:border-primary/30 transition-colors duration-300", children: [
8539
8720
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-sm font-semibold text-foreground mb-3", children: "Publisher" }),