keycloakify 6.12.3 → 6.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/lib/pages/Error.d.ts +4 -2
- package/lib/pages/Error.js.map +1 -1
- package/lib/pages/IdpReviewUserProfile.d.ts +4 -2
- package/lib/pages/IdpReviewUserProfile.js.map +1 -1
- package/lib/pages/Info.d.ts +4 -2
- package/lib/pages/Info.js.map +1 -1
- package/lib/pages/Login.d.ts +4 -2
- package/lib/pages/Login.js.map +1 -1
- package/lib/pages/LoginConfigTotp.d.ts +4 -2
- package/lib/pages/LoginConfigTotp.js.map +1 -1
- package/lib/pages/LoginIdpLinkConfirm.d.ts +4 -2
- package/lib/pages/LoginIdpLinkConfirm.js.map +1 -1
- package/lib/pages/LoginIdpLinkEmail.d.ts +3 -1
- package/lib/pages/LoginIdpLinkEmail.js.map +1 -1
- package/lib/pages/LoginOtp.d.ts +4 -2
- package/lib/pages/LoginOtp.js.map +1 -1
- package/lib/pages/LoginPageExpired.d.ts +4 -2
- package/lib/pages/LoginPageExpired.js.map +1 -1
- package/lib/pages/LoginPassword.d.ts +4 -2
- package/lib/pages/LoginPassword.js.map +1 -1
- package/lib/pages/LoginResetPassword.d.ts +4 -2
- package/lib/pages/LoginResetPassword.js.map +1 -1
- package/lib/pages/LoginUpdatePassword.d.ts +4 -2
- package/lib/pages/LoginUpdatePassword.js.map +1 -1
- package/lib/pages/LoginUpdateProfile.d.ts +4 -2
- package/lib/pages/LoginUpdateProfile.js.map +1 -1
- package/lib/pages/LoginUsername.d.ts +4 -2
- package/lib/pages/LoginUsername.js.map +1 -1
- package/lib/pages/LoginVerifyEmail.d.ts +4 -2
- package/lib/pages/LoginVerifyEmail.js.map +1 -1
- package/lib/pages/LogoutConfirm.d.ts +4 -2
- package/lib/pages/LogoutConfirm.js.map +1 -1
- package/lib/pages/Register.d.ts +4 -2
- package/lib/pages/Register.js.map +1 -1
- package/lib/pages/RegisterUserProfile.d.ts +4 -2
- package/lib/pages/RegisterUserProfile.js.map +1 -1
- package/lib/pages/Terms.d.ts +4 -2
- package/lib/pages/Terms.js.map +1 -1
- package/lib/pages/UpdateUserProfile.d.ts +4 -2
- package/lib/pages/UpdateUserProfile.js.map +1 -1
- package/lib/pages/WebauthnAuthenticate.d.ts +4 -2
- package/lib/pages/WebauthnAuthenticate.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/lib/pages/Error.tsx +2 -2
- package/src/lib/pages/IdpReviewUserProfile.tsx +2 -2
- package/src/lib/pages/Info.tsx +2 -2
- package/src/lib/pages/Login.tsx +2 -2
- package/src/lib/pages/LoginConfigTotp.tsx +2 -2
- package/src/lib/pages/LoginIdpLinkConfirm.tsx +2 -2
- package/src/lib/pages/LoginIdpLinkEmail.tsx +1 -1
- package/src/lib/pages/LoginOtp.tsx +2 -2
- package/src/lib/pages/LoginPageExpired.tsx +2 -2
- package/src/lib/pages/LoginPassword.tsx +2 -2
- package/src/lib/pages/LoginResetPassword.tsx +2 -2
- package/src/lib/pages/LoginUpdatePassword.tsx +2 -2
- package/src/lib/pages/LoginUpdateProfile.tsx +2 -2
- package/src/lib/pages/LoginUsername.tsx +2 -2
- package/src/lib/pages/LoginVerifyEmail.tsx +2 -2
- package/src/lib/pages/LogoutConfirm.tsx +2 -2
- package/src/lib/pages/Register.tsx +2 -2
- package/src/lib/pages/RegisterUserProfile.tsx +2 -2
- package/src/lib/pages/Terms.tsx +2 -2
- package/src/lib/pages/UpdateUserProfile.tsx +2 -2
- package/src/lib/pages/WebauthnAuthenticate.tsx +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "keycloakify",
|
3
|
-
"version": "6.12.
|
3
|
+
"version": "6.12.5",
|
4
4
|
"description": "Keycloak theme generator for Reacts app",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -1322,7 +1322,7 @@
|
|
1322
1322
|
"@octokit/rest": "^18.12.0",
|
1323
1323
|
"cheerio": "^1.0.0-rc.5",
|
1324
1324
|
"cli-select": "^1.1.2",
|
1325
|
-
"evt": "^2.4.
|
1325
|
+
"evt": "^2.4.15",
|
1326
1326
|
"minimal-polyfills": "^2.2.2",
|
1327
1327
|
"minimist": "^1.2.6",
|
1328
1328
|
"path-browserify": "^1.0.1",
|
package/src/lib/pages/Error.tsx
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import type { KcContextBase } from "../getKcContext";
|
3
2
|
import type { PageProps } from "../KcProps";
|
3
|
+
import type { KcContextBase } from "../getKcContext";
|
4
4
|
import type { I18nBase } from "../i18n";
|
5
5
|
|
6
|
-
export default function Error(props: PageProps<KcContextBase
|
6
|
+
export default function Error(props: PageProps<Extract<KcContextBase, { pageId: "error.ftl" }>, I18nBase>) {
|
7
7
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
8
8
|
|
9
9
|
const { message, client } = kcContext;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
3
|
import { UserProfileFormFields } from "./shared/UserProfileCommons";
|
4
|
-
import type { KcContextBase } from "../getKcContext";
|
5
4
|
import type { PageProps } from "../KcProps";
|
5
|
+
import type { KcContextBase } from "../getKcContext";
|
6
6
|
import type { I18nBase } from "../i18n";
|
7
7
|
|
8
|
-
export default function IdpReviewUserProfile(props: PageProps<KcContextBase
|
8
|
+
export default function IdpReviewUserProfile(props: PageProps<Extract<KcContextBase, { pageId: "idp-review-user-profile.ftl" }>, I18nBase>) {
|
9
9
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
10
10
|
|
11
11
|
const { msg, msgStr } = i18n;
|
package/src/lib/pages/Info.tsx
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { assert } from "../tools/assert";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function Info(props: PageProps<KcContextBase
|
7
|
+
export default function Info(props: PageProps<Extract<KcContextBase, { pageId: "info.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { msgStr, msg } = i18n;
|
package/src/lib/pages/Login.tsx
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import React, { useState, type FormEventHandler } from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
3
|
import { useConstCallback } from "../tools/useConstCallback";
|
4
|
-
import type { KcContextBase } from "../getKcContext";
|
5
4
|
import type { PageProps } from "../KcProps";
|
5
|
+
import type { KcContextBase } from "../getKcContext";
|
6
6
|
import type { I18nBase } from "../i18n";
|
7
7
|
|
8
|
-
export default function Login(props: PageProps<KcContextBase
|
8
|
+
export default function Login(props: PageProps<Extract<KcContextBase, { pageId: "login.ftl" }>, I18nBase>) {
|
9
9
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
10
10
|
|
11
11
|
const { social, realm, url, usernameEditDisabled, login, auth, registrationDisabled } = kcContext;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function LoginConfigTotp(props: PageProps<KcContextBase
|
7
|
+
export default function LoginConfigTotp(props: PageProps<Extract<KcContextBase, { pageId: "login-config-totp.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { url, isAppInitiatedAction, totp, mode, messagesPerField } = kcContext;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function LoginIdpLinkConfirm(props: PageProps<KcContextBase
|
7
|
+
export default function LoginIdpLinkConfirm(props: PageProps<Extract<KcContextBase, { pageId: "login-idp-link-confirm.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { url, idpAlias } = kcContext;
|
@@ -3,7 +3,7 @@ import type { KcContextBase } from "../getKcContext";
|
|
3
3
|
import type { PageProps } from "../KcProps";
|
4
4
|
import type { I18nBase } from "../i18n";
|
5
5
|
|
6
|
-
export default function LoginIdpLinkEmail(props: PageProps<KcContextBase
|
6
|
+
export default function LoginIdpLinkEmail(props: PageProps<Extract<KcContextBase, { pageId: "login-idp-link-email.ftl" }>, I18nBase>) {
|
7
7
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
8
8
|
|
9
9
|
const { url, realm, brokerContext, idpAlias } = kcContext;
|
@@ -2,11 +2,11 @@ import React, { useEffect } from "react";
|
|
2
2
|
import { headInsert } from "../tools/headInsert";
|
3
3
|
import { pathJoin } from "../../bin/tools/pathJoin";
|
4
4
|
import { clsx } from "../tools/clsx";
|
5
|
-
import type { KcContextBase } from "../getKcContext";
|
6
5
|
import type { PageProps } from "../KcProps";
|
6
|
+
import type { KcContextBase } from "../getKcContext";
|
7
7
|
import type { I18nBase } from "../i18n";
|
8
8
|
|
9
|
-
export default function LoginOtp(props: PageProps<KcContextBase
|
9
|
+
export default function LoginOtp(props: PageProps<Extract<KcContextBase, { pageId: "login-otp.ftl" }>, I18nBase>) {
|
10
10
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
11
11
|
|
12
12
|
const { otpLogin, url } = kcContext;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import type { KcContextBase } from "../getKcContext";
|
3
2
|
import type { PageProps } from "../KcProps";
|
3
|
+
import type { KcContextBase } from "../getKcContext";
|
4
4
|
import type { I18nBase } from "../i18n";
|
5
5
|
|
6
|
-
export default function LoginPageExpired(props: PageProps<KcContextBase
|
6
|
+
export default function LoginPageExpired(props: PageProps<Extract<KcContextBase, { pageId: "login-page-expired.ftl" }>, I18nBase>) {
|
7
7
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
8
8
|
|
9
9
|
const { url } = kcContext;
|
@@ -2,11 +2,11 @@ import React, { useState } from "react";
|
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
3
|
import { useConstCallback } from "../tools/useConstCallback";
|
4
4
|
import type { FormEventHandler } from "react";
|
5
|
-
import type { KcContextBase } from "../getKcContext";
|
6
5
|
import type { PageProps } from "../KcProps";
|
6
|
+
import type { KcContextBase } from "../getKcContext";
|
7
7
|
import type { I18nBase } from "../i18n";
|
8
8
|
|
9
|
-
export default function LoginPassword(props: PageProps<KcContextBase
|
9
|
+
export default function LoginPassword(props: PageProps<Extract<KcContextBase, { "pageId": "login-password.ftl" }>, I18nBase>) {
|
10
10
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
11
11
|
|
12
12
|
const { realm, url, login } = kcContext;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function LoginResetPassword(props: PageProps<KcContextBase
|
7
|
+
export default function LoginResetPassword(props: PageProps<Extract<KcContextBase, { pageId: "login-reset-password.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { url, realm, auth } = kcContext;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function LoginUpdatePassword(props: PageProps<KcContextBase
|
7
|
+
export default function LoginUpdatePassword(props: PageProps<Extract<KcContextBase, { pageId: "login-update-password.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { msg, msgStr } = i18n;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function LoginUpdateProfile(props: PageProps<KcContextBase
|
7
|
+
export default function LoginUpdateProfile(props: PageProps<Extract<KcContextBase, { pageId: "login-update-profile.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { msg, msgStr } = i18n;
|
@@ -2,11 +2,11 @@ import React, { useState } from "react";
|
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
3
|
import { useConstCallback } from "../tools/useConstCallback";
|
4
4
|
import type { FormEventHandler } from "react";
|
5
|
-
import type { KcContextBase } from "../getKcContext";
|
6
5
|
import type { PageProps } from "../KcProps";
|
6
|
+
import type { KcContextBase } from "../getKcContext";
|
7
7
|
import type { I18nBase } from "../i18n";
|
8
8
|
|
9
|
-
export default function LoginUsername(props: PageProps<KcContextBase
|
9
|
+
export default function LoginUsername(props: PageProps<Extract<KcContextBase, { pageId: "login-username.ftl" }>, I18nBase>) {
|
10
10
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
11
11
|
|
12
12
|
const { social, realm, url, usernameHidden, login, registrationDisabled } = kcContext;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import type { KcContextBase } from "../getKcContext";
|
3
2
|
import type { PageProps } from "../KcProps";
|
3
|
+
import type { KcContextBase } from "../getKcContext";
|
4
4
|
import type { I18nBase } from "../i18n";
|
5
5
|
|
6
|
-
export default function LoginVerifyEmail(props: PageProps<KcContextBase
|
6
|
+
export default function LoginVerifyEmail(props: PageProps<Extract<KcContextBase, { pageId: "login-verify-email.ftl" }>, I18nBase>) {
|
7
7
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
8
8
|
|
9
9
|
const { msg } = i18n;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function LogoutConfirm(props: PageProps<KcContextBase
|
7
|
+
export default function LogoutConfirm(props: PageProps<Extract<KcContextBase, { pageId: "logout-confirm.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { url, client, logoutConfirm } = kcContext;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
|
-
import type { KcContextBase } from "../getKcContext";
|
4
3
|
import type { PageProps } from "../KcProps";
|
4
|
+
import type { KcContextBase } from "../getKcContext";
|
5
5
|
import type { I18nBase } from "../i18n";
|
6
6
|
|
7
|
-
export default function Register(props: PageProps<KcContextBase
|
7
|
+
export default function Register(props: PageProps<Extract<KcContextBase, { pageId: "register.ftl" }>, I18nBase>) {
|
8
8
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
9
9
|
|
10
10
|
const { url, messagesPerField, register, realm, passwordRequired, recaptchaRequired, recaptchaSiteKey } = kcContext;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
3
|
import { UserProfileFormFields } from "./shared/UserProfileCommons";
|
4
|
-
import type { KcContextBase } from "../getKcContext";
|
5
4
|
import type { PageProps } from "../KcProps";
|
5
|
+
import type { KcContextBase } from "../getKcContext";
|
6
6
|
import type { I18nBase } from "../i18n";
|
7
7
|
|
8
|
-
export default function RegisterUserProfile(props: PageProps<KcContextBase
|
8
|
+
export default function RegisterUserProfile(props: PageProps<Extract<KcContextBase, { pageId: "register-user-profile.ftl" }>, I18nBase>) {
|
9
9
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
10
10
|
|
11
11
|
const { url, messagesPerField, recaptchaRequired, recaptchaSiteKey } = kcContext;
|
package/src/lib/pages/Terms.tsx
CHANGED
@@ -9,11 +9,11 @@ import { useConst } from "../tools/useConst";
|
|
9
9
|
import { useConstCallback } from "../tools/useConstCallback";
|
10
10
|
import { Markdown } from "../tools/Markdown";
|
11
11
|
import type { Extends } from "tsafe";
|
12
|
-
import type { KcContextBase } from "../getKcContext";
|
13
12
|
import type { PageProps } from "../KcProps";
|
13
|
+
import type { KcContextBase } from "../getKcContext";
|
14
14
|
import type { I18nBase } from "../i18n";
|
15
15
|
|
16
|
-
export default function Terms(props: PageProps<KcContextBase
|
16
|
+
export default function Terms(props: PageProps<Extract<KcContextBase, { pageId: "terms.ftl" }>, I18nBase>) {
|
17
17
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
18
18
|
|
19
19
|
const { msg, msgStr } = i18n;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
2
|
import { clsx } from "../tools/clsx";
|
3
3
|
import { UserProfileFormFields } from "./shared/UserProfileCommons";
|
4
|
-
import type { KcContextBase } from "../getKcContext";
|
5
4
|
import type { PageProps } from "../KcProps";
|
5
|
+
import type { KcContextBase } from "../getKcContext";
|
6
6
|
import type { I18nBase } from "../i18n";
|
7
7
|
|
8
|
-
export default function UpdateUserProfile(props: PageProps<KcContextBase
|
8
|
+
export default function UpdateUserProfile(props: PageProps<Extract<KcContextBase, { pageId: "update-user-profile.ftl" }>, I18nBase>) {
|
9
9
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
10
10
|
|
11
11
|
const { msg, msgStr } = i18n;
|
@@ -3,11 +3,11 @@ import { clsx } from "../tools/clsx";
|
|
3
3
|
import type { MessageKeyBase } from "../i18n";
|
4
4
|
import { base64url } from "rfc4648";
|
5
5
|
import { useConstCallback } from "../tools/useConstCallback";
|
6
|
-
import type { KcContextBase } from "../getKcContext";
|
7
6
|
import type { PageProps } from "../KcProps";
|
7
|
+
import type { KcContextBase } from "../getKcContext";
|
8
8
|
import type { I18nBase } from "../i18n";
|
9
9
|
|
10
|
-
export default function WebauthnAuthenticate(props: PageProps<KcContextBase
|
10
|
+
export default function WebauthnAuthenticate(props: PageProps<Extract<KcContextBase, { pageId: "webauthn-authenticate.ftl" }>, I18nBase>) {
|
11
11
|
const { kcContext, i18n, doFetchDefaultThemeResources = true, Template, ...kcProps } = props;
|
12
12
|
|
13
13
|
const { url } = kcContext;
|