@frontegg/types 5.66.2 → 5.68.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.
@@ -33,6 +33,11 @@ interface LogoComponent {
33
33
  */
34
34
  style?: ExtendedCSSProperties;
35
35
  }
36
+ export interface PhoneNumberOptions {
37
+ dropdownStyle?: ExtendedCSSProperties;
38
+ dropdownItemStyle?: ExtendedCSSProperties;
39
+ selectArrowStyle?: ExtendedCSSProperties;
40
+ }
36
41
  export interface LayoutOptions {
37
42
  /**
38
43
  * Layout type for login box page, Default is Center login box elements
@@ -172,6 +177,11 @@ interface LoginBoxOptionalCommon {
172
177
  * - ReactElement will be rendered inside LoginBox VirtualTree
173
178
  */
174
179
  boxFooter?: CustomComponent;
180
+ /**
181
+ * Option to customize phone number select by providing
182
+ * css style for every state (base, hover, focus, disabled, etc...)
183
+ */
184
+ phoneNumberSelect?: PhoneNumberOptions;
175
185
  /**
176
186
  * Option to customize login box inputs by providing
177
187
  * css style for every state (base, hover, focus, disabled, etc...)
@@ -197,6 +207,11 @@ interface LoginBoxOptionalCommon {
197
207
  * layous options for every button and element
198
208
  */
199
209
  socialLogins?: SocialLoginsThemeOptions;
210
+ /**
211
+ * Option to customize login box back to login button by providing
212
+ * css style for every state (base, hover, focus, disabled, etc...)
213
+ */
214
+ backToLoginStyle?: ExtendedCSSProperties;
200
215
  }
201
216
  export interface LoginBoxCommonTheme extends BaseTheme, LoginBoxOptionalCommon {
202
217
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "5.66.2",
3
+ "version": "5.68.0",
4
4
  "main": "./node/index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./index.d.ts",