@frontegg/types 5.60.0 → 6.0.1-alpha.1
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/CheckoutDialogOptions.d.ts +6 -6
- package/CheckoutDialogOptions.js +1 -0
- package/Common.d.ts +6 -6
- package/Common.js +1 -0
- package/ContextOptions.d.ts +31 -31
- package/ContextOptions.js +1 -0
- package/CustomComponents.d.ts +19 -19
- package/CustomComponents.js +1 -0
- package/FronteggAppInstance.d.ts +23 -23
- package/FronteggAppInstance.js +1 -0
- package/FronteggAppOptions.d.ts +76 -76
- package/FronteggAppOptions.js +1 -0
- package/FronteggMetadata.d.ts +88 -88
- package/FronteggMetadata.js +1 -0
- package/FronteggStoreOptions.d.ts +13 -13
- package/FronteggStoreOptions.js +1 -0
- package/Localizations/AdminPortalLocalizations/accountSettings.d.ts +216 -216
- package/Localizations/AdminPortalLocalizations/accountSettings.js +1 -0
- package/Localizations/AdminPortalLocalizations/allUsers.d.ts +275 -275
- package/Localizations/AdminPortalLocalizations/allUsers.js +1 -0
- package/Localizations/AdminPortalLocalizations/apiTokens.d.ts +137 -137
- package/Localizations/AdminPortalLocalizations/apiTokens.js +1 -0
- package/Localizations/AdminPortalLocalizations/auditLogs.d.ts +51 -51
- package/Localizations/AdminPortalLocalizations/auditLogs.js +1 -0
- package/Localizations/AdminPortalLocalizations/index.d.ts +29 -29
- package/Localizations/AdminPortalLocalizations/index.js +15 -0
- package/Localizations/AdminPortalLocalizations/navigation.d.ts +85 -85
- package/Localizations/AdminPortalLocalizations/navigation.js +1 -0
- package/Localizations/AdminPortalLocalizations/personalTokens.d.ts +117 -117
- package/Localizations/AdminPortalLocalizations/personalTokens.js +1 -0
- package/Localizations/AdminPortalLocalizations/privacy.d.ts +182 -182
- package/Localizations/AdminPortalLocalizations/privacy.js +1 -0
- package/Localizations/AdminPortalLocalizations/profile.d.ts +243 -243
- package/Localizations/AdminPortalLocalizations/profile.js +1 -0
- package/Localizations/AdminPortalLocalizations/roles.d.ts +88 -88
- package/Localizations/AdminPortalLocalizations/roles.js +1 -0
- package/Localizations/AdminPortalLocalizations/security.d.ts +182 -182
- package/Localizations/AdminPortalLocalizations/security.js +1 -0
- package/Localizations/AdminPortalLocalizations/sso.d.ts +398 -398
- package/Localizations/AdminPortalLocalizations/sso.js +1 -0
- package/Localizations/AdminPortalLocalizations/subscriptions.d.ts +252 -252
- package/Localizations/AdminPortalLocalizations/subscriptions.js +1 -0
- package/Localizations/AdminPortalLocalizations/users.d.ts +288 -288
- package/Localizations/AdminPortalLocalizations/users.js +1 -0
- package/Localizations/AdminPortalLocalizations/webhooks.d.ts +157 -157
- package/Localizations/AdminPortalLocalizations/webhooks.js +1 -0
- package/Localizations/LocalizationOverrides.d.ts +21 -21
- package/Localizations/LocalizationOverrides.js +1 -0
- package/Localizations/LocalizationType.d.ts +45 -45
- package/Localizations/LocalizationType.js +1 -0
- package/Localizations/LoginBoxLocalization/SplitPageTypes/index.d.ts +25 -25
- package/Localizations/LoginBoxLocalization/SplitPageTypes/index.js +1 -0
- package/Localizations/LoginBoxLocalization/acceptInvitation.d.ts +31 -31
- package/Localizations/LoginBoxLocalization/acceptInvitation.js +1 -0
- package/Localizations/LoginBoxLocalization/activateAccount.d.ts +79 -79
- package/Localizations/LoginBoxLocalization/activateAccount.js +1 -0
- package/Localizations/LoginBoxLocalization/forgetPassword.d.ts +35 -35
- package/Localizations/LoginBoxLocalization/forgetPassword.js +1 -0
- package/Localizations/LoginBoxLocalization/index.d.ts +20 -20
- package/Localizations/LoginBoxLocalization/index.js +11 -0
- package/Localizations/LoginBoxLocalization/login.d.ts +307 -307
- package/Localizations/LoginBoxLocalization/login.js +1 -0
- package/Localizations/LoginBoxLocalization/recoveryMfa.d.ts +23 -23
- package/Localizations/LoginBoxLocalization/recoveryMfa.js +1 -0
- package/Localizations/LoginBoxLocalization/resetPassword.d.ts +67 -67
- package/Localizations/LoginBoxLocalization/resetPassword.js +1 -0
- package/Localizations/LoginBoxLocalization/resetPhoneNumber.d.ts +34 -34
- package/Localizations/LoginBoxLocalization/resetPhoneNumber.js +1 -0
- package/Localizations/LoginBoxLocalization/signup.d.ts +186 -186
- package/Localizations/LoginBoxLocalization/signup.js +1 -0
- package/Localizations/LoginBoxLocalization/socialLogins.d.ts +34 -34
- package/Localizations/LoginBoxLocalization/socialLogins.js +1 -0
- package/Localizations/index.d.ts +4 -4
- package/Localizations/index.js +4 -0
- package/Localizations/package.json +6 -0
- package/Metadata/colorManipulator.d.ts +73 -73
- package/Metadata/colorManipulator.js +186 -0
- package/Metadata/getPalette.d.ts +3 -3
- package/Metadata/getPalette.js +58 -0
- package/Metadata/index.d.ts +15 -15
- package/Metadata/index.js +126 -0
- package/Metadata/package.json +6 -0
- package/PrivateOptions.d.ts +25 -25
- package/PrivateOptions.js +1 -0
- package/ThemeOptions/AdminPortalThemeOptions.d.ts +84 -84
- package/ThemeOptions/AdminPortalThemeOptions.js +16 -0
- package/ThemeOptions/BreakpointsOptions.d.ts +17 -17
- package/ThemeOptions/BreakpointsOptions.js +1 -0
- package/ThemeOptions/ComponentsOptions.d.ts +751 -751
- package/ThemeOptions/ComponentsOptions.js +2 -0
- package/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.d.ts +21 -21
- package/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.d.ts +51 -51
- package/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/CustomLoginComponents.d.ts +12 -12
- package/ThemeOptions/LoginBoxTheme/CustomLoginComponents.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.d.ts +45 -45
- package/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/LoaderTheme.d.ts +7 -7
- package/ThemeOptions/LoginBoxTheme/LoaderTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.d.ts +226 -226
- package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.js +1 -0
- package/ThemeOptions/LoginBoxTheme/LoginPageTheme.d.ts +136 -136
- package/ThemeOptions/LoginBoxTheme/LoginPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.d.ts +47 -47
- package/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.d.ts +71 -71
- package/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.d.ts +95 -95
- package/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.d.ts +64 -64
- package/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.js +1 -0
- package/ThemeOptions/LoginBoxTheme/index.d.ts +53 -53
- package/ThemeOptions/LoginBoxTheme/index.js +11 -0
- package/ThemeOptions/LoginBoxThemeOptions.d.ts +46 -46
- package/ThemeOptions/LoginBoxThemeOptions.js +1 -0
- package/ThemeOptions/Palette.d.ts +85 -85
- package/ThemeOptions/Palette.js +1 -0
- package/ThemeOptions/Shadows.d.ts +1 -1
- package/ThemeOptions/Shadows.js +1 -0
- package/ThemeOptions/SpacingOptions.d.ts +9 -9
- package/ThemeOptions/SpacingOptions.js +1 -0
- package/ThemeOptions/TransitionsOptions.d.ts +23 -23
- package/ThemeOptions/TransitionsOptions.js +1 -0
- package/ThemeOptions/TypographyOptions.d.ts +13 -13
- package/ThemeOptions/TypographyOptions.js +1 -0
- package/ThemeOptions/index.d.ts +41 -41
- package/ThemeOptions/index.js +3 -0
- package/ThemeOptions/package.json +6 -0
- package/index.d.ts +7 -7
- package/index.js +12 -444
- package/node/CheckoutDialogOptions.js +5 -0
- package/node/Common.js +5 -0
- package/node/ContextOptions.js +5 -0
- package/node/CustomComponents.js +5 -0
- package/node/FronteggAppInstance.js +5 -0
- package/node/FronteggAppOptions.js +5 -0
- package/node/FronteggMetadata.js +5 -0
- package/node/FronteggStoreOptions.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/accountSettings.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/allUsers.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/apiTokens.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/auditLogs.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/index.js +187 -0
- package/node/Localizations/AdminPortalLocalizations/navigation.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/personalTokens.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/privacy.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/profile.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/roles.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/security.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/sso.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/subscriptions.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/users.js +5 -0
- package/node/Localizations/AdminPortalLocalizations/webhooks.js +5 -0
- package/node/Localizations/LocalizationOverrides.js +5 -0
- package/node/Localizations/LocalizationType.js +5 -0
- package/node/Localizations/LoginBoxLocalization/SplitPageTypes/index.js +5 -0
- package/node/Localizations/LoginBoxLocalization/acceptInvitation.js +5 -0
- package/node/Localizations/LoginBoxLocalization/activateAccount.js +5 -0
- package/node/Localizations/LoginBoxLocalization/forgetPassword.js +5 -0
- package/node/Localizations/LoginBoxLocalization/index.js +135 -0
- package/node/Localizations/LoginBoxLocalization/login.js +5 -0
- package/node/Localizations/LoginBoxLocalization/recoveryMfa.js +5 -0
- package/node/Localizations/LoginBoxLocalization/resetPassword.js +5 -0
- package/node/Localizations/LoginBoxLocalization/resetPhoneNumber.js +5 -0
- package/node/Localizations/LoginBoxLocalization/signup.js +5 -0
- package/node/Localizations/LoginBoxLocalization/socialLogins.js +5 -0
- package/node/Localizations/index.js +57 -0
- package/node/Metadata/colorManipulator.js +210 -0
- package/node/Metadata/getPalette.js +70 -0
- package/node/Metadata/index.js +140 -0
- package/node/PrivateOptions.js +5 -0
- package/node/ThemeOptions/AdminPortalThemeOptions.js +23 -0
- package/node/ThemeOptions/BreakpointsOptions.js +5 -0
- package/node/ThemeOptions/ComponentsOptions.js +6 -0
- package/node/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/CustomLoginComponents.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/LoaderTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/LoginBoxCommon.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/LoginPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.js +5 -0
- package/node/ThemeOptions/LoginBoxTheme/index.js +135 -0
- package/node/ThemeOptions/LoginBoxThemeOptions.js +5 -0
- package/node/ThemeOptions/Palette.js +5 -0
- package/node/ThemeOptions/Shadows.js +5 -0
- package/node/ThemeOptions/SpacingOptions.js +5 -0
- package/node/ThemeOptions/TransitionsOptions.js +5 -0
- package/node/ThemeOptions/TypographyOptions.js +5 -0
- package/node/ThemeOptions/index.js +31 -0
- package/node/index.js +101 -446
- package/package.json +8 -5
- package/ThemeOptions/helpers.d.ts +0 -0
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import { CSSProperties, Color } from '../Common';
|
|
2
|
-
export declare type PaletteGrey = {
|
|
3
|
-
'100': Color;
|
|
4
|
-
'150': Color;
|
|
5
|
-
'200': Color;
|
|
6
|
-
'300': Color;
|
|
7
|
-
'400': Color;
|
|
8
|
-
'500': Color;
|
|
9
|
-
'600': Color;
|
|
10
|
-
'700': Color;
|
|
11
|
-
'800': Color;
|
|
12
|
-
};
|
|
13
|
-
export declare type PaletteGreyOptions = Partial<PaletteGrey>;
|
|
14
|
-
export declare type CommonColors = {
|
|
15
|
-
black: Color;
|
|
16
|
-
white: Color;
|
|
17
|
-
cyanBlue: Color;
|
|
18
|
-
green: Color;
|
|
19
|
-
paleLightYellow: Color;
|
|
20
|
-
};
|
|
21
|
-
export declare type CommonColorsOptions = Partial<CommonColors>;
|
|
22
|
-
export declare type PaletteColor = {
|
|
23
|
-
light: Color;
|
|
24
|
-
main: Color;
|
|
25
|
-
dark: Color;
|
|
26
|
-
hover: Color;
|
|
27
|
-
active: Color;
|
|
28
|
-
contrastText: Color;
|
|
29
|
-
};
|
|
30
|
-
export declare type PaletteColorOptions = Partial<PaletteColor>;
|
|
31
|
-
export interface PaletteSeverityColor extends Omit<PaletteColor, 'hover' | 'active'> {
|
|
32
|
-
border: CSSProperties['border'];
|
|
33
|
-
}
|
|
34
|
-
export declare type PaletteSeverityColorOptions = Partial<PaletteSeverityColor>;
|
|
35
|
-
export interface IconColor {
|
|
36
|
-
action: Color;
|
|
37
|
-
input: Color;
|
|
38
|
-
}
|
|
39
|
-
export declare type IconColorOptions = Partial<IconColor>;
|
|
40
|
-
export interface TypeText {
|
|
41
|
-
primary: Color;
|
|
42
|
-
secondary: Color;
|
|
43
|
-
disabled: Color;
|
|
44
|
-
}
|
|
45
|
-
export declare type TypeTextOptions = Partial<TypeText>;
|
|
46
|
-
export interface BackgroundStyle {
|
|
47
|
-
default: Color;
|
|
48
|
-
}
|
|
49
|
-
export declare type BackgroundStyleOptions = Partial<BackgroundStyle>;
|
|
50
|
-
export interface ThemePaletteOptions {
|
|
51
|
-
default?: PaletteColorOptions;
|
|
52
|
-
primary?: PaletteColorOptions;
|
|
53
|
-
secondary?: PaletteColorOptions;
|
|
54
|
-
danger?: PaletteColorOptions;
|
|
55
|
-
success?: PaletteSeverityColorOptions;
|
|
56
|
-
info?: PaletteSeverityColorOptions;
|
|
57
|
-
warning?: PaletteSeverityColorOptions;
|
|
58
|
-
error?: PaletteSeverityColorOptions;
|
|
59
|
-
common?: CommonColorsOptions;
|
|
60
|
-
grey?: PaletteGreyOptions;
|
|
61
|
-
background?: BackgroundStyleOptions;
|
|
62
|
-
text?: TypeTextOptions;
|
|
63
|
-
icon?: IconColorOptions;
|
|
64
|
-
switchButton?: PaletteColorOptions;
|
|
65
|
-
divider?: Color;
|
|
66
|
-
loader?: Color;
|
|
67
|
-
}
|
|
68
|
-
export interface ThemePalette {
|
|
69
|
-
default: PaletteColor;
|
|
70
|
-
primary: PaletteColor;
|
|
71
|
-
secondary: PaletteColor;
|
|
72
|
-
danger: PaletteColor;
|
|
73
|
-
success: PaletteSeverityColor;
|
|
74
|
-
info: PaletteSeverityColor;
|
|
75
|
-
warning: PaletteSeverityColor;
|
|
76
|
-
error: PaletteSeverityColor;
|
|
77
|
-
common: CommonColors;
|
|
78
|
-
grey: PaletteGrey;
|
|
79
|
-
background: BackgroundStyle;
|
|
80
|
-
text: TypeText;
|
|
81
|
-
icon: IconColor;
|
|
82
|
-
switchButton: PaletteColor;
|
|
83
|
-
divider: Color;
|
|
84
|
-
loader: Color;
|
|
85
|
-
}
|
|
1
|
+
import { CSSProperties, Color } from '../Common';
|
|
2
|
+
export declare type PaletteGrey = {
|
|
3
|
+
'100': Color;
|
|
4
|
+
'150': Color;
|
|
5
|
+
'200': Color;
|
|
6
|
+
'300': Color;
|
|
7
|
+
'400': Color;
|
|
8
|
+
'500': Color;
|
|
9
|
+
'600': Color;
|
|
10
|
+
'700': Color;
|
|
11
|
+
'800': Color;
|
|
12
|
+
};
|
|
13
|
+
export declare type PaletteGreyOptions = Partial<PaletteGrey>;
|
|
14
|
+
export declare type CommonColors = {
|
|
15
|
+
black: Color;
|
|
16
|
+
white: Color;
|
|
17
|
+
cyanBlue: Color;
|
|
18
|
+
green: Color;
|
|
19
|
+
paleLightYellow: Color;
|
|
20
|
+
};
|
|
21
|
+
export declare type CommonColorsOptions = Partial<CommonColors>;
|
|
22
|
+
export declare type PaletteColor = {
|
|
23
|
+
light: Color;
|
|
24
|
+
main: Color;
|
|
25
|
+
dark: Color;
|
|
26
|
+
hover: Color;
|
|
27
|
+
active: Color;
|
|
28
|
+
contrastText: Color;
|
|
29
|
+
};
|
|
30
|
+
export declare type PaletteColorOptions = Partial<PaletteColor>;
|
|
31
|
+
export interface PaletteSeverityColor extends Omit<PaletteColor, 'hover' | 'active'> {
|
|
32
|
+
border: CSSProperties['border'];
|
|
33
|
+
}
|
|
34
|
+
export declare type PaletteSeverityColorOptions = Partial<PaletteSeverityColor>;
|
|
35
|
+
export interface IconColor {
|
|
36
|
+
action: Color;
|
|
37
|
+
input: Color;
|
|
38
|
+
}
|
|
39
|
+
export declare type IconColorOptions = Partial<IconColor>;
|
|
40
|
+
export interface TypeText {
|
|
41
|
+
primary: Color;
|
|
42
|
+
secondary: Color;
|
|
43
|
+
disabled: Color;
|
|
44
|
+
}
|
|
45
|
+
export declare type TypeTextOptions = Partial<TypeText>;
|
|
46
|
+
export interface BackgroundStyle {
|
|
47
|
+
default: Color;
|
|
48
|
+
}
|
|
49
|
+
export declare type BackgroundStyleOptions = Partial<BackgroundStyle>;
|
|
50
|
+
export interface ThemePaletteOptions {
|
|
51
|
+
default?: PaletteColorOptions;
|
|
52
|
+
primary?: PaletteColorOptions;
|
|
53
|
+
secondary?: PaletteColorOptions;
|
|
54
|
+
danger?: PaletteColorOptions;
|
|
55
|
+
success?: PaletteSeverityColorOptions;
|
|
56
|
+
info?: PaletteSeverityColorOptions;
|
|
57
|
+
warning?: PaletteSeverityColorOptions;
|
|
58
|
+
error?: PaletteSeverityColorOptions;
|
|
59
|
+
common?: CommonColorsOptions;
|
|
60
|
+
grey?: PaletteGreyOptions;
|
|
61
|
+
background?: BackgroundStyleOptions;
|
|
62
|
+
text?: TypeTextOptions;
|
|
63
|
+
icon?: IconColorOptions;
|
|
64
|
+
switchButton?: PaletteColorOptions;
|
|
65
|
+
divider?: Color;
|
|
66
|
+
loader?: Color;
|
|
67
|
+
}
|
|
68
|
+
export interface ThemePalette {
|
|
69
|
+
default: PaletteColor;
|
|
70
|
+
primary: PaletteColor;
|
|
71
|
+
secondary: PaletteColor;
|
|
72
|
+
danger: PaletteColor;
|
|
73
|
+
success: PaletteSeverityColor;
|
|
74
|
+
info: PaletteSeverityColor;
|
|
75
|
+
warning: PaletteSeverityColor;
|
|
76
|
+
error: PaletteSeverityColor;
|
|
77
|
+
common: CommonColors;
|
|
78
|
+
grey: PaletteGrey;
|
|
79
|
+
background: BackgroundStyle;
|
|
80
|
+
text: TypeText;
|
|
81
|
+
icon: IconColor;
|
|
82
|
+
switchButton: PaletteColor;
|
|
83
|
+
divider: Color;
|
|
84
|
+
loader: Color;
|
|
85
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type Shadows = ['none', string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
1
|
+
export declare type Shadows = ['none', string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare type SpacingOptions = number | ((factor: number) => string | number) | ((factor: number | string) => string | number) | Array<string | number>;
|
|
2
|
-
export declare type SpacingArgument = number | string;
|
|
3
|
-
export interface Spacing {
|
|
4
|
-
(): string;
|
|
5
|
-
(value: number): string;
|
|
6
|
-
(topBottom: SpacingArgument, rightLeft: SpacingArgument): string;
|
|
7
|
-
(top: SpacingArgument, rightLeft: SpacingArgument, bottom: SpacingArgument): string;
|
|
8
|
-
(top: SpacingArgument, right: SpacingArgument, bottom: SpacingArgument, left: SpacingArgument): string;
|
|
9
|
-
}
|
|
1
|
+
export declare type SpacingOptions = number | ((factor: number) => string | number) | ((factor: number | string) => string | number) | Array<string | number>;
|
|
2
|
+
export declare type SpacingArgument = number | string;
|
|
3
|
+
export interface Spacing {
|
|
4
|
+
(): string;
|
|
5
|
+
(value: number): string;
|
|
6
|
+
(topBottom: SpacingArgument, rightLeft: SpacingArgument): string;
|
|
7
|
+
(top: SpacingArgument, rightLeft: SpacingArgument, bottom: SpacingArgument): string;
|
|
8
|
+
(top: SpacingArgument, right: SpacingArgument, bottom: SpacingArgument, left: SpacingArgument): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export interface Easing {
|
|
2
|
-
easeInOut: string;
|
|
3
|
-
easeOut: string;
|
|
4
|
-
easeIn: string;
|
|
5
|
-
sharp: string;
|
|
6
|
-
}
|
|
7
|
-
export interface Duration {
|
|
8
|
-
shortest: number;
|
|
9
|
-
shorter: number;
|
|
10
|
-
short: number;
|
|
11
|
-
standard: number;
|
|
12
|
-
complex: number;
|
|
13
|
-
enteringScreen: number;
|
|
14
|
-
leavingScreen: number;
|
|
15
|
-
}
|
|
16
|
-
export interface TransitionsOptions {
|
|
17
|
-
easing?: Partial<Easing>;
|
|
18
|
-
duration?: Partial<Duration>;
|
|
19
|
-
}
|
|
20
|
-
export interface Transitions {
|
|
21
|
-
easing: Easing;
|
|
22
|
-
duration: Duration;
|
|
23
|
-
}
|
|
1
|
+
export interface Easing {
|
|
2
|
+
easeInOut: string;
|
|
3
|
+
easeOut: string;
|
|
4
|
+
easeIn: string;
|
|
5
|
+
sharp: string;
|
|
6
|
+
}
|
|
7
|
+
export interface Duration {
|
|
8
|
+
shortest: number;
|
|
9
|
+
shorter: number;
|
|
10
|
+
short: number;
|
|
11
|
+
standard: number;
|
|
12
|
+
complex: number;
|
|
13
|
+
enteringScreen: number;
|
|
14
|
+
leavingScreen: number;
|
|
15
|
+
}
|
|
16
|
+
export interface TransitionsOptions {
|
|
17
|
+
easing?: Partial<Easing>;
|
|
18
|
+
duration?: Partial<Duration>;
|
|
19
|
+
}
|
|
20
|
+
export interface Transitions {
|
|
21
|
+
easing: Easing;
|
|
22
|
+
duration: Duration;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { CSSProperties } from '../Common';
|
|
2
|
-
export declare type Variant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'button' | 'overline' | 'link' | 'label' | 'body1Bold' | 'body2Bold' | 'subtitle2Light' | 'pageTitle' | 'pageTitleSmall' | 'dialogTitle' | 'selectOption' | 'tableTitleCell' | 'tableSmallHeader' | 'tableStandardCell' | 'tableCountCell' | 'tableCategory' | 'uploadDropZoneDescription' | 'uploadDropZoneProgressText' | 'tablePlaceholderTitle' | 'switchLabel' | 'tableFilterTitle' | 'tablePlaceholderDescription' | 'tableIpCellText' | 'tableIpPopupTitle' | 'tableIpPopupDesc' | 'tableFilterChipInfo' | 'tablePopupTitle' | 'tableHeaderTitle';
|
|
3
|
-
export declare type FontStyle = {
|
|
4
|
-
fontFamily: CSSProperties['fontFamily'];
|
|
5
|
-
fontSize: number;
|
|
6
|
-
fontWeightLight: CSSProperties['fontWeight'];
|
|
7
|
-
fontWeightRegular: CSSProperties['fontWeight'];
|
|
8
|
-
fontWeightMedium: CSSProperties['fontWeight'];
|
|
9
|
-
fontWeightBold: CSSProperties['fontWeight'];
|
|
10
|
-
htmlFontSize: number;
|
|
11
|
-
};
|
|
12
|
-
export declare type TypographyOptions = Partial<Record<Variant, CSSProperties>> & Partial<FontStyle>;
|
|
13
|
-
export declare type Typography = Record<Variant, CSSProperties> & FontStyle;
|
|
1
|
+
import { CSSProperties } from '../Common';
|
|
2
|
+
export declare type Variant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'button' | 'overline' | 'link' | 'label' | 'body1Bold' | 'body2Bold' | 'subtitle2Light' | 'pageTitle' | 'pageTitleSmall' | 'dialogTitle' | 'selectOption' | 'tableTitleCell' | 'tableSmallHeader' | 'tableStandardCell' | 'tableCountCell' | 'tableCategory' | 'uploadDropZoneDescription' | 'uploadDropZoneProgressText' | 'tablePlaceholderTitle' | 'switchLabel' | 'tableFilterTitle' | 'tablePlaceholderDescription' | 'tableIpCellText' | 'tableIpPopupTitle' | 'tableIpPopupDesc' | 'tableFilterChipInfo' | 'tablePopupTitle' | 'tableHeaderTitle';
|
|
3
|
+
export declare type FontStyle = {
|
|
4
|
+
fontFamily: CSSProperties['fontFamily'];
|
|
5
|
+
fontSize: number;
|
|
6
|
+
fontWeightLight: CSSProperties['fontWeight'];
|
|
7
|
+
fontWeightRegular: CSSProperties['fontWeight'];
|
|
8
|
+
fontWeightMedium: CSSProperties['fontWeight'];
|
|
9
|
+
fontWeightBold: CSSProperties['fontWeight'];
|
|
10
|
+
htmlFontSize: number;
|
|
11
|
+
};
|
|
12
|
+
export declare type TypographyOptions = Partial<Record<Variant, CSSProperties>> & Partial<FontStyle>;
|
|
13
|
+
export declare type Typography = Record<Variant, CSSProperties> & FontStyle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/ThemeOptions/index.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { CSSProperties } from '../Common';
|
|
2
|
-
import { ThemePalette, ThemePaletteOptions } from './Palette';
|
|
3
|
-
import { Spacing, SpacingOptions } from './SpacingOptions';
|
|
4
|
-
import { Shadows } from './Shadows';
|
|
5
|
-
import { Transitions, TransitionsOptions } from './TransitionsOptions';
|
|
6
|
-
import { Breakpoints, BreakpointsOptions } from './BreakpointsOptions';
|
|
7
|
-
import { ComponentsOptions } from './ComponentsOptions';
|
|
8
|
-
import { TypographyOptions, Typography } from './TypographyOptions';
|
|
9
|
-
import { AdminPortalTheme, AdminPortalThemeOptions } from './AdminPortalThemeOptions';
|
|
10
|
-
import { LoginBoxTheme, LoginBoxThemeOptions } from './LoginBoxTheme';
|
|
11
|
-
export * from './LoginBoxTheme';
|
|
12
|
-
export * from './ComponentsOptions';
|
|
13
|
-
export declare type Direction = 'ltr' | 'rtl';
|
|
14
|
-
export interface FronteggThemeOptions {
|
|
15
|
-
palette?: ThemePaletteOptions;
|
|
16
|
-
typographyStyleOptions?: CSSProperties;
|
|
17
|
-
spacing?: SpacingOptions;
|
|
18
|
-
shadows?: Shadows;
|
|
19
|
-
transitions?: TransitionsOptions;
|
|
20
|
-
breakpoints?: BreakpointsOptions;
|
|
21
|
-
direction?: Direction;
|
|
22
|
-
components?: ComponentsOptions;
|
|
23
|
-
typography?: TypographyOptions;
|
|
24
|
-
adminPortal?: AdminPortalThemeOptions;
|
|
25
|
-
loginBox?: LoginBoxThemeOptions;
|
|
26
|
-
}
|
|
27
|
-
export interface FronteggTheme {
|
|
28
|
-
palette: ThemePalette;
|
|
29
|
-
typographyStyleOptions: CSSProperties;
|
|
30
|
-
spacing: Spacing;
|
|
31
|
-
shadows: Shadows;
|
|
32
|
-
transitions: Transitions;
|
|
33
|
-
breakpoints: Breakpoints;
|
|
34
|
-
direction: Direction;
|
|
35
|
-
components: ComponentsOptions;
|
|
36
|
-
typography: Typography;
|
|
37
|
-
adminPortal: AdminPortalTheme;
|
|
38
|
-
loginBox: LoginBoxTheme;
|
|
39
|
-
}
|
|
40
|
-
export declare type BaseThemeOptions = Omit<FronteggThemeOptions, 'adminPortal' | 'loginBox'>;
|
|
41
|
-
export declare type BaseTheme = Omit<FronteggTheme, 'adminPortal' | 'loginBox'>;
|
|
1
|
+
import { CSSProperties } from '../Common';
|
|
2
|
+
import { ThemePalette, ThemePaletteOptions } from './Palette';
|
|
3
|
+
import { Spacing, SpacingOptions } from './SpacingOptions';
|
|
4
|
+
import { Shadows } from './Shadows';
|
|
5
|
+
import { Transitions, TransitionsOptions } from './TransitionsOptions';
|
|
6
|
+
import { Breakpoints, BreakpointsOptions } from './BreakpointsOptions';
|
|
7
|
+
import { ComponentsOptions } from './ComponentsOptions';
|
|
8
|
+
import { TypographyOptions, Typography } from './TypographyOptions';
|
|
9
|
+
import { AdminPortalTheme, AdminPortalThemeOptions } from './AdminPortalThemeOptions';
|
|
10
|
+
import { LoginBoxTheme, LoginBoxThemeOptions } from './LoginBoxTheme';
|
|
11
|
+
export * from './LoginBoxTheme';
|
|
12
|
+
export * from './ComponentsOptions';
|
|
13
|
+
export declare type Direction = 'ltr' | 'rtl';
|
|
14
|
+
export interface FronteggThemeOptions {
|
|
15
|
+
palette?: ThemePaletteOptions;
|
|
16
|
+
typographyStyleOptions?: CSSProperties;
|
|
17
|
+
spacing?: SpacingOptions;
|
|
18
|
+
shadows?: Shadows;
|
|
19
|
+
transitions?: TransitionsOptions;
|
|
20
|
+
breakpoints?: BreakpointsOptions;
|
|
21
|
+
direction?: Direction;
|
|
22
|
+
components?: ComponentsOptions;
|
|
23
|
+
typography?: TypographyOptions;
|
|
24
|
+
adminPortal?: AdminPortalThemeOptions;
|
|
25
|
+
loginBox?: LoginBoxThemeOptions;
|
|
26
|
+
}
|
|
27
|
+
export interface FronteggTheme {
|
|
28
|
+
palette: ThemePalette;
|
|
29
|
+
typographyStyleOptions: CSSProperties;
|
|
30
|
+
spacing: Spacing;
|
|
31
|
+
shadows: Shadows;
|
|
32
|
+
transitions: Transitions;
|
|
33
|
+
breakpoints: Breakpoints;
|
|
34
|
+
direction: Direction;
|
|
35
|
+
components: ComponentsOptions;
|
|
36
|
+
typography: Typography;
|
|
37
|
+
adminPortal: AdminPortalTheme;
|
|
38
|
+
loginBox: LoginBoxTheme;
|
|
39
|
+
}
|
|
40
|
+
export declare type BaseThemeOptions = Omit<FronteggThemeOptions, 'adminPortal' | 'loginBox'>;
|
|
41
|
+
export declare type BaseTheme = Omit<FronteggTheme, 'adminPortal' | 'loginBox'>;
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './FronteggAppInstance';
|
|
2
|
-
export * from './FronteggAppOptions';
|
|
3
|
-
export * from './FronteggMetadata';
|
|
4
|
-
export * from './ThemeOptions';
|
|
5
|
-
export * from './Localizations';
|
|
6
|
-
export * from './Metadata';
|
|
7
|
-
export * from './CheckoutDialogOptions';
|
|
1
|
+
export * from './FronteggAppInstance';
|
|
2
|
+
export * from './FronteggAppOptions';
|
|
3
|
+
export * from './FronteggMetadata';
|
|
4
|
+
export * from './ThemeOptions';
|
|
5
|
+
export * from './Localizations';
|
|
6
|
+
export * from './Metadata';
|
|
7
|
+
export * from './CheckoutDialogOptions';
|