@frontegg/types 6.152.0-alpha.1 → 6.152.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.
|
@@ -5,25 +5,6 @@ import { DisclaimerOptions } from '../DisclaimerOptions';
|
|
|
5
5
|
interface TitleProps {
|
|
6
6
|
title: string;
|
|
7
7
|
}
|
|
8
|
-
export declare enum SignupFields {
|
|
9
|
-
phoneNumber = "phoneNumber"
|
|
10
|
-
}
|
|
11
|
-
declare type SignupFieldsProperties = {
|
|
12
|
-
[K in SignupFields]?: {
|
|
13
|
-
/**
|
|
14
|
-
* If true the field in will be rendered in signup form
|
|
15
|
-
* Default false
|
|
16
|
-
*/
|
|
17
|
-
enabled?: boolean;
|
|
18
|
-
validation?: {
|
|
19
|
-
/**
|
|
20
|
-
* If true the field will be required in signup form
|
|
21
|
-
* Default false
|
|
22
|
-
*/
|
|
23
|
-
required?: boolean;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
8
|
export interface GoToLoginMessageProps {
|
|
28
9
|
goToLogin: () => void;
|
|
29
10
|
goToLoginMessage: string;
|
|
@@ -95,10 +76,6 @@ export interface SignupPageComponentsTheme {
|
|
|
95
76
|
hideSignUpFields?: {
|
|
96
77
|
hideCompanyName?: boolean;
|
|
97
78
|
};
|
|
98
|
-
/**
|
|
99
|
-
* Control the state of the "Sign Up" fields
|
|
100
|
-
*/
|
|
101
|
-
fieldsProperties?: SignupFieldsProperties;
|
|
102
79
|
/**
|
|
103
80
|
* use this flag if you want to show password meter on the sign up form
|
|
104
81
|
*/
|
package/index.js
CHANGED
|
@@ -2,13 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.SignupFields = void 0;
|
|
7
|
-
// interface MessageProps {
|
|
8
|
-
// message: ReactNode;
|
|
9
|
-
// }
|
|
10
|
-
let SignupFields;
|
|
11
|
-
exports.SignupFields = SignupFields;
|
|
12
|
-
(function (SignupFields) {
|
|
13
|
-
SignupFields["phoneNumber"] = "phoneNumber";
|
|
14
|
-
})(SignupFields || (exports.SignupFields = SignupFields = {}));
|
|
5
|
+
});
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "6.152.0
|
|
3
|
+
"version": "6.152.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.152.0
|
|
9
|
+
"@frontegg/redux-store": "6.152.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|