@npm_leadtech/legal-lib-components 7.89.9 → 7.89.21
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/css/styles.css +0 -16
- package/dist/images/componentsSvg/CloseIcon.js +1 -1
- package/dist/images/componentsSvg/CloseIcon.tsx +6 -3
- package/dist/images/componentsSvg/Done24px.d.ts +1 -1
- package/dist/images/componentsSvg/Done24px.js +1 -1
- package/dist/images/componentsSvg/Done24px.tsx +7 -4
- package/dist/images/componentsSvg/NewRelease24p.d.ts +1 -1
- package/dist/images/componentsSvg/NewRelease24p.js +2 -2
- package/dist/images/componentsSvg/NewRelease24p.tsx +19 -4
- package/dist/images/componentsSvg/Sign24px.d.ts +2 -2
- package/dist/images/componentsSvg/Sign24px.js +1 -1
- package/dist/images/componentsSvg/Sign24px.tsx +6 -7
- package/dist/images/componentsSvg/Time24px.d.ts +1 -1
- package/dist/images/componentsSvg/Time24px.js +2 -2
- package/dist/images/componentsSvg/Time24px.tsx +26 -8
- package/dist/src/components/atoms/Button/Button.js +1 -1
- package/dist/src/components/atoms/Button/Button.scss +0 -19
- package/dist/src/components/atoms/Button/Button.tsx +1 -1
- package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -1
- package/dist/src/components/atoms/Button/ButtonProps.types.ts +0 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +15 -5
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +40 -41
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +40 -41
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +35 -7
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +6 -4
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +6 -5
- package/dist/src/components/atoms/PreFooter/PreFooter.js +3 -3
- package/dist/src/components/atoms/PreFooter/PreFooter.tsx +2 -2
- package/dist/src/components/atoms/PreFooter/PreFooterProps.d.ts +1 -1
- package/dist/src/components/atoms/PreFooter/PreFooterProps.ts +1 -1
- package/dist/src/components/atoms/Tooltip/Tooltip.js +2 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.tsx +2 -0
- package/dist/src/components/molecules/TextInput/tests/Input.test.tsx +18 -29
- package/dist/src/components/molecules/TextInput/tests/TextInput.test.tsx +9 -16
- package/dist/src/components/molecules/TextInput/tests/TextInputMessage.test.tsx +2 -2
- package/dist/src/components/molecules/TextInput/tests/TextInputTooltip.test.tsx +1 -1
- package/dist/src/components/molecules/index.d.ts +0 -1
- package/dist/src/components/molecules/index.js +0 -1
- package/dist/src/components/molecules/index.ts +0 -1
- package/dist/src/globalStyles/variables.scss +31 -12
- package/dist/src/globalStyles/variablesCss.scss +10 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -5
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.d.ts +0 -3
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.js +0 -16
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.styled.js +0 -60
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.styled.ts +0 -61
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.tsx +0 -28
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItemProps.types.d.ts +0 -6
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItemProps.types.js +0 -1
- package/dist/src/components/atoms/SignerStatusItem/SignerStatusItemProps.types.ts +0 -7
- package/dist/src/components/atoms/SignerStatusItem/index.d.ts +0 -2
- package/dist/src/components/atoms/SignerStatusItem/index.js +0 -1
- package/dist/src/components/atoms/SignerStatusItem/index.ts +0 -2
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.d.ts +0 -3
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.js +0 -7
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.styled.d.ts +0 -1
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.styled.js +0 -22
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.styled.ts +0 -23
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.tsx +0 -38
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContentProps.types.d.ts +0 -9
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContentProps.types.js +0 -1
- package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContentProps.types.ts +0 -10
- package/dist/src/components/molecules/SignersStatusTooltipContent/index.d.ts +0 -2
- package/dist/src/components/molecules/SignersStatusTooltipContent/index.js +0 -1
- package/dist/src/components/molecules/SignersStatusTooltipContent/index.ts +0 -2
package/dist/css/styles.css
CHANGED
|
@@ -1018,22 +1018,6 @@ html[data-theme=primarygreen] .e-button.--primary-3 {
|
|
|
1018
1018
|
.e-button.--transparent {
|
|
1019
1019
|
background-color: transparent;
|
|
1020
1020
|
}
|
|
1021
|
-
.e-button.e-button--link {
|
|
1022
|
-
padding: 0;
|
|
1023
|
-
border: none;
|
|
1024
|
-
background: none;
|
|
1025
|
-
border-radius: 0;
|
|
1026
|
-
color: var(--primary-main);
|
|
1027
|
-
text-decoration: underline;
|
|
1028
|
-
font-weight: inherit;
|
|
1029
|
-
}
|
|
1030
|
-
.e-button.e-button--link:hover {
|
|
1031
|
-
color: var(--primary-main-dark-1);
|
|
1032
|
-
text-decoration: underline;
|
|
1033
|
-
}
|
|
1034
|
-
.e-button.e-button--link label {
|
|
1035
|
-
cursor: pointer;
|
|
1036
|
-
}
|
|
1037
1021
|
.e-button.--disabled {
|
|
1038
1022
|
background-color: var(--neutral-neutral-4);
|
|
1039
1023
|
color: var(--neutral-neutral-1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export const CloseIcon = ({ className
|
|
2
|
+
export const CloseIcon = ({ className }) => (_jsx("svg", { className: className, width: 20, height: 20, viewBox: '0 0 20 20', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', children: _jsx("path", { d: 'M15.2462 5.92913C15.5706 5.60466 15.5706 5.07859 15.2462 4.75413C14.9217 4.42966 14.3956 4.42966 14.0712 4.75413L10.0003 8.82496L5.92949 4.75413C5.60503 4.42966 5.07896 4.42966 4.75449 4.75413C4.43002 5.07859 4.43003 5.60466 4.75449 5.92913L8.82533 9.99996L4.75449 14.0708C4.43003 14.3953 4.43002 14.9213 4.75449 15.2458C5.07896 15.5703 5.60502 15.5703 5.92949 15.2458L10.0003 11.175L14.0712 15.2458C14.3956 15.5703 14.9217 15.5703 15.2462 15.2458C15.5706 14.9213 15.5706 14.3953 15.2462 14.0708L11.1753 9.99996L15.2462 5.92913Z', fill: '#B5BABD' }) }));
|
|
@@ -4,8 +4,11 @@ interface Close24Props {
|
|
|
4
4
|
className?: string
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export const CloseIcon: FC<Close24Props> = ({ className
|
|
8
|
-
<svg className={className} width={
|
|
9
|
-
<path
|
|
7
|
+
export const CloseIcon: FC<Close24Props> = ({ className }: Close24Props): React.ReactElement => (
|
|
8
|
+
<svg className={className} width={20} height={20} viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
9
|
+
<path
|
|
10
|
+
d='M15.2462 5.92913C15.5706 5.60466 15.5706 5.07859 15.2462 4.75413C14.9217 4.42966 14.3956 4.42966 14.0712 4.75413L10.0003 8.82496L5.92949 4.75413C5.60503 4.42966 5.07896 4.42966 4.75449 4.75413C4.43002 5.07859 4.43003 5.60466 4.75449 5.92913L8.82533 9.99996L4.75449 14.0708C4.43003 14.3953 4.43002 14.9213 4.75449 15.2458C5.07896 15.5703 5.60502 15.5703 5.92949 15.2458L10.0003 11.175L14.0712 15.2458C14.3956 15.5703 14.9217 15.5703 15.2462 15.2458C15.5706 14.9213 15.5706 14.3953 15.2462 14.0708L11.1753 9.99996L15.2462 5.92913Z'
|
|
11
|
+
fill='#B5BABD'
|
|
12
|
+
/>
|
|
10
13
|
</svg>
|
|
11
14
|
)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export const Done24px = ({ className
|
|
2
|
+
export const Done24px = ({ className }) => (_jsx("svg", { xmlns: 'http://www.w3.org/2000/svg', width: '17', height: '16', viewBox: '0 0 17 16', fill: 'none', children: _jsx("path", { d: 'M6.36663 10.6L4.0333 8.26667C3.77557 8.00893 3.3577 8.00893 3.09997 8.26667C2.84223 8.5244 2.84223 8.94227 3.09997 9.2L6.18886 12.2889C6.28704 12.3871 6.44623 12.3871 6.54441 12.2889L13.9 4.93333C14.1577 4.6756 14.1577 4.25773 13.9 4C13.6422 3.74227 13.2244 3.74227 12.9666 4L6.36663 10.6Z', fill: '#078080' }) }));
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
interface Done24pxProps {
|
|
3
|
-
className
|
|
3
|
+
className: string
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
export const Done24px: FC<Done24pxProps> = ({ className
|
|
7
|
-
<svg
|
|
8
|
-
<path
|
|
6
|
+
export const Done24px: FC<Done24pxProps> = ({ className }: Done24pxProps) => (
|
|
7
|
+
<svg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 17 16' fill='none'>
|
|
8
|
+
<path
|
|
9
|
+
d='M6.36663 10.6L4.0333 8.26667C3.77557 8.00893 3.3577 8.00893 3.09997 8.26667C2.84223 8.5244 2.84223 8.94227 3.09997 9.2L6.18886 12.2889C6.28704 12.3871 6.44623 12.3871 6.54441 12.2889L13.9 4.93333C14.1577 4.6756 14.1577 4.25773 13.9 4C13.6422 3.74227 13.2244 3.74227 12.9666 4L6.36663 10.6Z'
|
|
10
|
+
fill='#078080'
|
|
11
|
+
/>
|
|
9
12
|
</svg>
|
|
10
13
|
)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export const NewRelease24p = ({ className
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const NewRelease24p = ({ className }) => (_jsxs("svg", { className: className, xmlns: 'http://www.w3.org/2000/svg', width: '16', height: '16', viewBox: '0 0 16 16', children: [_jsx("defs", { children: _jsx("path", { id: 'new-release__a', d: 'M15.333 7.997l-1.626-1.854.226-2.453-2.406-.547-1.26-2.12L8 1.997l-2.267-.974-1.26 2.12-2.406.54.226 2.454-1.626 1.86L2.293 9.85l-.226 2.46 2.406.547 1.26 2.12L8 13.997l2.267.973 1.26-2.12 2.406-.547-.226-2.453 1.626-1.853zm-3.006 1.406l.173 1.86-1.827.414-.953 1.606-1.72-.74-1.72.74-.953-1.606-1.827-.414.173-1.866-1.233-1.4 1.233-1.414L3.5 4.73l1.827-.407.953-1.606L8 3.45l1.72-.74.953 1.607 1.827.413-.173 1.86 1.233 1.407-1.233 1.406zm-4.994.594h1.334v1.333H7.333V9.997zm0-5.334h1.334v4H7.333v-4z' }) }), _jsxs("g", { fill: 'none', fillRule: 'evenodd', children: [_jsx("path", { d: 'M0 0H16V16H0z' }), _jsx("mask", { id: 'new-release__b', fill: '#fff', children: _jsx("use", { xlinkHref: '#new-release__a' }) }), _jsx("g", { fill: '#FCF4E5', mask: 'url(#new-release__b)', children: _jsx("path", { d: 'M0 0H16V16H0z' }) })] })] }));
|
|
@@ -1,11 +1,26 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
1
2
|
import React, { type FC } from 'react'
|
|
2
3
|
|
|
3
4
|
interface NewRelease24pProps {
|
|
4
|
-
className
|
|
5
|
+
className: string
|
|
5
6
|
}
|
|
6
7
|
|
|
7
|
-
export const NewRelease24p: FC<NewRelease24pProps> = ({ className
|
|
8
|
-
<svg className={className} width=
|
|
9
|
-
<
|
|
8
|
+
export const NewRelease24p: FC<NewRelease24pProps> = ({ className }: NewRelease24pProps) => (
|
|
9
|
+
<svg className={className} xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'>
|
|
10
|
+
<defs>
|
|
11
|
+
<path
|
|
12
|
+
id='new-release__a'
|
|
13
|
+
d='M15.333 7.997l-1.626-1.854.226-2.453-2.406-.547-1.26-2.12L8 1.997l-2.267-.974-1.26 2.12-2.406.54.226 2.454-1.626 1.86L2.293 9.85l-.226 2.46 2.406.547 1.26 2.12L8 13.997l2.267.973 1.26-2.12 2.406-.547-.226-2.453 1.626-1.853zm-3.006 1.406l.173 1.86-1.827.414-.953 1.606-1.72-.74-1.72.74-.953-1.606-1.827-.414.173-1.866-1.233-1.4 1.233-1.414L3.5 4.73l1.827-.407.953-1.606L8 3.45l1.72-.74.953 1.607 1.827.413-.173 1.86 1.233 1.407-1.233 1.406zm-4.994.594h1.334v1.333H7.333V9.997zm0-5.334h1.334v4H7.333v-4z'
|
|
14
|
+
/>
|
|
15
|
+
</defs>
|
|
16
|
+
<g fill='none' fillRule='evenodd'>
|
|
17
|
+
<path d='M0 0H16V16H0z' />
|
|
18
|
+
<mask id='new-release__b' fill='#fff'>
|
|
19
|
+
<use xlinkHref='#new-release__a' />
|
|
20
|
+
</mask>
|
|
21
|
+
<g fill='#FCF4E5' mask='url(#new-release__b)'>
|
|
22
|
+
<path d='M0 0H16V16H0z' />
|
|
23
|
+
</g>
|
|
24
|
+
</g>
|
|
10
25
|
</svg>
|
|
11
26
|
)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export const Sign24px = ({ className
|
|
2
|
+
export const Sign24px = ({ className }) => (_jsx("svg", { xmlns: 'http://www.w3.org/2000/svg', width: '17', height: '16', viewBox: '0 0 24 24', fill: 'none', children: _jsx("path", { id: 'path', "fill-rule": 'evenodd', "clip-rule": 'evenodd', d: 'M3 11C3 12.06 3.61 12.79 4.58 13.35L6.07 11.86C5.43 11.6 5 11.31 5 11C5 10.5 6.42 9.88 7.36 9.47C9.07 8.72 11 7.87 11 6C11 4.32 9.24 3 7 3C4.76 3 3.73 4.24 3.62 4.38C3.28 4.81 3.36 5.42 3.77 5.76C4.19 6.1 4.82 6.05 5.17 5.64C5.17096 5.63904 5.17245 5.63748 5.17447 5.63536C5.23542 5.57145 5.78046 5 7 5C8.22 5 9 5.59 9 6C9 6.55067 7.63659 7.15936 6.61179 7.61687C6.59443 7.62463 6.57716 7.63234 6.56 7.64C4.89 8.37 3 9.2 3 11ZM19.9101 9.33L18.8501 10.39L14.6101 6.15L15.6701 5.09C16.4501 4.31 17.7201 4.31 18.5001 5.09L19.9101 6.5C20.6901 7.28 20.6901 8.55 19.9101 9.33ZM4.14 16.61L13.19 7.56L17.44 11.8L8.39 20.85C8.3 20.95 8.17 21 8.04 21H4.5C4.22 21 4 20.78 4 20.5V16.96C4 16.83 4.05 16.7 4.14 16.61ZM19 17.5C19 19.69 16.46 21 14 21C13.45 21 13 20.55 13 20C13 19.45 13.45 19 14 19C15.54 19 17 18.27 17 17.5C17 17.03 16.52 16.63 15.77 16.3L17.25 14.82C18.32 15.45 19 16.29 19 17.5Z', fill: '#6D7275' }) }));
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import React, { FC } from 'react'
|
|
2
|
-
|
|
1
|
+
import React, { type FC } from 'react'
|
|
3
2
|
interface Sign24pxProps {
|
|
4
|
-
className
|
|
3
|
+
className: string
|
|
5
4
|
}
|
|
6
5
|
|
|
7
|
-
export const Sign24px: FC<Sign24pxProps> = ({ className
|
|
8
|
-
<svg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 24 24' fill='none'
|
|
6
|
+
export const Sign24px: FC<Sign24pxProps> = ({ className }: Sign24pxProps) => (
|
|
7
|
+
<svg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 24 24' fill='none'>
|
|
9
8
|
<path
|
|
10
9
|
id='path'
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
fill-rule='evenodd'
|
|
11
|
+
clip-rule='evenodd'
|
|
13
12
|
d='M3 11C3 12.06 3.61 12.79 4.58 13.35L6.07 11.86C5.43 11.6 5 11.31 5 11C5 10.5 6.42 9.88 7.36 9.47C9.07 8.72 11 7.87 11 6C11 4.32 9.24 3 7 3C4.76 3 3.73 4.24 3.62 4.38C3.28 4.81 3.36 5.42 3.77 5.76C4.19 6.1 4.82 6.05 5.17 5.64C5.17096 5.63904 5.17245 5.63748 5.17447 5.63536C5.23542 5.57145 5.78046 5 7 5C8.22 5 9 5.59 9 6C9 6.55067 7.63659 7.15936 6.61179 7.61687C6.59443 7.62463 6.57716 7.63234 6.56 7.64C4.89 8.37 3 9.2 3 11ZM19.9101 9.33L18.8501 10.39L14.6101 6.15L15.6701 5.09C16.4501 4.31 17.7201 4.31 18.5001 5.09L19.9101 6.5C20.6901 7.28 20.6901 8.55 19.9101 9.33ZM4.14 16.61L13.19 7.56L17.44 11.8L8.39 20.85C8.3 20.95 8.17 21 8.04 21H4.5C4.22 21 4 20.78 4 20.5V16.96C4 16.83 4.05 16.7 4.14 16.61ZM19 17.5C19 19.69 16.46 21 14 21C13.45 21 13 20.55 13 20C13 19.45 13.45 19 14 19C15.54 19 17 18.27 17 17.5C17 17.03 16.52 16.63 15.77 16.3L17.25 14.82C18.32 15.45 19 16.29 19 17.5Z'
|
|
14
13
|
fill='#6D7275'
|
|
15
14
|
/>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export const Time24px = ({ className
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export const Time24px = ({ className }) => (_jsxs("svg", { className: className, xmlns: 'http://www.w3.org/2000/svg', xmlnsXlink: 'http://www.w3.org/1999/xlink', width: '16', height: '16', viewBox: '0 0 16 16', children: [_jsx("defs", { children: _jsx("path", { id: 'time', d: 'M7.993 1.333c-3.68 0-6.66 2.987-6.66 6.667 0 3.68 2.98 6.667 6.66 6.667 3.687 0 6.674-2.987 6.674-6.667 0-3.68-2.987-6.667-6.674-6.667zm.007 12c-2.947 0-5.333-2.386-5.333-5.333S5.053 2.667 8 2.667 13.333 5.053 13.333 8 10.947 13.333 8 13.333zm.333-8.666h-1v4l3.5 2.1.5-.82-3-1.78v-3.5z' }) }), _jsxs("g", { fill: 'none', fillRule: 'evenodd', children: [_jsx("path", { d: 'M0 0H16V16H0z' }), _jsx("mask", { id: 'time2', fill: '#fff', children: _jsx("use", { xlinkHref: '#time' }) }), _jsx("g", { fill: '#936C2F', mask: 'url(#time2)', children: _jsx("path", { d: 'M0 0H16V16H0z' }) })] })] }));
|
|
@@ -1,15 +1,33 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
1
2
|
import React, { type FC } from 'react'
|
|
2
3
|
|
|
3
4
|
interface Time24pxProps {
|
|
4
|
-
className
|
|
5
|
+
className: string
|
|
5
6
|
}
|
|
6
7
|
|
|
7
|
-
export const Time24px: FC<Time24pxProps> = ({ className
|
|
8
|
-
<svg
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
export const Time24px: FC<Time24pxProps> = ({ className }: Time24pxProps) => (
|
|
9
|
+
<svg
|
|
10
|
+
className={className}
|
|
11
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
12
|
+
xmlnsXlink='http://www.w3.org/1999/xlink'
|
|
13
|
+
width='16'
|
|
14
|
+
height='16'
|
|
15
|
+
viewBox='0 0 16 16'
|
|
16
|
+
>
|
|
17
|
+
<defs>
|
|
18
|
+
<path
|
|
19
|
+
id='time'
|
|
20
|
+
d='M7.993 1.333c-3.68 0-6.66 2.987-6.66 6.667 0 3.68 2.98 6.667 6.66 6.667 3.687 0 6.674-2.987 6.674-6.667 0-3.68-2.987-6.667-6.674-6.667zm.007 12c-2.947 0-5.333-2.386-5.333-5.333S5.053 2.667 8 2.667 13.333 5.053 13.333 8 10.947 13.333 8 13.333zm.333-8.666h-1v4l3.5 2.1.5-.82-3-1.78v-3.5z'
|
|
21
|
+
/>
|
|
22
|
+
</defs>
|
|
23
|
+
<g fill='none' fillRule='evenodd'>
|
|
24
|
+
<path d='M0 0H16V16H0z' />
|
|
25
|
+
<mask id='time2' fill='#fff'>
|
|
26
|
+
<use xlinkHref='#time' />
|
|
27
|
+
</mask>
|
|
28
|
+
<g fill='#936C2F' mask='url(#time2)'>
|
|
29
|
+
<path d='M0 0H16V16H0z' />
|
|
30
|
+
</g>
|
|
31
|
+
</g>
|
|
14
32
|
</svg>
|
|
15
33
|
)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
+
// import './Button.scss'
|
|
3
4
|
const Button = ({ label, dataQa, labelMobile, link, LinkComponent = null, noLink = false, noLinkNoFunc = false, onClick = undefined, functionParameters, color = 'primary', error, disabled = false, fluid, givenClass, children, size = undefined, isExternal = false, centered = false, gtmTag = undefined, hasNoFollow = false, target = '_self' }) => {
|
|
4
5
|
const sizes = {
|
|
5
6
|
S: 'button--small',
|
|
@@ -20,7 +21,6 @@ const Button = ({ label, dataQa, labelMobile, link, LinkComponent = null, noLink
|
|
|
20
21
|
'--secondary-icon --dark': color === 'secondaryIconDark',
|
|
21
22
|
'button--tertiary-1': color === 'tertiary',
|
|
22
23
|
'button--tertiary-2': color === 'tertiary2',
|
|
23
|
-
'e-button--link': color === 'link',
|
|
24
24
|
'--styleless': color === 'styleless',
|
|
25
25
|
'--transparent': color === 'transparent',
|
|
26
26
|
'--disabled': disabled,
|
|
@@ -197,25 +197,6 @@ html[data-theme='primarygreen'] {
|
|
|
197
197
|
background-color: transparent;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
&.e-button--link {
|
|
201
|
-
padding: 0;
|
|
202
|
-
border: none;
|
|
203
|
-
background: none;
|
|
204
|
-
border-radius: 0;
|
|
205
|
-
color: var(--primary-main);
|
|
206
|
-
text-decoration: underline;
|
|
207
|
-
font-weight: inherit;
|
|
208
|
-
|
|
209
|
-
&:hover {
|
|
210
|
-
color: var(--primary-main-dark-1);
|
|
211
|
-
text-decoration: underline;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
label {
|
|
215
|
-
cursor: pointer;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
200
|
&.--disabled {
|
|
220
201
|
background-color: var(--neutral-neutral-4);
|
|
221
202
|
color: var(--neutral-neutral-1);
|
|
@@ -3,6 +3,7 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
import classNames from 'classnames'
|
|
4
4
|
|
|
5
5
|
import { type ButtonProps } from './ButtonProps.types'
|
|
6
|
+
// import './Button.scss'
|
|
6
7
|
|
|
7
8
|
const Button: FC<ButtonProps> = ({
|
|
8
9
|
label,
|
|
@@ -48,7 +49,6 @@ const Button: FC<ButtonProps> = ({
|
|
|
48
49
|
'--secondary-icon --dark': color === 'secondaryIconDark',
|
|
49
50
|
'button--tertiary-1': color === 'tertiary',
|
|
50
51
|
'button--tertiary-2': color === 'tertiary2',
|
|
51
|
-
'e-button--link': color === 'link',
|
|
52
52
|
'--styleless': color === 'styleless',
|
|
53
53
|
'--transparent': color === 'transparent',
|
|
54
54
|
'--disabled': disabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Colors = 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'tertiary2' | 'styleless' | 'transparent'
|
|
1
|
+
export type Colors = 'primary' | 'primary2' | 'primary3' | 'primary4' | 'secondary' | 'secondary2' | 'secondary3' | 'secondary4' | 'secondaryIcon' | 'secondaryIconBold' | 'secondaryIconDark' | 'tertiary' | 'tertiary2' | 'styleless' | 'transparent';
|
|
2
2
|
export interface ButtonProps {
|
|
3
3
|
label: string;
|
|
4
4
|
dataQa: string;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Sign24px } from '../../../../images/componentsSvg/Sign24px';
|
|
3
2
|
import { DocumentStatusStyled } from './DocumentStatus.styled';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
import { Done24px } from '../../../../images/componentsSvg/Done24px';
|
|
4
|
+
import { NewRelease24p } from '../../../../images/componentsSvg/NewRelease24p';
|
|
5
|
+
import { Sign24px } from '../../../../images/componentsSvg/Sign24px';
|
|
6
|
+
import { Time24px } from '../../../../images/componentsSvg/Time24px';
|
|
7
|
+
const DocumentStatus = ({ type, statusCompletedText, statusNewText, statusInProgressText, statusSignedText }) => {
|
|
8
|
+
if (type === 'complete' || type === 'downloaded' || type === 'pdf_processing' || type === 'pdf_generated') {
|
|
9
|
+
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-completed', children: [_jsx(Done24px, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusCompletedText })] }));
|
|
10
|
+
}
|
|
11
|
+
if (type === 'new') {
|
|
12
|
+
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-new', children: [_jsx(NewRelease24p, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusNewText })] }));
|
|
13
|
+
}
|
|
14
|
+
if (type === 'signed') {
|
|
15
|
+
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --is-signed', children: [_jsx(Sign24px, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusSignedText })] }));
|
|
16
|
+
}
|
|
17
|
+
return (_jsxs(DocumentStatusStyled, { "data-testid": 'document-status', className: 'document-status --in-progress', children: [_jsx(Time24px, { className: 'icon' }), _jsx("span", { className: 'sans-serif --small', children: statusInProgressText })] }));
|
|
8
18
|
};
|
|
9
19
|
export default DocumentStatus;
|
|
@@ -9,13 +9,8 @@ export const DocumentStatusStyled = styled.div `
|
|
|
9
9
|
align-items: center;
|
|
10
10
|
align-self: center;
|
|
11
11
|
padding: 0.125rem 0.5rem 0.125rem 0.25rem;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
background-color: var(--neutral-neutral-4);
|
|
16
|
-
border-color: var(--neutral-neutral-2);
|
|
17
|
-
color: var(--neutral-neutral-1);
|
|
18
|
-
|
|
12
|
+
margin-right: 0.5rem;
|
|
13
|
+
width: 7.36rem;
|
|
19
14
|
@include laptop {
|
|
20
15
|
align-self: flex-start;
|
|
21
16
|
}
|
|
@@ -25,56 +20,60 @@ export const DocumentStatusStyled = styled.div `
|
|
|
25
20
|
}
|
|
26
21
|
|
|
27
22
|
&.document-status {
|
|
28
|
-
& > .document-status__icon > path {
|
|
29
|
-
fill: var(--neutral-neutral-1);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
23
|
span {
|
|
33
24
|
font-weight: bold;
|
|
34
25
|
}
|
|
35
26
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
border-color: var(--neutral-neutral-4);
|
|
39
|
-
color: var(--neutral-neutral-2);
|
|
40
|
-
& > .document-status__icon > path {
|
|
41
|
-
fill: var(--neutral-neutral-2);
|
|
42
|
-
}
|
|
27
|
+
.icon {
|
|
28
|
+
margin-right: 0.25rem;
|
|
43
29
|
}
|
|
44
30
|
|
|
45
|
-
|
|
46
|
-
background-color: var(--
|
|
47
|
-
border-color: var(--
|
|
48
|
-
color: var(--
|
|
49
|
-
|
|
50
|
-
|
|
31
|
+
&.--is-completed {
|
|
32
|
+
background-color: var(--primary-main-light-5);
|
|
33
|
+
border-color: var(--primary-main-light-3);
|
|
34
|
+
color: var(--primary-main);
|
|
35
|
+
|
|
36
|
+
svg {
|
|
37
|
+
path {
|
|
38
|
+
fill: var(--primary-main);
|
|
39
|
+
}
|
|
51
40
|
}
|
|
52
41
|
}
|
|
53
42
|
|
|
54
|
-
|
|
55
|
-
background-color: var(--neutral-neutral-
|
|
56
|
-
border-color: var(--neutral-neutral-
|
|
43
|
+
&.--in-progress {
|
|
44
|
+
background-color: var(--neutral-neutral-5);
|
|
45
|
+
border-color: var(--neutral-neutral-3);
|
|
57
46
|
color: var(--neutral-neutral-1);
|
|
58
|
-
|
|
59
|
-
|
|
47
|
+
|
|
48
|
+
svg {
|
|
49
|
+
g > g {
|
|
50
|
+
fill: var(--neutral-neutral-1);
|
|
51
|
+
}
|
|
60
52
|
}
|
|
61
53
|
}
|
|
62
54
|
|
|
63
|
-
|
|
64
|
-
background-color: var(--
|
|
65
|
-
border-color: var(--
|
|
66
|
-
color: var(--
|
|
67
|
-
|
|
68
|
-
|
|
55
|
+
&.--is-new {
|
|
56
|
+
background-color: var(--primary-main-light-1);
|
|
57
|
+
border-color: var(--primary-main);
|
|
58
|
+
color: var(--secondary-main-light-4);
|
|
59
|
+
|
|
60
|
+
.icon {
|
|
61
|
+
margin-right: 1.4rem;
|
|
69
62
|
}
|
|
70
63
|
}
|
|
71
64
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
color: var(--primary-main-
|
|
76
|
-
|
|
77
|
-
|
|
65
|
+
&.--is-signed {
|
|
66
|
+
width: fit-content;
|
|
67
|
+
background-color: var(--primary-main-dark-2);
|
|
68
|
+
border-color: var(--primary-main-dark-2);
|
|
69
|
+
color: var(--others-white);
|
|
70
|
+
|
|
71
|
+
svg {
|
|
72
|
+
margin-right: 0.25rem;
|
|
73
|
+
|
|
74
|
+
path {
|
|
75
|
+
fill: var(--others-white);
|
|
76
|
+
}
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
79
|
}
|
|
@@ -10,13 +10,8 @@ export const DocumentStatusStyled = styled.div`
|
|
|
10
10
|
align-items: center;
|
|
11
11
|
align-self: center;
|
|
12
12
|
padding: 0.125rem 0.5rem 0.125rem 0.25rem;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
background-color: var(--neutral-neutral-4);
|
|
17
|
-
border-color: var(--neutral-neutral-2);
|
|
18
|
-
color: var(--neutral-neutral-1);
|
|
19
|
-
|
|
13
|
+
margin-right: 0.5rem;
|
|
14
|
+
width: 7.36rem;
|
|
20
15
|
@include laptop {
|
|
21
16
|
align-self: flex-start;
|
|
22
17
|
}
|
|
@@ -26,56 +21,60 @@ export const DocumentStatusStyled = styled.div`
|
|
|
26
21
|
}
|
|
27
22
|
|
|
28
23
|
&.document-status {
|
|
29
|
-
& > .document-status__icon > path {
|
|
30
|
-
fill: var(--neutral-neutral-1);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
24
|
span {
|
|
34
25
|
font-weight: bold;
|
|
35
26
|
}
|
|
36
27
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
border-color: var(--neutral-neutral-4);
|
|
40
|
-
color: var(--neutral-neutral-2);
|
|
41
|
-
& > .document-status__icon > path {
|
|
42
|
-
fill: var(--neutral-neutral-2);
|
|
43
|
-
}
|
|
28
|
+
.icon {
|
|
29
|
+
margin-right: 0.25rem;
|
|
44
30
|
}
|
|
45
31
|
|
|
46
|
-
|
|
47
|
-
background-color: var(--
|
|
48
|
-
border-color: var(--
|
|
49
|
-
color: var(--
|
|
50
|
-
|
|
51
|
-
|
|
32
|
+
&.--is-completed {
|
|
33
|
+
background-color: var(--primary-main-light-5);
|
|
34
|
+
border-color: var(--primary-main-light-3);
|
|
35
|
+
color: var(--primary-main);
|
|
36
|
+
|
|
37
|
+
svg {
|
|
38
|
+
path {
|
|
39
|
+
fill: var(--primary-main);
|
|
40
|
+
}
|
|
52
41
|
}
|
|
53
42
|
}
|
|
54
43
|
|
|
55
|
-
|
|
56
|
-
background-color: var(--neutral-neutral-
|
|
57
|
-
border-color: var(--neutral-neutral-
|
|
44
|
+
&.--in-progress {
|
|
45
|
+
background-color: var(--neutral-neutral-5);
|
|
46
|
+
border-color: var(--neutral-neutral-3);
|
|
58
47
|
color: var(--neutral-neutral-1);
|
|
59
|
-
|
|
60
|
-
|
|
48
|
+
|
|
49
|
+
svg {
|
|
50
|
+
g > g {
|
|
51
|
+
fill: var(--neutral-neutral-1);
|
|
52
|
+
}
|
|
61
53
|
}
|
|
62
54
|
}
|
|
63
55
|
|
|
64
|
-
|
|
65
|
-
background-color: var(--
|
|
66
|
-
border-color: var(--
|
|
67
|
-
color: var(--
|
|
68
|
-
|
|
69
|
-
|
|
56
|
+
&.--is-new {
|
|
57
|
+
background-color: var(--primary-main-light-1);
|
|
58
|
+
border-color: var(--primary-main);
|
|
59
|
+
color: var(--secondary-main-light-4);
|
|
60
|
+
|
|
61
|
+
.icon {
|
|
62
|
+
margin-right: 1.4rem;
|
|
70
63
|
}
|
|
71
64
|
}
|
|
72
65
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
color: var(--primary-main-
|
|
77
|
-
|
|
78
|
-
|
|
66
|
+
&.--is-signed {
|
|
67
|
+
width: fit-content;
|
|
68
|
+
background-color: var(--primary-main-dark-2);
|
|
69
|
+
border-color: var(--primary-main-dark-2);
|
|
70
|
+
color: var(--others-white);
|
|
71
|
+
|
|
72
|
+
svg {
|
|
73
|
+
margin-right: 0.25rem;
|
|
74
|
+
|
|
75
|
+
path {
|
|
76
|
+
fill: var(--others-white);
|
|
77
|
+
}
|
|
79
78
|
}
|
|
80
79
|
}
|
|
81
80
|
}
|