Skip to content

Commit 923fc71

Browse files
authored
Merge pull request #9 from helpwave/patch/update-theme-and-hightide
Upgrade on Storybook v10 and hightide v0.8.1
2 parents 6f588c5 + 72e260f commit 923fc71

60 files changed

Lines changed: 1374 additions & 659 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.storybook/preview.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Preview } from '@storybook/react-vite'
22
import React from 'react'
33
import '@helpwave/hightide/style/globals.css'
44
import '../src/index.css'
5-
import { ThemeProvider, LocaleProvider } from '@helpwave/hightide'
5+
import { HightideProvider } from '@helpwave/hightide'
66

77
if (typeof window !== 'undefined' && typeof (globalThis as { process?: { env: Record<string, string> } }).process === 'undefined') {
88
(globalThis as { process: { env: Record<string, string> } }).process = { env: {} }
@@ -45,13 +45,9 @@ const preview: Preview = {
4545
}
4646
}
4747
return React.createElement(
48-
ThemeProvider,
48+
HightideProvider,
4949
{},
50-
React.createElement(
51-
LocaleProvider,
52-
{},
53-
React.createElement(Story)
54-
)
50+
React.createElement(Story)
5551
)
5652
}
5753
]

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
retries: 5
1515

1616
keycloak:
17-
image: quay.io/keycloak/keycloak:26.0
17+
image: quay.io/keycloak/keycloak:26.5
1818
command: start-dev --import-realm
1919
environment:
2020
KEYCLOAK_ADMIN: admin
@@ -30,7 +30,7 @@ services:
3030
ports:
3131
- "8080:8080"
3232
volumes:
33-
- ./dist_keycloak/keycloak-theme-for-kc-all-other-versions.jar:/opt/keycloak/providers/helpwave-id-theme.jar:ro
33+
- ./dist_keycloak/keycloak-theme-for-kc-26.2-and-above.jar:/opt/keycloak/providers/helpwave-id-theme.jar:ro
3434
depends_on:
3535
postgres:
3636
condition: service_healthy

locales/de-DE.arb

Lines changed: 109 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
"@doSave": {
117117
"description": "Speichern Button Text"
118118
},
119+
"doUpdate": "Aktualisieren",
120+
"@doUpdate": {
121+
"description": "Aktualisieren Button Text für Passwortformular"
122+
},
119123
"updatePassword": "Passwort ändern",
120124
"@updatePassword": {
121125
"description": "Passwort ändern Button Text"
@@ -140,10 +144,18 @@
140144
"@personalInfoTitle": {
141145
"description": "Persönliche Angaben Abschnittsüberschrift"
142146
},
143-
"passwordSectionTitle": "Passwort",
147+
"passwordSectionTitle": "Passwort aktualisieren",
144148
"@passwordSectionTitle": {
145149
"description": "Passwort-Abschnittsüberschrift"
146150
},
151+
"securitySectionTitle": "Sicherheit",
152+
"@securitySectionTitle": {
153+
"description": "Sicherheits-Abschnittsüberschrift"
154+
},
155+
"dangerZoneTitle": "Gefahrenzone",
156+
"@dangerZoneTitle": {
157+
"description": "Gefahrenzone-Abschnittsüberschrift"
158+
},
147159
"doCancel": "Abbrechen",
148160
"@doCancel": {
149161
"description": "Abbrechen Button Text"
@@ -152,6 +164,10 @@
152164
"@backToApplication": {
153165
"description": "Zurück zur Anwendung Button Text"
154166
},
167+
"backToAccount": "Zurück zum Konto",
168+
"@backToAccount": {
169+
"description": "Zurück zum Konto Button-Text in der Kontokonsole"
170+
},
155171
"doContinue": "Weiter",
156172
"@doContinue": {
157173
"description": "Weiter Button Text"
@@ -172,6 +188,10 @@
172188
"@doRestart": {
173189
"description": "Neu starten Button Text"
174190
},
191+
"sessionExpired": "Die für die Verbindung vorgesehene Zeit ist abgelaufen.\nDer Anmeldevorgang wird von vorne begonnen.",
192+
"@sessionExpired": {
193+
"description": "Sitzung/Timeout abgelaufen Nachricht"
194+
},
175195
"deleteAccountConfirm": "Möchten Sie Ihr Konto wirklich löschen?",
176196
"@deleteAccountConfirm": {
177197
"description": "Konto-Löschungsbestätigungsnachricht"
@@ -339,5 +359,92 @@
339359
"errorAccountTemporarilyDisabled": "Konto ist vorübergehend deaktiviert. Wenden Sie sich an Ihren Administrator oder versuchen Sie es später erneut.",
340360
"@errorAccountTemporarilyDisabled": {
341361
"description": "Konto deaktiviert Fehler"
342-
}
362+
},
363+
"errorIncorrectCurrentPassword": "Falsches aktuelles Passwort",
364+
"@errorIncorrectCurrentPassword": {
365+
"description": "Aktuelles Passwort-Feldfehler im Konto"
366+
},
367+
"errorInvalidExistingPassword": "Ungültiges bestehendes Passwort",
368+
"@errorInvalidExistingPassword": {
369+
"description": "Bestehendes Passwort ungültig im Konto"
370+
},
371+
"errorPleaseSpecifyPassword": "Bitte geben Sie ein Passwort an",
372+
"@errorPleaseSpecifyPassword": {
373+
"description": "Passwort-Pflichtfeld Validierungsmeldung"
374+
},
375+
"successPasswordChanged": "Passwort erfolgreich geändert",
376+
"@successPasswordChanged": {
377+
"description": "Passwort-Änderung Erfolgsmeldung"
378+
},
379+
"successMobileAuthenticatorConfigured": "Mobiler Authentifikator konfiguriert",
380+
"@successMobileAuthenticatorConfigured": {
381+
"description": "TOTP/Authentifikator Erfolgsmeldung"
382+
},
383+
"successAccountUpdated": "Ihr Konto wurde aktualisiert",
384+
"@successAccountUpdated": {
385+
"description": "Konto-Aktualisierung Erfolgsmeldung"
386+
},
387+
"errorAccountDisabled": "Konto ist deaktiviert. Wenden Sie sich an Ihren Administrator.",
388+
"errorUsernameExists": "Benutzername existiert bereits.",
389+
"errorEmailExists": "E-Mail existiert bereits.",
390+
"errorExpiredCode": "Anmeldung abgelaufen. Bitte melden Sie sich erneut an.",
391+
"errorExpiredAction": "Aktion abgelaufen. Bitte fahren Sie jetzt mit der Anmeldung fort.",
392+
"errorInvalidTotp": "Ungültiger Authentifikatorcode.",
393+
"errorMissingTotp": "Bitte geben Sie den Authentifikatorcode an.",
394+
"errorConfigureTotp": "Sie müssen den mobilen Authentifikator einrichten, um Ihr Konto zu aktivieren.",
395+
"errorEmailSendError": "E-Mail konnte nicht gesendet werden. Bitte versuchen Sie es später erneut.",
396+
"successPasswordUpdated": "Ihr Passwort wurde aktualisiert.",
397+
"successEmailSent": "Sie sollten in Kürze eine E-Mail mit weiteren Anweisungen erhalten.",
398+
"pageTitleLogin": "Anmelden",
399+
"pageTitleRegister": "Registrieren",
400+
"pageTitleForgotPassword": "Passwort vergessen",
401+
"pageTitleInfo": "Information",
402+
"pageTitleError": "Fehler",
403+
"pageTitlePageDisabled": "Seite deaktiviert",
404+
"@pageTitlePageDisabled": {
405+
"description": "Titel für deaktivierte/Fehlerseite"
406+
},
407+
"pageTitleCode": "Bestätigungscode",
408+
"pageTitleLogoutConfirm": "Abmelden",
409+
"pageTitleTerms": "Allgemeine Geschäftsbedingungen",
410+
"pageTitleLoginOtp": "Bestätigungscode",
411+
"pageTitleUpdatePassword": "Passwort ändern",
412+
"pageTitleEmailVerification": "E-Mail-Verifizierung",
413+
"pageTitleDeleteAccountConfirm": "Konto löschen",
414+
"pageTitleDeleteCredential": "Anmeldedaten löschen",
415+
"pageTitleFrontchannelLogout": "Abmelden",
416+
"pageTitleIdpReviewProfile": "Kontoinformationen aktualisieren",
417+
"pageTitleLinkIdp": "Identitätsanbieter verknüpfen",
418+
"pageTitleConfigTotp": "Mobiler Authentifikator einrichten",
419+
"pageTitleIdpLinkConfirm": "Konto verknüpfen",
420+
"pageTitleIdpLinkConfirmOverride": "Verknüpfung überschreiben",
421+
"pageTitleIdpLinkEmail": "Konto verknüpfen",
422+
"pageTitleOauth2DeviceVerifyUserCode": "Geräte-Anmeldung",
423+
"pageTitleOauthGrant": "Zugriff gewähren",
424+
"pageTitlePageExpired": "Seite abgelaufen",
425+
"pageTitlePasskeysConditionalAuthenticate": "Passkey-Anmeldung",
426+
"pageTitleLoginPassword": "Anmelden",
427+
"pageTitleRecoveryCodeConfig": "Wiederherstellungscodes",
428+
"pageTitleRecoveryCodeInput": "Wiederherstellungscode",
429+
"pageTitleResetOtp": "Authentifikator zurücksetzen",
430+
"pageTitleUpdateProfile": "Kontoinformationen aktualisieren",
431+
"pageTitleLoginUsername": "Anmelden",
432+
"pageTitleX509Info": "X.509-Zertifikat",
433+
"pageTitleSamlPostForm": "Weiterleitung",
434+
"pageTitleSelectAuthenticator": "Authentifikator auswählen",
435+
"pageTitleSelectOrganization": "Organisation auswählen",
436+
"pageTitleUpdateEmail": "E-Mail aktualisieren",
437+
"pageTitleWebauthnAuthenticate": "Passkey-Anmeldung",
438+
"pageTitleWebauthnError": "Passkey-Fehler",
439+
"pageTitleWebauthnRegister": "Passkey-Registrierung",
440+
"pageTitleAccount": "Konto",
441+
"pageTitleAccountPassword": "Passwort",
442+
"messageHeaderEmailVerification": "E-Mail-Verifizierung",
443+
"messageHeaderForgotPassword": "Passwort vergessen?",
444+
"messageHeaderEmailUpdateConfirmation": "Bestätigungs-E-Mail gesendet",
445+
"messageHeaderEmailUpdated": "E-Mail aktualisiert",
446+
"messageHeaderUpdatePassword": "Passwort ändern",
447+
"messageHeaderSuccessCode": "Erfolgscode",
448+
"messageHeaderErrorCode": "Fehlercode",
449+
"messageHeaderExecuteActions": "Erforderliche Aktionen"
343450
}

locales/en-US.arb

Lines changed: 109 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
"@doSave": {
117117
"description": "Save button text"
118118
},
119+
"doUpdate": "Update",
120+
"@doUpdate": {
121+
"description": "Update button text for password form"
122+
},
119123
"updatePassword": "Update Password",
120124
"@updatePassword": {
121125
"description": "Update password button text"
@@ -140,10 +144,18 @@
140144
"@personalInfoTitle": {
141145
"description": "Personal info section title"
142146
},
143-
"passwordSectionTitle": "Password",
147+
"passwordSectionTitle": "Update password",
144148
"@passwordSectionTitle": {
145149
"description": "Password section title"
146150
},
151+
"securitySectionTitle": "Security",
152+
"@securitySectionTitle": {
153+
"description": "Security section title"
154+
},
155+
"dangerZoneTitle": "Danger zone",
156+
"@dangerZoneTitle": {
157+
"description": "Danger zone section title"
158+
},
147159
"doCancel": "Cancel",
148160
"@doCancel": {
149161
"description": "Cancel button text"
@@ -152,6 +164,10 @@
152164
"@backToApplication": {
153165
"description": "Back to application button text"
154166
},
167+
"backToAccount": "Back to Account",
168+
"@backToAccount": {
169+
"description": "Back to account button text in account console"
170+
},
155171
"doContinue": "Continue",
156172
"@doContinue": {
157173
"description": "Continue button text"
@@ -172,6 +188,10 @@
172188
"@doRestart": {
173189
"description": "Restart button text"
174190
},
191+
"sessionExpired": "The time allotted for the connection has elapsed.\nThe login process will restart from the beginning.",
192+
"@sessionExpired": {
193+
"description": "Session/timeout expired message"
194+
},
175195
"deleteAccountConfirm": "Are you sure you want to delete your account?",
176196
"@deleteAccountConfirm": {
177197
"description": "Delete account confirmation message"
@@ -339,5 +359,92 @@
339359
"errorAccountTemporarilyDisabled": "Account is temporarily disabled. Contact your administrator or try again later.",
340360
"@errorAccountTemporarilyDisabled": {
341361
"description": "Account disabled error"
342-
}
362+
},
363+
"errorIncorrectCurrentPassword": "Incorrect current password",
364+
"@errorIncorrectCurrentPassword": {
365+
"description": "Current password field error on account"
366+
},
367+
"errorInvalidExistingPassword": "Invalid existing password",
368+
"@errorInvalidExistingPassword": {
369+
"description": "Existing password invalid on account"
370+
},
371+
"errorPleaseSpecifyPassword": "Please specify password",
372+
"@errorPleaseSpecifyPassword": {
373+
"description": "Password required validation message"
374+
},
375+
"successPasswordChanged": "Password successfully changed",
376+
"@successPasswordChanged": {
377+
"description": "Password change success message"
378+
},
379+
"successMobileAuthenticatorConfigured": "Mobile authenticator configured",
380+
"@successMobileAuthenticatorConfigured": {
381+
"description": "TOTP/authenticator success message"
382+
},
383+
"successAccountUpdated": "Your account has been updated",
384+
"@successAccountUpdated": {
385+
"description": "Account update success message"
386+
},
387+
"errorAccountDisabled": "Account is disabled, contact your administrator.",
388+
"errorUsernameExists": "Username already exists.",
389+
"errorEmailExists": "Email already exists.",
390+
"errorExpiredCode": "Login timeout. Please sign in again.",
391+
"errorExpiredAction": "Action expired. Please continue with login now.",
392+
"errorInvalidTotp": "Invalid authenticator code.",
393+
"errorMissingTotp": "Please specify authenticator code.",
394+
"errorConfigureTotp": "You need to set up Mobile Authenticator to activate your account.",
395+
"errorEmailSendError": "Failed to send email, please try again later.",
396+
"successPasswordUpdated": "Your password has been updated.",
397+
"successEmailSent": "You should receive an email shortly with further instructions.",
398+
"pageTitleLogin": "Log In",
399+
"pageTitleRegister": "Register",
400+
"pageTitleForgotPassword": "Forgot Password",
401+
"pageTitleInfo": "Information",
402+
"pageTitleError": "Error",
403+
"pageTitlePageDisabled": "Page disabled",
404+
"@pageTitlePageDisabled": {
405+
"description": "Title for disabled/error page"
406+
},
407+
"pageTitleCode": "Verification Code",
408+
"pageTitleLogoutConfirm": "Log Out",
409+
"pageTitleTerms": "Terms and Conditions",
410+
"pageTitleLoginOtp": "Verification Code",
411+
"pageTitleUpdatePassword": "Update Password",
412+
"pageTitleEmailVerification": "Email Verification",
413+
"pageTitleDeleteAccountConfirm": "Delete Account",
414+
"pageTitleDeleteCredential": "Delete Credential",
415+
"pageTitleFrontchannelLogout": "Logging Out",
416+
"pageTitleIdpReviewProfile": "Update Account Information",
417+
"pageTitleLinkIdp": "Link Identity Provider",
418+
"pageTitleConfigTotp": "Mobile Authenticator Setup",
419+
"pageTitleIdpLinkConfirm": "Link Account",
420+
"pageTitleIdpLinkConfirmOverride": "Override Link",
421+
"pageTitleIdpLinkEmail": "Link Account",
422+
"pageTitleOauth2DeviceVerifyUserCode": "Device Login",
423+
"pageTitleOauthGrant": "Grant Access",
424+
"pageTitlePageExpired": "Page Expired",
425+
"pageTitlePasskeysConditionalAuthenticate": "Passkey Login",
426+
"pageTitleLoginPassword": "Log In",
427+
"pageTitleRecoveryCodeConfig": "Recovery Codes",
428+
"pageTitleRecoveryCodeInput": "Recovery Code",
429+
"pageTitleResetOtp": "Reset Authenticator",
430+
"pageTitleUpdateProfile": "Update Account Information",
431+
"pageTitleLoginUsername": "Log In",
432+
"pageTitleX509Info": "X.509 Certificate",
433+
"pageTitleSamlPostForm": "Redirecting",
434+
"pageTitleSelectAuthenticator": "Select Authenticator",
435+
"pageTitleSelectOrganization": "Select Organization",
436+
"pageTitleUpdateEmail": "Update Email",
437+
"pageTitleWebauthnAuthenticate": "Passkey Login",
438+
"pageTitleWebauthnError": "Passkey Error",
439+
"pageTitleWebauthnRegister": "Passkey Registration",
440+
"pageTitleAccount": "Account",
441+
"pageTitleAccountPassword": "Password",
442+
"messageHeaderEmailVerification": "Email verification",
443+
"messageHeaderForgotPassword": "Forgot Your Password?",
444+
"messageHeaderEmailUpdateConfirmation": "Confirmation email sent",
445+
"messageHeaderEmailUpdated": "Email updated",
446+
"messageHeaderUpdatePassword": "Update password",
447+
"messageHeaderSuccessCode": "Success code",
448+
"messageHeaderErrorCode": "Error code",
449+
"messageHeaderExecuteActions": "Required actions"
343450
}

0 commit comments

Comments
 (0)