The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
fix: updated padding and set patterns
Adithya Krishnac902fb8412b5
diff --git a/apps/web/src/components/forms/password.tsx b/apps/web/src/components/forms/password.tsxindex 4689e0dbe..d258b2693 100644--- a/apps/web/src/components/forms/password.tsx+++ b/apps/web/src/components/forms/password.tsx@@ -83,14 +83,6 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {}};- const onShowPassword = () => {- setShowPassword(!showPassword);- };-- const onShowConfirmPassword = () => {- setShowConfirmPassword(!showConfirmPassword);- };-return (<formclassName={cn('flex w-full flex-col gap-y-4', className)}@@ -105,16 +97,16 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {<Inputid="password"type={showPassword ? 'text' : 'password'}- className="bg-background mt-2"+ className="bg-background mt-2 pr-10"{...register('password')}/><Buttonvariant="link"type="button"- className="absolute right-0 top-0 flex h-full items-center justify-center"+ className="absolute right-0 top-0 flex h-full items-center justify-center pr-3"aria-label={showPassword ? 'Mask password' : 'Reveal password'}- onClick={onShowPassword}+ onClick={() => setShowPassword((showPassword) => !showPassword)}>{showPassword ? (<EyeOff className="text-slate-500" />@@ -136,16 +128,16 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {<Inputid="repeated-password"type={showConfirmPassword ? 'text' : 'password'}- className="bg-background mt-2"+ className="bg-background mt-2 pr-10"{...register('repeatedPassword')}/><Buttonvariant="link"type="button"- className="absolute right-0 top-0 flex h-full items-center justify-center"+ className="absolute right-0 top-0 flex h-full items-center justify-center pr-3"aria-label={showConfirmPassword ? 'Mask password' : 'Reveal password'}- onClick={onShowConfirmPassword}+ onClick={() => setShowConfirmPassword((showConfirmPassword) => !showConfirmPassword)}>{showConfirmPassword ? (<EyeOff className="text-slate-500" />diff --git a/apps/web/src/components/forms/signin.tsx b/apps/web/src/components/forms/signin.tsxindex 2f3c3a4d6..d62e376ff 100644--- a/apps/web/src/components/forms/signin.tsx+++ b/apps/web/src/components/forms/signin.tsx@@ -76,10 +76,6 @@ export const SignInForm = ({ className }: SignInFormProps) => {}};- const onShowPassword = () => {- setShowPassword(!showPassword);- };-return (<formclassName={cn('flex w-full flex-col gap-y-4', className)}@@ -107,16 +103,16 @@ export const SignInForm = ({ className }: SignInFormProps) => {<Inputid="password"type={showPassword ? 'text' : 'password'}- className="bg-background mt-2"+ className="bg-background mt-2 pr-10"{...register('password')}/><Buttonvariant="link"type="button"- className="absolute right-0 top-0 flex h-full items-center justify-center"+ className="absolute right-0 top-0 flex h-full items-center justify-center pr-3"aria-label={showPassword ? 'Mask password' : 'Reveal password'}- onClick={onShowPassword}+ onClick={() => setShowPassword((showPassword) => !showPassword)}>{showPassword ? (<EyeOff className="text-slate-500" />diff --git a/apps/web/src/components/forms/signup.tsx b/apps/web/src/components/forms/signup.tsxindex a66e43caf..795dad25d 100644--- a/apps/web/src/components/forms/signup.tsx+++ b/apps/web/src/components/forms/signup.tsx@@ -75,10 +75,6 @@ export const SignUpForm = ({ className }: SignUpFormProps) => {}};- const onShowPassword = () => {- setShowPassword(!showPassword);- };-return (<formclassName={cn('flex w-full flex-col gap-y-4', className)}@@ -113,16 +109,16 @@ export const SignUpForm = ({ className }: SignUpFormProps) => {<Inputid="password"type={showPassword ? 'text' : 'password'}- className="bg-background mt-2"+ className="bg-background mt-2 pr-10"{...register('password')}/><Buttonvariant="link"type="button"- className="absolute right-0 top-0 flex h-full items-center justify-center"+ className="absolute right-0 top-0 flex h-full items-center justify-center pr-3"aria-label={showPassword ? 'Mask password' : 'Reveal password'}- onClick={onShowPassword}+ onClick={() => setShowPassword((showPassword) => !showPassword)}>{showPassword ? (<EyeOff className="text-slate-500" />