-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(clerk-js,types,nextjs,localizations,clerk-react): Introduce User…
…Verification as experimental (#4016)
- Loading branch information
1 parent
11c3c41
commit afad9af
Showing
45 changed files
with
1,785 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@clerk/localizations": minor | ||
--- | ||
|
||
Add localization keys for `<__experimental_UserVerification />` (experimental feature). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@clerk/chrome-extension": minor | ||
"@clerk/nextjs": minor | ||
"@clerk/clerk-react": minor | ||
--- | ||
|
||
Add `<__experimental_UserVerification />` component. This is an experimental feature and breaking changes can occur until it's marked as stable. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@clerk/clerk-js": minor | ||
--- | ||
|
||
Add new `UserVerification` component (experimental feature). This UI component allows for a user to "re-enter" their credentials (first factor and/or second factor) which results in them being re-verified. | ||
|
||
New methods have been added: | ||
|
||
- `__experimental_openUserVerification()` | ||
- `__experimental_closeUserVerification()` | ||
- `__experimental_mountUserVerification(targetNode: HTMLDivElement)` | ||
- `__experimental_unmountUserVerification(targetNode: HTMLDivElement)` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@clerk/types": minor | ||
--- | ||
|
||
Add types for newly introduced `<__experimental_UserVerification />` component (experimental feature). New types: | ||
|
||
- `Appearance` has a new `userVerification` property | ||
- `__experimental_UserVerificationProps` and `__experimental_UserVerificationModalProps` | ||
- `__experimental_openUserVerification` method under the `Clerk` interface | ||
- `__experimental_closeUserVerification` method under the `Clerk` interface | ||
- `__experimental_mountUserVerification` method under the `Clerk` interface | ||
- `__experimental_unmountUserVerification` method under the `Clerk` interface | ||
- `__experimental_userVerification` property under `LocalizationResource` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.