@sarimarcus/content-sites-ui 0.62.0 → 0.63.0
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 +6 -0
- package/package.json +2 -2
- package/src/layout/ContentHero.astro +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All packages in the platform release in lockstep; entries are per release version.
|
|
4
4
|
|
|
5
|
+
## 0.63.0 (2026-11-09)
|
|
6
|
+
|
|
7
|
+
Additive (SLA-4020); a hero without a caption renders exactly as before; one new utility class (`text-overlay-foreground/75`) in the CSS bundle.
|
|
8
|
+
|
|
9
|
+
- `ContentHero`: the default `overlay` variant now renders the `caption` slot (`<p data-hero-caption>`, under the actions). `rail` already did; `split` still drops it.
|
|
10
|
+
|
|
5
11
|
## 0.62.0 (2026-11-08)
|
|
6
12
|
|
|
7
13
|
Additive (SLA-3977); output of existing pages is unchanged except three new utility classes in the CSS bundle.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarimarcus/content-sites-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.63.0",
|
|
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",
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"@lucide/astro": "^1.23.0",
|
|
52
52
|
"astro": "^7.0.6",
|
|
53
53
|
"tailwindcss": "^4.1.18",
|
|
54
|
-
"@sarimarcus/content-sites-core": "0.
|
|
54
|
+
"@sarimarcus/content-sites-core": "0.63.0"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
/**
|
|
3
|
-
* ContentHero — full-bleed image hero with a themed gradient, title, description and
|
|
4
|
-
* (badges, subtitle, info, actions) plus an absolutely positioned `decoration` layer.
|
|
3
|
+
* ContentHero — full-bleed image hero with a themed gradient, title, description and five optional slots
|
|
4
|
+
* (badges, subtitle, info, actions, caption) plus an absolutely positioned `decoration` layer. `split` drops the caption.
|
|
5
5
|
*
|
|
6
6
|
* A slot's wrapper is emitted only when the slot rendered something, so an adapter can always forward
|
|
7
7
|
* `<Fragment slot="x"><slot name="x" /></Fragment>` without checking whether its own caller filled it
|
|
@@ -182,7 +182,7 @@ const [badges, subtitle, info, actions, decoration, caption] = await Promise.all
|
|
|
182
182
|
|
|
183
183
|
{info && <div class="flex flex-wrap gap-3" set:html={info} />}
|
|
184
184
|
|
|
185
|
-
{actions && <div class="mt-5 flex flex-wrap gap-3" set:html={actions} />}
|
|
185
|
+
{actions && <div class="mt-5 flex flex-wrap gap-3" set:html={actions} />}{caption && <p data-hero-caption class="mt-4 text-xs leading-snug text-overlay-foreground/75" set:html={caption} />}
|
|
186
186
|
</div>
|
|
187
187
|
</div>
|
|
188
188
|
</div>
|