@npm_leadtech/legal-lib-components 7.89.8 → 7.89.9

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.
@@ -3,4 +3,4 @@ export interface DocumentStatusProps {
3
3
  type?: DocumentStatusType;
4
4
  givenClass?: string;
5
5
  }
6
- export type DocumentStatusType = 'default' | 'inProgress' | 'awaiting' | 'noResponse' | 'declined' | 'signed';
6
+ export type DocumentStatusType = 'default' | 'in-progress' | 'awaiting' | 'no-response' | 'declined' | 'signed';
@@ -4,4 +4,4 @@ export interface DocumentStatusProps {
4
4
  givenClass?: string
5
5
  }
6
6
 
7
- export type DocumentStatusType = 'default' | 'inProgress' | 'awaiting' | 'noResponse' | 'declined' | 'signed'
7
+ export type DocumentStatusType = 'default' | 'in-progress' | 'awaiting' | 'no-response' | 'declined' | 'signed'
@@ -6,10 +6,10 @@ import { Time24px } from '../../../../images/componentsSvg/Time24px';
6
6
  import { SignerStatusItemStyled } from './SignerStatusItem.styled';
7
7
  const iconByStatus = {
8
8
  signed: _jsx(Done24px, {}),
9
- in_progress: _jsx(Time24px, {}),
9
+ 'in-progress': _jsx(Time24px, {}),
10
10
  declined: _jsx(CloseIcon, {}),
11
11
  awaiting: _jsx(Time24px, {}),
12
- no_response: _jsx(NewRelease24p, {})
12
+ 'no-response': _jsx(NewRelease24p, {})
13
13
  };
14
14
  export const SignerStatusItem = ({ status, children, givenClass = '' }) => {
15
15
  return (_jsxs(SignerStatusItemStyled, { className: `signer-status-item signer-status-item--${status} ${givenClass}`, children: [_jsx("span", { className: 'signer-status-item__icon', "aria-hidden": true, children: iconByStatus[status] }), children] }));
@@ -26,7 +26,7 @@ export const SignerStatusItemStyled = styled.li `
26
26
  }
27
27
  }
28
28
 
29
- &.signer-status-item--in_progress {
29
+ &.signer-status-item--in-progress {
30
30
  background-color: var(--neutral-neutral-6);
31
31
 
32
32
  svg > path {
@@ -50,7 +50,7 @@ export const SignerStatusItemStyled = styled.li `
50
50
  }
51
51
  }
52
52
 
53
- &.signer-status-item--no_response {
53
+ &.signer-status-item--no-response {
54
54
  background-color: var(--neutral-neutral-4);
55
55
 
56
56
  svg > path {
@@ -27,7 +27,7 @@ export const SignerStatusItemStyled = styled.li`
27
27
  }
28
28
  }
29
29
 
30
- &.signer-status-item--in_progress {
30
+ &.signer-status-item--in-progress {
31
31
  background-color: var(--neutral-neutral-6);
32
32
 
33
33
  svg > path {
@@ -51,7 +51,7 @@ export const SignerStatusItemStyled = styled.li`
51
51
  }
52
52
  }
53
53
 
54
- &.signer-status-item--no_response {
54
+ &.signer-status-item--no-response {
55
55
  background-color: var(--neutral-neutral-4);
56
56
 
57
57
  svg > path {
@@ -10,10 +10,10 @@ import { SignerStatusItemStyled } from './SignerStatusItem.styled'
10
10
 
11
11
  const iconByStatus: Record<SignatureStatus, React.ReactNode> = {
12
12
  signed: <Done24px />,
13
- in_progress: <Time24px />,
13
+ 'in-progress': <Time24px />,
14
14
  declined: <CloseIcon />,
15
15
  awaiting: <Time24px />,
16
- no_response: <NewRelease24p />
16
+ 'no-response': <NewRelease24p />
17
17
  }
18
18
 
19
19
  export const SignerStatusItem: FC<SignerStatusItemProps> = ({ status, children, givenClass = '' }) => {
@@ -1,4 +1,4 @@
1
- export type SignatureStatus = 'signed' | 'in_progress' | 'declined' | 'awaiting' | 'no_response';
1
+ export type SignatureStatus = 'signed' | 'in-progress' | 'declined' | 'awaiting' | 'no-response';
2
2
  export interface SignerStatusItemProps {
3
3
  status: SignatureStatus;
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- export type SignatureStatus = 'signed' | 'in_progress' | 'declined' | 'awaiting' | 'no_response'
1
+ export type SignatureStatus = 'signed' | 'in-progress' | 'declined' | 'awaiting' | 'no-response'
2
2
 
3
3
  export interface SignerStatusItemProps {
4
4
  status: SignatureStatus
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.89.8",
3
+ "version": "7.89.9",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",