@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.9.91",
3
+ "version": "1.9.93",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -7,5 +7,5 @@ export interface DoughnutChartType {
7
7
  backgroundColor?: string[];
8
8
  }[];
9
9
  showLabels?: boolean;
10
- labelArrangement: 'vertical' | 'horizontal';
10
+ labelArrangement: 'vertical' | 'horizontal' | 'side';
11
11
  }
@@ -7,19 +7,19 @@ export interface ForgotPasswordFormProps extends React.HTMLAttributes<any> {
7
7
  /**
8
8
  * Function for redirect link on stage1
9
9
  */
10
- redirectFxnStage1: () => void;
10
+ redirectToLoginFxn: () => void;
11
11
  /**
12
12
  * Function for redirect link on stage1
13
13
  */
14
- redirectFxnStage2: () => void;
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
- * Url to send the request for password reset to
20
+ * Endpoint to send the request for password reset to
21
21
  */
22
- apiUrl: string;
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
  }
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- import './style.css';
3
2
  import { LoaderProps } from "./type";
4
3
  /**
5
4
  * Component for displaying a loading spinner for when data is being loaded
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { PasswordMeterProps } from "./type";
3
+ declare const PasswordMeter: (props: PasswordMeterProps) => JSX.Element;
4
+ export default PasswordMeter;
@@ -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,5 @@
1
+ /// <reference types="react" />
2
+ import { SetPasswordProps } from "./type";
3
+ import '../../styles/typography.css';
4
+ declare const SetPassword: (props: SetPasswordProps) => JSX.Element;
5
+ export default SetPassword;
@@ -0,0 +1,2 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const Title: import("styled-components").StyledComponent<"h4", any, {}, never>;
@@ -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';