@frontegg/types 6.35.0-alpha.0 → 6.36.0-alpha.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseTheme, BaseThemeOptions } from './index';
|
|
1
|
+
import { BaseTheme, BaseThemeOptions, BasicThemeName } from './index';
|
|
2
2
|
import { Color, CSSProperties, ExtendedCSSProperties } from '../Common';
|
|
3
3
|
export interface NavigationThemeOptionsState {
|
|
4
4
|
color?: Color;
|
|
@@ -61,7 +61,7 @@ export interface PagesThemeOptions extends PageThemeOptions {
|
|
|
61
61
|
subscriptions?: PageThemeOptions;
|
|
62
62
|
}
|
|
63
63
|
export interface AdminPortalThemeOptions extends BaseThemeOptions {
|
|
64
|
-
themeName?:
|
|
64
|
+
themeName?: BasicThemeName;
|
|
65
65
|
layout?: {
|
|
66
66
|
fullScreenMode?: boolean;
|
|
67
67
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AcceptInvitationPageTheme, AcceptInvitationPageThemeOptions } from './AcceptInvitationTheme';
|
|
2
2
|
import { ActivateAccountPageTheme, ActivateAccountPageThemeOptions } from './ActivateAccountPageTheme';
|
|
3
|
-
import { BaseThemeOptions, LoginBoxCommonTheme, LoginBoxCommonThemeOptions, SignupPageThemeOptions, SocialLoginsTheme } from '../index';
|
|
3
|
+
import { BaseThemeOptions, BasicThemeName, LoginBoxCommonTheme, LoginBoxCommonThemeOptions, SignupPageThemeOptions, SocialLoginsTheme, ThemeNameV2 } from '../index';
|
|
4
4
|
import { Color, CSSProperties, ExtendedCSSProperties } from '../../Common';
|
|
5
5
|
import { AuthPageCustomComponents } from '../../CustomComponents';
|
|
6
6
|
import { ForgotPasswordPageTheme, ForgotPasswordPageThemeOptions } from './ForgotPasswordTheme';
|
|
@@ -41,7 +41,7 @@ export interface LoginBoxThemeOptions extends LoginBoxCommonThemeOptions {
|
|
|
41
41
|
loader?: LoaderThemeOptions;
|
|
42
42
|
}
|
|
43
43
|
export interface LoginBoxTheme extends LoginBoxCommonTheme {
|
|
44
|
-
themeName:
|
|
44
|
+
themeName: BasicThemeName | ThemeNameV2;
|
|
45
45
|
acceptInvitation: AcceptInvitationPageTheme;
|
|
46
46
|
activateAccount: ActivateAccountPageTheme;
|
|
47
47
|
forgotPassword: ForgotPasswordPageTheme;
|
package/ThemeOptions/index.d.ts
CHANGED
|
@@ -39,3 +39,5 @@ export interface FronteggTheme {
|
|
|
39
39
|
}
|
|
40
40
|
export declare type BaseThemeOptions = Omit<FronteggThemeOptions, 'adminPortal' | 'loginBox'>;
|
|
41
41
|
export declare type BaseTheme = Omit<FronteggTheme, 'adminPortal' | 'loginBox'>;
|
|
42
|
+
export declare type BasicThemeName = 'classic' | 'modern' | 'vivid' | 'dark';
|
|
43
|
+
export declare type ThemeNameV2 = 'modernV2' | 'darkV2' | 'classicV2' | 'vividV2';
|
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.
|
|
3
|
+
"version": "6.36.0-alpha.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.
|
|
9
|
+
"@frontegg/redux-store": "6.36.0-alpha.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|