@frontegg/types 7.78.0-alpha.2 → 7.79.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,5 +1,5 @@
|
|
|
1
1
|
import { Color, ExtendedCSSProperties } from '../../Common';
|
|
2
|
-
import { BaseTheme, BaseThemeOptions, SocialLoginsThemeOptions } from '../index';
|
|
2
|
+
import { BaseTheme, BaseThemeOptions, PhoneNumberCountryCodes, SocialLoginsThemeOptions } from '../index';
|
|
3
3
|
import { ButtonThemeOptions, CustomComponent, ILogosComponent, InputThemeOptions, ITestimonialComponent, SideElement } from '../ComponentsOptions';
|
|
4
4
|
/**
|
|
5
5
|
* @RootElement
|
|
@@ -38,6 +38,7 @@ export interface PhoneNumberOptions {
|
|
|
38
38
|
searchBarStyle?: ExtendedCSSProperties;
|
|
39
39
|
dropdownItemStyle?: ExtendedCSSProperties;
|
|
40
40
|
selectArrowStyle?: ExtendedCSSProperties;
|
|
41
|
+
selectDropdownButtonStyle?: ExtendedCSSProperties;
|
|
41
42
|
}
|
|
42
43
|
export interface PrestepOptions {
|
|
43
44
|
enabled?: boolean;
|
|
@@ -190,6 +191,11 @@ interface LoginBoxOptionalCommon {
|
|
|
190
191
|
* css style for every state (base, hover, focus, disabled, etc...)
|
|
191
192
|
*/
|
|
192
193
|
phoneNumberSelect?: PhoneNumberOptions;
|
|
194
|
+
/**
|
|
195
|
+
* Use this option to determine which countries will be displayed or blocked in the phone number field in the signup form
|
|
196
|
+
* Default is all countries allowed
|
|
197
|
+
*/
|
|
198
|
+
phoneNumberCountryCodes?: PhoneNumberCountryCodes;
|
|
193
199
|
/**
|
|
194
200
|
* Option to customize login box inputs by providing
|
|
195
201
|
* css style for every state (base, hover, focus, disabled, etc...)
|
|
@@ -143,11 +143,6 @@ export interface SignupPageComponentsTheme {
|
|
|
143
143
|
* Default is false
|
|
144
144
|
*/
|
|
145
145
|
requirePasswordConfirmation?: boolean;
|
|
146
|
-
/**
|
|
147
|
-
* Use this option to determine which countries will be displayed or blocked in the phone number field in the signup form
|
|
148
|
-
* Default is all countries allowed
|
|
149
|
-
*/
|
|
150
|
-
phoneNumberCountryCodes?: PhoneNumberCountryCodes;
|
|
151
146
|
}
|
|
152
147
|
export interface SignupPageThemeOptions extends LoginBoxCommonThemeOptions, SignupPageComponentsTheme {
|
|
153
148
|
}
|
package/index.js
CHANGED
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.79.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.79.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|