diff --git a/package.json b/package.json index 88574a0c..8e5536cc 100755 --- a/package.json +++ b/package.json @@ -55,12 +55,10 @@ ], "homepage": "https://github.com/garronej/keycloakify", "peerDependencies": { - "@emotion/react": "^11.4.1", "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@babel/core": "^7.0.0", - "@emotion/react": "^11.4.1", "@types/memoizee": "^0.4.7", "@types/minimist": "^1.2.2", "@types/node": "^17.0.25", @@ -72,6 +70,7 @@ "properties-parser": "^0.3.1", "react": "18.1.0", "rimraf": "^3.0.2", + "@emotion/react": "^11.10.4", "typescript": "^4.2.3" }, "dependencies": { @@ -88,7 +87,7 @@ "rfc4648": "^1.5.2", "scripting-tools": "^0.19.13", "tsafe": "^1.1.3", - "tss-react": "^4.3.4", + "tss-react": "4.4.1-rc.0", "zod": "^3.17.10" } } diff --git a/renovate.json b/renovate.json index 5d491bee..236da808 100644 --- a/renovate.json +++ b/renovate.json @@ -13,11 +13,11 @@ "packageRules": [ { "packagePatterns": ["*"], - "excludePackagePatterns": ["tss-react", "powerhooks", "tsafe", "evt"], + "excludePackagePatterns": ["powerhooks", "tsafe", "evt"], "enabled": false }, { - "packagePatterns": ["tss-react", "powerhooks", "tsafe", "evt"], + "packagePatterns": ["powerhooks", "tsafe", "evt"], "matchUpdateTypes": ["minor", "patch"], "automerge": true, "automergeType": "branch", diff --git a/src/lib/components/IdpReviewUserProfile.tsx b/src/lib/components/IdpReviewUserProfile.tsx index 6fc5e757..a14cf4b2 100644 --- a/src/lib/components/IdpReviewUserProfile.tsx +++ b/src/lib/components/IdpReviewUserProfile.tsx @@ -3,7 +3,7 @@ import DefaultTemplate from "./Template"; import type { TemplateProps } from "./Template"; import type { KcProps } from "./KcProps"; import type { KcContextBase } from "../getKcContext/KcContextBase"; -import { useCssAndCx } from "../tools/useCssAndCx"; +import { clsx } from "../tools/clsx"; import type { I18n } from "../i18n"; import { UserProfileFormFields } from "./shared/UserProfileCommons"; @@ -17,8 +17,6 @@ export type IdpReviewUserProfileProps = KcProps & { const IdpReviewUserProfile = memo((props: IdpReviewUserProfileProps) => { const { kcContext, i18n, doFetchDefaultThemeResources = true, Template = DefaultTemplate, ...kcProps } = props; - const { cx } = useCssAndCx(); - const { msg, msgStr } = i18n; const { url } = kcContext; @@ -30,16 +28,16 @@ const IdpReviewUserProfile = memo((props: IdpReviewUserProfileProps) => { {...{ kcContext, i18n, doFetchDefaultThemeResources, ...kcProps }} headerNode={msg("loginIdpReviewProfileTitle")} formNode={ -