@frontegg/types 7.57.0-alpha.3 → 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.
@@ -72,6 +72,10 @@ export interface SsoLocalization {
72
72
  * SSO Domain name input placeholder
73
73
  */
74
74
  domainInputPlaceholder: string;
75
+ /**
76
+ * SSO Domain name input tooltip
77
+ */
78
+ domainInputTooltip: string;
75
79
  /**
76
80
  * Error message displayed if domain is empty
77
81
  */
@@ -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
  */
@@ -44,10 +19,6 @@ export interface ResetPasswordLocalization {
44
19
  * String displayed as placeholder when new password field is empty
45
20
  */
46
21
  newPasswordInputPlaceholder: string;
47
- /**
48
- * String displayed as placeholder when current password field is empty
49
- */
50
- currentPasswordInputPlaceholder: string;
51
22
  /**
52
23
  * Error displayed when new password is empty
53
24
  */
@@ -72,10 +43,6 @@ export interface ResetPasswordLocalization {
72
43
  * Reset password submit button text
73
44
  */
74
45
  resetPasswordButton: string;
75
- /**
76
- * Change password button text
77
- */
78
- changePasswordButton: string;
79
46
  /**
80
47
  * Title to be displayed if reset password succeeded
81
48
  */
@@ -84,10 +51,6 @@ export interface ResetPasswordLocalization {
84
51
  * Message to be displayed if reset password succeeded
85
52
  */
86
53
  successMessage: string;
87
- /**
88
- * Message to be displayed if change password succeeded
89
- */
90
- changePasswordSuccessMessage: string;
91
54
  /**
92
55
  * Title to be displayed if reset password failed
93
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
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.57.0-alpha.3
1
+ /** @license Frontegg v7.57.0-alpha.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.57.0-alpha.3
1
+ /** @license Frontegg v7.57.0-alpha.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "7.57.0-alpha.3",
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.3",
9
+ "@frontegg/redux-store": "7.57.0-alpha.4",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },