@frontegg/types 6.47.0-alpha.0 → 6.48.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.
@@ -0,0 +1,3 @@
1
+ export declare type ExternalAssets = {
2
+ fontCdnUrl?: string;
3
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -2,50 +2,50 @@ import { ExtendedCSSProperties } from '../Common';
2
2
  import { PageThemeOptions } from './AdminPortalThemeOptions';
3
3
  import { AccountPageFields, GeneralSettingsTabFields, InviteUserModalFields, IpRestrictionsTabFields, MapAccountFieldToAppearance, MapInviteUserFieldToAppearance, MapInviteUserFieldToSettings, MapPrivacyFieldToAppearance, MapProfileFieldToAppearance, MapSecurityFieldToAppearance, PrivacyPageFields, ProfilePageFields, SessionManagementTabFields, DomainRestrictionsTabFields, TabAppearance } from './fieldsAppearanceConsts';
4
4
  interface ProfileProperties<K extends ProfilePageFields> {
5
- appearance: MapProfileFieldToAppearance[K];
5
+ appearance?: MapProfileFieldToAppearance[K];
6
6
  }
7
7
  export declare type ProfileFieldProperties = {
8
8
  [K in ProfilePageFields]: ProfileProperties<K>;
9
9
  };
10
10
  interface AccountProperties<K extends AccountPageFields> {
11
- appearance: MapAccountFieldToAppearance[K];
11
+ appearance?: MapAccountFieldToAppearance[K];
12
12
  }
13
13
  export declare type AccountFieldProperties = {
14
14
  [K in AccountPageFields]: AccountProperties<K>;
15
15
  };
16
16
  interface PrivacyProperties<K extends PrivacyPageFields> {
17
- appearance: MapPrivacyFieldToAppearance[K];
17
+ appearance?: MapPrivacyFieldToAppearance[K];
18
18
  }
19
19
  export declare type PrivacyFieldProperties = {
20
20
  [K in PrivacyPageFields]: PrivacyProperties<K>;
21
21
  };
22
22
  interface InviteUserModalProperties<K extends InviteUserModalFields> {
23
- appearance: MapInviteUserFieldToAppearance[K];
24
- settings: MapInviteUserFieldToSettings[K];
23
+ appearance?: MapInviteUserFieldToAppearance[K];
24
+ settings?: MapInviteUserFieldToSettings[K];
25
25
  }
26
26
  export declare type InviteUserModalFieldProperties = {
27
27
  [K in InviteUserModalFields]: InviteUserModalProperties<K>;
28
28
  };
29
29
  interface SessionManagementProperties<K extends SessionManagementTabFields> {
30
- appearance: MapSecurityFieldToAppearance[K];
30
+ appearance?: MapSecurityFieldToAppearance[K];
31
31
  }
32
32
  export declare type SessionManagementFieldProperties = {
33
33
  [K in SessionManagementTabFields]?: SessionManagementProperties<K>;
34
34
  };
35
35
  interface GeneralSettingsProperties<K extends GeneralSettingsTabFields> {
36
- appearance: MapSecurityFieldToAppearance[K];
36
+ appearance?: MapSecurityFieldToAppearance[K];
37
37
  }
38
38
  export declare type GeneralSettingsFieldProperties = {
39
39
  [K in GeneralSettingsTabFields]?: GeneralSettingsProperties<K>;
40
40
  };
41
41
  interface IpRestrictionsProperties<K extends IpRestrictionsTabFields> {
42
- appearance: MapSecurityFieldToAppearance[K];
42
+ appearance?: MapSecurityFieldToAppearance[K];
43
43
  }
44
44
  export declare type IpRestrictionsFieldProperties = {
45
45
  [K in IpRestrictionsTabFields]?: IpRestrictionsProperties<K>;
46
46
  };
47
47
  interface DomainRestrictionsProperties<K extends DomainRestrictionsTabFields> {
48
- appearance: MapSecurityFieldToAppearance[K];
48
+ appearance?: MapSecurityFieldToAppearance[K];
49
49
  }
50
50
  export declare type DomainRestrictionsFieldProperties = {
51
51
  [K in DomainRestrictionsTabFields]?: DomainRestrictionsProperties<K>;
@@ -9,6 +9,7 @@ import { TypographyOptions, Typography } from './TypographyOptions';
9
9
  import { AdminPortalTheme, AdminPortalThemeOptions } from './AdminPortalThemeOptions';
10
10
  import { LoginBoxTheme, LoginBoxThemeOptions } from './LoginBoxTheme';
11
11
  import { FieldAppearance, TabAppearance } from './fieldsAppearanceConsts';
12
+ import { ExternalAssets } from './externalAssetsOptions';
12
13
  export * from './LoginBoxTheme';
13
14
  export * from './ComponentsOptions';
14
15
  export * from './fieldsAppearanceConsts';
@@ -18,6 +19,7 @@ export declare type Direction = 'ltr' | 'rtl';
18
19
  export interface FronteggThemeOptions {
19
20
  palette?: ThemePaletteOptions;
20
21
  typographyStyleOptions?: CSSProperties;
22
+ externalAssets?: ExternalAssets;
21
23
  spacing?: SpacingOptions;
22
24
  shadows?: Shadows;
23
25
  transitions?: TransitionsOptions;
@@ -31,6 +33,7 @@ export interface FronteggThemeOptions {
31
33
  export interface FronteggTheme {
32
34
  palette: ThemePalette;
33
35
  typographyStyleOptions: CSSProperties;
36
+ externalAssets: ExternalAssets;
34
37
  spacing: Spacing;
35
38
  shadows: Shadows;
36
39
  transitions: Transitions;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.47.0-alpha.0
1
+ /** @license Frontegg v6.48.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.
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.47.0-alpha.0
1
+ /** @license Frontegg v6.48.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": "6.47.0-alpha.0",
3
+ "version": "6.48.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": "6.47.0-alpha.0",
9
+ "@frontegg/redux-store": "6.48.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },