From da61343a300899a6a98a4457411696382ca69d1a Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Mon, 12 Feb 2024 17:02:18 +0100 Subject: [PATCH] Update --- package.json | 2 +- src/keycloak-theme/account/KcApp.tsx | 4 ++-- src/keycloak-theme/login/KcApp.tsx | 4 ++-- yarn.lock | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 451fa85..5425de7 100755 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "dependencies": { "evt": "^2.5.7", "oidc-spa": "^4.0.0", - "keycloakify": "9.4.0-rc.15", + "keycloakify": "9.4.0-rc.16", "powerhooks": "^1.0.8", "tsafe": "^1.6.6", "zod": "^3.22.4", diff --git a/src/keycloak-theme/account/KcApp.tsx b/src/keycloak-theme/account/KcApp.tsx index 030663a..3f88a88 100644 --- a/src/keycloak-theme/account/KcApp.tsx +++ b/src/keycloak-theme/account/KcApp.tsx @@ -10,9 +10,9 @@ const MyExtraPage1 = lazy(() => import("./pages/MyExtraPage1")); const MyExtraPage2 = lazy(() => import("./pages/MyExtraPage2")); const Fallback = lazy(()=> import("keycloakify/account")); -const classes: PageProps["classes"] = { +const classes = { "kcBodyClass": "my-root-account-class" -}; +} satisfies PageProps["classes"]; export default function KcApp(props: { kcContext: KcContext; }) { diff --git a/src/keycloak-theme/login/KcApp.tsx b/src/keycloak-theme/login/KcApp.tsx index 2433444..5366ad6 100644 --- a/src/keycloak-theme/login/KcApp.tsx +++ b/src/keycloak-theme/login/KcApp.tsx @@ -16,11 +16,11 @@ const Info = lazy(() => import("keycloakify/login/pages/Info")); // This is like adding classes to theme.properties // https://github.com/keycloak/keycloak/blob/11.0.3/themes/src/main/resources/theme/keycloak/login/theme.properties -const classes: PageProps["classes"] = { +const classes = { // NOTE: The classes are defined in ./KcApp.css "kcHtmlClass": "my-root-class", "kcHeaderWrapperClass": "my-color my-font" -}; +} satisfies PageProps["classes"]; export default function KcApp(props: { kcContext: KcContext; }) { diff --git a/yarn.lock b/yarn.lock index a2cc81c..11981fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2608,10 +2608,10 @@ jwt-decode@^3.1.2: resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59" integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A== -keycloakify@9.4.0-rc.15: - version "9.4.0-rc.15" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.4.0-rc.15.tgz#d91cedac1f77cbbaa5ac959c5a46753d4f0217b1" - integrity sha512-Q3r+JoToewxjyYlQRMAZ7BK0fzAg+AK4OTFF0NzdFS1ajsvTW7zL7/bntauOy58gXmR/QRcqROfGCVLtNhD0lw== +keycloakify@9.4.0-rc.16: + version "9.4.0-rc.16" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.4.0-rc.16.tgz#f7efe2484e9ade5c3d388c7cefa01313675597a0" + integrity sha512-JwPargNGvV46esZe2iSwJXWWRP+QyGBL8DwjFqiY+mahGwm4FbXROJsnRjdNz3zKDLuKkHqAY/ctUarLe6GaAQ== dependencies: "@babel/generator" "^7.22.9" "@babel/parser" "^7.22.7"