@frontegg/types 7.78.0 → 7.80.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.
@@ -4,7 +4,7 @@ import { AdminPortalLocalization } from './AdminPortalLocalizations';
4
4
  export type DeepPartial<T> = T extends string ? T : T extends Record<string, any> ? {
5
5
  [P in keyof T]?: DeepPartial<T[P]>;
6
6
  } : T;
7
- type Languages = 'en' | 'he';
7
+ type Languages = 'en' | 'he' | 'es' | 'fr' | 'de' | 'it' | 'pt-BR' | 'zh' | 'ja' | 'ko' | 'ar' | 'ru' | 'nl' | 'tr' | 'hi' | 'id' | 'vi' | 'pl' | 'sv' | 'nb' | 'da' | 'th' | 'uk' | 'ro' | 'cs';
8
8
  export type LocalizationsOverrides = DeepPartial<{
9
9
  [k in Languages]: LocalizationOverrides;
10
10
  }> & {
@@ -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
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.78.0
1
+ /** @license Frontegg v7.80.0-alpha.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/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.78.0
1
+ /** @license Frontegg v7.80.0-alpha.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": "7.78.0",
3
+ "version": "7.80.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.78.0",
9
+ "@frontegg/redux-store": "7.80.0-alpha.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },