Skip to content

Commit a614775

Browse files
Version Packages
1 parent 78dc813 commit a614775

File tree

4 files changed

+33
-35
lines changed

4 files changed

+33
-35
lines changed

.changeset/poor-wombats-lick.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/small-donkeys-provide.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# @primer/components
22

3+
## 35.3.1
4+
5+
### Patch Changes
6+
7+
- [#2125](https://github.com/primer/react/pull/2125) [`78dc8134`](https://github.com/primer/react/commit/78dc8134b1d38c6826766f2f85ae943e8b1a8088) Thanks [@owenniblock](https://github.com/owenniblock)! - Adds roles of tablist and tab to the TabNav component, required rearranging the HTML elements to be semantically correct
8+
9+
* [#2120](https://github.com/primer/react/pull/2120) [`53713b2f`](https://github.com/primer/react/commit/53713b2f3ab7dd7084ce3e602c01c3f66ccd7579) Thanks [@colebemis](https://github.com/colebemis)! - Deprecate SideNav in favor of [NavList](https://primer.style/NavList).
10+
11+
## Before
12+
13+
```jsx
14+
<SideNav aria-label="Main">
15+
<SideNav.Link href="/" selected>
16+
Home
17+
</SideNav.Link>
18+
<SideNav.Link href="/about">About</SideNav.Link>
19+
<SideNav.Link href="/contact">Contact</SideNav.Link>
20+
</SideNav>
21+
```
22+
23+
## After
24+
25+
```jsx
26+
<NavList aria-label="Main">
27+
<NavList.Item href="/" aria-current="page">
28+
Home
29+
</NavList.Item>
30+
<NavList.Item href="/about">About</NavList.Item>
31+
<NavList.Item href="/contact">Contact</NavList.Item>
32+
</NavList>
33+
```
34+
335
## 35.3.0
436

537
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@primer/react",
3-
"version": "35.3.0",
3+
"version": "35.3.1",
44
"description": "An implementation of GitHub's Primer Design System using React",
55
"main": "lib/index.js",
66
"module": "lib-esm/index.js",

0 commit comments

Comments
 (0)