@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.js
CHANGED
|
@@ -449,6 +449,182 @@ function ContentRenderer({
|
|
|
449
449
|
}
|
|
450
450
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className, children: /* @__PURE__ */ jsxRuntime.jsx("pre", { style: { whiteSpace: "pre-wrap", fontFamily: "inherit" }, children: content }) });
|
|
451
451
|
}
|
|
452
|
+
var PROSE_CSS = `
|
|
453
|
+
.boff-prose {
|
|
454
|
+
max-width: none;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.boff-prose h1 {
|
|
458
|
+
font-size: 2.25rem;
|
|
459
|
+
font-weight: 800;
|
|
460
|
+
line-height: 1.2;
|
|
461
|
+
margin-top: 0;
|
|
462
|
+
margin-bottom: 1rem;
|
|
463
|
+
color: hsl(var(--foreground));
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.boff-prose h2 {
|
|
467
|
+
font-size: 1.75rem;
|
|
468
|
+
font-weight: 700;
|
|
469
|
+
line-height: 1.3;
|
|
470
|
+
margin-top: 2rem;
|
|
471
|
+
margin-bottom: 1rem;
|
|
472
|
+
color: hsl(var(--foreground));
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.boff-prose h3 {
|
|
476
|
+
font-size: 1.5rem;
|
|
477
|
+
font-weight: 600;
|
|
478
|
+
line-height: 1.4;
|
|
479
|
+
margin-top: 1.5rem;
|
|
480
|
+
margin-bottom: 0.75rem;
|
|
481
|
+
color: hsl(var(--foreground));
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.boff-prose h4 {
|
|
485
|
+
font-size: 1.25rem;
|
|
486
|
+
font-weight: 600;
|
|
487
|
+
line-height: 1.5;
|
|
488
|
+
margin-top: 1.25rem;
|
|
489
|
+
margin-bottom: 0.5rem;
|
|
490
|
+
color: hsl(var(--foreground));
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.boff-prose p {
|
|
494
|
+
margin-bottom: 1rem;
|
|
495
|
+
line-height: 1.75;
|
|
496
|
+
color: hsl(var(--foreground));
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.boff-prose ul,
|
|
500
|
+
.boff-prose ol {
|
|
501
|
+
margin-bottom: 1rem;
|
|
502
|
+
padding-left: 1.5rem;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.boff-prose ul {
|
|
506
|
+
list-style-type: disc;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.boff-prose ol {
|
|
510
|
+
list-style-type: decimal;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.boff-prose li {
|
|
514
|
+
margin-bottom: 0.25rem;
|
|
515
|
+
line-height: 1.75;
|
|
516
|
+
color: hsl(var(--foreground));
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.boff-prose li > ul,
|
|
520
|
+
.boff-prose li > ol {
|
|
521
|
+
margin-top: 0.25rem;
|
|
522
|
+
margin-bottom: 0.25rem;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.boff-prose a {
|
|
526
|
+
color: hsl(var(--primary));
|
|
527
|
+
text-decoration: underline;
|
|
528
|
+
text-underline-offset: 2px;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.boff-prose a:hover {
|
|
532
|
+
opacity: 0.8;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.boff-prose hr {
|
|
536
|
+
border: none;
|
|
537
|
+
height: 1px;
|
|
538
|
+
background-color: hsl(var(--border));
|
|
539
|
+
margin: 2rem 0;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.boff-prose blockquote {
|
|
543
|
+
border-left: 4px solid hsl(var(--border));
|
|
544
|
+
padding-left: 1rem;
|
|
545
|
+
margin: 1.5rem 0;
|
|
546
|
+
font-style: italic;
|
|
547
|
+
color: hsl(var(--muted-foreground));
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.boff-prose strong {
|
|
551
|
+
font-weight: 700;
|
|
552
|
+
color: hsl(var(--foreground));
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
.boff-prose code {
|
|
556
|
+
background-color: hsl(var(--muted));
|
|
557
|
+
padding: 0.125rem 0.25rem;
|
|
558
|
+
border-radius: 0.25rem;
|
|
559
|
+
font-size: 0.875em;
|
|
560
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.boff-prose pre {
|
|
564
|
+
background-color: hsl(var(--muted));
|
|
565
|
+
padding: 1rem;
|
|
566
|
+
border-radius: 0.5rem;
|
|
567
|
+
overflow-x: auto;
|
|
568
|
+
margin-bottom: 1rem;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.boff-prose pre code {
|
|
572
|
+
background-color: transparent;
|
|
573
|
+
padding: 0;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.boff-prose img {
|
|
577
|
+
max-width: 100%;
|
|
578
|
+
height: auto;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.boff-prose table {
|
|
582
|
+
width: 100%;
|
|
583
|
+
border-collapse: collapse;
|
|
584
|
+
margin-bottom: 1rem;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.boff-prose th,
|
|
588
|
+
.boff-prose td {
|
|
589
|
+
border: 1px solid hsl(var(--border));
|
|
590
|
+
padding: 0.5rem;
|
|
591
|
+
text-align: left;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.boff-prose th {
|
|
595
|
+
font-weight: 600;
|
|
596
|
+
background-color: hsl(var(--muted));
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/* Smaller variant used inside cards and compact panels */
|
|
600
|
+
.boff-prose-sm {
|
|
601
|
+
font-size: 0.875rem;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.boff-prose-sm h1 {
|
|
605
|
+
font-size: 1.75rem;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.boff-prose-sm h2 {
|
|
609
|
+
font-size: 1.5rem;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.boff-prose-sm h3 {
|
|
613
|
+
font-size: 1.25rem;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.boff-prose-sm h4 {
|
|
617
|
+
font-size: 1.125rem;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.boff-prose-sm p,
|
|
621
|
+
.boff-prose-sm li {
|
|
622
|
+
line-height: 1.625;
|
|
623
|
+
}
|
|
624
|
+
`;
|
|
625
|
+
function ProseStyles() {
|
|
626
|
+
return /* @__PURE__ */ jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: PROSE_CSS } });
|
|
627
|
+
}
|
|
452
628
|
function PageHead({
|
|
453
629
|
title,
|
|
454
630
|
description,
|
|
@@ -803,6 +979,7 @@ function BlogPostPage(props) {
|
|
|
803
979
|
day: "numeric"
|
|
804
980
|
}) : "";
|
|
805
981
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, children: [
|
|
982
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
|
|
806
983
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
807
984
|
PageHead,
|
|
808
985
|
{
|
|
@@ -848,7 +1025,7 @@ function BlogPostPage(props) {
|
|
|
848
1025
|
className: "w-full h-full object-cover"
|
|
849
1026
|
}
|
|
850
1027
|
) }),
|
|
851
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1028
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) })
|
|
852
1029
|
] })
|
|
853
1030
|
] });
|
|
854
1031
|
}
|
|
@@ -1309,6 +1486,7 @@ function CaseStudiesListPage(props) {
|
|
|
1309
1486
|
const resolvedEmptyTitle = emptyTitle ?? "Case studies are on the way";
|
|
1310
1487
|
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.`;
|
|
1311
1488
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, "data-cs": "case-studies-v2", children: [
|
|
1489
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
|
|
1312
1490
|
/* @__PURE__ */ jsxRuntime.jsx(AnimationStyles, {}),
|
|
1313
1491
|
seoTitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1314
1492
|
PageHead,
|
|
@@ -1530,6 +1708,7 @@ function CaseStudyPage(props) {
|
|
|
1530
1708
|
}
|
|
1531
1709
|
const formattedDate = formatDate(post.publishedAt || post.lastUpdated);
|
|
1532
1710
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, children: [
|
|
1711
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
|
|
1533
1712
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1534
1713
|
PageHead,
|
|
1535
1714
|
{
|
|
@@ -1573,7 +1752,7 @@ function CaseStudyPage(props) {
|
|
|
1573
1752
|
className: "h-full w-full object-cover"
|
|
1574
1753
|
}
|
|
1575
1754
|
) }),
|
|
1576
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose
|
|
1755
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) }),
|
|
1577
1756
|
/* @__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: [
|
|
1578
1757
|
/* @__PURE__ */ jsxRuntime.jsxs("h2", { className: "text-xl font-bold text-foreground", children: [
|
|
1579
1758
|
"Curious what ",
|
|
@@ -1813,7 +1992,7 @@ function CmsTimeline(props) {
|
|
|
1813
1992
|
] })
|
|
1814
1993
|
] }),
|
|
1815
1994
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-xl sm:text-2xl font-bold text-foreground mb-4", children: entry.title }),
|
|
1816
|
-
entry.content ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-sm
|
|
1995
|
+
entry.content ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1817
1996
|
ContentRenderer,
|
|
1818
1997
|
{
|
|
1819
1998
|
content: entry.content,
|
|
@@ -1828,9 +2007,9 @@ function CmsTimeline(props) {
|
|
|
1828
2007
|
}
|
|
1829
2008
|
function EntryContent({ content }) {
|
|
1830
2009
|
if (typeof content === "string") {
|
|
1831
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-sm
|
|
2010
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsxRuntime.jsx(ContentRenderer, { content, format: "markdown" }) });
|
|
1832
2011
|
}
|
|
1833
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "prose prose-sm max-w-none", children: content });
|
|
2012
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: content });
|
|
1834
2013
|
}
|
|
1835
2014
|
function EntriesTimeline(props) {
|
|
1836
2015
|
const { entries, pageSize, productName } = props;
|
|
@@ -2043,6 +2222,7 @@ function ChangelogPage(props) {
|
|
|
2043
2222
|
const showCta = Boolean(ctaHref && ctaLabel);
|
|
2044
2223
|
const isPropDriven = entries != null;
|
|
2045
2224
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `w-full ${className}`, children: [
|
|
2225
|
+
/* @__PURE__ */ jsxRuntime.jsx(ProseStyles, {}),
|
|
2046
2226
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2047
2227
|
PageHead,
|
|
2048
2228
|
{
|