@frontegg/types 7.53.0 → 7.55.0-alpha.0

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.
@@ -1,3 +1,4 @@
1
+ import { PrestepLocalization } from './prestep';
1
2
  export interface AcceptInvitationLocalization {
2
3
  /**
3
4
  * strings in accept invitation account page
@@ -35,5 +36,5 @@ export interface AcceptInvitationLocalization {
35
36
  * Message to be displayed when accepting invitation with OTC
36
37
  */
37
38
  acceptInvitationOtcMessage: string;
38
- };
39
+ } & PrestepLocalization;
39
40
  }
@@ -1,3 +1,4 @@
1
+ import { PrestepLocalization } from './prestep';
1
2
  export interface ActivateAccountLocalization {
2
3
  /**
3
4
  * strings in activate account page
@@ -101,5 +102,5 @@ export interface ActivateAccountLocalization {
101
102
  * Activate account with code message
102
103
  */
103
104
  activateAccountOTCMessage: string;
104
- };
105
+ } & PrestepLocalization;
105
106
  }
@@ -25,4 +25,5 @@ export * from './SplitPageTypes';
25
25
  export * from './impersonate';
26
26
  export * from './openApp';
27
27
  export * from './unlockAccount';
28
+ export * from './prestep';
28
29
  export type LoginBoxLocalization = LoginLocalization & StepUpLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization & UnlockAccountLocalization & OpenAppLocalization;
@@ -12,4 +12,5 @@ export * from './SplitPageTypes';
12
12
  export * from './impersonate';
13
13
  export * from './openApp';
14
14
  export * from './unlockAccount';
15
+ export * from './prestep';
15
16
  export {};
@@ -1,4 +1,5 @@
1
1
  import { TestimonialComponentLocalization, TitleDescriptionComponentLocalization, ValuesComponentLocalization } from './SplitPageTypes';
2
+ import { PrestepLocalization } from './prestep';
2
3
  export interface LoginLocalization {
3
4
  /**
4
5
  * strings in login page
@@ -530,5 +531,5 @@ export interface LoginLocalization {
530
531
  * Generic error page message title for login
531
532
  */
532
533
  genericErrorPageTitle: string;
533
- };
534
+ } & PrestepLocalization;
534
535
  }
@@ -0,0 +1,5 @@
1
+ export interface PrestepLocalization {
2
+ prestepTitle: string;
3
+ prestepDescription: string;
4
+ prestepButtonText: string;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,4 @@
1
+ import { PrestepLocalization } from './prestep';
1
2
  export interface UnlockAccountLocalization {
2
3
  /**
3
4
  * strings in unlock account page
@@ -23,5 +24,5 @@ export interface UnlockAccountLocalization {
23
24
  * Description message to be displayed if unlock account succeeded
24
25
  */
25
26
  successMessage: string;
26
- };
27
+ } & PrestepLocalization;
27
28
  }
@@ -26,6 +26,8 @@ export interface SocialLoginsLayoutStacked extends SocialLoginsLayoutBase {
26
26
  }
27
27
  export type SocialLoginsLayoutEventually = SocialLoginsLayoutBase & {
28
28
  mode: 'eventually';
29
+ showEventuallyButtonsWithText?: boolean;
30
+ eventuallyButtonsStyle?: Omit<ButtonThemeOptions, 'disabled'>;
29
31
  };
30
32
  export type SocialLoginsLayout = SocialLoginsLayoutStacked | SocialLoginsLayoutEventually;
31
33
  export interface SocialLoginsCustomComponents {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.53.0
1
+ /** @license Frontegg v7.55.0-alpha.0
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.
@@ -156,4 +156,15 @@ Object.keys(_unlockAccount).forEach(function (key) {
156
156
  return _unlockAccount[key];
157
157
  }
158
158
  });
159
+ });
160
+ var _prestep = require("./prestep");
161
+ Object.keys(_prestep).forEach(function (key) {
162
+ if (key === "default" || key === "__esModule") return;
163
+ if (key in exports && exports[key] === _prestep[key]) return;
164
+ Object.defineProperty(exports, key, {
165
+ enumerable: true,
166
+ get: function () {
167
+ return _prestep[key];
168
+ }
169
+ });
159
170
  });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.53.0
1
+ /** @license Frontegg v7.55.0-alpha.0
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.53.0",
3
+ "version": "7.55.0-alpha.0",
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.53.0",
9
+ "@frontegg/redux-store": "7.55.0-alpha.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },