Sync styleguide 2026.05.18.1

This commit is contained in:
2026-06-10 18:23:46 +02:00
parent b9fc1a52b1
commit 1b4ba2e65e
2 changed files with 7 additions and 7 deletions
@@ -160,12 +160,12 @@
}
const updateRegisterButtonState = () => {
const hasTextInput = Array.from(formCard.querySelectorAll('input[type="email"], input[type="password"]'))
.some((field) => field.value.trim().length > 0);
const requiredFields = Array.from(formCard.querySelectorAll('input[type="email"], input[type="password"]'));
const allFieldsFilled = requiredFields.every((field) => field.value.trim().length > 0);
registerButton.disabled = !hasTextInput;
registerButton.setAttribute('aria-disabled', String(!hasTextInput));
registerButton.classList.toggle('sg-button--process-inactive', !hasTextInput);
registerButton.disabled = !allFieldsFilled;
registerButton.setAttribute('aria-disabled', String(!allFieldsFilled));
registerButton.classList.toggle('sg-button--process-inactive', !allFieldsFilled);
};
formCard.querySelectorAll('input[type="email"], input[type="password"]').forEach((field) => {
+2 -2
View File
@@ -1,7 +1,7 @@
{
"styleguideVersion": "2026.05.18.1",
"styleguideCommit": "66d0740",
"syncedAtUtc": "2026-06-10T16:04:47Z",
"styleguideCommit": "5097d3d",
"syncedAtUtc": "2026-06-10T16:23:46Z",
"sourceRepo": "/Users/mathias/Documents/Dokumente Chouchou/Codebases/Styleguide",
"mirroredDocsPath": "docs/styleguide"
}