@frontegg/types 7.84.0-alpha.0 → 7.84.0-alpha.1
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/AdminPortalLocalizations/users.d.ts +16 -0
- package/Localizations/LoginBoxLocalization/signup.d.ts +0 -16
- package/PrivateOptions.d.ts +4 -0
- package/ThemeOptions/LoginBoxTheme/DynamicFields/OverrideSignupFields.d.ts +1 -2
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.d.ts +2 -3
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +0 -1
- package/ThemeOptions/Palette.d.ts +1 -0
- package/index.js +1 -1
- package/node/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +0 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -400,6 +400,18 @@ export interface UsersLocalization {
|
|
|
400
400
|
* Next button text
|
|
401
401
|
*/
|
|
402
402
|
nextButton: string;
|
|
403
|
+
/**
|
|
404
|
+
* Roles label
|
|
405
|
+
*/
|
|
406
|
+
rolesLabel: string;
|
|
407
|
+
/**
|
|
408
|
+
* Roles placeholder
|
|
409
|
+
*/
|
|
410
|
+
rolesPlaceholder: string;
|
|
411
|
+
/**
|
|
412
|
+
* Roles is required
|
|
413
|
+
*/
|
|
414
|
+
rolesIsRequired: string;
|
|
403
415
|
};
|
|
404
416
|
/**
|
|
405
417
|
* Invitation Link dialog strings
|
|
@@ -457,6 +469,10 @@ export interface UsersLocalization {
|
|
|
457
469
|
* Days plural
|
|
458
470
|
*/
|
|
459
471
|
days: string;
|
|
472
|
+
/**
|
|
473
|
+
* Roles label
|
|
474
|
+
*/
|
|
475
|
+
rolesLabel: string;
|
|
460
476
|
};
|
|
461
477
|
/**
|
|
462
478
|
* Edit user access time dialog strings
|
|
@@ -215,22 +215,6 @@ export interface SignupLocalizationOptions {
|
|
|
215
215
|
* Description for phone verification step
|
|
216
216
|
*/
|
|
217
217
|
verifyPhoneDescription: string;
|
|
218
|
-
/**
|
|
219
|
-
* Username is required
|
|
220
|
-
*/
|
|
221
|
-
usernameIsRequired: string;
|
|
222
|
-
/**
|
|
223
|
-
* Username is invalid
|
|
224
|
-
*/
|
|
225
|
-
usernameIsInvalid: string;
|
|
226
|
-
/**
|
|
227
|
-
* Username input label
|
|
228
|
-
*/
|
|
229
|
-
usernameInputLabel: string;
|
|
230
|
-
/**
|
|
231
|
-
* Username input placeholder
|
|
232
|
-
*/
|
|
233
|
-
usernameInputPlaceholder: string;
|
|
234
218
|
}
|
|
235
219
|
export interface SignupLocalization {
|
|
236
220
|
/**
|
package/PrivateOptions.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export type CustomFieldConfig = InputCustomFieldConfig | SelectCustomFieldConfig
|
|
|
131
131
|
* Config for a standard field.
|
|
132
132
|
*/
|
|
133
133
|
interface StandardFieldConfig extends CommonFieldConfig {
|
|
134
|
-
type: 'email' | 'name' | 'firstName' | 'lastName' | 'password' | 'confirmPassword' | 'companyName' | 'disclaimer' | 'phoneNumber'
|
|
134
|
+
type: 'email' | 'name' | 'firstName' | 'lastName' | 'password' | 'confirmPassword' | 'companyName' | 'disclaimer' | 'phoneNumber';
|
|
135
135
|
initialValue?: any;
|
|
136
136
|
Component?: FC<any>;
|
|
137
137
|
validationSchema?: any;
|
|
@@ -146,7 +146,6 @@ export interface FronteggFields {
|
|
|
146
146
|
companyName: StandardFieldConfig;
|
|
147
147
|
disclaimer: StandardFieldConfig;
|
|
148
148
|
phoneNumber: StandardFieldConfig;
|
|
149
|
-
username: StandardFieldConfig;
|
|
150
149
|
}
|
|
151
150
|
/**
|
|
152
151
|
* Union type for any form field configuration.
|
|
@@ -8,12 +8,11 @@ interface TitleProps {
|
|
|
8
8
|
}
|
|
9
9
|
export declare enum SignupFields {
|
|
10
10
|
/**
|
|
11
|
-
* Phone number
|
|
11
|
+
* Phone number field wont be displayed in sign up form by default
|
|
12
12
|
* Use this field in signup fields properties to enable it
|
|
13
13
|
* Currently this field will only be externalized to signUpComplete event and will not be sent to the backend
|
|
14
14
|
*/
|
|
15
|
-
phoneNumber = "phoneNumber"
|
|
16
|
-
username = "username"
|
|
15
|
+
phoneNumber = "phoneNumber"
|
|
17
16
|
}
|
|
18
17
|
type SignupFieldsProperties = {
|
|
19
18
|
[K in SignupFields]?: {
|
package/index.js
CHANGED
|
@@ -11,7 +11,6 @@ let SignupFields;
|
|
|
11
11
|
exports.SignupFields = SignupFields;
|
|
12
12
|
(function (SignupFields) {
|
|
13
13
|
SignupFields["phoneNumber"] = "phoneNumber";
|
|
14
|
-
SignupFields["username"] = "username";
|
|
15
14
|
})(SignupFields || (exports.SignupFields = SignupFields = {}));
|
|
16
15
|
let COUNTRY_FILTER_TYPE;
|
|
17
16
|
/**
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "7.84.0-alpha.
|
|
3
|
+
"version": "7.84.0-alpha.1",
|
|
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.84.0-alpha.
|
|
9
|
+
"@frontegg/redux-store": "7.84.0-alpha.1",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|