@frontegg/types 5.57.1 → 5.57.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.
|
@@ -135,7 +135,7 @@ interface LoginBoxOptionalCommon {
|
|
|
135
135
|
* box = inside the login box element
|
|
136
136
|
* page = displayed at the bottom of the page
|
|
137
137
|
*/
|
|
138
|
-
poweredByPlacement?: 'box' | 'page';
|
|
138
|
+
poweredByPlacement?: 'box' | 'page' | 'leftBottomCorner';
|
|
139
139
|
/**
|
|
140
140
|
* BoxElement
|
|
141
141
|
* It is a Card component placed inside the [WrapperElement]{@link pageStyle}
|
|
@@ -19,6 +19,7 @@ export interface ResendOTCProps {
|
|
|
19
19
|
}
|
|
20
20
|
export interface LoginDisclaimerOptions {
|
|
21
21
|
textStyle: ExtendedCSSProperties;
|
|
22
|
+
disclaimerContainerStyle?: ExtendedCSSProperties;
|
|
22
23
|
terms: {
|
|
23
24
|
enabled?: boolean;
|
|
24
25
|
linkStyle?: ExtendedCSSProperties;
|
|
@@ -53,6 +54,7 @@ export interface LoginPageComponentsTheme {
|
|
|
53
54
|
* passing 'null' will hide the signup message
|
|
54
55
|
*/
|
|
55
56
|
signupMessage?: CustomComponent<GoToSignupMessageProps>;
|
|
57
|
+
signupMessagePlacement?: 'box' | 'page';
|
|
56
58
|
/**
|
|
57
59
|
* Direct css style for 'Go to signup component'
|
|
58
60
|
*/
|
|
@@ -11,6 +11,7 @@ export interface GoToLoginMessageProps {
|
|
|
11
11
|
}
|
|
12
12
|
export interface SignUpDisclaimerOptions {
|
|
13
13
|
hasCheckbox: boolean;
|
|
14
|
+
disclaimerContainerStyle?: ExtendedCSSProperties;
|
|
14
15
|
textStyle?: ExtendedCSSProperties;
|
|
15
16
|
checkBoxStyle?: {
|
|
16
17
|
unchecked?: {
|
|
@@ -85,6 +86,7 @@ export interface SignupPageComponentsTheme {
|
|
|
85
86
|
* on sign page can be displayed as mandatory checkbox or text info
|
|
86
87
|
*/
|
|
87
88
|
disclaimer?: SignUpDisclaimerOptions;
|
|
89
|
+
loginMessagePlacement?: 'box' | 'page';
|
|
88
90
|
}
|
|
89
91
|
export interface SignupPageThemeOptions extends LoginBoxCommonThemeOptions, SignupPageComponentsTheme {
|
|
90
92
|
}
|
|
@@ -29,8 +29,8 @@ export interface AuthPageThemeOptions extends BaseThemeOptions, AuthPageCustomCo
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
32
|
-
themeName?: 'classic' | 'modern' | 'vivid' | 'dark';
|
|
33
|
-
poweredByPlacement?: 'box' | 'page';
|
|
32
|
+
themeName?: 'classic' | 'modern' | 'vivid' | 'dark' | 'modernV2' | 'darkV2' | 'classicV2' | 'vividV2';
|
|
33
|
+
poweredByPlacement?: 'box' | 'page' | 'leftBottomCorner';
|
|
34
34
|
acceptInvitation?: AcceptInvitationPageThemeOptions;
|
|
35
35
|
activateAccount?: ActivateAccountPageThemeOptions;
|
|
36
36
|
forgotPassword?: ForgotPasswordPageThemeOptions;
|
|
@@ -42,7 +42,7 @@ export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
|
42
42
|
loader?: LoaderThemeOptions;
|
|
43
43
|
}
|
|
44
44
|
export interface LoginBoxTheme extends LoginBoxCommonTheme {
|
|
45
|
-
themeName: 'classic' | 'modern' | 'vivid' | 'dark';
|
|
45
|
+
themeName: 'classic' | 'modern' | 'vivid' | 'dark' | 'modernV2' | 'darkV2' | 'classicV2' | 'vividV2';
|
|
46
46
|
acceptInvitation: AcceptInvitationPageTheme;
|
|
47
47
|
activateAccount: ActivateAccountPageTheme;
|
|
48
48
|
forgotPassword: ForgotPasswordPageTheme;
|