@sarimarcus/content-sites-ui 0.56.0 → 0.56.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.
- package/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/src/editorial/ArticlePage.astro +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All packages in the platform release in lockstep; entries are per release version.
|
|
4
4
|
|
|
5
|
+
## 0.56.1 (2026-11-05)
|
|
6
|
+
|
|
7
|
+
- `ArticlePage`: place `<main>` around the `size="measure"` body `<Container>` (after `ContentHero` and `BreadcrumbBand`) so the first non-shell band inside `<main>` is `max-w-measure`, emit `data-pagefind-meta="type:article"` and `data-pagefind-filter="audience:<slug>"`, and wrap prose paragraph blocks in `<div class="text-base text-muted-foreground leading-relaxed mb-4">` (SLA-3723).
|
|
8
|
+
|
|
5
9
|
## 0.56.0 (2026-11-05)
|
|
6
10
|
|
|
7
11
|
- `editorial`: add `ArticlePage`, `DEFAULT_INTERLUDE_LABELS`, `EditorialHomePage`, `ArticleTagPage`, `ShareButtons`, `buildShareUrls`, `EDITORIAL_AUTHOR_WORK_CONFIG`, `authorPhotoDataUri`, and promoted `ArticleCardGrid` (with optional `categoryLabels`, `tagLabels`, `eagerFirst`, `columns`); add `compact` variant to `RelatedCard` and `subTags`/`moreHref` to `ArticleHubSection` (SLA-3716, SLA-3718, SLA-3720, SLA-3721, SLA-3722).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarimarcus/content-sites-ui",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.1",
|
|
4
4
|
"description": "Universal Astro UI components, layout shell and design tokens shared by the content sites.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
"@lucide/astro": "^1.23.0",
|
|
51
51
|
"astro": "^7.0.6",
|
|
52
52
|
"tailwindcss": "^4.1.18",
|
|
53
|
-
"@sarimarcus/content-sites-core": "0.56.
|
|
53
|
+
"@sarimarcus/content-sites-core": "0.56.1"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -284,10 +284,9 @@ const resolvedRelatedTitle = relatedProps.title ?? l.relatedTitle;
|
|
|
284
284
|
|
|
285
285
|
<slot name="head" />
|
|
286
286
|
|
|
287
|
-
<
|
|
288
|
-
<article data-pagefind-body>
|
|
287
|
+
<article data-pagefind-body data-pagefind-meta="type:article">
|
|
289
288
|
{emitAudienceFacets && article.audiences?.map((a) => (
|
|
290
|
-
<span class="sr-only" data-pagefind-filter=
|
|
289
|
+
<span class="sr-only" data-pagefind-filter={`audience:${a}`}>{a}</span>
|
|
291
290
|
))}
|
|
292
291
|
|
|
293
292
|
{heroImage ? (
|
|
@@ -323,6 +322,7 @@ const resolvedRelatedTitle = relatedProps.title ?? l.relatedTitle;
|
|
|
323
322
|
</>
|
|
324
323
|
)}
|
|
325
324
|
|
|
325
|
+
<main>
|
|
326
326
|
<Container size="measure" class="py-10 sm:py-14">
|
|
327
327
|
<ArticleMetadata
|
|
328
328
|
author={author}
|
|
@@ -379,7 +379,7 @@ const resolvedRelatedTitle = relatedProps.title ?? l.relatedTitle;
|
|
|
379
379
|
</h2>
|
|
380
380
|
{blocks.map((block) => {
|
|
381
381
|
if (block.kind === 'paragraph') {
|
|
382
|
-
return <
|
|
382
|
+
return <div class="text-base text-muted-foreground leading-relaxed mb-4" set:html={block.html} />;
|
|
383
383
|
}
|
|
384
384
|
if (block.kind === 'interlude') {
|
|
385
385
|
return (
|
|
@@ -427,7 +427,7 @@ const resolvedRelatedTitle = relatedProps.title ?? l.relatedTitle;
|
|
|
427
427
|
{sub.heading}
|
|
428
428
|
</h3>
|
|
429
429
|
{sub.paragraphs.map((pHtml) => (
|
|
430
|
-
<
|
|
430
|
+
<div class="text-base text-muted-foreground leading-relaxed mb-3" set:html={pHtml} />
|
|
431
431
|
))}
|
|
432
432
|
</div>
|
|
433
433
|
))}
|
|
@@ -502,5 +502,5 @@ const resolvedRelatedTitle = relatedProps.title ?? l.relatedTitle;
|
|
|
502
502
|
</footer>
|
|
503
503
|
)}
|
|
504
504
|
</Container>
|
|
505
|
+
</main>
|
|
505
506
|
</article>
|
|
506
|
-
</main>
|