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 Tabbordion v2 #17

Open
Merri opened this issue Dec 3, 2019 · 2 comments
Open

React Tabbordion v2 #17

Merri opened this issue Dec 3, 2019 · 2 comments

Comments

@Merri
Copy link
Owner

Merri commented Dec 3, 2019

I've put up a CodeSandbox where I'm developing the next version, finally getting rid of many legacy issues that have made this component a bit odd in some regards.

Plans:

  • Allow for *any common Tab and Accordion pattern HTML output.
  • Support all sensible use cases.
  • Abstract just the state management, move all style concerns to user developer.
  • Provide legacy compatibility components (if makes sense, not sure about that one yet).

There are still a lot of stuff to do, need to make visual samples of accordion usage as well as allow for multiselection accordions. Also, testing each usage with an actual screen reader to make sure things make sense for end user!

@Merri
Copy link
Owner Author

Merri commented Aug 26, 2020

I decided to instead do a rewrite with compatible API and instead of using hooks I will simply modernize the current code, tooling, and remove all legacy stuff targetting compatibility with the non-ever green browsers.

I'm still interested on producing rendering options for the sensible use cases, but that has to wait until I'm happy with the modernization of the codebase :)

@Merri
Copy link
Owner Author

Merri commented Aug 30, 2020

I released the first beta for v2.0! It includes both new rewritten class components mostly compatible with v1 components as well as the new useTabbordion hook.

I still need to spend time to write documentation, migration help, and more tests. It has been quite a lot of work to modernize everything from build tools to tests to CI to publishing.

Code currently depends on older Node 12.16 as there are issues with Riteway/Tape on version 12.18 and 14.

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

No branches or pull requests

1 participant