@secondstaxorg/sscomp 1.9.93 → 1.9.95

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.9.93",
3
+ "version": "1.9.95",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -39,6 +39,10 @@ export interface SelectorProps {
39
39
  * Specify whether the component is a readonly field
40
40
  */
41
41
  readonly?: boolean;
42
+ /**
43
+ * specify whether the component should fallback to internal countries list
44
+ */
45
+ countryListFallback?: boolean;
42
46
  /**
43
47
  * Array containing list of items to be bubbled up to the top above all others
44
48
  */
@@ -5,10 +5,6 @@ export interface SetPasswordProps {
5
5
  */
6
6
  hidePasswordMeter?: boolean;
7
7
  /**
8
- * Callback function for when the status of the form whether it's been completed
9
- */
10
- formComplete: (status: boolean) => void;
11
- /**
12
8
  * If available, the email address to be displayed if not to be entered by the user
13
9
  */
14
10
  userEmail?: string;
@@ -22,6 +18,13 @@ export interface SetPasswordProps {
22
18
  title?: string;
23
19
  emailPlaceholder?: string;
24
20
  verificationCodePlaceholder?: string;
21
+ setPassword?: string;
22
+ responseSuccessHeadingText?: string;
23
+ responseSuccessSubText?: string;
24
+ responseFailHeadingText?: string;
25
+ responseFailSubText?: string;
26
+ soundsGood?: string;
27
+ tryAgain?: string;
25
28
  pwMeterLO?: pwMeterLabelOverrides;
26
29
  };
27
30
  /**
@@ -32,4 +35,16 @@ export interface SetPasswordProps {
32
35
  password: string;
33
36
  email?: string;
34
37
  }) => void;
38
+ /**
39
+ * URL of endpoint to which new password shall be sent
40
+ */
41
+ pwResetUrl: string;
42
+ /**
43
+ * Function to call after the password has been set
44
+ */
45
+ redirectFn: () => void;
46
+ /**
47
+ * Function to get the response when the request is successful
48
+ */
49
+ pwResetResponse?: (resp: any) => void;
35
50
  }
@@ -1,10 +0,0 @@
1
- declare type Method = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2
- interface iApiRequest {
3
- url: string;
4
- method: Method;
5
- data?: any;
6
- headers?: any;
7
- }
8
- declare function createRequest(params: iApiRequest): Promise<any>;
9
- export declare const axiosSend: typeof createRequest;
10
- export {};
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { PDFViewerProps } from "./type";
3
- import '../../styles/typography.css';
4
- /**
5
- * For viewing PDF documents
6
- */
7
- declare const PDFViewer: (props: PDFViewerProps) => JSX.Element;
8
- export default PDFViewer;
@@ -1,4 +0,0 @@
1
- export declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const ViewerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const DocumentNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
4
- export declare const PageNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,11 +0,0 @@
1
- import React from "react";
2
- export interface PDFViewerProps {
3
- files: filesType[];
4
- actionArea?: React.ReactNode;
5
- closeBtnFn?: (a: boolean) => void;
6
- }
7
- declare type filesType = {
8
- fileUrl: string;
9
- fileName?: string;
10
- };
11
- export {};
@@ -1,6 +0,0 @@
1
- export declare const countries: {
2
- code: string;
3
- country: string;
4
- flag: string;
5
- dial_code: string;
6
- }[];