@frontegg/types 6.56.0-alpha.0 → 6.56.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.
package/CustomComponents.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface AuthPageCustomComponents {
|
|
|
11
11
|
microsoftIcon?: any;
|
|
12
12
|
slackIcon?: any;
|
|
13
13
|
appleIcon?: any;
|
|
14
|
+
linkedinIcon?: any;
|
|
14
15
|
};
|
|
15
16
|
content?: {
|
|
16
17
|
googleText?: string;
|
|
@@ -19,5 +20,6 @@ export interface AuthPageCustomComponents {
|
|
|
19
20
|
microsoftText?: string;
|
|
20
21
|
slackText?: string;
|
|
21
22
|
appleText?: string;
|
|
23
|
+
linkedinText?: string;
|
|
22
24
|
};
|
|
23
25
|
}
|
|
@@ -10,6 +10,7 @@ export interface SocialLoginComponentKeyRender {
|
|
|
10
10
|
githubIcon: {};
|
|
11
11
|
slackIcon: {};
|
|
12
12
|
appleIcon: {};
|
|
13
|
+
linkedinIcon: {};
|
|
13
14
|
}
|
|
14
15
|
export declare type SocialLoginCustomComponent<T extends keyof SocialLoginComponentKeyRender> = string | ((props?: SocialLoginComponentKeyRender[T]) => string | any);
|
|
15
16
|
export interface SocialLoginsLayoutBase {
|
|
@@ -19,7 +20,7 @@ export interface SocialLoginsLayoutBase {
|
|
|
19
20
|
mainButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
20
21
|
showStackedButtonsWithText?: boolean;
|
|
21
22
|
}
|
|
22
|
-
declare type SocialLoginTypes = 'google' | 'facebook' | 'microsoft' | 'github' | 'slack' | 'apple';
|
|
23
|
+
declare type SocialLoginTypes = 'google' | 'facebook' | 'microsoft' | 'github' | 'slack' | 'apple' | 'linkedin';
|
|
23
24
|
export interface SocialLoginsLayoutStacked extends SocialLoginsLayoutBase {
|
|
24
25
|
mode: 'stack';
|
|
25
26
|
mainButton?: SocialLoginTypes;
|
|
@@ -50,6 +51,8 @@ export interface SocialLoginsThemeOptions extends BaseThemeOptions, SocialLogins
|
|
|
50
51
|
slackButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
51
52
|
appleIcon?: SocialLoginCustomComponent<'appleIcon'>;
|
|
52
53
|
appleButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
54
|
+
linkedinIcon?: SocialLoginCustomComponent<'linkedinIcon'>;
|
|
55
|
+
linkedinButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
53
56
|
}
|
|
54
57
|
export interface SocialLoginsTheme extends BaseTheme {
|
|
55
58
|
socialLoginsLayout?: SocialLoginsLayout;
|
|
@@ -71,5 +74,7 @@ export interface SocialLoginsTheme extends BaseTheme {
|
|
|
71
74
|
slackButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
72
75
|
appleIcon?: SocialLoginCustomComponent<'appleIcon'>;
|
|
73
76
|
appleButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
77
|
+
linkedinIcon?: SocialLoginCustomComponent<'linkedinIcon'>;
|
|
78
|
+
linkedinButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
|
|
74
79
|
}
|
|
75
80
|
export {};
|
|
@@ -16,7 +16,7 @@ export interface SocialLoginButton extends BaseThemeOptions {
|
|
|
16
16
|
background?: CSSProperties['background'];
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
export declare type SocialLoginTypes = 'google' | 'gitHub' | 'facebook' | 'microsoft' | 'slack' | 'apple';
|
|
19
|
+
export declare type SocialLoginTypes = 'google' | 'gitHub' | 'facebook' | 'microsoft' | 'slack' | 'apple' | 'linkedin';
|
|
20
20
|
export declare type SocialLogins = BaseThemeOptions & {
|
|
21
21
|
rowLayout?: boolean;
|
|
22
22
|
iconWidth?: string;
|
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.56.0
|
|
3
|
+
"version": "6.56.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.56.0
|
|
9
|
+
"@frontegg/redux-store": "6.56.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|