-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(elements): Compilation of updates (#2790)
* chore(elements): Interim commit * chore(elements): Interim commit * chore(elements): Interim commit * feat(elements): Large refactor; Interim commit * chore(elements): Update folder architecture (pt 1) * refactor(elements): Split out machines; Interim commit * chore(elements): Rename Continue to Verify * fix(elements): Account for resources in NEXT events * chore(elements): Clean up * refactor(elements): Interim commit * chore(elements): Update SignUp to match SignIn * chore(elements): Updated logs * chore(elements): /errors/error -> /errors * chore(elements): Add changeset * feat(elements): Handle SSO callbacks (#2791) * feat(elements): Handle SSO callbacks * fix(elements): Use constants --------- Co-authored-by: LekoArts <[email protected]> * chore(elements): Use other imports * fix(elements): Use constants * fix(elements): Typo * chore(elements): Add test * chore(elements): Bump version --------- Co-authored-by: LekoArts <[email protected]>
- Loading branch information
Showing
79 changed files
with
3,503 additions
and
585 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,2 @@ | ||
--- | ||
--- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {}; | ||
const nextConfig = { | ||
// Disable React strict mode when using the state machine inspector | ||
reactStrictMode: process.env['NEXT_PUBLIC_CLERK_ELEMENTS_DEBUG'] !== 'true', | ||
}; | ||
|
||
module.exports = nextConfig; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
export const SSO_CALLBACK_PATH_ROUTE = '/sso-callback'; | ||
export const MAGIC_LINK_VERIFY_PATH_ROUTE = '/verify'; | ||
|
||
export const SIGN_IN_DEFAULT_BASE_PATH = '/sign-in'; | ||
export const SIGN_UP_DEFAULT_BASE_PATH = '/sign-up'; |
File renamed without changes.
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
12 changes: 12 additions & 0 deletions
12
packages/elements/src/internals/machines/sign-in/machines/index.ts
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 @@ | ||
export { | ||
SignInFirstFactorMachine, | ||
SignInFirstFactorMachineId, | ||
SignInSecondFactorMachine, | ||
SignInSecondFactorMachineId, | ||
} from './verification.machine'; | ||
export { SignInRouterMachine, SignInRouterMachineId } from './router.machine'; | ||
export { SignInStartMachine, SignInStartMachineId } from './start.machine'; | ||
|
||
export type { TSignInRouterMachine } from './router.machine'; | ||
export type { TSignInStartMachine } from './start.machine'; | ||
export type { TSignInFirstFactorMachine, TSignInSecondFactorMachine } from './verification.machine'; |
Oops, something went wrong.