@primer/doctocat-nextjs 0.0.0-20250904133213 → 0.0.0-20250904145000

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
@@ -1,12 +1,12 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20250904133213
3
+ ## 0.0.0-20250904145000
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- ## 0.0.0-20250904133211
9
+ ## 0.0.0-20250904144958
10
10
 
11
11
  ### Minor Changes
12
12
 
@@ -16,7 +16,9 @@
16
16
  - **Nextra v4 compatibility**: Updated type definitions for `ReactNode` titles
17
17
  - **Fixed code block rendering**: Added client-side rendering for interactive code examples to handle React lazy components properly
18
18
 
19
- Next.js v15.4+ changed how lazy components render on the server, breaking interactive code blocks. This update uses client-side code snippet extraction to convert lazy components to clean code strings for the live editor, preventing hydration mismatches and preserving existing behavior.
19
+ Next.js v15.4+ changed how lazy components render on the server, breaking interactive code blocks. This update uses client-side code snippet extraction to convert lazy components to clean code strings for the live editor, preventing hydration mismatches and preserving existing behavior.
20
+
21
+ - **Improved 404 page experience**: New 404 page to replace default Next.js version. Also removed stray 0 in top-left.
20
22
 
21
23
  ## 0.6.0
22
24
 
@@ -149,7 +149,7 @@ export function Theme({pageMap, children}: ThemeProps) {
149
149
  <Stack direction="vertical" padding="none" gap="spacious">
150
150
  {!isHomePage && (
151
151
  <>
152
- {activePath.length && (
152
+ {activePath.length > 0 && (
153
153
  <Breadcrumbs>
154
154
  {(activeHeaderLink || siteTitle) && (
155
155
  <Breadcrumbs.Item
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20250904133213",
3
+ "version": "0.0.0-20250904145000",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",