@authing/react-ui-components 2.4.57 → 2.4.59-alpha.2
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/lib/index.d.ts +7 -2
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +5 -5
- package/src/components/AuthingGuard/Forms/LdapLoginForm/index.tsx +1 -5
- package/src/components/AuthingGuard/Forms/QrCodeLoginForm/index.tsx +3 -1
- package/src/components/AuthingGuard/Forms/SocialAndIdpLogin/index.tsx +3 -3
- package/src/components/AuthingGuard/GuardLayout/index.tsx +6 -1
- package/src/components/AuthingGuard/LoginLayout/index.tsx +67 -23
- package/src/components/AuthingGuard/api/appConfig.ts +3 -2
- package/src/components/AuthingGuard/api/userPoolConfig.ts +2 -0
- package/src/components/AuthingGuard/types/Forms.ts +1 -0
- package/src/components/AuthingGuard/types/GuardConfig.ts +1 -0
- package/src/index.tsx +16 -5
- package/yarn-error.log +20371 -0
package/lib/index.d.ts
CHANGED
|
@@ -402,11 +402,11 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
402
402
|
EMAIL = "EMAIL"
|
|
403
403
|
}
|
|
404
404
|
export const ApplicationMfaTypeLabel: () => Record<ApplicationMfaType, string>;
|
|
405
|
-
export type QrcodeTabsSettings = Record<LoginMethods, {
|
|
405
|
+
export type QrcodeTabsSettings = Record<LoginMethods, Array<{
|
|
406
406
|
id: string;
|
|
407
407
|
title: string;
|
|
408
408
|
isDefault?: boolean;
|
|
409
|
-
}
|
|
409
|
+
}>>;
|
|
410
410
|
export interface OidcClientMetadata {
|
|
411
411
|
grant_types: string[];
|
|
412
412
|
client_id: string;
|
|
@@ -461,6 +461,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/appConf
|
|
|
461
461
|
loginTabs: {
|
|
462
462
|
list: string[];
|
|
463
463
|
default: string;
|
|
464
|
+
defaultV2?: string;
|
|
464
465
|
title: {
|
|
465
466
|
[x: string]: string;
|
|
466
467
|
};
|
|
@@ -607,8 +608,10 @@ declare module '@authing/react-ui-components/components/AuthingGuard/api/userPoo
|
|
|
607
608
|
}
|
|
608
609
|
export interface SocialConnectionItem {
|
|
609
610
|
name: string;
|
|
611
|
+
displayName: string;
|
|
610
612
|
logo: string;
|
|
611
613
|
description: string;
|
|
614
|
+
identifier: string;
|
|
612
615
|
provider: SocialConnectionProvider;
|
|
613
616
|
authorizationUrl: string;
|
|
614
617
|
tooltip: Record<Lang, string>;
|
|
@@ -769,6 +772,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Forms
|
|
|
769
772
|
}
|
|
770
773
|
export interface QrLoginFormProps extends BaseFormProps {
|
|
771
774
|
type: LoginMethods.AppQr | LoginMethods.WxMinQr | LoginMethods.WechatMpQrcode;
|
|
775
|
+
idpId?: string;
|
|
772
776
|
}
|
|
773
777
|
export interface EmailRegisterFormProps extends BaseFormProps {
|
|
774
778
|
onValidateFail?: (error: any) => void;
|
|
@@ -1059,6 +1063,7 @@ declare module '@authing/react-ui-components/components/AuthingGuard/types/Guard
|
|
|
1059
1063
|
publicKey: ApplicationConfig['publicKey'];
|
|
1060
1064
|
agreementEnabled: boolean;
|
|
1061
1065
|
agreements: Agreement[];
|
|
1066
|
+
loginMethodTitleMapping: Record<string, string>;
|
|
1062
1067
|
qrcodeTabsSettings: QrcodeTabsSettings;
|
|
1063
1068
|
}
|
|
1064
1069
|
export interface LocalesConfig {
|