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

refactor(ui): Break phone number utils and data into proper folders #3892

Conversation

alexcarpenter
Copy link
Member

Description

Since phone utils and data are shared, move them into constants and utils folders for reuse. Move phone number hook into phone number field component.

https://linear.app/clerk/issue/SDKI-183/common-consider-lifting-phonenumberfield-utils-to-root-utils

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Copy link

changeset-bot bot commented Aug 2, 2024

🦋 Changeset detected

Latest commit: c0956f6

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

Copy link
Contributor

@joe-bell joe-bell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dig it; thank you

@joe-bell
Copy link
Contributor

joe-bell commented Aug 5, 2024

Taking care of conflicts, and then I'll merge

@joe-bell joe-bell enabled auto-merge (squash) August 5, 2024 08:46
@joe-bell joe-bell merged commit 041ba46 into main Aug 5, 2024
18 checks passed
@joe-bell joe-bell deleted the alexcarpenter/sdki-183-common-consider-lifting-phonenumberfield-utils-to-root-utils branch August 5, 2024 08:48
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.

2 participants