@frontegg/types 6.45.0-alpha.1 → 6.45.0-alpha.10

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,3 +1,5 @@
1
+ import { ExtendedCSSProperties } from '../Common';
2
+ import { PageThemeOptions } from './AdminPortalThemeOptions';
1
3
  import { AccountPageFields, GeneralSettingsTabFields, LoginRestrictionsTabFields, MapAccountFieldToAppearance, MapPrivacyFieldToAppearance, MapProfileFieldToAppearance, MapSecurityFieldToAppearance, PrivacyPageFields, ProfilePageFields, SessionManagementTabFields, SignupRestrictionsTabFields, TabAppearance } from './fieldsAppearanceConsts';
2
4
  interface ProfileProperties<K extends ProfilePageFields> {
3
5
  appearance: MapProfileFieldToAppearance[K];
@@ -48,20 +50,25 @@ export declare type SessionManagementTabFieldsProperties = Partial<SessionManage
48
50
  export declare type SignupTabFieldsProperties = Partial<SignupFieldProperties>;
49
51
  export declare type LoginRestrictionsTabFieldsProperties = Partial<LoginRestrictionsFieldProperties>;
50
52
  export declare type GeneralSettingsTabFieldsProperties = Partial<GeneralSettingsFieldProperties>;
51
- export declare type SessionManagementTabProperties = {
53
+ export interface TabProperties extends Omit<PageThemeOptions, 'header'> {
52
54
  appearance?: TabAppearance;
55
+ }
56
+ export declare type SessionManagementTabProperties = TabProperties & {
53
57
  fieldsProperties?: SessionManagementTabFieldsProperties;
54
58
  };
55
- export declare type SignupTabProperties = {
56
- appearance?: TabAppearance;
59
+ export declare type SignupTabProperties = TabProperties & {
57
60
  fieldsProperties?: SignupTabFieldsProperties;
61
+ titleContainer?: ExtendedCSSProperties;
62
+ allowToggleButton?: ExtendedCSSProperties;
63
+ denyToggleButton?: ExtendedCSSProperties;
58
64
  };
59
- export declare type LoginRestrictionsTabProperties = {
60
- appearance?: TabAppearance;
65
+ export declare type LoginRestrictionsTabProperties = TabProperties & {
61
66
  fieldsProperties?: LoginRestrictionsTabFieldsProperties;
67
+ titleContainer?: ExtendedCSSProperties;
68
+ allowToggleButton?: ExtendedCSSProperties;
69
+ denyToggleButton?: ExtendedCSSProperties;
62
70
  };
63
- export declare type GeneralSettingsTabProperties = {
64
- appearance?: TabAppearance;
71
+ export declare type GeneralSettingsTabProperties = TabProperties & {
65
72
  fieldsProperties?: GeneralSettingsFieldProperties;
66
73
  };
67
74
  export declare type SecurityTabsProperties = {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.45.0-alpha.1
1
+ /** @license Frontegg v6.45.0-alpha.10
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 v6.45.0-alpha.1
1
+ /** @license Frontegg v6.45.0-alpha.10
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": "6.45.0-alpha.1",
3
+ "version": "6.45.0-alpha.10",
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.45.0-alpha.1",
9
+ "@frontegg/redux-store": "6.45.0-alpha.10",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },