clerk / javascript

Official Javascript repository for Clerk authentication
https://clerk.com
MIT License
1.1k stars 243 forks source link

feat(ui): OTPField #3535

Closed joe-bell closed 3 months ago

joe-bell commented 4 months ago

Description

Adds an OTPField component; with updated styles to Field to accommodate

Took a while to try and accommodate forced states alongside native ones; but fairly confident that CSS variables solves our challenges here.

I didn't wire up the field to a Step yet for ease-of-development

https://github.com/clerk/javascript/assets/7349341/e45a6179-3179-49ef-9192-3535538f056b

Checklist

Type of change

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 18d974bb4df9368043faf71cef0c609c2dff3c56

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

This PR includes changesets to release 0 packages When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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