damianricobelli / stepperize

A library for creating step-by-step workflows in your apps
https://stepperize.vercel.app
916 stars 40 forks source link

feature: Stepperize v3 #49

Closed damianricobelli closed 2 months ago

damianricobelli commented 2 months ago

Description

This PR standardises the naming pattern of the values returned by the useStepper hook. In addition, it adds a new switch method that allows to render the components for each step in a more convenient way.

Updated the docs with the new API and added a new v3 migration page.

Additional Notes

All switch logic has been thought and designed by the great @jonathantneal 🔥

vercel[bot] commented 2 months ago

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

Name Status Preview Comments Updated (UTC)
stepperize ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 20, 2024 9:18pm
changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: c5d2a2fdf84e0a4a22b44560d4cbd074c1141859

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

This PR includes changesets to release 2 packages | Name | Type | | ----------------- | ----- | | docs | Major | | @stepperize/react | Major |

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