This commit is contained in:
Joseph Garrone 2024-02-12 17:02:18 +01:00
parent 33bfebfa99
commit da61343a30
4 changed files with 9 additions and 9 deletions

View File

@ -25,7 +25,7 @@
"dependencies": { "dependencies": {
"evt": "^2.5.7", "evt": "^2.5.7",
"oidc-spa": "^4.0.0", "oidc-spa": "^4.0.0",
"keycloakify": "9.4.0-rc.15", "keycloakify": "9.4.0-rc.16",
"powerhooks": "^1.0.8", "powerhooks": "^1.0.8",
"tsafe": "^1.6.6", "tsafe": "^1.6.6",
"zod": "^3.22.4", "zod": "^3.22.4",

View File

@ -10,9 +10,9 @@ const MyExtraPage1 = lazy(() => import("./pages/MyExtraPage1"));
const MyExtraPage2 = lazy(() => import("./pages/MyExtraPage2")); const MyExtraPage2 = lazy(() => import("./pages/MyExtraPage2"));
const Fallback = lazy(()=> import("keycloakify/account")); const Fallback = lazy(()=> import("keycloakify/account"));
const classes: PageProps<any, any>["classes"] = { const classes = {
"kcBodyClass": "my-root-account-class" "kcBodyClass": "my-root-account-class"
}; } satisfies PageProps["classes"];
export default function KcApp(props: { kcContext: KcContext; }) { export default function KcApp(props: { kcContext: KcContext; }) {

View File

@ -16,11 +16,11 @@ const Info = lazy(() => import("keycloakify/login/pages/Info"));
// This is like adding classes to theme.properties // 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 // https://github.com/keycloak/keycloak/blob/11.0.3/themes/src/main/resources/theme/keycloak/login/theme.properties
const classes: PageProps<any, any>["classes"] = { const classes = {
// NOTE: The classes are defined in ./KcApp.css // NOTE: The classes are defined in ./KcApp.css
"kcHtmlClass": "my-root-class", "kcHtmlClass": "my-root-class",
"kcHeaderWrapperClass": "my-color my-font" "kcHeaderWrapperClass": "my-color my-font"
}; } satisfies PageProps["classes"];
export default function KcApp(props: { kcContext: KcContext; }) { export default function KcApp(props: { kcContext: KcContext; }) {

View File

@ -2608,10 +2608,10 @@ jwt-decode@^3.1.2:
resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59" resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59"
integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A== integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==
keycloakify@9.4.0-rc.15: keycloakify@9.4.0-rc.16:
version "9.4.0-rc.15" version "9.4.0-rc.16"
resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.4.0-rc.15.tgz#d91cedac1f77cbbaa5ac959c5a46753d4f0217b1" resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-9.4.0-rc.16.tgz#f7efe2484e9ade5c3d388c7cefa01313675597a0"
integrity sha512-Q3r+JoToewxjyYlQRMAZ7BK0fzAg+AK4OTFF0NzdFS1ajsvTW7zL7/bntauOy58gXmR/QRcqROfGCVLtNhD0lw== integrity sha512-JwPargNGvV46esZe2iSwJXWWRP+QyGBL8DwjFqiY+mahGwm4FbXROJsnRjdNz3zKDLuKkHqAY/ctUarLe6GaAQ==
dependencies: dependencies:
"@babel/generator" "^7.22.9" "@babel/generator" "^7.22.9"
"@babel/parser" "^7.22.7" "@babel/parser" "^7.22.7"