keycloakify 11.8.25 → 11.8.27
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/account/DefaultPage.d.ts +1 -1
- package/account/Template.d.ts +1 -1
- package/account/i18n/withJsx/GenericI18n.d.ts +5 -5
- package/account/pages/Account.d.ts +1 -1
- package/account/pages/Applications.d.ts +1 -1
- package/account/pages/FederatedIdentity.d.ts +1 -1
- package/account/pages/Log.d.ts +1 -1
- package/account/pages/PageProps.d.ts +2 -2
- package/account/pages/Password.d.ts +1 -1
- package/account/pages/Sessions.d.ts +1 -1
- package/account/pages/Totp.d.ts +1 -1
- package/bin/main.js +0 -0
- package/login/DefaultPage.d.ts +3 -3
- package/login/Template.d.ts +1 -1
- package/login/Template.js +1 -1
- package/login/Template.js.map +1 -1
- package/login/UserProfileFormFields.d.ts +1 -1
- package/login/UserProfileFormFields.js +13 -6
- package/login/UserProfileFormFields.js.map +1 -1
- package/login/UserProfileFormFieldsProps.d.ts +3 -3
- package/login/i18n/withJsx/GenericI18n.d.ts +5 -5
- package/login/lib/getUserProfileApi/getUserProfileApi.js +26 -0
- package/login/lib/getUserProfileApi/getUserProfileApi.js.map +1 -1
- package/login/lib/useUserProfileForm.d.ts +2 -2
- package/login/pages/Code.d.ts +1 -1
- package/login/pages/DeleteAccountConfirm.d.ts +1 -1
- package/login/pages/DeleteCredential.d.ts +1 -1
- package/login/pages/Error.d.ts +1 -1
- package/login/pages/FrontchannelLogout.d.ts +1 -1
- package/login/pages/IdpReviewUserProfile.d.ts +3 -3
- package/login/pages/Info.d.ts +1 -1
- package/login/pages/Login.d.ts +1 -1
- package/login/pages/Login.js.map +1 -1
- package/login/pages/LoginConfigTotp.d.ts +1 -1
- package/login/pages/LoginIdpLinkConfirm.d.ts +1 -1
- package/login/pages/LoginIdpLinkConfirmOverride.d.ts +1 -1
- package/login/pages/LoginIdpLinkEmail.d.ts +1 -1
- package/login/pages/LoginOauth2DeviceVerifyUserCode.d.ts +1 -1
- package/login/pages/LoginOauthGrant.d.ts +1 -1
- package/login/pages/LoginOtp.d.ts +1 -1
- package/login/pages/LoginPageExpired.d.ts +1 -1
- package/login/pages/LoginPasskeysConditionalAuthenticate.d.ts +1 -1
- package/login/pages/LoginPassword.d.ts +1 -1
- package/login/pages/LoginPassword.js.map +1 -1
- package/login/pages/LoginRecoveryAuthnCodeConfig.d.ts +1 -1
- package/login/pages/LoginRecoveryAuthnCodeInput.d.ts +1 -1
- package/login/pages/LoginResetOtp.d.ts +1 -1
- package/login/pages/LoginResetPassword.d.ts +1 -1
- package/login/pages/LoginUpdatePassword.d.ts +1 -1
- package/login/pages/LoginUpdatePassword.js.map +1 -1
- package/login/pages/LoginUpdateProfile.d.ts +3 -3
- package/login/pages/LoginUsername.d.ts +1 -1
- package/login/pages/LoginVerifyEmail.d.ts +1 -1
- package/login/pages/LoginX509Info.d.ts +1 -1
- package/login/pages/LogoutConfirm.d.ts +1 -1
- package/login/pages/PageProps.d.ts +2 -2
- package/login/pages/Register.d.ts +3 -3
- package/login/pages/SamlPostForm.d.ts +1 -1
- package/login/pages/SelectAuthenticator.d.ts +1 -1
- package/login/pages/Terms.d.ts +1 -1
- package/login/pages/UpdateEmail.d.ts +3 -3
- package/login/pages/WebauthnAuthenticate.d.ts +1 -1
- package/login/pages/WebauthnError.d.ts +1 -1
- package/login/pages/WebauthnRegister.d.ts +1 -1
- package/package.json +1 -1
- package/src/account/i18n/withJsx/GenericI18n.tsx +5 -5
- package/src/account/i18n/withJsx/useI18n.tsx +2 -2
- package/src/account/pages/PageProps.ts +2 -2
- package/src/login/DefaultPage.tsx +2 -2
- package/src/login/Template.tsx +1 -1
- package/src/login/UserProfileFormFields.tsx +11 -7
- package/src/login/UserProfileFormFieldsProps.tsx +3 -3
- package/src/login/i18n/withJsx/GenericI18n.tsx +5 -5
- package/src/login/i18n/withJsx/useI18n.tsx +2 -2
- package/src/login/lib/getUserProfileApi/getUserProfileApi.ts +32 -0
- package/src/login/lib/useUserProfileForm.tsx +2 -2
- package/src/login/pages/IdpReviewUserProfile.tsx +2 -2
- package/src/login/pages/Login.tsx +2 -2
- package/src/login/pages/LoginPassword.tsx +2 -2
- package/src/login/pages/LoginUpdatePassword.tsx +2 -2
- package/src/login/pages/LoginUpdateProfile.tsx +2 -2
- package/src/login/pages/PageProps.ts +2 -2
- package/src/login/pages/Register.tsx +2 -2
- package/src/login/pages/UpdateEmail.tsx +2 -2
- package/src/tools/JSX.ts +0 -2
- package/tools/JSX.d.ts +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { JSX } from "keycloakify/tools/JSX";
|
2
2
|
import { useState } from "react";
|
3
3
|
import { kcSanitize } from "keycloakify/lib/kcSanitize";
|
4
4
|
import { clsx } from "keycloakify/tools/clsx";
|
@@ -102,7 +102,7 @@ export default function LoginPassword(props: PageProps<Extract<KcContext, { page
|
|
102
102
|
);
|
103
103
|
}
|
104
104
|
|
105
|
-
function PasswordWrapper(props: { kcClsx: KcClsx; i18n: I18n; passwordInputId: string; children:
|
105
|
+
function PasswordWrapper(props: { kcClsx: KcClsx; i18n: I18n; passwordInputId: string; children: JSX.Element }) {
|
106
106
|
const { kcClsx, i18n, passwordInputId, children } = props;
|
107
107
|
|
108
108
|
const { msgStr } = i18n;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { JSX } from "keycloakify/tools/JSX";
|
2
2
|
import { useIsPasswordRevealed } from "keycloakify/tools/useIsPasswordRevealed";
|
3
3
|
import { kcSanitize } from "keycloakify/lib/kcSanitize";
|
4
4
|
import { getKcClsx, type KcClsx } from "keycloakify/login/lib/kcClsx";
|
@@ -140,7 +140,7 @@ function LogoutOtherSessions(props: { kcClsx: KcClsx; i18n: I18n }) {
|
|
140
140
|
);
|
141
141
|
}
|
142
142
|
|
143
|
-
function PasswordWrapper(props: { kcClsx: KcClsx; i18n: I18n; passwordInputId: string; children:
|
143
|
+
function PasswordWrapper(props: { kcClsx: KcClsx; i18n: I18n; passwordInputId: string; children: JSX.Element }) {
|
144
144
|
const { kcClsx, i18n, passwordInputId, children } = props;
|
145
145
|
|
146
146
|
const { msgStr } = i18n;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { JSX } from "keycloakify/tools/JSX";
|
2
2
|
import { useState } from "react";
|
3
3
|
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
4
4
|
import { getKcClsx } from "keycloakify/login/lib/kcClsx";
|
@@ -8,7 +8,7 @@ import type { KcContext } from "../KcContext";
|
|
8
8
|
import type { I18n } from "../i18n";
|
9
9
|
|
10
10
|
type LoginUpdateProfileProps = PageProps<Extract<KcContext, { pageId: "login-update-profile.ftl" }>, I18n> & {
|
11
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
11
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
12
12
|
doMakeUserConfirmPassword: boolean;
|
13
13
|
};
|
14
14
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import type {
|
1
|
+
import type { JSX } from "keycloakify/tools/JSX";
|
2
2
|
import { type TemplateProps, type ClassKey } from "keycloakify/login/TemplateProps";
|
3
3
|
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
4
4
|
|
5
5
|
export type PageProps<NarrowedKcContext, I18n> = {
|
6
|
-
Template: LazyOrNot<(props: TemplateProps<any, any>) =>
|
6
|
+
Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
|
7
7
|
kcContext: NarrowedKcContext;
|
8
8
|
i18n: I18n;
|
9
9
|
doUseDefaultCss: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { JSX } from "keycloakify/tools/JSX";
|
2
2
|
import { useState } from "react";
|
3
3
|
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
4
4
|
import { kcSanitize } from "keycloakify/lib/kcSanitize";
|
@@ -10,7 +10,7 @@ import type { KcContext } from "../KcContext";
|
|
10
10
|
import type { I18n } from "../i18n";
|
11
11
|
|
12
12
|
type RegisterProps = PageProps<Extract<KcContext, { pageId: "register.ftl" }>, I18n> & {
|
13
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
13
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
14
14
|
doMakeUserConfirmPassword: boolean;
|
15
15
|
};
|
16
16
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { JSX } from "keycloakify/tools/JSX";
|
2
2
|
import { useState } from "react";
|
3
3
|
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
4
4
|
import { getKcClsx, type KcClsx } from "keycloakify/login/lib/kcClsx";
|
@@ -8,7 +8,7 @@ import type { KcContext } from "../KcContext";
|
|
8
8
|
import type { I18n } from "../i18n";
|
9
9
|
|
10
10
|
type UpdateEmailProps = PageProps<Extract<KcContext, { pageId: "update-email.ftl" }>, I18n> & {
|
11
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) =>
|
11
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
12
12
|
doMakeUserConfirmPassword: boolean;
|
13
13
|
};
|
14
14
|
|
package/src/tools/JSX.ts
CHANGED
package/tools/JSX.d.ts
CHANGED