@frontegg/types 7.57.0-alpha.2 → 7.57.0-alpha.4
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/AdminPortalLocalizations/sso.d.ts +4 -0
- package/Localizations/LoginBoxLocalization/login.d.ts +8 -0
- package/Localizations/LoginBoxLocalization/resetPassword.d.ts +0 -33
- package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.d.ts +8 -0
- package/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -182,6 +182,14 @@ export interface LoginLocalization {
|
|
|
182
182
|
* Magic link description text if invalid link
|
|
183
183
|
*/
|
|
184
184
|
invalidMagicLinkText: string;
|
|
185
|
+
/**
|
|
186
|
+
* Magic link title before redirection if logged in successfully
|
|
187
|
+
*/
|
|
188
|
+
magicLinkSuccessTitle: string;
|
|
189
|
+
/**
|
|
190
|
+
* Magic link description before redirection if logged in successfully
|
|
191
|
+
*/
|
|
192
|
+
magicLinkSuccessMessage: string;
|
|
185
193
|
/**
|
|
186
194
|
* Oct section title
|
|
187
195
|
*/
|
|
@@ -7,31 +7,6 @@ export interface ResetPasswordLocalization {
|
|
|
7
7
|
* Reset password page title
|
|
8
8
|
*/
|
|
9
9
|
title: string;
|
|
10
|
-
/**
|
|
11
|
-
* Title displayed when password expired
|
|
12
|
-
*/
|
|
13
|
-
passwordExpiredTitle: string;
|
|
14
|
-
/**
|
|
15
|
-
* Subtitle displayed when password expired
|
|
16
|
-
*/
|
|
17
|
-
passwordExpiredSubtitle: string;
|
|
18
|
-
/**
|
|
19
|
-
* Title displayed when password is about to expire
|
|
20
|
-
* EX: Your password will expire in {{days}} days
|
|
21
|
-
*/
|
|
22
|
-
passwordNotificationTitle: string;
|
|
23
|
-
/**
|
|
24
|
-
* Current password input label
|
|
25
|
-
*/
|
|
26
|
-
currentPasswordInputLabel: string;
|
|
27
|
-
/**
|
|
28
|
-
* Error to be displayed if current password is empty
|
|
29
|
-
*/
|
|
30
|
-
currentPasswordIsRequired: string;
|
|
31
|
-
/**
|
|
32
|
-
* Remind me later button text
|
|
33
|
-
*/
|
|
34
|
-
remindMeLater: string;
|
|
35
10
|
/**
|
|
36
11
|
* Text displayed in reset password form before password inputs
|
|
37
12
|
*/
|
|
@@ -68,10 +43,6 @@ export interface ResetPasswordLocalization {
|
|
|
68
43
|
* Reset password submit button text
|
|
69
44
|
*/
|
|
70
45
|
resetPasswordButton: string;
|
|
71
|
-
/**
|
|
72
|
-
* Change password button text
|
|
73
|
-
*/
|
|
74
|
-
changePasswordButton: string;
|
|
75
46
|
/**
|
|
76
47
|
* Title to be displayed if reset password succeeded
|
|
77
48
|
*/
|
|
@@ -80,10 +51,6 @@ export interface ResetPasswordLocalization {
|
|
|
80
51
|
* Message to be displayed if reset password succeeded
|
|
81
52
|
*/
|
|
82
53
|
successMessage: string;
|
|
83
|
-
/**
|
|
84
|
-
* Message to be displayed if change password succeeded
|
|
85
|
-
*/
|
|
86
|
-
changePasswordSuccessMessage: string;
|
|
87
54
|
/**
|
|
88
55
|
* Title to be displayed if reset password failed
|
|
89
56
|
*/
|
|
@@ -39,6 +39,9 @@ export interface PhoneNumberOptions {
|
|
|
39
39
|
dropdownItemStyle?: ExtendedCSSProperties;
|
|
40
40
|
selectArrowStyle?: ExtendedCSSProperties;
|
|
41
41
|
}
|
|
42
|
+
export interface PrestepOptions {
|
|
43
|
+
enabled?: boolean;
|
|
44
|
+
}
|
|
42
45
|
export interface LayoutOptions {
|
|
43
46
|
/**
|
|
44
47
|
* Layout type for login box page, Default is Center login box elements
|
|
@@ -226,6 +229,11 @@ interface LoginBoxOptionalCommon {
|
|
|
226
229
|
* css style
|
|
227
230
|
*/
|
|
228
231
|
forgotPasswordButton?: ExtendedCSSProperties;
|
|
232
|
+
/**
|
|
233
|
+
* Option to add a confirmation mechanism component to relevant flows
|
|
234
|
+
* that rely on email links
|
|
235
|
+
*/
|
|
236
|
+
prestep?: PrestepOptions;
|
|
229
237
|
}
|
|
230
238
|
export interface LoginBoxCommonTheme extends BaseTheme, LoginBoxOptionalCommon {
|
|
231
239
|
/**
|
package/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "7.57.0-alpha.
|
|
3
|
+
"version": "7.57.0-alpha.4",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"author": "Frontegg LTD",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
|
-
"@frontegg/redux-store": "7.57.0-alpha.
|
|
9
|
+
"@frontegg/redux-store": "7.57.0-alpha.4",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|