@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.
Files changed (197) hide show
  1. package/CheckoutDialogOptions.d.ts +6 -6
  2. package/CheckoutDialogOptions.js +1 -0
  3. package/Common.d.ts +6 -6
  4. package/Common.js +1 -0
  5. package/ContextOptions.d.ts +31 -31
  6. package/ContextOptions.js +1 -0
  7. package/CustomComponents.d.ts +19 -19
  8. package/CustomComponents.js +1 -0
  9. package/FronteggAppInstance.d.ts +23 -23
  10. package/FronteggAppInstance.js +1 -0
  11. package/FronteggAppOptions.d.ts +76 -76
  12. package/FronteggAppOptions.js +1 -0
  13. package/FronteggMetadata.d.ts +88 -88
  14. package/FronteggMetadata.js +1 -0
  15. package/FronteggStoreOptions.d.ts +13 -13
  16. package/FronteggStoreOptions.js +1 -0
  17. package/Localizations/AdminPortalLocalizations/accountSettings.d.ts +216 -216
  18. package/Localizations/AdminPortalLocalizations/accountSettings.js +1 -0
  19. package/Localizations/AdminPortalLocalizations/allUsers.d.ts +275 -275
  20. package/Localizations/AdminPortalLocalizations/allUsers.js +1 -0
  21. package/Localizations/AdminPortalLocalizations/apiTokens.d.ts +137 -137
  22. package/Localizations/AdminPortalLocalizations/apiTokens.js +1 -0
  23. package/Localizations/AdminPortalLocalizations/auditLogs.d.ts +51 -51
  24. package/Localizations/AdminPortalLocalizations/auditLogs.js +1 -0
  25. package/Localizations/AdminPortalLocalizations/index.d.ts +29 -29
  26. package/Localizations/AdminPortalLocalizations/index.js +15 -0
  27. package/Localizations/AdminPortalLocalizations/navigation.d.ts +85 -85
  28. package/Localizations/AdminPortalLocalizations/navigation.js +1 -0
  29. package/Localizations/AdminPortalLocalizations/personalTokens.d.ts +117 -117
  30. package/Localizations/AdminPortalLocalizations/personalTokens.js +1 -0
  31. package/Localizations/AdminPortalLocalizations/privacy.d.ts +182 -182
  32. package/Localizations/AdminPortalLocalizations/privacy.js +1 -0
  33. package/Localizations/AdminPortalLocalizations/profile.d.ts +243 -243
  34. package/Localizations/AdminPortalLocalizations/profile.js +1 -0
  35. package/Localizations/AdminPortalLocalizations/roles.d.ts +88 -88
  36. package/Localizations/AdminPortalLocalizations/roles.js +1 -0
  37. package/Localizations/AdminPortalLocalizations/security.d.ts +182 -182
  38. package/Localizations/AdminPortalLocalizations/security.js +1 -0
  39. package/Localizations/AdminPortalLocalizations/sso.d.ts +398 -398
  40. package/Localizations/AdminPortalLocalizations/sso.js +1 -0
  41. package/Localizations/AdminPortalLocalizations/subscriptions.d.ts +252 -252
  42. package/Localizations/AdminPortalLocalizations/subscriptions.js +1 -0
  43. package/Localizations/AdminPortalLocalizations/users.d.ts +288 -288
  44. package/Localizations/AdminPortalLocalizations/users.js +1 -0
  45. package/Localizations/AdminPortalLocalizations/webhooks.d.ts +157 -157
  46. package/Localizations/AdminPortalLocalizations/webhooks.js +1 -0
  47. package/Localizations/LocalizationOverrides.d.ts +21 -21
  48. package/Localizations/LocalizationOverrides.js +1 -0
  49. package/Localizations/LocalizationType.d.ts +45 -45
  50. package/Localizations/LocalizationType.js +1 -0
  51. package/Localizations/LoginBoxLocalization/SplitPageTypes/index.d.ts +25 -25
  52. package/Localizations/LoginBoxLocalization/SplitPageTypes/index.js +1 -0
  53. package/Localizations/LoginBoxLocalization/acceptInvitation.d.ts +31 -31
  54. package/Localizations/LoginBoxLocalization/acceptInvitation.js +1 -0
  55. package/Localizations/LoginBoxLocalization/activateAccount.d.ts +79 -79
  56. package/Localizations/LoginBoxLocalization/activateAccount.js +1 -0
  57. package/Localizations/LoginBoxLocalization/forgetPassword.d.ts +35 -35
  58. package/Localizations/LoginBoxLocalization/forgetPassword.js +1 -0
  59. package/Localizations/LoginBoxLocalization/index.d.ts +20 -20
  60. package/Localizations/LoginBoxLocalization/index.js +11 -0
  61. package/Localizations/LoginBoxLocalization/login.d.ts +307 -307
  62. package/Localizations/LoginBoxLocalization/login.js +1 -0
  63. package/Localizations/LoginBoxLocalization/recoveryMfa.d.ts +23 -23
  64. package/Localizations/LoginBoxLocalization/recoveryMfa.js +1 -0
  65. package/Localizations/LoginBoxLocalization/resetPassword.d.ts +67 -67
  66. package/Localizations/LoginBoxLocalization/resetPassword.js +1 -0
  67. package/Localizations/LoginBoxLocalization/resetPhoneNumber.d.ts +34 -34
  68. package/Localizations/LoginBoxLocalization/resetPhoneNumber.js +1 -0
  69. package/Localizations/LoginBoxLocalization/signup.d.ts +186 -186
  70. package/Localizations/LoginBoxLocalization/signup.js +1 -0
  71. package/Localizations/LoginBoxLocalization/socialLogins.d.ts +34 -34
  72. package/Localizations/LoginBoxLocalization/socialLogins.js +1 -0
  73. package/Localizations/index.d.ts +4 -4
  74. package/Localizations/index.js +4 -0
  75. package/Localizations/package.json +6 -0
  76. package/Metadata/colorManipulator.d.ts +73 -73
  77. package/Metadata/colorManipulator.js +186 -0
  78. package/Metadata/getPalette.d.ts +3 -3
  79. package/Metadata/getPalette.js +58 -0
  80. package/Metadata/index.d.ts +15 -15
  81. package/Metadata/index.js +126 -0
  82. package/Metadata/package.json +6 -0
  83. package/PrivateOptions.d.ts +25 -25
  84. package/PrivateOptions.js +1 -0
  85. package/ThemeOptions/AdminPortalThemeOptions.d.ts +84 -84
  86. package/ThemeOptions/AdminPortalThemeOptions.js +16 -0
  87. package/ThemeOptions/BreakpointsOptions.d.ts +17 -17
  88. package/ThemeOptions/BreakpointsOptions.js +1 -0
  89. package/ThemeOptions/ComponentsOptions.d.ts +751 -751
  90. package/ThemeOptions/ComponentsOptions.js +2 -0
  91. package/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.d.ts +21 -21
  92. package/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.js +1 -0
  93. package/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.d.ts +51 -51
  94. package/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.js +1 -0
  95. package/ThemeOptions/LoginBoxTheme/CustomLoginComponents.d.ts +12 -12
  96. package/ThemeOptions/LoginBoxTheme/CustomLoginComponents.js +1 -0
  97. package/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.d.ts +45 -45
  98. package/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.js +1 -0
  99. package/ThemeOptions/LoginBoxTheme/LoaderTheme.d.ts +7 -7
  100. package/ThemeOptions/LoginBoxTheme/LoaderTheme.js +1 -0
  101. package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.d.ts +226 -226
  102. package/ThemeOptions/LoginBoxTheme/LoginBoxCommon.js +1 -0
  103. package/ThemeOptions/LoginBoxTheme/LoginPageTheme.d.ts +136 -136
  104. package/ThemeOptions/LoginBoxTheme/LoginPageTheme.js +1 -0
  105. package/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.d.ts +47 -47
  106. package/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.js +1 -0
  107. package/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.d.ts +71 -71
  108. package/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.js +1 -0
  109. package/ThemeOptions/LoginBoxTheme/SignupPageTheme.d.ts +95 -95
  110. package/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +1 -0
  111. package/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.d.ts +64 -64
  112. package/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.js +1 -0
  113. package/ThemeOptions/LoginBoxTheme/index.d.ts +53 -53
  114. package/ThemeOptions/LoginBoxTheme/index.js +11 -0
  115. package/ThemeOptions/LoginBoxThemeOptions.d.ts +46 -46
  116. package/ThemeOptions/LoginBoxThemeOptions.js +1 -0
  117. package/ThemeOptions/Palette.d.ts +85 -85
  118. package/ThemeOptions/Palette.js +1 -0
  119. package/ThemeOptions/Shadows.d.ts +1 -1
  120. package/ThemeOptions/Shadows.js +1 -0
  121. package/ThemeOptions/SpacingOptions.d.ts +9 -9
  122. package/ThemeOptions/SpacingOptions.js +1 -0
  123. package/ThemeOptions/TransitionsOptions.d.ts +23 -23
  124. package/ThemeOptions/TransitionsOptions.js +1 -0
  125. package/ThemeOptions/TypographyOptions.d.ts +13 -13
  126. package/ThemeOptions/TypographyOptions.js +1 -0
  127. package/ThemeOptions/index.d.ts +41 -41
  128. package/ThemeOptions/index.js +3 -0
  129. package/ThemeOptions/package.json +6 -0
  130. package/index.d.ts +7 -7
  131. package/index.js +12 -444
  132. package/node/CheckoutDialogOptions.js +5 -0
  133. package/node/Common.js +5 -0
  134. package/node/ContextOptions.js +5 -0
  135. package/node/CustomComponents.js +5 -0
  136. package/node/FronteggAppInstance.js +5 -0
  137. package/node/FronteggAppOptions.js +5 -0
  138. package/node/FronteggMetadata.js +5 -0
  139. package/node/FronteggStoreOptions.js +5 -0
  140. package/node/Localizations/AdminPortalLocalizations/accountSettings.js +5 -0
  141. package/node/Localizations/AdminPortalLocalizations/allUsers.js +5 -0
  142. package/node/Localizations/AdminPortalLocalizations/apiTokens.js +5 -0
  143. package/node/Localizations/AdminPortalLocalizations/auditLogs.js +5 -0
  144. package/node/Localizations/AdminPortalLocalizations/index.js +187 -0
  145. package/node/Localizations/AdminPortalLocalizations/navigation.js +5 -0
  146. package/node/Localizations/AdminPortalLocalizations/personalTokens.js +5 -0
  147. package/node/Localizations/AdminPortalLocalizations/privacy.js +5 -0
  148. package/node/Localizations/AdminPortalLocalizations/profile.js +5 -0
  149. package/node/Localizations/AdminPortalLocalizations/roles.js +5 -0
  150. package/node/Localizations/AdminPortalLocalizations/security.js +5 -0
  151. package/node/Localizations/AdminPortalLocalizations/sso.js +5 -0
  152. package/node/Localizations/AdminPortalLocalizations/subscriptions.js +5 -0
  153. package/node/Localizations/AdminPortalLocalizations/users.js +5 -0
  154. package/node/Localizations/AdminPortalLocalizations/webhooks.js +5 -0
  155. package/node/Localizations/LocalizationOverrides.js +5 -0
  156. package/node/Localizations/LocalizationType.js +5 -0
  157. package/node/Localizations/LoginBoxLocalization/SplitPageTypes/index.js +5 -0
  158. package/node/Localizations/LoginBoxLocalization/acceptInvitation.js +5 -0
  159. package/node/Localizations/LoginBoxLocalization/activateAccount.js +5 -0
  160. package/node/Localizations/LoginBoxLocalization/forgetPassword.js +5 -0
  161. package/node/Localizations/LoginBoxLocalization/index.js +135 -0
  162. package/node/Localizations/LoginBoxLocalization/login.js +5 -0
  163. package/node/Localizations/LoginBoxLocalization/recoveryMfa.js +5 -0
  164. package/node/Localizations/LoginBoxLocalization/resetPassword.js +5 -0
  165. package/node/Localizations/LoginBoxLocalization/resetPhoneNumber.js +5 -0
  166. package/node/Localizations/LoginBoxLocalization/signup.js +5 -0
  167. package/node/Localizations/LoginBoxLocalization/socialLogins.js +5 -0
  168. package/node/Localizations/index.js +57 -0
  169. package/node/Metadata/colorManipulator.js +210 -0
  170. package/node/Metadata/getPalette.js +70 -0
  171. package/node/Metadata/index.js +140 -0
  172. package/node/PrivateOptions.js +5 -0
  173. package/node/ThemeOptions/AdminPortalThemeOptions.js +23 -0
  174. package/node/ThemeOptions/BreakpointsOptions.js +5 -0
  175. package/node/ThemeOptions/ComponentsOptions.js +6 -0
  176. package/node/ThemeOptions/LoginBoxTheme/AcceptInvitationTheme.js +5 -0
  177. package/node/ThemeOptions/LoginBoxTheme/ActivateAccountPageTheme.js +5 -0
  178. package/node/ThemeOptions/LoginBoxTheme/CustomLoginComponents.js +5 -0
  179. package/node/ThemeOptions/LoginBoxTheme/ForgotPasswordTheme.js +5 -0
  180. package/node/ThemeOptions/LoginBoxTheme/LoaderTheme.js +5 -0
  181. package/node/ThemeOptions/LoginBoxTheme/LoginBoxCommon.js +5 -0
  182. package/node/ThemeOptions/LoginBoxTheme/LoginPageTheme.js +5 -0
  183. package/node/ThemeOptions/LoginBoxTheme/ResetPasswordTheme.js +5 -0
  184. package/node/ThemeOptions/LoginBoxTheme/ResetPhoneNumberTheme.js +5 -0
  185. package/node/ThemeOptions/LoginBoxTheme/SignupPageTheme.js +5 -0
  186. package/node/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.js +5 -0
  187. package/node/ThemeOptions/LoginBoxTheme/index.js +135 -0
  188. package/node/ThemeOptions/LoginBoxThemeOptions.js +5 -0
  189. package/node/ThemeOptions/Palette.js +5 -0
  190. package/node/ThemeOptions/Shadows.js +5 -0
  191. package/node/ThemeOptions/SpacingOptions.js +5 -0
  192. package/node/ThemeOptions/TransitionsOptions.js +5 -0
  193. package/node/ThemeOptions/TypographyOptions.js +5 -0
  194. package/node/ThemeOptions/index.js +31 -0
  195. package/node/index.js +101 -446
  196. package/package.json +8 -5
  197. 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 {};
@@ -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'>;
@@ -0,0 +1,3 @@
1
+ export * from './LoginBoxTheme';
2
+ export * from './ComponentsOptions';
3
+ export {};
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/ThemeOptions/index.js",
5
+ "types": "./index.d.ts"
6
+ }
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';