@frontegg/types 7.57.0-alpha.1 → 7.57.0-alpha.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.
@@ -182,14 +182,6 @@ 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;
193
185
  /**
194
186
  * Oct section title
195
187
  */
@@ -7,6 +7,31 @@ 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;
10
35
  /**
11
36
  * Text displayed in reset password form before password inputs
12
37
  */
@@ -43,6 +68,10 @@ export interface ResetPasswordLocalization {
43
68
  * Reset password submit button text
44
69
  */
45
70
  resetPasswordButton: string;
71
+ /**
72
+ * Change password button text
73
+ */
74
+ changePasswordButton: string;
46
75
  /**
47
76
  * Title to be displayed if reset password succeeded
48
77
  */
@@ -51,6 +80,10 @@ export interface ResetPasswordLocalization {
51
80
  * Message to be displayed if reset password succeeded
52
81
  */
53
82
  successMessage: string;
83
+ /**
84
+ * Message to be displayed if change password succeeded
85
+ */
86
+ changePasswordSuccessMessage: string;
54
87
  /**
55
88
  * Title to be displayed if reset password failed
56
89
  */
@@ -39,9 +39,6 @@ export interface PhoneNumberOptions {
39
39
  dropdownItemStyle?: ExtendedCSSProperties;
40
40
  selectArrowStyle?: ExtendedCSSProperties;
41
41
  }
42
- export interface PrestepOptions {
43
- enabled?: boolean;
44
- }
45
42
  export interface LayoutOptions {
46
43
  /**
47
44
  * Layout type for login box page, Default is Center login box elements
@@ -229,11 +226,6 @@ interface LoginBoxOptionalCommon {
229
226
  * css style
230
227
  */
231
228
  forgotPasswordButton?: ExtendedCSSProperties;
232
- /**
233
- * Option to add a confirmation mechanism component to relevant flows
234
- * that rely on email links
235
- */
236
- prestep?: PrestepOptions;
237
229
  }
238
230
  export interface LoginBoxCommonTheme extends BaseTheme, LoginBoxOptionalCommon {
239
231
  /**
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.57.0-alpha.1
1
+ /** @license Frontegg v7.57.0-alpha.2
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.1
1
+ /** @license Frontegg v7.57.0-alpha.2
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.1",
3
+ "version": "7.57.0-alpha.2",
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.1",
9
+ "@frontegg/redux-store": "7.57.0-alpha.2",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },