@frontegg/types 5.78.2 → 5.80.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.
@@ -6,6 +6,10 @@ import { LocalizationsOverrides } from './Localizations';
6
6
  import { CustomEventsOptions } from '@frontegg/redux-store';
7
7
  import { PrivateOptions } from './PrivateOptions';
8
8
  export interface FronteggAppOptions extends FronteggStoreOptions, PrivateOptions {
9
+ /**
10
+ * use this flag if you want to hide the field "Company name" from the sign up form
11
+ @deprecated, use themeOptions.loginBox.signup.hideSignUpFields.hideCompanyName
12
+ */
9
13
  withCompanyName?: boolean;
10
14
  contextOptions: ContextOptions;
11
15
  events?: CustomEventsOptions;
@@ -34,19 +34,19 @@ export interface SocialLoginsLocalization {
34
34
  */
35
35
  socialactivationButtonTextPrefix: string;
36
36
  /**
37
- * Deprecated
37
+ * @Deprecated
38
38
  * Text to be display in socialLogin buttons if rendering inside login section
39
39
  * Ex: 'Continue with {{providerName}}'
40
40
  */
41
41
  loginButtonText: string;
42
42
  /**
43
- * Deprecated
43
+ * @Deprecated
44
44
  * Text to be display in socialLogin buttons if rendering inside signup section
45
45
  * Ex: 'Login with {{providerName}}'
46
46
  */
47
47
  signupButtonText: string;
48
48
  /**
49
- * Deprecated
49
+ * @Deprecated
50
50
  * Text to be display in socialLogin buttons if rendering inside activation section
51
51
  * Ex: 'Sign up with {{providerName}}'
52
52
  */
@@ -92,6 +92,12 @@ export interface SignupPageComponentsTheme {
92
92
  * use this flag if you want to hide the sign up form and use only SSO or social sign ups
93
93
  */
94
94
  hideSignUpForm?: boolean;
95
+ /**
96
+ * use this flag if you want to hide the field "Company name" from the sign up form
97
+ */
98
+ hideSignUpFields?: {
99
+ hideCompanyName?: boolean;
100
+ };
95
101
  }
96
102
  export interface SignupPageThemeOptions extends LoginBoxCommonThemeOptions, SignupPageComponentsTheme {
97
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "5.78.2",
3
+ "version": "5.80.1",
4
4
  "main": "./node/index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./index.d.ts",