@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/content/index.js +185 -5
- package/dist/content/index.js.map +1 -1
- package/dist/content/index.mjs +185 -5
- package/dist/content/index.mjs.map +1 -1
- package/dist/index.js +187 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +187 -6
- package/dist/index.mjs.map +1 -1
- package/dist/store/index.js +178 -1
- package/dist/store/index.js.map +1 -1
- package/dist/store/index.mjs +178 -1
- package/dist/store/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/content/index.mjs
CHANGED
|
@@ -422,6 +422,182 @@ function ContentRenderer({
|
|
|
422
422
|
}
|
|
423
423
|
return /* @__PURE__ */ jsx("div", { className, children: /* @__PURE__ */ jsx("pre", { style: { whiteSpace: "pre-wrap", fontFamily: "inherit" }, children: content }) });
|
|
424
424
|
}
|
|
425
|
+
var PROSE_CSS = `
|
|
426
|
+
.boff-prose {
|
|
427
|
+
max-width: none;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.boff-prose h1 {
|
|
431
|
+
font-size: 2.25rem;
|
|
432
|
+
font-weight: 800;
|
|
433
|
+
line-height: 1.2;
|
|
434
|
+
margin-top: 0;
|
|
435
|
+
margin-bottom: 1rem;
|
|
436
|
+
color: hsl(var(--foreground));
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.boff-prose h2 {
|
|
440
|
+
font-size: 1.75rem;
|
|
441
|
+
font-weight: 700;
|
|
442
|
+
line-height: 1.3;
|
|
443
|
+
margin-top: 2rem;
|
|
444
|
+
margin-bottom: 1rem;
|
|
445
|
+
color: hsl(var(--foreground));
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.boff-prose h3 {
|
|
449
|
+
font-size: 1.5rem;
|
|
450
|
+
font-weight: 600;
|
|
451
|
+
line-height: 1.4;
|
|
452
|
+
margin-top: 1.5rem;
|
|
453
|
+
margin-bottom: 0.75rem;
|
|
454
|
+
color: hsl(var(--foreground));
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.boff-prose h4 {
|
|
458
|
+
font-size: 1.25rem;
|
|
459
|
+
font-weight: 600;
|
|
460
|
+
line-height: 1.5;
|
|
461
|
+
margin-top: 1.25rem;
|
|
462
|
+
margin-bottom: 0.5rem;
|
|
463
|
+
color: hsl(var(--foreground));
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.boff-prose p {
|
|
467
|
+
margin-bottom: 1rem;
|
|
468
|
+
line-height: 1.75;
|
|
469
|
+
color: hsl(var(--foreground));
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.boff-prose ul,
|
|
473
|
+
.boff-prose ol {
|
|
474
|
+
margin-bottom: 1rem;
|
|
475
|
+
padding-left: 1.5rem;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.boff-prose ul {
|
|
479
|
+
list-style-type: disc;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.boff-prose ol {
|
|
483
|
+
list-style-type: decimal;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.boff-prose li {
|
|
487
|
+
margin-bottom: 0.25rem;
|
|
488
|
+
line-height: 1.75;
|
|
489
|
+
color: hsl(var(--foreground));
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.boff-prose li > ul,
|
|
493
|
+
.boff-prose li > ol {
|
|
494
|
+
margin-top: 0.25rem;
|
|
495
|
+
margin-bottom: 0.25rem;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.boff-prose a {
|
|
499
|
+
color: hsl(var(--primary));
|
|
500
|
+
text-decoration: underline;
|
|
501
|
+
text-underline-offset: 2px;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.boff-prose a:hover {
|
|
505
|
+
opacity: 0.8;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.boff-prose hr {
|
|
509
|
+
border: none;
|
|
510
|
+
height: 1px;
|
|
511
|
+
background-color: hsl(var(--border));
|
|
512
|
+
margin: 2rem 0;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.boff-prose blockquote {
|
|
516
|
+
border-left: 4px solid hsl(var(--border));
|
|
517
|
+
padding-left: 1rem;
|
|
518
|
+
margin: 1.5rem 0;
|
|
519
|
+
font-style: italic;
|
|
520
|
+
color: hsl(var(--muted-foreground));
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.boff-prose strong {
|
|
524
|
+
font-weight: 700;
|
|
525
|
+
color: hsl(var(--foreground));
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.boff-prose code {
|
|
529
|
+
background-color: hsl(var(--muted));
|
|
530
|
+
padding: 0.125rem 0.25rem;
|
|
531
|
+
border-radius: 0.25rem;
|
|
532
|
+
font-size: 0.875em;
|
|
533
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.boff-prose pre {
|
|
537
|
+
background-color: hsl(var(--muted));
|
|
538
|
+
padding: 1rem;
|
|
539
|
+
border-radius: 0.5rem;
|
|
540
|
+
overflow-x: auto;
|
|
541
|
+
margin-bottom: 1rem;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.boff-prose pre code {
|
|
545
|
+
background-color: transparent;
|
|
546
|
+
padding: 0;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.boff-prose img {
|
|
550
|
+
max-width: 100%;
|
|
551
|
+
height: auto;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.boff-prose table {
|
|
555
|
+
width: 100%;
|
|
556
|
+
border-collapse: collapse;
|
|
557
|
+
margin-bottom: 1rem;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.boff-prose th,
|
|
561
|
+
.boff-prose td {
|
|
562
|
+
border: 1px solid hsl(var(--border));
|
|
563
|
+
padding: 0.5rem;
|
|
564
|
+
text-align: left;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.boff-prose th {
|
|
568
|
+
font-weight: 600;
|
|
569
|
+
background-color: hsl(var(--muted));
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/* Smaller variant used inside cards and compact panels */
|
|
573
|
+
.boff-prose-sm {
|
|
574
|
+
font-size: 0.875rem;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.boff-prose-sm h1 {
|
|
578
|
+
font-size: 1.75rem;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.boff-prose-sm h2 {
|
|
582
|
+
font-size: 1.5rem;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.boff-prose-sm h3 {
|
|
586
|
+
font-size: 1.25rem;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.boff-prose-sm h4 {
|
|
590
|
+
font-size: 1.125rem;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
.boff-prose-sm p,
|
|
594
|
+
.boff-prose-sm li {
|
|
595
|
+
line-height: 1.625;
|
|
596
|
+
}
|
|
597
|
+
`;
|
|
598
|
+
function ProseStyles() {
|
|
599
|
+
return /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: PROSE_CSS } });
|
|
600
|
+
}
|
|
425
601
|
function PageHead({
|
|
426
602
|
title,
|
|
427
603
|
description,
|
|
@@ -776,6 +952,7 @@ function BlogPostPage(props) {
|
|
|
776
952
|
day: "numeric"
|
|
777
953
|
}) : "";
|
|
778
954
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, children: [
|
|
955
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
779
956
|
/* @__PURE__ */ jsx(
|
|
780
957
|
PageHead,
|
|
781
958
|
{
|
|
@@ -821,7 +998,7 @@ function BlogPostPage(props) {
|
|
|
821
998
|
className: "w-full h-full object-cover"
|
|
822
999
|
}
|
|
823
1000
|
) }),
|
|
824
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
1001
|
+
/* @__PURE__ */ jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) })
|
|
825
1002
|
] })
|
|
826
1003
|
] });
|
|
827
1004
|
}
|
|
@@ -1282,6 +1459,7 @@ function CaseStudiesListPage(props) {
|
|
|
1282
1459
|
const resolvedEmptyTitle = emptyTitle ?? "Case studies are on the way";
|
|
1283
1460
|
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.`;
|
|
1284
1461
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, "data-cs": "case-studies-v2", children: [
|
|
1462
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
1285
1463
|
/* @__PURE__ */ jsx(AnimationStyles, {}),
|
|
1286
1464
|
seoTitle && /* @__PURE__ */ jsx(
|
|
1287
1465
|
PageHead,
|
|
@@ -1503,6 +1681,7 @@ function CaseStudyPage(props) {
|
|
|
1503
1681
|
}
|
|
1504
1682
|
const formattedDate = formatDate(post.publishedAt || post.lastUpdated);
|
|
1505
1683
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, children: [
|
|
1684
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
1506
1685
|
/* @__PURE__ */ jsx(
|
|
1507
1686
|
PageHead,
|
|
1508
1687
|
{
|
|
@@ -1546,7 +1725,7 @@ function CaseStudyPage(props) {
|
|
|
1546
1725
|
className: "h-full w-full object-cover"
|
|
1547
1726
|
}
|
|
1548
1727
|
) }),
|
|
1549
|
-
/* @__PURE__ */ jsx("div", { className: "prose
|
|
1728
|
+
/* @__PURE__ */ jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) }),
|
|
1550
1729
|
/* @__PURE__ */ jsxs("div", { className: "mt-14 rounded-2xl border bg-gradient-to-br from-primary/10 via-card to-card p-8 text-center", children: [
|
|
1551
1730
|
/* @__PURE__ */ jsxs("h2", { className: "text-xl font-bold text-foreground", children: [
|
|
1552
1731
|
"Curious what ",
|
|
@@ -1786,7 +1965,7 @@ function CmsTimeline(props) {
|
|
|
1786
1965
|
] })
|
|
1787
1966
|
] }),
|
|
1788
1967
|
/* @__PURE__ */ jsx("h2", { className: "text-xl sm:text-2xl font-bold text-foreground mb-4", children: entry.title }),
|
|
1789
|
-
entry.content ? /* @__PURE__ */ jsx("div", { className: "prose prose-sm
|
|
1968
|
+
entry.content ? /* @__PURE__ */ jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsx(
|
|
1790
1969
|
ContentRenderer,
|
|
1791
1970
|
{
|
|
1792
1971
|
content: entry.content,
|
|
@@ -1801,9 +1980,9 @@ function CmsTimeline(props) {
|
|
|
1801
1980
|
}
|
|
1802
1981
|
function EntryContent({ content }) {
|
|
1803
1982
|
if (typeof content === "string") {
|
|
1804
|
-
return /* @__PURE__ */ jsx("div", { className: "prose prose-sm
|
|
1983
|
+
return /* @__PURE__ */ jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsx(ContentRenderer, { content, format: "markdown" }) });
|
|
1805
1984
|
}
|
|
1806
|
-
return /* @__PURE__ */ jsx("div", { className: "prose prose-sm max-w-none", children: content });
|
|
1985
|
+
return /* @__PURE__ */ jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: content });
|
|
1807
1986
|
}
|
|
1808
1987
|
function EntriesTimeline(props) {
|
|
1809
1988
|
const { entries, pageSize, productName } = props;
|
|
@@ -2016,6 +2195,7 @@ function ChangelogPage(props) {
|
|
|
2016
2195
|
const showCta = Boolean(ctaHref && ctaLabel);
|
|
2017
2196
|
const isPropDriven = entries != null;
|
|
2018
2197
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, children: [
|
|
2198
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
2019
2199
|
/* @__PURE__ */ jsx(
|
|
2020
2200
|
PageHead,
|
|
2021
2201
|
{
|