@frontegg/types 6.168.0 → 6.169.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.
@@ -9,6 +9,7 @@ import { RecoveryMfaLocalization } from './recoveryMfa';
9
9
  import { ResetPhoneNumberLocalization } from './resetPhoneNumber';
10
10
  import { ImpersonateLocalization } from './impersonate';
11
11
  import { StepUpLocalization } from './stepUp';
12
+ import { OpenAppLocalization } from './openApp';
12
13
  export * from './login';
13
14
  export * from './stepUp';
14
15
  export * from './signup';
@@ -21,4 +22,5 @@ export * from './activateAccount';
21
22
  export * from './recoveryMfa';
22
23
  export * from './SplitPageTypes';
23
24
  export * from './impersonate';
24
- export declare type LoginBoxLocalization = LoginLocalization & StepUpLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization;
25
+ export * from './openApp';
26
+ export declare type LoginBoxLocalization = LoginLocalization & StepUpLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization & OpenAppLocalization;
@@ -10,4 +10,5 @@ export * from './activateAccount';
10
10
  export * from './recoveryMfa';
11
11
  export * from './SplitPageTypes';
12
12
  export * from './impersonate';
13
+ export * from './openApp';
13
14
  export {};
@@ -0,0 +1,23 @@
1
+ export interface OpenAppLocalization {
2
+ /**
3
+ * strings in step up page
4
+ */
5
+ openApp: {
6
+ /**
7
+ * open app page title
8
+ */
9
+ title: string;
10
+ /**
11
+ * open app page title
12
+ */
13
+ description: string;
14
+ /**
15
+ * open app page "open" button text
16
+ */
17
+ buttonText: string;
18
+ /**
19
+ * back to login button text
20
+ */
21
+ backToLogin: string;
22
+ };
23
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -32,4 +32,9 @@ export interface PrivateOptions {
32
32
  * default: undefined
33
33
  */
34
34
  overrideFeatureFlags?: Record<string, 'on' | 'off'>;
35
+ /**
36
+ * Open App route will be used to redirect user to the app after login
37
+ * default: false
38
+ */
39
+ enableOpenAppRoute?: boolean;
35
40
  }
@@ -0,0 +1,39 @@
1
+ import { CustomComponent, LoginBoxCommonTheme, LoginBoxCommonThemeOptions } from '../index';
2
+ import { ExtendedCSSProperties } from '../../Common';
3
+ interface TitleProps {
4
+ title: string;
5
+ }
6
+ interface MessageProps {
7
+ message: string;
8
+ }
9
+ interface OpenAppPageComponentsTheme {
10
+ /**
11
+ * Activate account page container style
12
+ */
13
+ containerStyle?: ExtendedCSSProperties;
14
+ /**
15
+ * Activate account page title default is 'Activate Account'
16
+ * displayed in forgot password form screen
17
+ * passing 'null' will hide the title
18
+ */
19
+ title?: CustomComponent<TitleProps>;
20
+ /**
21
+ * Direct css style for Forgot password Page title
22
+ */
23
+ titleStyle?: ExtendedCSSProperties;
24
+ /**
25
+ * Activate account page message default is hidden
26
+ * displayed in forgot password form screen
27
+ * passing 'null' will hide the message
28
+ */
29
+ message?: CustomComponent<MessageProps>;
30
+ /**
31
+ * Direct css style for Forgot password Page message
32
+ */
33
+ messageStyle?: ExtendedCSSProperties;
34
+ }
35
+ export interface OpenAppPageThemeOptions extends LoginBoxCommonThemeOptions, OpenAppPageComponentsTheme {
36
+ }
37
+ export interface OpenAppPageTheme extends LoginBoxCommonTheme, OpenAppPageComponentsTheme {
38
+ }
39
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -10,6 +10,7 @@ import { LoaderTheme, LoaderThemeOptions } from './LoaderTheme';
10
10
  import { SignupPageTheme } from './SignupPageTheme';
11
11
  import { ResetPhoneNumberPageTheme, ResetPhoneNumberPageThemeOptions } from './ResetPhoneNumberTheme';
12
12
  import { StepUpTheme, StepUpThemeOptions } from './StepUpTheme';
13
+ import { OpenAppPageTheme, OpenAppPageThemeOptions } from './OpenAppPageTheme';
13
14
  export * from './LoginBoxCommon';
14
15
  export * from './LoginPageTheme';
15
16
  export * from './SignupPageTheme';
@@ -20,6 +21,7 @@ export * from './ResetPhoneNumberTheme';
20
21
  export * from './ResetPasswordTheme';
21
22
  export * from './ActivateAccountPageTheme';
22
23
  export * from './AcceptInvitationTheme';
24
+ export * from './OpenAppPageTheme';
23
25
  export interface AuthPageThemeOptions extends BaseThemeOptions, AuthPageCustomComponents {
24
26
  style?: ExtendedCSSProperties;
25
27
  layout?: {
@@ -40,6 +42,7 @@ export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
40
42
  login?: LoginPageThemeOptions;
41
43
  stepUp?: StepUpThemeOptions;
42
44
  signup?: SignupPageThemeOptions;
45
+ openApp?: OpenAppPageThemeOptions;
43
46
  loader?: LoaderThemeOptions;
44
47
  }
45
48
  export interface LoginBoxTheme extends LoginBoxCommonTheme {
@@ -53,5 +56,6 @@ export interface LoginBoxTheme extends LoginBoxCommonTheme {
53
56
  stepUp: StepUpTheme;
54
57
  signup: SignupPageTheme;
55
58
  socialLogins: SocialLoginsTheme;
59
+ openApp: OpenAppPageTheme;
56
60
  loader: LoaderTheme;
57
61
  }
@@ -8,4 +8,5 @@ export * from './ResetPhoneNumberTheme';
8
8
  export * from './ResetPasswordTheme';
9
9
  export * from './ActivateAccountPageTheme';
10
10
  export * from './AcceptInvitationTheme';
11
+ export * from './OpenAppPageTheme';
11
12
  export {};
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.168.0
1
+ /** @license Frontegg v6.169.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.
@@ -134,4 +134,15 @@ Object.keys(_impersonate).forEach(function (key) {
134
134
  return _impersonate[key];
135
135
  }
136
136
  });
137
+ });
138
+ var _openApp = require("./openApp");
139
+ Object.keys(_openApp).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _openApp[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function () {
145
+ return _openApp[key];
146
+ }
147
+ });
137
148
  });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -112,4 +112,15 @@ Object.keys(_AcceptInvitationTheme).forEach(function (key) {
112
112
  return _AcceptInvitationTheme[key];
113
113
  }
114
114
  });
115
+ });
116
+ var _OpenAppPageTheme = require("./OpenAppPageTheme");
117
+ Object.keys(_OpenAppPageTheme).forEach(function (key) {
118
+ if (key === "default" || key === "__esModule") return;
119
+ if (key in exports && exports[key] === _OpenAppPageTheme[key]) return;
120
+ Object.defineProperty(exports, key, {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _OpenAppPageTheme[key];
124
+ }
125
+ });
115
126
  });
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.168.0
1
+ /** @license Frontegg v6.169.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": "6.168.0",
3
+ "version": "6.169.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": "6.168.0",
9
+ "@frontegg/redux-store": "6.169.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },