diff --git a/package.json b/package.json index 168821b..586eceb 100755 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "license": "MIT", "keywords": [], "dependencies": { - "keycloakify": "10.0.0-rc.35", + "keycloakify": "10.0.0-rc.37", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/src/account/KcApp.tsx b/src/account/KcApp.tsx index ca2d8f3..22bbb71 100644 --- a/src/account/KcApp.tsx +++ b/src/account/KcApp.tsx @@ -1,11 +1,11 @@ import { Suspense, lazy } from "react"; -import type { PageProps } from "keycloakify/account"; +import type { ClassKey } from "keycloakify/account"; import type { KcContext } from "./KcContext"; import { useI18n } from "./i18n"; import Template from "keycloakify/account/Template"; const Fallback = lazy(() => import("keycloakify/account/Fallback")); -const classes = {} satisfies PageProps["classes"]; +const classes = {} satisfies { [key in ClassKey]?: string }; export default function KcApp(props: { kcContext: KcContext }) { const { kcContext } = props; diff --git a/src/login/KcApp.tsx b/src/login/KcApp.tsx index 42f5760..d49be43 100644 --- a/src/login/KcApp.tsx +++ b/src/login/KcApp.tsx @@ -1,5 +1,5 @@ import { Suspense, lazy } from "react"; -import type { PageProps } from "keycloakify/login"; +import type { ClassKey } from "keycloakify/login"; import type { KcContext } from "./KcContext"; import { useI18n } from "./i18n"; import { useDownloadTerms } from "keycloakify/login"; @@ -7,7 +7,7 @@ import Template from "keycloakify/login/Template"; const Fallback = lazy(() => import("keycloakify/login/Fallback")); const UserProfileFormFields = lazy(() => import("keycloakify/login/UserProfileFormFields")); -const classes = {} satisfies PageProps["classes"]; +const classes = {} satisfies { [key in ClassKey]?: string }; export default function KcApp(props: { kcContext: KcContext }) { const { kcContext } = props; diff --git a/yarn.lock b/yarn.lock index 6ae62e1..0052610 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5011,10 +5011,10 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -keycloakify@10.0.0-rc.35: - version "10.0.0-rc.35" - resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-10.0.0-rc.35.tgz#8b5c1c22c7637d28f4eacc11ac358a001dad8ba5" - integrity sha512-Z5U5O/0U+Sx5ZkoS8pShCqR+iPoka8mD5OMvd/cciOk3opmpOvV5e5ZdJAGl2QI8Flb/0DRcWr+jE3Xlx9vZ0g== +keycloakify@10.0.0-rc.37: + version "10.0.0-rc.37" + resolved "https://registry.yarnpkg.com/keycloakify/-/keycloakify-10.0.0-rc.37.tgz#30481c94c8f8404ab3e9c30da43088096a44f98a" + integrity sha512-FBNxMijjDzdm564Gs68J8BYGY6fHUkB7Ipo6nASONKNZZY32e6f7JYLFg3o/r0hagoebriSSWs+LkjtgPhGKFA== dependencies: react-markdown "^5.0.3" tsafe "^1.6.6"