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

docs: documenting data-attributes #2121

Closed
wants to merge 29 commits into from
Closed

Conversation

FilipePfluck
Copy link

This pull request adds documentation for the data-attributes of the Accordion component. Please tell me if this format is ok and if I can do the same thing for the rest of the components. Also let me know if I missed any data-attribute

Copy link

vercel bot commented Feb 2, 2024

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

Name Status Preview Updated (UTC)
ark-docs ✅ Ready (Inspect) Visit Preview Apr 24, 2024 6:49pm

@FilipePfluck FilipePfluck changed the title docs: documenting accordion data-attributes docs: documenting data-attributes Feb 3, 2024
@FilipePfluck
Copy link
Author

I'll be doing this bit by bit whenever I get some time. In the meanwhile I think the components I already documented can be reviewed, I may have missed some data-attributes. If I got something wrong go ahead and correct me.

@segunadebayo
Copy link
Member

segunadebayo commented Apr 29, 2024

Thanks for working on this.

After reviewing this closely, I've decided to automate it with a script in Zag.js. See the code here: chakra-ui/zag@9b379db

This will make sure it's always in sync with the code.

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.

None yet

2 participants