Open TylerJDev opened 1 week ago
Latest commit: 3c0c94259decd22eba88563430eae274031c46e8
The changes in this PR will be included in the next version bump.
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
Path | Size |
---|---|
packages/react/dist/browser.esm.js | 91.16 KB (+0.22% 🔺) |
packages/react/dist/browser.umd.js | 91.51 KB (+0.3% 🔺) |
Questions for reviewers!
expand
with something else? I am indifferent to the name, but I do think that there are other possible names that could work.
NavList
with a "show more" do not collapse.
Would love any and all reviews from the team! This PR is serving mainly as a proposal to the NavList
API, to add a new pattern/component. :grin:
Cc: @primer/engineer-reviewers
Should we rename expand with something else
I'd love to try and come up with a descriptive name but it's definitely challenging 🤔 Maybe we could use NavList.ShowMoreItem
to align with PVC? Which I think has the method: with_show_more_item
Adds new component
NavList.Expand
, allows native support for "expanding" content within aNavList
.Closes https://github.com/github/primer/issues/2637
Proposed API
Basic example:
Multiple expands:
Group example (storybook)
Changelog
New
NavList.Expand
Rollout strategy
Testing & Reviewing
Merge checklist