@sarimarcus/content-sites-ui 0.60.4 → 0.60.5

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 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.60.5 (2026-11-06)
6
+
7
+ Markup change only where `SiteHeader` gets `trendingTags`: the 0.60.3 centring did not work, because the bar sat in a `max-w-content` Container that overflowed, which collapsed the auto margins.
8
+
9
+ - `SiteHeader`: the trending bar uses the nav's `max-w-shell` rail with `justify-center`; the tag list scrolls on its own (`min-w-0 overflow-x-auto`) instead of the whole bar. `Container` is no longer imported.
10
+
5
11
  ## 0.60.4 (2026-11-06)
6
12
 
7
13
  Markup and style changes at the end of an article (SLA-3904); no prop is removed or retyped.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarimarcus/content-sites-ui",
3
- "version": "0.60.4",
3
+ "version": "0.60.5",
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.60.4"
54
+ "@sarimarcus/content-sites-core": "0.60.5"
55
55
  }
56
56
  }
@@ -11,7 +11,6 @@
11
11
  * The ids default to the ones the sites reserve (`main-nav`, `mobile-menu`, `mobile-menu-btn`). The panel sits outside
12
12
  * `<nav>`, so it carries its own `data-pagefind-ignore`.
13
13
  */
14
- import Container from '../layout/Container.astro';
15
14
  import { Icon } from '../primitives/index.ts';
16
15
  import { getLabels } from '../internal/labels';
17
16
 
@@ -95,10 +94,10 @@ const xl = desktopBreakpoint === 'xl';
95
94
  </div>
96
95
  </nav>{trendingTags.length > 0 && (
97
96
  <div class="hidden md:block border-t border-border/60 bg-muted/40">
98
- <Container class="flex items-center gap-3 h-9 overflow-x-auto text-xs">
99
- <span class="font-semibold uppercase tracking-widest text-primary shrink-0 ml-auto">{trendingLabel}</span>
97
+ <div class="mx-auto max-w-shell px-4 sm:px-6 lg:px-8 flex items-center justify-center gap-3 h-9 text-xs">
98
+ <span class="font-semibold uppercase tracking-widest text-primary shrink-0">{trendingLabel}</span>
100
99
  <span class="text-border shrink-0" aria-hidden="true">|</span>
101
- <ul class="flex items-center gap-4 shrink-0 mr-auto">
100
+ <ul class="flex items-center gap-4 min-w-0 overflow-x-auto">
102
101
  {trendingTags.map((tag) => (
103
102
  <li>
104
103
  <a href={tag.href} class="text-muted-foreground hover:text-foreground transition-colors font-medium whitespace-nowrap">
@@ -107,7 +106,7 @@ const xl = desktopBreakpoint === 'xl';
107
106
  </li>
108
107
  ))}
109
108
  </ul>
110
- </Container>
109
+ </div>
111
110
  </div>
112
111
  )}
113
112
  </header>