Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React UI: Navigation Header Accordion component #954

Merged
merged 40 commits into from
Oct 16, 2023
Merged

Conversation

timoheddes
Copy link
Contributor

@timoheddes timoheddes commented Sep 25, 2023

This PR introduces the NavAccordion component as a variant of the Accordion component, using similar structure and logic. Both components have been refactored and are using context to manage state and pass down props to their subcomponents.

Asana task

The component consists of four sub components:

<NavAccordion.Root> as the parent container
<NavAccordion.Section> for each navigational section (collapsable)
<NavAccordion.Group> to create sub sections (lists) that group related navigational links (collapsable)
<NavAccordion.Link> to create links that can be used to navigate (using our Link component and supporting the asChild prop)

Design and colours have been discussed with and checked by Isa.

@changeset-bot
Copy link

changeset-bot bot commented Sep 25, 2023

🦋 Changeset detected

Latest commit: bbfea2e

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

This PR includes changesets to release 4 packages
Name Type
@kadena/react-ui Minor
@kadena/docs Patch
@kadena/graph-client Patch
@kadena/immutable-records 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

@vercel
Copy link

vercel bot commented Sep 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-ui ❌ Failed (Inspect) Oct 16, 2023 11:47am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
alpha-docs ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2023 11:47am
docs-storybook ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2023 11:47am
immutable-records ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2023 11:47am
tools ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2023 11:47am

eileenmguo

This comment was marked as outdated.

@timoheddes timoheddes merged commit 97f4364 into main Oct 16, 2023
4 checks passed
@timoheddes timoheddes deleted the feat/nav-accordion branch October 16, 2023 11:27
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.

2 participants