react-tabbordion icon indicating copy to clipboard operation
react-tabbordion copied to clipboard

React Tabbordion v2

Open Merri opened this issue 4 years ago • 2 comments

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 avatar Dec 03 '19 15:12 Merri

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 avatar Aug 26 '20 14:08 Merri

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.

Merri avatar Aug 30 '20 17:08 Merri