@frontegg/types 6.45.0-alpha.2 → 6.45.0-alpha.4
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.
|
@@ -30,6 +30,11 @@ export interface RightPanelThemeOptions {
|
|
|
30
30
|
tableHeaderBackground: Color;
|
|
31
31
|
tableBodyBackground: Color;
|
|
32
32
|
}
|
|
33
|
+
export interface RestrictionButton {
|
|
34
|
+
color?: Color;
|
|
35
|
+
backgroundColor?: Color;
|
|
36
|
+
borderColor?: Color;
|
|
37
|
+
}
|
|
33
38
|
export interface PageThemeOptions extends BaseThemeOptions {
|
|
34
39
|
header?: ExtendedCSSProperties;
|
|
35
40
|
content?: ExtendedCSSProperties;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ExtendedCSSProperties } from '../Common';
|
|
2
|
+
import { PageThemeOptions, RestrictionButton } 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,22 @@ 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
|
|
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;
|
|
58
62
|
};
|
|
59
|
-
export declare type LoginRestrictionsTabProperties = {
|
|
60
|
-
appearance?: TabAppearance;
|
|
63
|
+
export declare type LoginRestrictionsTabProperties = TabProperties & {
|
|
61
64
|
fieldsProperties?: LoginRestrictionsTabFieldsProperties;
|
|
65
|
+
titleContainer?: ExtendedCSSProperties;
|
|
66
|
+
restrictionButtonDisable?: RestrictionButton;
|
|
62
67
|
};
|
|
63
|
-
export declare type GeneralSettingsTabProperties = {
|
|
64
|
-
appearance?: TabAppearance;
|
|
68
|
+
export declare type GeneralSettingsTabProperties = TabProperties & {
|
|
65
69
|
fieldsProperties?: GeneralSettingsFieldProperties;
|
|
66
70
|
};
|
|
67
71
|
export declare type SecurityTabsProperties = {
|
package/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "6.45.0-alpha.
|
|
3
|
+
"version": "6.45.0-alpha.4",
|
|
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.
|
|
9
|
+
"@frontegg/redux-store": "6.45.0-alpha.4",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|