chore: bump version to 2.21.8 in package.json and update captcha messages in auth components
- Updated application version from 2.21.7 to 2.21.8 in package.json. - Modified "verifyingCaptcha" message in auth.json for clearer user feedback during captcha verification. - Enhanced conditional rendering for captcha loading states in PasswordSignInForm and PasswordSignUpForm components to improve user experience during authentication processes.
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
"signOut": "Sign out",
|
"signOut": "Sign out",
|
||||||
"signingIn": "Signing in...",
|
"signingIn": "Signing in...",
|
||||||
"signingUp": "Signing up...",
|
"signingUp": "Signing up...",
|
||||||
"verifyingCaptcha": "Verifying...",
|
"verifyingCaptcha": "Checking you're not a robot...",
|
||||||
"doNotHaveAccountYet": "Do not have an account yet?",
|
"doNotHaveAccountYet": "Do not have an account yet?",
|
||||||
"alreadyHaveAnAccount": "Already have an account?",
|
"alreadyHaveAnAccount": "Already have an account?",
|
||||||
"signUpToAcceptInvite": "Please sign in/up to accept the invite",
|
"signUpToAcceptInvite": "Please sign in/up to accept the invite",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "next-supabase-saas-kit-turbo",
|
"name": "next-supabase-saas-kit-turbo",
|
||||||
"version": "2.21.7",
|
"version": "2.21.8",
|
||||||
"private": true,
|
"private": true,
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ export function PasswordSignInForm({
|
|||||||
data-test="auth-submit-button"
|
data-test="auth-submit-button"
|
||||||
className={'group w-full'}
|
className={'group w-full'}
|
||||||
type="submit"
|
type="submit"
|
||||||
disabled={loading || redirecting}
|
disabled={loading || redirecting || captchaLoading}
|
||||||
>
|
>
|
||||||
<If condition={redirecting}>
|
<If condition={redirecting}>
|
||||||
<span className={'animate-in fade-in slide-in-from-bottom-24'}>
|
<span className={'animate-in fade-in slide-in-from-bottom-24'}>
|
||||||
@@ -135,7 +135,11 @@ export function PasswordSignInForm({
|
|||||||
</If>
|
</If>
|
||||||
|
|
||||||
<If condition={!redirecting && !loading && !captchaLoading}>
|
<If condition={!redirecting && !loading && !captchaLoading}>
|
||||||
<span className={'animate-out fade-out flex items-center'}>
|
<span
|
||||||
|
className={
|
||||||
|
'animate-in fade-in slide-in-from-bottom-24 flex items-center'
|
||||||
|
}
|
||||||
|
>
|
||||||
<Trans i18nKey={'auth:signInWithEmail'} />
|
<Trans i18nKey={'auth:signInWithEmail'} />
|
||||||
|
|
||||||
<ArrowRight
|
<ArrowRight
|
||||||
|
|||||||
@@ -122,15 +122,23 @@ export function PasswordSignUpForm({
|
|||||||
disabled={loading || captchaLoading}
|
disabled={loading || captchaLoading}
|
||||||
>
|
>
|
||||||
<If condition={captchaLoading}>
|
<If condition={captchaLoading}>
|
||||||
|
<span className={'animate-in fade-in slide-in-from-bottom-24'}>
|
||||||
<Trans i18nKey={'auth:verifyingCaptcha'} />
|
<Trans i18nKey={'auth:verifyingCaptcha'} />
|
||||||
|
</span>
|
||||||
</If>
|
</If>
|
||||||
|
|
||||||
<If condition={loading && !captchaLoading}>
|
<If condition={loading && !captchaLoading}>
|
||||||
|
<span className={'animate-in fade-in slide-in-from-bottom-24'}>
|
||||||
<Trans i18nKey={'auth:signingUp'} />
|
<Trans i18nKey={'auth:signingUp'} />
|
||||||
|
</span>
|
||||||
</If>
|
</If>
|
||||||
|
|
||||||
<If condition={!loading && !captchaLoading}>
|
<If condition={!loading && !captchaLoading}>
|
||||||
<>
|
<span
|
||||||
|
className={
|
||||||
|
'animate-in fade-in slide-in-from-bottom-24 flex items-center'
|
||||||
|
}
|
||||||
|
>
|
||||||
<Trans i18nKey={'auth:signUpWithEmail'} />
|
<Trans i18nKey={'auth:signUpWithEmail'} />
|
||||||
|
|
||||||
<ArrowRight
|
<ArrowRight
|
||||||
@@ -138,7 +146,7 @@ export function PasswordSignUpForm({
|
|||||||
'zoom-in animate-in slide-in-from-left-2 fill-mode-both h-4 delay-500 duration-500'
|
'zoom-in animate-in slide-in-from-left-2 fill-mode-both h-4 delay-500 duration-500'
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</>
|
</span>
|
||||||
</If>
|
</If>
|
||||||
</Button>
|
</Button>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user