@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/index.mjs
CHANGED
|
@@ -4348,6 +4348,182 @@ function RybbitAnalytics({
|
|
|
4348
4348
|
}, [siteId, scriptUrl, enabled]);
|
|
4349
4349
|
return null;
|
|
4350
4350
|
}
|
|
4351
|
+
var PROSE_CSS = `
|
|
4352
|
+
.boff-prose {
|
|
4353
|
+
max-width: none;
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
.boff-prose h1 {
|
|
4357
|
+
font-size: 2.25rem;
|
|
4358
|
+
font-weight: 800;
|
|
4359
|
+
line-height: 1.2;
|
|
4360
|
+
margin-top: 0;
|
|
4361
|
+
margin-bottom: 1rem;
|
|
4362
|
+
color: hsl(var(--foreground));
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4365
|
+
.boff-prose h2 {
|
|
4366
|
+
font-size: 1.75rem;
|
|
4367
|
+
font-weight: 700;
|
|
4368
|
+
line-height: 1.3;
|
|
4369
|
+
margin-top: 2rem;
|
|
4370
|
+
margin-bottom: 1rem;
|
|
4371
|
+
color: hsl(var(--foreground));
|
|
4372
|
+
}
|
|
4373
|
+
|
|
4374
|
+
.boff-prose h3 {
|
|
4375
|
+
font-size: 1.5rem;
|
|
4376
|
+
font-weight: 600;
|
|
4377
|
+
line-height: 1.4;
|
|
4378
|
+
margin-top: 1.5rem;
|
|
4379
|
+
margin-bottom: 0.75rem;
|
|
4380
|
+
color: hsl(var(--foreground));
|
|
4381
|
+
}
|
|
4382
|
+
|
|
4383
|
+
.boff-prose h4 {
|
|
4384
|
+
font-size: 1.25rem;
|
|
4385
|
+
font-weight: 600;
|
|
4386
|
+
line-height: 1.5;
|
|
4387
|
+
margin-top: 1.25rem;
|
|
4388
|
+
margin-bottom: 0.5rem;
|
|
4389
|
+
color: hsl(var(--foreground));
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
.boff-prose p {
|
|
4393
|
+
margin-bottom: 1rem;
|
|
4394
|
+
line-height: 1.75;
|
|
4395
|
+
color: hsl(var(--foreground));
|
|
4396
|
+
}
|
|
4397
|
+
|
|
4398
|
+
.boff-prose ul,
|
|
4399
|
+
.boff-prose ol {
|
|
4400
|
+
margin-bottom: 1rem;
|
|
4401
|
+
padding-left: 1.5rem;
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
.boff-prose ul {
|
|
4405
|
+
list-style-type: disc;
|
|
4406
|
+
}
|
|
4407
|
+
|
|
4408
|
+
.boff-prose ol {
|
|
4409
|
+
list-style-type: decimal;
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
.boff-prose li {
|
|
4413
|
+
margin-bottom: 0.25rem;
|
|
4414
|
+
line-height: 1.75;
|
|
4415
|
+
color: hsl(var(--foreground));
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4418
|
+
.boff-prose li > ul,
|
|
4419
|
+
.boff-prose li > ol {
|
|
4420
|
+
margin-top: 0.25rem;
|
|
4421
|
+
margin-bottom: 0.25rem;
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4424
|
+
.boff-prose a {
|
|
4425
|
+
color: hsl(var(--primary));
|
|
4426
|
+
text-decoration: underline;
|
|
4427
|
+
text-underline-offset: 2px;
|
|
4428
|
+
}
|
|
4429
|
+
|
|
4430
|
+
.boff-prose a:hover {
|
|
4431
|
+
opacity: 0.8;
|
|
4432
|
+
}
|
|
4433
|
+
|
|
4434
|
+
.boff-prose hr {
|
|
4435
|
+
border: none;
|
|
4436
|
+
height: 1px;
|
|
4437
|
+
background-color: hsl(var(--border));
|
|
4438
|
+
margin: 2rem 0;
|
|
4439
|
+
}
|
|
4440
|
+
|
|
4441
|
+
.boff-prose blockquote {
|
|
4442
|
+
border-left: 4px solid hsl(var(--border));
|
|
4443
|
+
padding-left: 1rem;
|
|
4444
|
+
margin: 1.5rem 0;
|
|
4445
|
+
font-style: italic;
|
|
4446
|
+
color: hsl(var(--muted-foreground));
|
|
4447
|
+
}
|
|
4448
|
+
|
|
4449
|
+
.boff-prose strong {
|
|
4450
|
+
font-weight: 700;
|
|
4451
|
+
color: hsl(var(--foreground));
|
|
4452
|
+
}
|
|
4453
|
+
|
|
4454
|
+
.boff-prose code {
|
|
4455
|
+
background-color: hsl(var(--muted));
|
|
4456
|
+
padding: 0.125rem 0.25rem;
|
|
4457
|
+
border-radius: 0.25rem;
|
|
4458
|
+
font-size: 0.875em;
|
|
4459
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
4460
|
+
}
|
|
4461
|
+
|
|
4462
|
+
.boff-prose pre {
|
|
4463
|
+
background-color: hsl(var(--muted));
|
|
4464
|
+
padding: 1rem;
|
|
4465
|
+
border-radius: 0.5rem;
|
|
4466
|
+
overflow-x: auto;
|
|
4467
|
+
margin-bottom: 1rem;
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4470
|
+
.boff-prose pre code {
|
|
4471
|
+
background-color: transparent;
|
|
4472
|
+
padding: 0;
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4475
|
+
.boff-prose img {
|
|
4476
|
+
max-width: 100%;
|
|
4477
|
+
height: auto;
|
|
4478
|
+
}
|
|
4479
|
+
|
|
4480
|
+
.boff-prose table {
|
|
4481
|
+
width: 100%;
|
|
4482
|
+
border-collapse: collapse;
|
|
4483
|
+
margin-bottom: 1rem;
|
|
4484
|
+
}
|
|
4485
|
+
|
|
4486
|
+
.boff-prose th,
|
|
4487
|
+
.boff-prose td {
|
|
4488
|
+
border: 1px solid hsl(var(--border));
|
|
4489
|
+
padding: 0.5rem;
|
|
4490
|
+
text-align: left;
|
|
4491
|
+
}
|
|
4492
|
+
|
|
4493
|
+
.boff-prose th {
|
|
4494
|
+
font-weight: 600;
|
|
4495
|
+
background-color: hsl(var(--muted));
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
/* Smaller variant used inside cards and compact panels */
|
|
4499
|
+
.boff-prose-sm {
|
|
4500
|
+
font-size: 0.875rem;
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4503
|
+
.boff-prose-sm h1 {
|
|
4504
|
+
font-size: 1.75rem;
|
|
4505
|
+
}
|
|
4506
|
+
|
|
4507
|
+
.boff-prose-sm h2 {
|
|
4508
|
+
font-size: 1.5rem;
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4511
|
+
.boff-prose-sm h3 {
|
|
4512
|
+
font-size: 1.25rem;
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4515
|
+
.boff-prose-sm h4 {
|
|
4516
|
+
font-size: 1.125rem;
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4519
|
+
.boff-prose-sm p,
|
|
4520
|
+
.boff-prose-sm li {
|
|
4521
|
+
line-height: 1.625;
|
|
4522
|
+
}
|
|
4523
|
+
`;
|
|
4524
|
+
function ProseStyles() {
|
|
4525
|
+
return /* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: PROSE_CSS } });
|
|
4526
|
+
}
|
|
4351
4527
|
var BLOG_POSTS_QUERY = `
|
|
4352
4528
|
query BlogPosts($productId: String!, $limit: Int, $offset: Int) {
|
|
4353
4529
|
publicContentPages(productId: $productId, limit: $limit, offset: $offset) {
|
|
@@ -4650,6 +4826,7 @@ function BlogPostPage(props) {
|
|
|
4650
4826
|
day: "numeric"
|
|
4651
4827
|
}) : "";
|
|
4652
4828
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, children: [
|
|
4829
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
4653
4830
|
/* @__PURE__ */ jsx(
|
|
4654
4831
|
PageHead,
|
|
4655
4832
|
{
|
|
@@ -4695,7 +4872,7 @@ function BlogPostPage(props) {
|
|
|
4695
4872
|
className: "w-full h-full object-cover"
|
|
4696
4873
|
}
|
|
4697
4874
|
) }),
|
|
4698
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
4875
|
+
/* @__PURE__ */ jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) })
|
|
4699
4876
|
] })
|
|
4700
4877
|
] });
|
|
4701
4878
|
}
|
|
@@ -5156,6 +5333,7 @@ function CaseStudiesListPage(props) {
|
|
|
5156
5333
|
const resolvedEmptyTitle = emptyTitle ?? "Case studies are on the way";
|
|
5157
5334
|
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.`;
|
|
5158
5335
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, "data-cs": "case-studies-v2", children: [
|
|
5336
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
5159
5337
|
/* @__PURE__ */ jsx(AnimationStyles, {}),
|
|
5160
5338
|
seoTitle && /* @__PURE__ */ jsx(
|
|
5161
5339
|
PageHead,
|
|
@@ -5377,6 +5555,7 @@ function CaseStudyPage(props) {
|
|
|
5377
5555
|
}
|
|
5378
5556
|
const formattedDate = formatDate(post.publishedAt || post.lastUpdated);
|
|
5379
5557
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, children: [
|
|
5558
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
5380
5559
|
/* @__PURE__ */ jsx(
|
|
5381
5560
|
PageHead,
|
|
5382
5561
|
{
|
|
@@ -5420,7 +5599,7 @@ function CaseStudyPage(props) {
|
|
|
5420
5599
|
className: "h-full w-full object-cover"
|
|
5421
5600
|
}
|
|
5422
5601
|
) }),
|
|
5423
|
-
/* @__PURE__ */ jsx("div", { className: "prose
|
|
5602
|
+
/* @__PURE__ */ jsx("div", { className: "boff-prose max-w-none", children: /* @__PURE__ */ jsx(ContentRenderer, { content: post.content, format: post.contentFormat }) }),
|
|
5424
5603
|
/* @__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: [
|
|
5425
5604
|
/* @__PURE__ */ jsxs("h2", { className: "text-xl font-bold text-foreground", children: [
|
|
5426
5605
|
"Curious what ",
|
|
@@ -5601,7 +5780,7 @@ function CmsTimeline(props) {
|
|
|
5601
5780
|
] })
|
|
5602
5781
|
] }),
|
|
5603
5782
|
/* @__PURE__ */ jsx("h2", { className: "text-xl sm:text-2xl font-bold text-foreground mb-4", children: entry.title }),
|
|
5604
|
-
entry.content ? /* @__PURE__ */ jsx("div", { className: "prose prose-sm
|
|
5783
|
+
entry.content ? /* @__PURE__ */ jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsx(
|
|
5605
5784
|
ContentRenderer,
|
|
5606
5785
|
{
|
|
5607
5786
|
content: entry.content,
|
|
@@ -5616,9 +5795,9 @@ function CmsTimeline(props) {
|
|
|
5616
5795
|
}
|
|
5617
5796
|
function EntryContent({ content }) {
|
|
5618
5797
|
if (typeof content === "string") {
|
|
5619
|
-
return /* @__PURE__ */ jsx("div", { className: "prose prose-sm
|
|
5798
|
+
return /* @__PURE__ */ jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: /* @__PURE__ */ jsx(ContentRenderer, { content, format: "markdown" }) });
|
|
5620
5799
|
}
|
|
5621
|
-
return /* @__PURE__ */ jsx("div", { className: "prose prose-sm max-w-none", children: content });
|
|
5800
|
+
return /* @__PURE__ */ jsx("div", { className: "boff-prose boff-prose-sm max-w-none", children: content });
|
|
5622
5801
|
}
|
|
5623
5802
|
function EntriesTimeline(props) {
|
|
5624
5803
|
const { entries, pageSize, productName } = props;
|
|
@@ -5831,6 +6010,7 @@ function ChangelogPage(props) {
|
|
|
5831
6010
|
const showCta = Boolean(ctaHref && ctaLabel);
|
|
5832
6011
|
const isPropDriven = entries != null;
|
|
5833
6012
|
return /* @__PURE__ */ jsxs("div", { className: `w-full ${className}`, children: [
|
|
6013
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
5834
6014
|
/* @__PURE__ */ jsx(
|
|
5835
6015
|
PageHead,
|
|
5836
6016
|
{
|
|
@@ -8336,6 +8516,7 @@ function StoreProductDetailPage({
|
|
|
8336
8516
|
const totalRatings = ratingDistribution ? ratingDistribution.fiveStars + ratingDistribution.fourStars + ratingDistribution.threeStars + ratingDistribution.twoStars + ratingDistribution.oneStar : 0;
|
|
8337
8517
|
return /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
|
|
8338
8518
|
/* @__PURE__ */ jsx("style", { dangerouslySetInnerHTML: { __html: ANIM_STYLES } }),
|
|
8519
|
+
/* @__PURE__ */ jsx(ProseStyles, {}),
|
|
8339
8520
|
/* @__PURE__ */ jsx(
|
|
8340
8521
|
PageHead,
|
|
8341
8522
|
{
|
|
@@ -8503,7 +8684,7 @@ function StoreProductDetailPage({
|
|
|
8503
8684
|
] }),
|
|
8504
8685
|
product.longDescription && /* @__PURE__ */ jsxs("div", { className: "sd-fu sd-d4 mb-8", children: [
|
|
8505
8686
|
/* @__PURE__ */ jsx("h2", { className: "text-lg font-bold text-foreground mb-3", children: "About" }),
|
|
8506
|
-
/* @__PURE__ */ jsx(Markdown, { className: "prose prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
|
|
8687
|
+
/* @__PURE__ */ jsx(Markdown, { className: "boff-prose boff-prose-sm max-w-none text-muted-foreground leading-relaxed", children: product.longDescription })
|
|
8507
8688
|
] }),
|
|
8508
8689
|
publisher && /* @__PURE__ */ 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: [
|
|
8509
8690
|
/* @__PURE__ */ jsx("h2", { className: "text-sm font-semibold text-foreground mb-3", children: "Publisher" }),
|