@frontegg/types 5.76.0 → 5.78.1
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.
|
@@ -4,16 +4,49 @@ export interface SocialLoginsLocalization {
|
|
|
4
4
|
*/
|
|
5
5
|
socialLogins: {
|
|
6
6
|
/**
|
|
7
|
+
* Text to be display in socialLogin buttons prior to the provider name, if rendering inside login section and being set to the main social button
|
|
8
|
+
* Example: 'Continue with'
|
|
9
|
+
*/
|
|
10
|
+
socialloginMainButtonTextPrefix: string;
|
|
11
|
+
/**
|
|
12
|
+
* Text to be display in socialLogin buttons prior to the provider name, if rendering inside login section when there is no main button set
|
|
13
|
+
* Example: 'Login with'
|
|
14
|
+
*/
|
|
15
|
+
socialloginButtonTextPrefix: string;
|
|
16
|
+
/**
|
|
17
|
+
* Text to be display in socialLogin buttons prior to the provider name, if rendering inside sign up section and being set to the main social button
|
|
18
|
+
* Example: 'Sign up with'
|
|
19
|
+
*/
|
|
20
|
+
socialsignUpMainButtonTextPrefix: string;
|
|
21
|
+
/**
|
|
22
|
+
* Text to be display in socialLogin buttons prior to the provider name, if rendering inside signup section when there is no main button set
|
|
23
|
+
* Example: 'Sign up with'
|
|
24
|
+
*/
|
|
25
|
+
socialsignUpButtonTextPrefix: string;
|
|
26
|
+
/**
|
|
27
|
+
* Text to be display in socialLogin buttons prior to the provider name, if rendering inside activate account section and being set to the main social button
|
|
28
|
+
* Example: 'Activate account with {{providerName}}'
|
|
29
|
+
*/
|
|
30
|
+
socialactivationMainButtonTextPrefix: string;
|
|
31
|
+
/**
|
|
32
|
+
* Text to be display in socialLogin buttons prior to the provider name, if rendering inside activate account section when there is no main button set
|
|
33
|
+
* Example: 'Activate with'
|
|
34
|
+
*/
|
|
35
|
+
socialactivationButtonTextPrefix: string;
|
|
36
|
+
/**
|
|
37
|
+
* Deprecated
|
|
7
38
|
* Text to be display in socialLogin buttons if rendering inside login section
|
|
8
39
|
* Ex: 'Continue with {{providerName}}'
|
|
9
40
|
*/
|
|
10
41
|
loginButtonText: string;
|
|
11
42
|
/**
|
|
43
|
+
* Deprecated
|
|
12
44
|
* Text to be display in socialLogin buttons if rendering inside signup section
|
|
13
45
|
* Ex: 'Login with {{providerName}}'
|
|
14
46
|
*/
|
|
15
47
|
signupButtonText: string;
|
|
16
48
|
/**
|
|
49
|
+
* Deprecated
|
|
17
50
|
* Text to be display in socialLogin buttons if rendering inside activation section
|
|
18
51
|
* Ex: 'Sign up with {{providerName}}'
|
|
19
52
|
*/
|
|
@@ -88,6 +88,10 @@ export interface SignupPageComponentsTheme {
|
|
|
88
88
|
*/
|
|
89
89
|
disclaimer?: SignUpDisclaimerOptions;
|
|
90
90
|
loginMessagePlacement?: 'box' | 'page';
|
|
91
|
+
/**
|
|
92
|
+
* use this flag if you want to hide the sign up form and use only SSO or social sign ups
|
|
93
|
+
*/
|
|
94
|
+
hideSignUpForm?: boolean;
|
|
91
95
|
}
|
|
92
96
|
export interface SignupPageThemeOptions extends LoginBoxCommonThemeOptions, SignupPageComponentsTheme {
|
|
93
97
|
}
|
|
@@ -15,6 +15,7 @@ export interface SocialLoginsLayoutBase {
|
|
|
15
15
|
stackedContainerStyle?: ExtendedCSSProperties;
|
|
16
16
|
stackedButtonsStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
17
17
|
mainButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
18
|
+
showStackedButtonsWithText?: boolean;
|
|
18
19
|
}
|
|
19
20
|
declare type SocialLoginTypes = 'google' | 'facebook' | 'microsoft' | 'github';
|
|
20
21
|
export interface SocialLoginsLayoutStacked extends SocialLoginsLayoutBase {
|