@secondstaxorg/sscomp 1.9.91 → 1.9.93
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/dist/bundle.css +0 -1
- package/dist/index.css +0 -13
- package/dist/index.es.css +0 -13
- package/dist/index.es.js +380 -290
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3674 -2583
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +0 -13
- package/dist/index.min.js +379 -289
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/DoughnutChart/type.d.ts +1 -1
- package/types/components/ForgotPasswordForm/type.d.ts +5 -4
- package/types/components/LoadingSpinner/LoadingSpinner.d.ts +0 -1
- package/types/components/PasswordMeter/PasswordMeter.d.ts +4 -0
- package/types/components/PasswordMeter/style.d.ts +3 -0
- package/types/components/PasswordMeter/type.d.ts +13 -0
- package/types/components/SetPassword/SetPassword.d.ts +5 -0
- package/types/components/SetPassword/style.d.ts +2 -0
- package/types/components/SetPassword/type.d.ts +35 -0
- package/types/components/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -7,19 +7,19 @@ export interface ForgotPasswordFormProps extends React.HTMLAttributes<any> {
|
|
|
7
7
|
/**
|
|
8
8
|
* Function for redirect link on stage1
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
redirectToLoginFxn: () => void;
|
|
11
11
|
/**
|
|
12
12
|
* Function for redirect link on stage1
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
redirectToSetPasswordFxn: () => void;
|
|
15
15
|
/**
|
|
16
16
|
* Text to indicate which app the request came from
|
|
17
17
|
*/
|
|
18
18
|
appIdentifier?: string;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Endpoint to send the request for password reset to
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
resetPWApiEndPoint: string;
|
|
23
23
|
/**
|
|
24
24
|
* Display text language
|
|
25
25
|
*/
|
|
@@ -38,5 +38,6 @@ export interface ForgotPasswordFormProps extends React.HTMLAttributes<any> {
|
|
|
38
38
|
resetLinkSentInfo?: string;
|
|
39
39
|
soundsGood?: string;
|
|
40
40
|
changeEmailLink?: string;
|
|
41
|
+
anErrorOccurred?: string;
|
|
41
42
|
};
|
|
42
43
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const PasswordStrength: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const PasswordRequirements: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const PwReqContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PasswordMeterProps {
|
|
2
|
+
password: string;
|
|
3
|
+
labelOverrides?: pwMeterLabelOverrides;
|
|
4
|
+
requirementsMet: (status: boolean) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare type pwMeterLabelOverrides = {
|
|
7
|
+
pwRequirements?: string;
|
|
8
|
+
minChars?: string;
|
|
9
|
+
oneLowercase?: string;
|
|
10
|
+
oneUppercase?: string;
|
|
11
|
+
oneNumber?: string;
|
|
12
|
+
oneSpecialChar?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { pwMeterLabelOverrides } from "../PasswordMeter/type";
|
|
2
|
+
export interface SetPasswordProps {
|
|
3
|
+
/**
|
|
4
|
+
* Show or hide password meter
|
|
5
|
+
*/
|
|
6
|
+
hidePasswordMeter?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Callback function for when the status of the form whether it's been completed
|
|
9
|
+
*/
|
|
10
|
+
formComplete: (status: boolean) => void;
|
|
11
|
+
/**
|
|
12
|
+
* If available, the email address to be displayed if not to be entered by the user
|
|
13
|
+
*/
|
|
14
|
+
userEmail?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Display all text in the UI in alternative text or translation
|
|
17
|
+
*/
|
|
18
|
+
labelOverrides?: {
|
|
19
|
+
emailAddress?: string;
|
|
20
|
+
verificationCode?: string;
|
|
21
|
+
password?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
emailPlaceholder?: string;
|
|
24
|
+
verificationCodePlaceholder?: string;
|
|
25
|
+
pwMeterLO?: pwMeterLabelOverrides;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* When form is completed, this is a callback for when the fields in the form have been filled
|
|
29
|
+
*/
|
|
30
|
+
values: (val: {
|
|
31
|
+
verificationCode: string;
|
|
32
|
+
password: string;
|
|
33
|
+
email?: string;
|
|
34
|
+
}) => void;
|
|
35
|
+
}
|
|
@@ -85,3 +85,4 @@ export { default as DetailField } from './DetailField/DetailField';
|
|
|
85
85
|
export { default as MultipleFileUpload } from './MultipleFileUpload/MultipleFileUpload';
|
|
86
86
|
export { default as AmountInput } from './AmountInput/AmountInput';
|
|
87
87
|
export { default as ForgotPasswordForm } from './ForgotPasswordForm/ForgotPasswordForm';
|
|
88
|
+
export { default as SetPassword } from './SetPassword/SetPassword';
|