@frontegg/types 5.62.2 → 5.64.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.
- package/Localizations/LoginBoxLocalization/login.d.ts +2 -0
- package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.d.ts +5 -1
- package/ThemeOptions/LoginBoxTheme/LoginPageTheme.d.ts +12 -0
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.d.ts +1 -0
- package/ThemeOptions/LoginBoxTheme/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtendedCSSProperties } from '../../Common';
|
|
1
|
+
import { Color, ExtendedCSSProperties } from '../../Common';
|
|
2
2
|
import { BaseTheme, BaseThemeOptions, SocialLoginsThemeOptions } from '../index';
|
|
3
3
|
import { SideElement, ButtonThemeOptions, CustomComponent, InputThemeOptions, ILogosComponent, ITestimonialComponent } from '../ComponentsOptions';
|
|
4
4
|
/**
|
|
@@ -135,6 +135,10 @@ interface LoginBoxOptionalCommon {
|
|
|
135
135
|
* page = displayed at the bottom of the page
|
|
136
136
|
*/
|
|
137
137
|
poweredByPlacement?: 'box' | 'page' | 'leftBottomCorner';
|
|
138
|
+
/**
|
|
139
|
+
* Powered by frontegg color
|
|
140
|
+
*/
|
|
141
|
+
poweredByColor?: Color;
|
|
138
142
|
/**
|
|
139
143
|
* BoxElement
|
|
140
144
|
* It is a Card component placed inside the [WrapperElement]{@link pageStyle}
|
|
@@ -110,6 +110,18 @@ export interface LoginPageComponentsTheme {
|
|
|
110
110
|
* default is 'Haven’t received it?'
|
|
111
111
|
*/
|
|
112
112
|
resendOTCMessageStyle?: ExtendedCSSProperties;
|
|
113
|
+
touchIdTitle?: CustomComponent<TitleProps>;
|
|
114
|
+
touchIdMessage?: CustomComponent<MessageProps>;
|
|
115
|
+
androidTitle?: CustomComponent<TitleProps>;
|
|
116
|
+
androidMessage?: CustomComponent<MessageProps>;
|
|
117
|
+
usbKeyTitle?: CustomComponent<TitleProps>;
|
|
118
|
+
usbKeyMessage?: CustomComponent<MessageProps>;
|
|
119
|
+
smsPreviewTitle?: CustomComponent<TitleProps>;
|
|
120
|
+
smsPreviewMessage?: CustomComponent<MessageProps>;
|
|
121
|
+
smsChangePhoneTitle?: CustomComponent<TitleProps>;
|
|
122
|
+
smsChangePhoneMessage?: CustomComponent<MessageProps>;
|
|
123
|
+
smsVerifyCodeTitle?: CustomComponent<TitleProps>;
|
|
124
|
+
smsVerifyCodeMessage?: CustomComponent<MessageProps>;
|
|
113
125
|
/**
|
|
114
126
|
* MagicLink success login title default is 'Check your email'
|
|
115
127
|
* displayed after pre-login if MagicLink enabled
|
|
@@ -12,6 +12,7 @@ export interface GoToLoginMessageProps {
|
|
|
12
12
|
export interface SignUpDisclaimerOptions {
|
|
13
13
|
hasCheckbox: boolean;
|
|
14
14
|
disclaimerContainerStyle?: ExtendedCSSProperties;
|
|
15
|
+
placement?: 'page' | 'box';
|
|
15
16
|
textStyle?: ExtendedCSSProperties;
|
|
16
17
|
checkBoxStyle?: {
|
|
17
18
|
unchecked?: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AcceptInvitationPageTheme, AcceptInvitationPageThemeOptions } from './AcceptInvitationTheme';
|
|
2
2
|
import { ActivateAccountPageTheme, ActivateAccountPageThemeOptions } from './ActivateAccountPageTheme';
|
|
3
3
|
import { BaseThemeOptions, LoginBoxCommonTheme, LoginBoxCommonThemeOptions, SignupPageThemeOptions, SocialLoginsTheme } from '../index';
|
|
4
|
-
import { CSSProperties, ExtendedCSSProperties } from '../../Common';
|
|
4
|
+
import { Color, CSSProperties, ExtendedCSSProperties } from '../../Common';
|
|
5
5
|
import { AuthPageCustomComponents } from '../../CustomComponents';
|
|
6
6
|
import { ForgotPasswordPageTheme, ForgotPasswordPageThemeOptions } from './ForgotPasswordTheme';
|
|
7
7
|
import { ResetPasswordPageTheme, ResetPasswordPageThemeOptions } from './ResetPasswordTheme';
|
|
@@ -30,6 +30,7 @@ export interface AuthPageThemeOptions extends BaseThemeOptions, AuthPageCustomCo
|
|
|
30
30
|
export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
31
31
|
themeName?: 'classic' | 'modern' | 'vivid' | 'dark' | 'modernV2' | 'darkV2' | 'classicV2' | 'vividV2';
|
|
32
32
|
poweredByPlacement?: 'box' | 'page' | 'leftBottomCorner';
|
|
33
|
+
poweredByColor?: Color;
|
|
33
34
|
acceptInvitation?: AcceptInvitationPageThemeOptions;
|
|
34
35
|
activateAccount?: ActivateAccountPageThemeOptions;
|
|
35
36
|
forgotPassword?: ForgotPasswordPageThemeOptions;
|