keycloakify 11.8.24 → 11.8.26

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.
Files changed (59) hide show
  1. package/account/DefaultPage.d.ts +1 -1
  2. package/account/Template.d.ts +1 -1
  3. package/account/i18n/withJsx/GenericI18n.d.ts +4 -4
  4. package/account/pages/Account.d.ts +1 -1
  5. package/account/pages/Applications.d.ts +1 -1
  6. package/account/pages/FederatedIdentity.d.ts +1 -1
  7. package/account/pages/Log.d.ts +1 -1
  8. package/account/pages/PageProps.d.ts +1 -1
  9. package/account/pages/Password.d.ts +1 -1
  10. package/account/pages/Sessions.d.ts +1 -1
  11. package/account/pages/Totp.d.ts +1 -1
  12. package/bin/main.js +0 -0
  13. package/login/DefaultPage.d.ts +2 -2
  14. package/login/Template.d.ts +1 -1
  15. package/login/Template.js +1 -1
  16. package/login/Template.js.map +1 -1
  17. package/login/UserProfileFormFields.d.ts +1 -1
  18. package/login/UserProfileFormFieldsProps.d.ts +2 -2
  19. package/login/i18n/withJsx/GenericI18n.d.ts +4 -4
  20. package/login/lib/useUserProfileForm.d.ts +1 -1
  21. package/login/pages/Code.d.ts +1 -1
  22. package/login/pages/DeleteAccountConfirm.d.ts +1 -1
  23. package/login/pages/DeleteCredential.d.ts +1 -1
  24. package/login/pages/Error.d.ts +1 -1
  25. package/login/pages/FrontchannelLogout.d.ts +1 -1
  26. package/login/pages/IdpReviewUserProfile.d.ts +2 -2
  27. package/login/pages/Info.d.ts +1 -1
  28. package/login/pages/Login.d.ts +1 -1
  29. package/login/pages/LoginConfigTotp.d.ts +1 -1
  30. package/login/pages/LoginIdpLinkConfirm.d.ts +1 -1
  31. package/login/pages/LoginIdpLinkConfirmOverride.d.ts +1 -1
  32. package/login/pages/LoginIdpLinkEmail.d.ts +1 -1
  33. package/login/pages/LoginOauth2DeviceVerifyUserCode.d.ts +1 -1
  34. package/login/pages/LoginOauthGrant.d.ts +1 -1
  35. package/login/pages/LoginOtp.d.ts +1 -1
  36. package/login/pages/LoginPageExpired.d.ts +1 -1
  37. package/login/pages/LoginPasskeysConditionalAuthenticate.d.ts +1 -1
  38. package/login/pages/LoginPassword.d.ts +1 -1
  39. package/login/pages/LoginRecoveryAuthnCodeConfig.d.ts +1 -1
  40. package/login/pages/LoginRecoveryAuthnCodeInput.d.ts +1 -1
  41. package/login/pages/LoginResetOtp.d.ts +1 -1
  42. package/login/pages/LoginResetPassword.d.ts +1 -1
  43. package/login/pages/LoginUpdatePassword.d.ts +1 -1
  44. package/login/pages/LoginUpdateProfile.d.ts +2 -2
  45. package/login/pages/LoginUsername.d.ts +1 -1
  46. package/login/pages/LoginVerifyEmail.d.ts +1 -1
  47. package/login/pages/LoginX509Info.d.ts +1 -1
  48. package/login/pages/LogoutConfirm.d.ts +1 -1
  49. package/login/pages/PageProps.d.ts +1 -1
  50. package/login/pages/Register.d.ts +2 -2
  51. package/login/pages/SamlPostForm.d.ts +1 -1
  52. package/login/pages/SelectAuthenticator.d.ts +1 -1
  53. package/login/pages/Terms.d.ts +1 -1
  54. package/login/pages/UpdateEmail.d.ts +2 -2
  55. package/login/pages/WebauthnAuthenticate.d.ts +1 -1
  56. package/login/pages/WebauthnError.d.ts +1 -1
  57. package/login/pages/WebauthnRegister.d.ts +1 -1
  58. package/package.json +1 -1
  59. package/src/login/Template.tsx +1 -1
@@ -2,4 +2,4 @@
2
2
  import type { PageProps } from "../account/pages/PageProps";
3
3
  import type { KcContext } from "../account/KcContext";
4
4
  import { I18n } from "../account/i18n";
5
- export default function DefaultPage(props: PageProps<KcContext, I18n>): JSX.Element;
5
+ export default function DefaultPage(props: PageProps<KcContext, I18n>): React.ReactElement<any, any>;
@@ -2,4 +2,4 @@
2
2
  import type { TemplateProps } from "../account/TemplateProps";
3
3
  import type { I18n } from "./i18n";
4
4
  import type { KcContext } from "./KcContext";
5
- export default function Template(props: TemplateProps<KcContext, I18n>): JSX.Element | null;
5
+ export default function Template(props: TemplateProps<KcContext, I18n>): React.ReactElement<any, any> | null;
@@ -62,11 +62,11 @@ export type GenericI18n<MessageKey extends string, LanguageTag extends string> =
62
62
  */
63
63
  isFetchingTranslations: boolean;
64
64
  /**
65
- * Same as msgStr but returns a JSX.Element with the html string rendered as html.
65
+ * Same as msgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
66
66
  */
67
- msg: (key: MessageKey, ...args: (string | undefined)[]) => JSX.Element;
67
+ msg: (key: MessageKey, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
68
68
  /**
69
- * Same as advancedMsgStr but returns a JSX.Element with the html string rendered as html.
69
+ * Same as advancedMsgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
70
70
  */
71
- advancedMsg: (key: string, ...args: (string | undefined)[]) => JSX.Element;
71
+ advancedMsg: (key: string, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
72
72
  };
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Account(props: PageProps<Extract<KcContext, {
6
6
  pageId: "account.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Applications(props: PageProps<Extract<KcContext, {
6
6
  pageId: "applications.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function FederatedIdentity(props: PageProps<Extract<KcContext, {
6
6
  pageId: "federatedIdentity.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Log(props: PageProps<Extract<KcContext, {
6
6
  pageId: "log.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -2,7 +2,7 @@ import type { JSX } from "../../tools/JSX";
2
2
  import { type TemplateProps, type ClassKey } from "../../account/TemplateProps";
3
3
  import type { LazyOrNot } from "../../tools/LazyOrNot";
4
4
  export type PageProps<NarrowedKcContext, I18n> = {
5
- Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
5
+ Template: LazyOrNot<(props: TemplateProps<any, any>) => React.ReactElement<any, any> | null>;
6
6
  kcContext: NarrowedKcContext;
7
7
  i18n: I18n;
8
8
  doUseDefaultCss: boolean;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Password(props: PageProps<Extract<KcContext, {
6
6
  pageId: "password.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Sessions(props: PageProps<Extract<KcContext, {
6
6
  pageId: "sessions.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Totp(props: PageProps<Extract<KcContext, {
6
6
  pageId: "totp.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
package/bin/main.js CHANGED
File without changes
@@ -6,8 +6,8 @@ import type { I18n } from "../login/i18n";
6
6
  import type { KcContext } from "../login/KcContext";
7
7
  import type { UserProfileFormFieldsProps } from "../login/UserProfileFormFieldsProps";
8
8
  type DefaultPageProps = PageProps<KcContext, I18n> & {
9
- UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
9
+ UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
10
10
  doMakeUserConfirmPassword: boolean;
11
11
  };
12
- export default function DefaultPage(props: DefaultPageProps): globalThis.JSX.Element;
12
+ export default function DefaultPage(props: DefaultPageProps): React.ReactElement<any, any>;
13
13
  export {};
@@ -2,4 +2,4 @@
2
2
  import type { TemplateProps } from "../login/TemplateProps";
3
3
  import type { I18n } from "./i18n";
4
4
  import type { KcContext } from "./KcContext";
5
- export default function Template(props: TemplateProps<KcContext, I18n>): JSX.Element | null;
5
+ export default function Template(props: TemplateProps<KcContext, I18n>): React.ReactElement<any, any> | null;
package/login/Template.js CHANGED
@@ -11,7 +11,7 @@ export default function Template(props) {
11
11
  const { msg, msgStr, currentLanguage, enabledLanguages } = i18n;
12
12
  const { realm, auth, url, message, isAppInitiatedAction } = kcContext;
13
13
  useEffect(() => {
14
- document.title = documentTitle !== null && documentTitle !== void 0 ? documentTitle : msgStr("loginTitle", kcContext.realm.displayName);
14
+ document.title = documentTitle !== null && documentTitle !== void 0 ? documentTitle : msgStr("loginTitle", realm.displayName);
15
15
  }, []);
16
16
  useSetClassName({
17
17
  qualifiedName: "html",
@@ -1 +1 @@
1
- {"version":3,"file":"Template.js","sourceRoot":"","sources":["../src/login/Template.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAIzE,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAqC;IAClE,MAAM,EACF,WAAW,GAAG,KAAK,EACnB,cAAc,GAAG,IAAI,EACrB,qBAAqB,GAAG,KAAK,EAC7B,UAAU,EACV,mBAAmB,GAAG,IAAI,EAC1B,QAAQ,GAAG,IAAI,EACf,aAAa,EACb,aAAa,EACb,SAA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,CAAC;AACN,CAAC"}
@@ -2,4 +2,4 @@
2
2
  import type { UserProfileFormFieldsProps } from "../login/UserProfileFormFieldsProps";
3
3
  import type { KcContext } from "./KcContext";
4
4
  import type { I18n } from "./i18n";
5
- export default function UserProfileFormFields(props: UserProfileFormFieldsProps<KcContext, I18n>): globalThis.JSX.Element;
5
+ export default function UserProfileFormFields(props: UserProfileFormFieldsProps<KcContext, I18n>): React.ReactElement<any, any>;
@@ -11,8 +11,8 @@ export type UserProfileFormFieldsProps<KcContext = any, I18n = any> = {
11
11
  kcClsx: KcClsx;
12
12
  onIsFormSubmittableValueChange: (isFormSubmittable: boolean) => void;
13
13
  doMakeUserConfirmPassword: boolean;
14
- BeforeField?: (props: BeforeAfterFieldProps<I18n>) => JSX.Element | null;
15
- AfterField?: (props: BeforeAfterFieldProps<I18n>) => JSX.Element | null;
14
+ BeforeField?: (props: BeforeAfterFieldProps<I18n>) => React.ReactElement<any, any> | null;
15
+ AfterField?: (props: BeforeAfterFieldProps<I18n>) => React.ReactElement<any, any> | null;
16
16
  };
17
17
  type BeforeAfterFieldProps<I18n> = {
18
18
  attribute: Attribute;
@@ -62,11 +62,11 @@ export type GenericI18n<MessageKey extends string, LanguageTag extends string> =
62
62
  */
63
63
  isFetchingTranslations: boolean;
64
64
  /**
65
- * Same as msgStr but returns a JSX.Element with the html string rendered as html.
65
+ * Same as msgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
66
66
  */
67
- msg: (key: MessageKey, ...args: (string | undefined)[]) => JSX.Element;
67
+ msg: (key: MessageKey, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
68
68
  /**
69
- * Same as advancedMsgStr but returns a JSX.Element with the html string rendered as html.
69
+ * Same as advancedMsgStr but returns a React.ReactElement<any, any> with the html string rendered as html.
70
70
  */
71
- advancedMsg: (key: string, ...args: (string | undefined)[]) => JSX.Element;
71
+ advancedMsg: (key: string, ...args: (string | undefined)[]) => React.ReactElement<any, any>;
72
72
  };
@@ -4,7 +4,7 @@ import type { PasswordPolicies, Attribute, Validators } from "../../login/KcCont
4
4
  import type { I18n } from "../i18n";
5
5
  export { getButtonToDisplayForMultivaluedAttributeField } from "./getUserProfileApi/index";
6
6
  export type FormFieldError = {
7
- errorMessage: JSX.Element;
7
+ errorMessage: React.ReactElement<any, any>;
8
8
  errorMessageStr: string;
9
9
  source: FormFieldError.Source;
10
10
  fieldIndex: number | undefined;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Code(props: PageProps<Extract<KcContext, {
6
6
  pageId: "code.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function DeleteAccountConfirm(props: PageProps<Extract<KcContext, {
6
6
  pageId: "delete-account-confirm.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function DeleteCredential(props: PageProps<Extract<KcContext, {
6
6
  pageId: "delete-credential.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Error(props: PageProps<Extract<KcContext, {
6
6
  pageId: "error.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function FrontchannelLogout(props: PageProps<Extract<KcContext, {
6
6
  pageId: "frontchannel-logout.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
8
8
  type IdpReviewUserProfileProps = PageProps<Extract<KcContext, {
9
9
  pageId: "idp-review-user-profile.ftl";
10
10
  }>, I18n> & {
11
- UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
11
+ UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
12
12
  doMakeUserConfirmPassword: boolean;
13
13
  };
14
- export default function IdpReviewUserProfile(props: IdpReviewUserProfileProps): globalThis.JSX.Element;
14
+ export default function IdpReviewUserProfile(props: IdpReviewUserProfileProps): React.ReactElement<any, any>;
15
15
  export {};
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Info(props: PageProps<Extract<KcContext, {
6
6
  pageId: "info.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Login(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login.ftl";
7
- }>, I18n>): globalThis.JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginConfigTotp(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-config-totp.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginIdpLinkConfirm(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-idp-link-confirm.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginIdpLinkConfirmOverride(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-idp-link-confirm-override.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginIdpLinkEmail(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-idp-link-email.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginOauth2DeviceVerifyUserCode(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-oauth2-device-verify-user-code.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginOauthGrant(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-oauth-grant.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginOtp(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-otp.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginPageExpired(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-page-expired.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginPasskeysConditionalAuthenticate(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-passkeys-conditional-authenticate.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginPassword(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-password.ftl";
7
- }>, I18n>): globalThis.JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginRecoveryAuthnCodeConfig(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-recovery-authn-code-config.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginRecoveryAuthnCodeInput(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-recovery-authn-code-input.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginResetOtp(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-reset-otp.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginResetPassword(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-reset-password.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginUpdatePassword(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-update-password.ftl";
7
- }>, I18n>): globalThis.JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
8
8
  type LoginUpdateProfileProps = PageProps<Extract<KcContext, {
9
9
  pageId: "login-update-profile.ftl";
10
10
  }>, I18n> & {
11
- UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
11
+ UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
12
12
  doMakeUserConfirmPassword: boolean;
13
13
  };
14
- export default function LoginUpdateProfile(props: LoginUpdateProfileProps): globalThis.JSX.Element;
14
+ export default function LoginUpdateProfile(props: LoginUpdateProfileProps): React.ReactElement<any, any>;
15
15
  export {};
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginUsername(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-username.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginVerifyEmail(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-verify-email.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LoginX509Info(props: PageProps<Extract<KcContext, {
6
6
  pageId: "login-x509-info.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function LogoutConfirm(props: PageProps<Extract<KcContext, {
6
6
  pageId: "logout-confirm.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -2,7 +2,7 @@ import type { JSX } from "../../tools/JSX";
2
2
  import { type TemplateProps, type ClassKey } from "../../login/TemplateProps";
3
3
  import type { LazyOrNot } from "../../tools/LazyOrNot";
4
4
  export type PageProps<NarrowedKcContext, I18n> = {
5
- Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
5
+ Template: LazyOrNot<(props: TemplateProps<any, any>) => React.ReactElement<any, any> | null>;
6
6
  kcContext: NarrowedKcContext;
7
7
  i18n: I18n;
8
8
  doUseDefaultCss: boolean;
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
8
8
  type RegisterProps = PageProps<Extract<KcContext, {
9
9
  pageId: "register.ftl";
10
10
  }>, I18n> & {
11
- UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
11
+ UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
12
12
  doMakeUserConfirmPassword: boolean;
13
13
  };
14
- export default function Register(props: RegisterProps): globalThis.JSX.Element;
14
+ export default function Register(props: RegisterProps): React.ReactElement<any, any>;
15
15
  export {};
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function SamlPostForm(props: PageProps<Extract<KcContext, {
6
6
  pageId: "saml-post-form.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function SelectAuthenticator(props: PageProps<Extract<KcContext, {
6
6
  pageId: "select-authenticator.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function Terms(props: PageProps<Extract<KcContext, {
6
6
  pageId: "terms.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -8,8 +8,8 @@ import type { I18n } from "../i18n";
8
8
  type UpdateEmailProps = PageProps<Extract<KcContext, {
9
9
  pageId: "update-email.ftl";
10
10
  }>, I18n> & {
11
- UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
11
+ UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => React.ReactElement<any, any>>;
12
12
  doMakeUserConfirmPassword: boolean;
13
13
  };
14
- export default function UpdateEmail(props: UpdateEmailProps): globalThis.JSX.Element;
14
+ export default function UpdateEmail(props: UpdateEmailProps): React.ReactElement<any, any>;
15
15
  export {};
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function WebauthnAuthenticate(props: PageProps<Extract<KcContext, {
6
6
  pageId: "webauthn-authenticate.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function WebauthnError(props: PageProps<Extract<KcContext, {
6
6
  pageId: "webauthn-error.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
@@ -4,4 +4,4 @@ import type { KcContext } from "../KcContext";
4
4
  import type { I18n } from "../i18n";
5
5
  export default function WebauthnRegister(props: PageProps<Extract<KcContext, {
6
6
  pageId: "webauthn-register.ftl";
7
- }>, I18n>): JSX.Element;
7
+ }>, I18n>): React.ReactElement<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keycloakify",
3
- "version": "11.8.24",
3
+ "version": "11.8.26",
4
4
  "description": "Framework to create custom Keycloak UIs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
32
32
  const { realm, auth, url, message, isAppInitiatedAction } = kcContext;
33
33
 
34
34
  useEffect(() => {
35
- document.title = documentTitle ?? msgStr("loginTitle", kcContext.realm.displayName);
35
+ document.title = documentTitle ?? msgStr("loginTitle", realm.displayName);
36
36
  }, []);
37
37
 
38
38
  useSetClassName({