@frontegg/types 7.2.0 → 7.3.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.
- package/Localizations/LoginBoxLocalization/index.d.ts +3 -1
- package/Localizations/LoginBoxLocalization/index.js +1 -0
- package/Localizations/LoginBoxLocalization/unlockAccount.d.ts +27 -0
- package/Localizations/LoginBoxLocalization/unlockAccount.js +1 -0
- package/ThemeOptions/LoginBoxTheme/UnlockAccountPageTheme.d.ts +13 -0
- package/ThemeOptions/LoginBoxTheme/UnlockAccountPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/index.d.ts +4 -0
- package/ThemeOptions/LoginBoxTheme/index.js +1 -0
- package/index.js +1 -1
- package/node/Localizations/LoginBoxLocalization/index.js +11 -0
- package/node/Localizations/LoginBoxLocalization/unlockAccount.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/UnlockAccountPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/index.js +11 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -10,6 +10,7 @@ import { ResetPhoneNumberLocalization } from './resetPhoneNumber';
|
|
|
10
10
|
import { ImpersonateLocalization } from './impersonate';
|
|
11
11
|
import { StepUpLocalization } from './stepUp';
|
|
12
12
|
import { OpenAppLocalization } from './openApp';
|
|
13
|
+
import { UnlockAccountLocalization } from './unlockAccount';
|
|
13
14
|
export * from './login';
|
|
14
15
|
export * from './stepUp';
|
|
15
16
|
export * from './signup';
|
|
@@ -23,4 +24,5 @@ export * from './recoveryMfa';
|
|
|
23
24
|
export * from './SplitPageTypes';
|
|
24
25
|
export * from './impersonate';
|
|
25
26
|
export * from './openApp';
|
|
26
|
-
export
|
|
27
|
+
export * from './unlockAccount';
|
|
28
|
+
export type LoginBoxLocalization = LoginLocalization & StepUpLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization & UnlockAccountLocalization & OpenAppLocalization;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface UnlockAccountLocalization {
|
|
2
|
+
/**
|
|
3
|
+
* strings in unlock account page
|
|
4
|
+
*/
|
|
5
|
+
unlockAccount: {
|
|
6
|
+
/**
|
|
7
|
+
* Title to be displayed if unlock account failed
|
|
8
|
+
*/
|
|
9
|
+
failedTitle: string;
|
|
10
|
+
/**
|
|
11
|
+
* Description message to be displayed if unlock account failed
|
|
12
|
+
*/
|
|
13
|
+
failedMessage: string;
|
|
14
|
+
/**
|
|
15
|
+
* Button text to navigate back to login page
|
|
16
|
+
*/
|
|
17
|
+
failedBackToLoginButton: string;
|
|
18
|
+
/**
|
|
19
|
+
* Title to be displayed if unlock account succeeded
|
|
20
|
+
*/
|
|
21
|
+
successTitle: string;
|
|
22
|
+
/**
|
|
23
|
+
* Description message to be displayed if unlock account succeeded
|
|
24
|
+
*/
|
|
25
|
+
successMessage: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LoginBoxCommonTheme, LoginBoxCommonThemeOptions } from '../index';
|
|
2
|
+
import { ExtendedCSSProperties } from '../../Common';
|
|
3
|
+
interface UnlockAccountComponentsTheme {
|
|
4
|
+
/**
|
|
5
|
+
* Unlock account page container style
|
|
6
|
+
*/
|
|
7
|
+
containerStyle?: ExtendedCSSProperties;
|
|
8
|
+
}
|
|
9
|
+
export interface UnlockAccountPageThemeOptions extends LoginBoxCommonThemeOptions, UnlockAccountComponentsTheme {
|
|
10
|
+
}
|
|
11
|
+
export interface UnlockAccountPageTheme extends LoginBoxCommonTheme, UnlockAccountComponentsTheme {
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -11,9 +11,11 @@ import { SignupPageTheme } from './SignupPageTheme';
|
|
|
11
11
|
import { ResetPhoneNumberPageTheme, ResetPhoneNumberPageThemeOptions } from './ResetPhoneNumberTheme';
|
|
12
12
|
import { StepUpTheme, StepUpThemeOptions } from './StepUpTheme';
|
|
13
13
|
import { OpenAppPageTheme, OpenAppPageThemeOptions } from './OpenAppPageTheme';
|
|
14
|
+
import { UnlockAccountPageTheme, UnlockAccountPageThemeOptions } from './UnlockAccountPageTheme';
|
|
14
15
|
export * from './LoginBoxCommon';
|
|
15
16
|
export * from './LoginPageTheme';
|
|
16
17
|
export * from './SignupPageTheme';
|
|
18
|
+
export * from './UnlockAccountPageTheme';
|
|
17
19
|
export * from './CustomLoginComponents';
|
|
18
20
|
export * from './SocialLoginsTheme';
|
|
19
21
|
export * from './ForgotPasswordTheme';
|
|
@@ -36,6 +38,7 @@ export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
|
36
38
|
poweredByColor?: Color;
|
|
37
39
|
acceptInvitation?: AcceptInvitationPageThemeOptions;
|
|
38
40
|
activateAccount?: ActivateAccountPageThemeOptions;
|
|
41
|
+
unlockAccount?: UnlockAccountPageThemeOptions;
|
|
39
42
|
forgotPassword?: ForgotPasswordPageThemeOptions;
|
|
40
43
|
resetPhoneNumber?: ResetPhoneNumberPageThemeOptions;
|
|
41
44
|
resetPassword?: ResetPasswordPageThemeOptions;
|
|
@@ -49,6 +52,7 @@ export interface LoginBoxTheme extends LoginBoxCommonTheme {
|
|
|
49
52
|
themeName: BasicThemeName | ThemeNameV2;
|
|
50
53
|
acceptInvitation: AcceptInvitationPageTheme;
|
|
51
54
|
activateAccount: ActivateAccountPageTheme;
|
|
55
|
+
unlockAccount: UnlockAccountPageTheme;
|
|
52
56
|
forgotPassword: ForgotPasswordPageTheme;
|
|
53
57
|
resetPhoneNumber: ResetPhoneNumberPageTheme;
|
|
54
58
|
resetPassword: ResetPasswordPageTheme;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './LoginBoxCommon';
|
|
2
2
|
export * from './LoginPageTheme';
|
|
3
3
|
export * from './SignupPageTheme';
|
|
4
|
+
export * from './UnlockAccountPageTheme';
|
|
4
5
|
export * from './CustomLoginComponents';
|
|
5
6
|
export * from './SocialLoginsTheme';
|
|
6
7
|
export * from './ForgotPasswordTheme';
|
package/index.js
CHANGED
|
@@ -145,4 +145,15 @@ Object.keys(_openApp).forEach(function (key) {
|
|
|
145
145
|
return _openApp[key];
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
|
+
});
|
|
149
|
+
var _unlockAccount = require("./unlockAccount");
|
|
150
|
+
Object.keys(_unlockAccount).forEach(function (key) {
|
|
151
|
+
if (key === "default" || key === "__esModule") return;
|
|
152
|
+
if (key in exports && exports[key] === _unlockAccount[key]) return;
|
|
153
|
+
Object.defineProperty(exports, key, {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () {
|
|
156
|
+
return _unlockAccount[key];
|
|
157
|
+
}
|
|
158
|
+
});
|
|
148
159
|
});
|
|
@@ -36,6 +36,17 @@ Object.keys(_SignupPageTheme).forEach(function (key) {
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
|
+
var _UnlockAccountPageTheme = require("./UnlockAccountPageTheme");
|
|
40
|
+
Object.keys(_UnlockAccountPageTheme).forEach(function (key) {
|
|
41
|
+
if (key === "default" || key === "__esModule") return;
|
|
42
|
+
if (key in exports && exports[key] === _UnlockAccountPageTheme[key]) return;
|
|
43
|
+
Object.defineProperty(exports, key, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return _UnlockAccountPageTheme[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
39
50
|
var _CustomLoginComponents = require("./CustomLoginComponents");
|
|
40
51
|
Object.keys(_CustomLoginComponents).forEach(function (key) {
|
|
41
52
|
if (key === "default" || key === "__esModule") return;
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.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.
|
|
9
|
+
"@frontegg/redux-store": "7.3.0-alpha.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|