@frontegg/types 5.60.0 → 5.62.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.
@@ -303,5 +303,33 @@ export interface LoginLocalization {
303
303
  * this text is optional
304
304
  */
305
305
  termsAndPrivacyConjunctionText: string;
306
+ oneTouchLoginTitle: string;
307
+ oneTouchLoginMessage: string;
308
+ oneTouchLoginButton: string;
309
+ touchId: string;
310
+ androidLoginTitle: string;
311
+ androidLoginMessage: string;
312
+ androidLoginButton: string;
313
+ android: string;
314
+ usbLoginTitle: string;
315
+ usbLoginMessage: string;
316
+ usbLoginButton: string;
317
+ usb: string;
318
+ smsLoginTitle: string;
319
+ smsLoginMessage: string;
320
+ smsLoginButton: string;
321
+ sms: string;
322
+ smsLoginChangePhoneTitle: string;
323
+ smsLoginChangePhoneMessage: string;
324
+ smsLoginChangePhoneInputLabel: string;
325
+ smsLoginChangePhoneButton: string;
326
+ smsLoginPinTitle: string;
327
+ smsLoginPinMessage: string;
328
+ smsLoginPinButton: string;
329
+ loginWelcomeTitle: string;
330
+ loginWelcomeSubtitleSubtitle: string;
331
+ loginWelcomeKnownUserSubtitle: string;
332
+ registerNewQuickLoginTitle: string;
333
+ registerNewQuickLoginSubtitle: string;
306
334
  };
307
335
  }
@@ -1,14 +1,11 @@
1
1
  import { CSSProperties, ExtendedCSSProperties } from '../Common';
2
2
  export declare type CustomComponent<T = {}> = null | string | ((props: T) => string | any);
3
- export interface ITestimonial {
4
- image: string;
5
- }
6
3
  export interface ITestimonialComponent {
7
- testimonial1: ITestimonial;
8
- testimonial2?: ITestimonial;
9
- testimonial3?: ITestimonial;
10
- testimonial4?: ITestimonial;
11
- testimonial5?: ITestimonial;
4
+ testimonial1: string;
5
+ testimonial2?: string;
6
+ testimonial3?: string;
7
+ testimonial4?: string;
8
+ testimonial5?: string;
12
9
  }
13
10
  export interface ILogosComponent {
14
11
  layout?: 'horizontal' | 'vertical';
@@ -45,7 +45,7 @@ export interface LayoutOptions {
45
45
  * splitSize is for the side element to setup how much % of the window side elements wi'll take
46
46
  * default is 50 = 50%;
47
47
  */
48
- splitSize: number;
48
+ splitSize?: number;
49
49
  /**
50
50
  * Will be displayed if type is 'float-right' or 'float-left',
51
51
  * Accepts:
@@ -20,6 +20,7 @@ export interface ResendOTCProps {
20
20
  export interface LoginDisclaimerOptions {
21
21
  textStyle: ExtendedCSSProperties;
22
22
  disclaimerContainerStyle?: ExtendedCSSProperties;
23
+ placement?: 'box' | 'page';
23
24
  terms: {
24
25
  enabled?: boolean;
25
26
  linkStyle?: ExtendedCSSProperties;
@@ -34,6 +35,12 @@ export interface LoginPageComponentsTheme {
34
35
  * Login page container style
35
36
  */
36
37
  containerStyle?: ExtendedCSSProperties;
38
+ carouselArrowsContainerStyle?: ExtendedCSSProperties;
39
+ carouselArrowsStyle?: ExtendedCSSProperties;
40
+ pageTitleStyle?: ExtendedCSSProperties;
41
+ pageSubtitleStyle?: ExtendedCSSProperties;
42
+ carouselIndicatorStyle?: ExtendedCSSProperties;
43
+ carouselActiveIndicatorStyle?: ExtendedCSSProperties;
37
44
  /**
38
45
  * Login page form container style
39
46
  */
@@ -128,6 +135,11 @@ export interface LoginPageComponentsTheme {
128
135
  * on login page can be displayed as text info only
129
136
  */
130
137
  disclaimer?: LoginDisclaimerOptions;
138
+ touchIdCardIcon?: CustomComponent<{}>;
139
+ androidCardIcon?: CustomComponent<{}>;
140
+ smsCardIcon?: CustomComponent<{}>;
141
+ usbKeyCardIcon?: CustomComponent<{}>;
142
+ loginCardIcon?: CustomComponent<{}>;
131
143
  }
132
144
  export interface LoginPageThemeOptions extends LoginBoxCommonThemeOptions, LoginPageComponentsTheme {
133
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "5.60.0",
3
+ "version": "5.62.0",
4
4
  "main": "./node/index.js",
5
5
  "module": "./index.js",
6
6
  "types": "./index.d.ts",