@frontegg/types 4.26.0 → 4.29.0
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.
|
@@ -44,13 +44,9 @@ export interface AdminPortalThemeOptions extends BaseThemeOptions {
|
|
|
44
44
|
layout?: {
|
|
45
45
|
fullScreenMode?: boolean;
|
|
46
46
|
};
|
|
47
|
-
navigation?: NavigationThemeOptions;
|
|
48
|
-
pages?: PagesThemeOptions;
|
|
49
47
|
}
|
|
50
48
|
export interface AdminPortalTheme extends BaseTheme {
|
|
51
49
|
layout: {
|
|
52
50
|
fullScreenMode: boolean;
|
|
53
51
|
};
|
|
54
|
-
navigation: NavigationThemeOptions;
|
|
55
|
-
pages: PagesThemeOptions;
|
|
56
52
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseThemeOptions } from './index';
|
|
2
2
|
import { CSSProperties } from '../Common';
|
|
3
|
+
import { AuthPageCustomComponents } from '../CustomComponents';
|
|
3
4
|
export interface SocialLoginButton extends BaseThemeOptions {
|
|
4
5
|
icon?: any;
|
|
5
6
|
background?: CSSProperties['background'];
|
|
@@ -20,41 +21,31 @@ export declare type SocialLogins = BaseThemeOptions & {
|
|
|
20
21
|
rowLayout?: boolean;
|
|
21
22
|
iconWidth?: string;
|
|
22
23
|
} & Record<SocialLoginTypes, SocialLoginButton>;
|
|
23
|
-
export interface AuthPageThemeOptions extends BaseThemeOptions {
|
|
24
|
+
export interface AuthPageThemeOptions extends BaseThemeOptions, AuthPageCustomComponents {
|
|
24
25
|
layout?: {
|
|
25
26
|
width?: CSSProperties['width'];
|
|
26
27
|
marginLeft?: CSSProperties['marginLeft'];
|
|
27
28
|
outerCustomBackground?: any;
|
|
28
29
|
};
|
|
29
|
-
backgroundPage?: string;
|
|
30
|
-
headerImage?: string;
|
|
31
|
-
customHeader?: any;
|
|
32
|
-
customDivider?: any;
|
|
33
|
-
customTopBar?: any;
|
|
34
|
-
socialLogins?: SocialLogins;
|
|
35
|
-
loginSignupSwitch?: BaseThemeOptions;
|
|
36
30
|
}
|
|
37
|
-
declare type LoginSignupProperty = 'customDivider' | 'socialLogins' | 'loginSignupSwitch';
|
|
38
|
-
export declare type CommonAuthPageThemeOptions = Omit<AuthPageThemeOptions, LoginSignupProperty>;
|
|
39
31
|
export interface LoginFormThemeOptions extends AuthPageThemeOptions {
|
|
40
32
|
footer?: any;
|
|
41
33
|
preLogin?: AuthPageThemeOptions;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
recoverTowFactor?:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
34
|
+
loginWithTowFactor?: AuthPageThemeOptions;
|
|
35
|
+
loginWIthPassword?: AuthPageThemeOptions;
|
|
36
|
+
recoverTowFactor?: AuthPageThemeOptions;
|
|
37
|
+
loginSuccessRedirect?: AuthPageThemeOptions;
|
|
38
|
+
magicLinkPreSuccess?: AuthPageThemeOptions;
|
|
39
|
+
sso?: AuthPageThemeOptions;
|
|
40
|
+
redirectSso?: AuthPageThemeOptions;
|
|
41
|
+
loginWithSsoFailed?: AuthPageThemeOptions;
|
|
42
|
+
forceEnrollMfa?: AuthPageThemeOptions;
|
|
51
43
|
}
|
|
52
44
|
export interface LoginBoxThemeOptions extends AuthPageThemeOptions {
|
|
53
45
|
login?: LoginFormThemeOptions;
|
|
54
46
|
signup?: AuthPageThemeOptions;
|
|
55
|
-
acceptInvitation?:
|
|
56
|
-
activateAccount?:
|
|
57
|
-
forgetPassword?:
|
|
58
|
-
resetPassword?:
|
|
47
|
+
acceptInvitation?: AuthPageThemeOptions;
|
|
48
|
+
activateAccount?: AuthPageThemeOptions;
|
|
49
|
+
forgetPassword?: AuthPageThemeOptions;
|
|
50
|
+
resetPassword?: AuthPageThemeOptions;
|
|
59
51
|
}
|
|
60
|
-
export {};
|