@primer/doctocat-nextjs 0.0.0-20251113161820 → 0.0.0-20251114122923

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,6 +1,6 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20251113161820
3
+ ## 0.0.0-20251114122923
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -1,7 +1,7 @@
1
1
  import React, {useMemo} from 'react'
2
2
  import NextLink from 'next/link'
3
3
  import {NavList} from '@primer/react'
4
- import {Heading} from '@primer/react-brand'
4
+ import {Text} from '@primer/react-brand'
5
5
  import type {Folder, MdxFile, PageMapItem} from 'nextra'
6
6
 
7
7
  import styles from './Sidebar.module.css'
@@ -49,12 +49,12 @@ export function Sidebar({pageMap}: SidebarProps) {
49
49
  return (
50
50
  <div className={styles.Sidebar}>
51
51
  {activeHeaderLink && (
52
- <Heading as="h2" size="6" className={styles.Sidebar__title} id="nav-list-heading">
52
+ <Text size="400" weight="semibold" className={styles.Sidebar__title}>
53
53
  {activeHeaderLink.title}
54
- <span className="visually-hidden"> navigation</span>
55
- </Heading>
54
+ </Text>
56
55
  )}
57
- <NavList className={styles.NavList} aria-labelledby="nav-list-heading">
56
+
57
+ <NavList className={styles.NavList} aria-label="Menu links">
58
58
  {reorderedPageMap.map(item => {
59
59
  if (item.hasOwnProperty('data')) return null
60
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20251113161820",
3
+ "version": "0.0.0-20251114122923",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",