keycloakify 10.0.0-rc.52 → 10.0.0-rc.53
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/login/DefaultPage.d.ts +1 -1
- package/login/UserProfileFormFieldsProps.d.ts +1 -1
- package/login/pages/IdpReviewUserProfile.d.ts +1 -1
- package/login/pages/LoginUpdateProfile.d.ts +1 -1
- package/login/pages/Register.d.ts +1 -1
- package/login/pages/UpdateEmail.d.ts +1 -1
- package/package.json +1 -1
- package/src/login/DefaultPage.tsx +1 -1
- package/src/login/UserProfileFormFieldsProps.tsx +1 -1
- package/src/login/pages/IdpReviewUserProfile.tsx +1 -1
- package/src/login/pages/LoginUpdateProfile.tsx +1 -1
- package/src/login/pages/Register.tsx +1 -1
- package/src/login/pages/UpdateEmail.tsx +1 -1
package/login/DefaultPage.d.ts
CHANGED
@@ -5,7 +5,7 @@ import type { I18n } from "../login/i18n";
|
|
5
5
|
import type { KcContext } from "../login/KcContext";
|
6
6
|
import type { UserProfileFormFieldsProps } from "../login/UserProfileFormFieldsProps";
|
7
7
|
type DefaultPageProps = PageProps<KcContext, I18n> & {
|
8
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
8
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
9
9
|
doMakeUserConfirmPassword: boolean;
|
10
10
|
};
|
11
11
|
export default function DefaultPage(props: DefaultPageProps): JSX.Element;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { type FormAction, type FormFieldError } from "../login/lib/useUserProfileForm";
|
3
3
|
import type { KcClsx } from "../login/lib/kcClsx";
|
4
4
|
import type { Attribute } from "../login/KcContext";
|
5
|
-
export type UserProfileFormFieldsProps<KcContext, I18n> = {
|
5
|
+
export type UserProfileFormFieldsProps<KcContext = any, I18n = any> = {
|
6
6
|
kcContext: Extract<KcContext, {
|
7
7
|
profile: unknown;
|
8
8
|
}>;
|
@@ -7,7 +7,7 @@ import type { I18n } from "../i18n";
|
|
7
7
|
type IdpReviewUserProfileProps = PageProps<Extract<KcContext, {
|
8
8
|
pageId: "idp-review-user-profile.ftl";
|
9
9
|
}>, I18n> & {
|
10
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
10
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
11
11
|
doMakeUserConfirmPassword: boolean;
|
12
12
|
};
|
13
13
|
export default function IdpReviewUserProfile(props: IdpReviewUserProfileProps): JSX.Element;
|
@@ -7,7 +7,7 @@ import type { I18n } from "../i18n";
|
|
7
7
|
type LoginUpdateProfileProps = PageProps<Extract<KcContext, {
|
8
8
|
pageId: "login-update-profile.ftl";
|
9
9
|
}>, I18n> & {
|
10
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
10
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
11
11
|
doMakeUserConfirmPassword: boolean;
|
12
12
|
};
|
13
13
|
export default function LoginUpdateProfile(props: LoginUpdateProfileProps): JSX.Element;
|
@@ -7,7 +7,7 @@ import type { I18n } from "../i18n";
|
|
7
7
|
type RegisterProps = PageProps<Extract<KcContext, {
|
8
8
|
pageId: "register.ftl";
|
9
9
|
}>, I18n> & {
|
10
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
10
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
11
11
|
doMakeUserConfirmPassword: boolean;
|
12
12
|
};
|
13
13
|
export default function Register(props: RegisterProps): JSX.Element;
|
@@ -7,7 +7,7 @@ import type { I18n } from "../i18n";
|
|
7
7
|
type UpdateEmailProps = PageProps<Extract<KcContext, {
|
8
8
|
pageId: "update-email.ftl";
|
9
9
|
}>, I18n> & {
|
10
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
10
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
11
11
|
doMakeUserConfirmPassword: boolean;
|
12
12
|
};
|
13
13
|
export default function UpdateEmail(props: UpdateEmailProps): JSX.Element;
|
package/package.json
CHANGED
@@ -42,7 +42,7 @@ const LoginX509Info = lazy(() => import("keycloakify/login/pages/LoginX509Info")
|
|
42
42
|
const WebauthnError = lazy(() => import("keycloakify/login/pages/WebauthnError"));
|
43
43
|
|
44
44
|
type DefaultPageProps = PageProps<KcContext, I18n> & {
|
45
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
45
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
46
46
|
doMakeUserConfirmPassword: boolean;
|
47
47
|
};
|
48
48
|
|
@@ -2,7 +2,7 @@ import { type FormAction, type FormFieldError } from "keycloakify/login/lib/useU
|
|
2
2
|
import type { KcClsx } from "keycloakify/login/lib/kcClsx";
|
3
3
|
import type { Attribute } from "keycloakify/login/KcContext";
|
4
4
|
|
5
|
-
export type UserProfileFormFieldsProps<KcContext, I18n> = {
|
5
|
+
export type UserProfileFormFieldsProps<KcContext = any, I18n = any> = {
|
6
6
|
kcContext: Extract<KcContext, { profile: unknown }>;
|
7
7
|
i18n: I18n;
|
8
8
|
kcClsx: KcClsx;
|
@@ -7,7 +7,7 @@ import type { KcContext } from "../KcContext";
|
|
7
7
|
import type { I18n } from "../i18n";
|
8
8
|
|
9
9
|
type IdpReviewUserProfileProps = PageProps<Extract<KcContext, { pageId: "idp-review-user-profile.ftl" }>, I18n> & {
|
10
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
10
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
11
11
|
doMakeUserConfirmPassword: boolean;
|
12
12
|
};
|
13
13
|
|
@@ -7,7 +7,7 @@ import type { KcContext } from "../KcContext";
|
|
7
7
|
import type { I18n } from "../i18n";
|
8
8
|
|
9
9
|
type LoginUpdateProfileProps = PageProps<Extract<KcContext, { pageId: "login-update-profile.ftl" }>, I18n> & {
|
10
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
10
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
11
11
|
doMakeUserConfirmPassword: boolean;
|
12
12
|
};
|
13
13
|
|
@@ -9,7 +9,7 @@ import type { KcContext } from "../KcContext";
|
|
9
9
|
import type { I18n } from "../i18n";
|
10
10
|
|
11
11
|
type RegisterProps = PageProps<Extract<KcContext, { pageId: "register.ftl" }>, I18n> & {
|
12
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
12
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
13
13
|
doMakeUserConfirmPassword: boolean;
|
14
14
|
};
|
15
15
|
|
@@ -7,7 +7,7 @@ import type { KcContext } from "../KcContext";
|
|
7
7
|
import type { I18n } from "../i18n";
|
8
8
|
|
9
9
|
type UpdateEmailProps = PageProps<Extract<KcContext, { pageId: "update-email.ftl" }>, I18n> & {
|
10
|
-
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps
|
10
|
+
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
|
11
11
|
doMakeUserConfirmPassword: boolean;
|
12
12
|
};
|
13
13
|
|