Skip to content

Conversation

@joshblack
Copy link
Member

This PR adds in support for describing a TreeView.Item with aria-describedby and TreeView.LeadingItem and TreeView.TrailingItem. Each visual slot takes in an optional label prop which can be used to describe the overall TreeView.Item.

Background: https://github.com/github/primer/blob/main/apis/tree-view-api.md#leading-and-trailing-visuals

@joshblack joshblack requested review from a team and rezrah October 14, 2022 21:01
@changeset-bot
Copy link

changeset-bot bot commented Oct 14, 2022

🦋 Changeset detected

Latest commit: 26d7dbe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@joshblack joshblack requested review from colebemis and removed request for rezrah October 14, 2022 21:01
@github-actions
Copy link
Contributor

github-actions bot commented Oct 14, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 77.92 KB (0%)
dist/browser.umd.js 78.57 KB (0%)

@joshblack joshblack requested a review from colebemis October 14, 2022 21:25
Copy link
Contributor

@colebemis colebemis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just left one question: #2434 (comment)

@joshblack joshblack temporarily deployed to github-pages October 17, 2022 18:11 Inactive
@joshblack joshblack merged commit 57c3b4d into main Oct 17, 2022
@joshblack joshblack deleted the feat/add-labels-for-trailing-leading branch October 17, 2022 18:53
@primer-css primer-css mentioned this pull request Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants