fix(auth): keep signup fields readable
Quality / quality (ubuntu-latest) (push) Failing after 9m52s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-11 15:54:01 +05:30
parent 8d044565e3
commit c54a69532c
5 changed files with 21 additions and 14 deletions
+2 -2
View File
@@ -212,7 +212,7 @@
}, },
"packages/auth": { "packages/auth": {
"name": "@wrnexus/auth", "name": "@wrnexus/auth",
"version": "0.8.8", "version": "0.8.9",
"dependencies": { "dependencies": {
"@wrnexus/authz": "workspace:*", "@wrnexus/authz": "workspace:*",
"@wrnexus/captcha": "workspace:*", "@wrnexus/captcha": "workspace:*",
@@ -617,7 +617,7 @@
}, },
"packages/ui": { "packages/ui": {
"name": "@wrnexus/ui", "name": "@wrnexus/ui",
"version": "0.8.9", "version": "0.8.10",
"dependencies": { "dependencies": {
"@wrnexus/core": "workspace:*", "@wrnexus/core": "workspace:*",
}, },
+13 -6
View File
@@ -105,7 +105,7 @@ component SignUp {
{/if} {/if}
<div <div
class="space-y-1.5 sm:col-span-2" class="wire-auth-sign-up__wide space-y-1.5 sm:col-span-2"
> >
<StrongPassword <StrongPassword
label="Password" label="Password"
@@ -130,7 +130,7 @@ component SignUp {
label="I agree to the" label="I agree to the"
color="{color}" color="{color}"
size="{size}" size="{size}"
class="sm:col-span-2" class="wire-auth-sign-up__wide sm:col-span-2"
> >
<span <span
class="flex items-center" class="flex items-center"
@@ -157,7 +157,7 @@ component SignUp {
{/if} {/if}
<div <div
class="sm:col-span-2" class="wire-auth-sign-up__wide sm:col-span-2"
> >
<slot></slot> <slot></slot>
</div> </div>
@@ -165,14 +165,14 @@ component SignUp {
<p <p
data-error="_form" data-error="_form"
role="alert" role="alert"
class="m-0 hidden rounded-[var(--wire-radius-sm)] bg-[color-mix(in_srgb,var(--wire-color-danger)_10%,transparent)] p-3 text-sm text-[var(--wire-color-danger)] sm:col-span-2" class="wire-auth-sign-up__wide m-0 hidden rounded-[var(--wire-radius-sm)] bg-[color-mix(in_srgb,var(--wire-color-danger)_10%,transparent)] p-3 text-sm text-[var(--wire-color-danger)] sm:col-span-2"
> >
</p> </p>
<p <p
data-success="Account created successfully." data-success="Account created successfully."
role="status" role="status"
hidden hidden
class="m-0 rounded-[var(--wire-radius-sm)] bg-[color-mix(in_srgb,var(--wire-color-success)_10%,transparent)] p-3 text-sm text-[var(--wire-color-success)] sm:col-span-2" class="wire-auth-sign-up__wide m-0 rounded-[var(--wire-radius-sm)] bg-[color-mix(in_srgb,var(--wire-color-success)_10%,transparent)] p-3 text-sm text-[var(--wire-color-success)] sm:col-span-2"
> >
</p> </p>
@@ -183,7 +183,7 @@ component SignUp {
color="{color}" color="{color}"
size="{size}" size="{size}"
fullWidth="true" fullWidth="true"
class="sm:col-span-2" class="wire-auth-sign-up__wide sm:col-span-2"
/> />
</form> </form>
@@ -194,4 +194,11 @@ component SignUp {
</p> </p>
</section> </section>
} }
style {
.wire-auth-sign-up__wide {
grid-column: 1 / -1;
min-width: 0;
}
}
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@wrnexus/auth", "name": "@wrnexus/auth",
"version": "0.8.8", "version": "0.8.9",
"description": "Complete authentication, account security, MFA, passkeys, recovery, devices, risk, and audit system for WRNexusJS.", "description": "Complete authentication, account security, MFA, passkeys, recovery, devices, risk, and audit system for WRNexusJS.",
"type": "module", "type": "module",
"sideEffects": false, "sideEffects": false,
+4 -4
View File
@@ -322,7 +322,7 @@ component StrongPassword {
line-height: 1.45; line-height: 1.45;
} }
.wire-next__strong-password-requirements li > span { .wire-next__strong-password-requirements li > span[aria-hidden="true"] {
position: relative; position: relative;
width: 0.9rem; width: 0.9rem;
height: 0.9rem; height: 0.9rem;
@@ -332,7 +332,7 @@ component StrongPassword {
border-radius: 50%; border-radius: 50%;
} }
.wire-next__strong-password-requirements li > span::after { .wire-next__strong-password-requirements li > span[aria-hidden="true"]::after {
position: absolute; position: absolute;
top: 0.12rem; top: 0.12rem;
left: 0.29rem; left: 0.29rem;
@@ -349,12 +349,12 @@ component StrongPassword {
color: var(--wire-color-success); color: var(--wire-color-success);
} }
.wire-next__strong-password-requirements li[data-met="true"] > span { .wire-next__strong-password-requirements li[data-met="true"] > span[aria-hidden="true"] {
border-color: var(--wire-color-success); border-color: var(--wire-color-success);
background: var(--wire-color-success); background: var(--wire-color-success);
} }
.wire-next__strong-password-requirements li[data-met="true"] > span::after { .wire-next__strong-password-requirements li[data-met="true"] > span[aria-hidden="true"]::after {
opacity: 1; opacity: 1;
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@wrnexus/ui", "name": "@wrnexus/ui",
"version": "0.8.9", "version": "0.8.10",
"private": true, "private": true,
"type": "module", "type": "module",
"main": "src/index.ts", "main": "src/index.ts",