@primer/doctocat-nextjs 0.0.0-20250627133855 → 0.0.0-20250701082918
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,11 +1,17 @@
|
|
|
1
1
|
# @primer/doctocat-nextjs
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20250701082918
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Fake entry to force publishing
|
|
8
8
|
|
|
9
|
+
## 0.5.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ba3188c`](https://github.com/primer/doctocat-nextjs/commit/ba3188cfc115d9a2e6d4b7402c20240f518eacd5) Thanks [@rezrah](https://github.com/rezrah)! - Switch to using native <a> instead of <Link> for header URLs, which prevents prefetching-related errors.
|
|
14
|
+
|
|
9
15
|
## 0.5.6
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
@@ -13,7 +13,6 @@ import {Stack, Text} from '@primer/react-brand'
|
|
|
13
13
|
import {clsx} from 'clsx'
|
|
14
14
|
import type {PageMapItem} from 'nextra'
|
|
15
15
|
|
|
16
|
-
import Link from 'next/link'
|
|
17
16
|
import styles from './Header.module.css'
|
|
18
17
|
import {NavDrawer} from '../nav-drawer/NavDrawer'
|
|
19
18
|
import {useNavDrawerState} from '../nav-drawer/useNavDrawerState'
|
|
@@ -130,6 +130,19 @@ export function Theme({pageMap, children}: ThemeProps) {
|
|
|
130
130
|
<Header flatDocsDirectories={flatDocsDirectories} siteTitle={siteTitle} pageMap={pageMap} />
|
|
131
131
|
</PRCBox>
|
|
132
132
|
<PageLayout rowGap="none" columnGap="none" padding="none" containerWidth="full">
|
|
133
|
+
<PageLayout.Pane
|
|
134
|
+
width="small"
|
|
135
|
+
sticky
|
|
136
|
+
offsetHeader={65}
|
|
137
|
+
padding="none"
|
|
138
|
+
position="start"
|
|
139
|
+
hidden={{narrow: true}}
|
|
140
|
+
divider="line"
|
|
141
|
+
>
|
|
142
|
+
<aside aria-label={`${activeHeaderLink ? activeHeaderLink.title : siteTitle} sidebar`}>
|
|
143
|
+
<Sidebar pageMap={pageMap} />
|
|
144
|
+
</aside>
|
|
145
|
+
</PageLayout.Pane>
|
|
133
146
|
<PageLayout.Content padding="normal">
|
|
134
147
|
<div id="main">
|
|
135
148
|
<PRCBox sx={!isHomePage && {maxWidth: 1200, width: '100%', margin: '0 auto'}}>
|
|
@@ -247,18 +260,6 @@ export function Theme({pageMap, children}: ThemeProps) {
|
|
|
247
260
|
</PRCBox>
|
|
248
261
|
</div>
|
|
249
262
|
</PageLayout.Content>
|
|
250
|
-
<PageLayout.Pane
|
|
251
|
-
aria-label="Side navigation"
|
|
252
|
-
width="small"
|
|
253
|
-
sticky
|
|
254
|
-
offsetHeader={65}
|
|
255
|
-
padding="none"
|
|
256
|
-
position="start"
|
|
257
|
-
hidden={{narrow: true}}
|
|
258
|
-
divider="line"
|
|
259
|
-
>
|
|
260
|
-
<Sidebar pageMap={pageMap} />
|
|
261
|
-
</PageLayout.Pane>
|
|
262
263
|
</PageLayout>
|
|
263
264
|
</ContentWrapper>
|
|
264
265
|
</BaseStyles>
|