@npm_leadtech/legal-lib-components 0.46.1 → 0.47.0
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/README.md +0 -1
- package/build/index.js +1 -1
- package/coverage/clover.xml +70 -25
- package/coverage/coverage-final.json +7 -1
- package/coverage/lcov-report/images/componentsSvg/Done24px.js.html +157 -0
- package/coverage/lcov-report/images/componentsSvg/InfoError24pxOutlined.js.html +193 -0
- package/coverage/lcov-report/images/componentsSvg/NewRelease24p.js.html +166 -0
- package/coverage/lcov-report/images/componentsSvg/Time24px.js.html +187 -0
- package/coverage/lcov-report/images/componentsSvg/index.html +161 -0
- package/coverage/lcov-report/index.html +76 -31
- package/coverage/lcov-report/src/components/atoms/AddButton/AddButton.js.html +229 -0
- package/coverage/lcov-report/src/components/atoms/AddButton/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/BillCard/BillCard.js.html +166 -0
- package/coverage/lcov-report/src/components/atoms/BillCard/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/Button/Button.js.html +550 -0
- package/coverage/lcov-report/src/components/atoms/Button/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/CardPane/CardPane.js.html +220 -0
- package/coverage/lcov-report/src/components/atoms/CardPane/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/Checkbox/Checkbox.js.html +214 -0
- package/coverage/lcov-report/src/components/atoms/Checkbox/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/DatePickerCustom/DatePickerCustom.js.html +628 -0
- package/coverage/lcov-report/src/components/atoms/DatePickerCustom/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/Disclaimer/Disclaimer.js.html +259 -0
- package/coverage/lcov-report/src/components/atoms/Disclaimer/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/DocumentStatus/DocumentStatus.js.html +208 -0
- package/coverage/lcov-report/src/components/atoms/DocumentStatus/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/FormFaq/FormFaq.js.html +244 -0
- package/coverage/lcov-report/src/components/atoms/FormFaq/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/IconImage/IconImage.js.html +139 -0
- package/coverage/lcov-report/src/components/atoms/IconImage/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/InfoBox/InfoBox.js.html +154 -0
- package/coverage/lcov-report/src/components/atoms/InfoBox/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/LogoText/LogoText.js.html +169 -0
- package/coverage/lcov-report/src/components/atoms/LogoText/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/Message/Message.js.html +133 -0
- package/coverage/lcov-report/src/components/atoms/Message/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/PaypalButton/PaypalButton.js.html +133 -0
- package/coverage/lcov-report/src/components/atoms/PaypalButton/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/ProgressBar/ProgressBar.js.html +142 -0
- package/coverage/lcov-report/src/components/atoms/ProgressBar/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/Radio/Radio.js.html +310 -0
- package/coverage/lcov-report/src/components/atoms/Radio/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/RemoveButton/RemoveButton.js.html +229 -0
- package/coverage/lcov-report/src/components/atoms/RemoveButton/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/RichTextInner/RichTextInner.js.html +121 -0
- package/coverage/lcov-report/src/components/atoms/RichTextInner/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/SearchSelect/SearchSelect.js.html +379 -0
- package/coverage/lcov-report/src/components/atoms/SearchSelect/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/SidemenuTab/SidemenuTab.js.html +172 -0
- package/coverage/lcov-report/src/components/atoms/SidemenuTab/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/Spinner/Spinner.js.html +145 -0
- package/coverage/lcov-report/src/components/atoms/Spinner/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/TestAB/TestAB.js.html +169 -0
- package/coverage/lcov-report/src/components/atoms/TestAB/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/Toggle/Toggle.js.html +163 -0
- package/coverage/lcov-report/src/components/atoms/Toggle/index.html +116 -0
- package/coverage/lcov-report/src/utils/envVariables.js.html +88 -0
- package/coverage/lcov-report/src/utils/index.html +116 -0
- package/coverage/lcov.info +86 -0
- package/images/componentsSvg/Done24px.js +24 -0
- package/images/componentsSvg/InfoError24pxOutlined.js +36 -0
- package/images/componentsSvg/NewRelease24p.js +27 -0
- package/images/componentsSvg/Time24px.js +34 -0
- package/images/png/buy-logo-large-en.png +0 -0
- package/package.json +5 -6
- package/images/componentsSvg/done-24-px.svg +0 -14
- package/images/componentsSvg/info-error_24px_outlined.svg +0 -15
- package/images/componentsSvg/new-release-24-p.svg +0 -14
- package/images/componentsSvg/time-24-px.svg +0 -14
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for src/utils</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../base.css" />
|
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../favicon.png" />
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<style type='text/css'>
|
|
13
|
+
.coverage-summary .sorter {
|
|
14
|
+
background-image: url(../../sort-arrow-sprite.png);
|
|
15
|
+
}
|
|
16
|
+
</style>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<div class='wrapper'>
|
|
21
|
+
<div class='pad1'>
|
|
22
|
+
<h1><a href="../../index.html">All files</a> src/utils</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>1/1</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>0/0</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>1/1</span>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
<p class="quiet">
|
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
56
|
+
</p>
|
|
57
|
+
<template id="filterTemplate">
|
|
58
|
+
<div class="quiet">
|
|
59
|
+
Filter:
|
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
63
|
+
</div>
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
|
+
<div class="pad1">
|
|
66
|
+
<table class="coverage-summary">
|
|
67
|
+
<thead>
|
|
68
|
+
<tr>
|
|
69
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
70
|
+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
71
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
72
|
+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
73
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
74
|
+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
75
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
76
|
+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
77
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
78
|
+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
79
|
+
</tr>
|
|
80
|
+
</thead>
|
|
81
|
+
<tbody><tr>
|
|
82
|
+
<td class="file high" data-value="envVariables.js"><a href="envVariables.js.html">envVariables.js</a></td>
|
|
83
|
+
<td data-value="100" class="pic high">
|
|
84
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
85
|
+
</td>
|
|
86
|
+
<td data-value="100" class="pct high">100%</td>
|
|
87
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
90
|
+
<td data-value="100" class="pct high">100%</td>
|
|
91
|
+
<td data-value="0" class="abs high">0/0</td>
|
|
92
|
+
<td data-value="100" class="pct high">100%</td>
|
|
93
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
94
|
+
</tr>
|
|
95
|
+
|
|
96
|
+
</tbody>
|
|
97
|
+
</table>
|
|
98
|
+
</div>
|
|
99
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
100
|
+
</div><!-- /wrapper -->
|
|
101
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
|
+
Code coverage generated by
|
|
103
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
104
|
+
at Wed Feb 02 2022 11:32:39 GMT+0100 (GMT+01:00)
|
|
105
|
+
</div>
|
|
106
|
+
<script src="../../prettify.js"></script>
|
|
107
|
+
<script>
|
|
108
|
+
window.onload = function () {
|
|
109
|
+
prettyPrint();
|
|
110
|
+
};
|
|
111
|
+
</script>
|
|
112
|
+
<script src="../../sorter.js"></script>
|
|
113
|
+
<script src="../../block-navigation.js"></script>
|
|
114
|
+
</body>
|
|
115
|
+
</html>
|
|
116
|
+
|
package/coverage/lcov.info
CHANGED
|
@@ -1,4 +1,60 @@
|
|
|
1
1
|
TN:
|
|
2
|
+
SF:images/componentsSvg/Done24px.js
|
|
3
|
+
FN:5,(anonymous_0)
|
|
4
|
+
FNF:1
|
|
5
|
+
FNH:1
|
|
6
|
+
FNDA:1,(anonymous_0)
|
|
7
|
+
DA:5,1
|
|
8
|
+
DA:6,1
|
|
9
|
+
DA:22,1
|
|
10
|
+
LF:3
|
|
11
|
+
LH:3
|
|
12
|
+
BRF:0
|
|
13
|
+
BRH:0
|
|
14
|
+
end_of_record
|
|
15
|
+
TN:
|
|
16
|
+
SF:images/componentsSvg/InfoError24pxOutlined.js
|
|
17
|
+
FN:5,(anonymous_0)
|
|
18
|
+
FNF:1
|
|
19
|
+
FNH:1
|
|
20
|
+
FNDA:3,(anonymous_0)
|
|
21
|
+
DA:5,1
|
|
22
|
+
DA:6,3
|
|
23
|
+
DA:33,1
|
|
24
|
+
LF:3
|
|
25
|
+
LH:3
|
|
26
|
+
BRF:0
|
|
27
|
+
BRH:0
|
|
28
|
+
end_of_record
|
|
29
|
+
TN:
|
|
30
|
+
SF:images/componentsSvg/NewRelease24p.js
|
|
31
|
+
FN:5,(anonymous_0)
|
|
32
|
+
FNF:1
|
|
33
|
+
FNH:1
|
|
34
|
+
FNDA:1,(anonymous_0)
|
|
35
|
+
DA:5,1
|
|
36
|
+
DA:6,1
|
|
37
|
+
DA:25,1
|
|
38
|
+
LF:3
|
|
39
|
+
LH:3
|
|
40
|
+
BRF:0
|
|
41
|
+
BRH:0
|
|
42
|
+
end_of_record
|
|
43
|
+
TN:
|
|
44
|
+
SF:images/componentsSvg/Time24px.js
|
|
45
|
+
FN:5,(anonymous_0)
|
|
46
|
+
FNF:1
|
|
47
|
+
FNH:1
|
|
48
|
+
FNDA:1,(anonymous_0)
|
|
49
|
+
DA:5,1
|
|
50
|
+
DA:6,1
|
|
51
|
+
DA:32,1
|
|
52
|
+
LF:3
|
|
53
|
+
LH:3
|
|
54
|
+
BRF:0
|
|
55
|
+
BRH:0
|
|
56
|
+
end_of_record
|
|
57
|
+
TN:
|
|
2
58
|
SF:src/components/atoms/AddButton/AddButton.js
|
|
3
59
|
FN:5,(anonymous_0)
|
|
4
60
|
FNF:1
|
|
@@ -408,6 +464,20 @@ BRF:0
|
|
|
408
464
|
BRH:0
|
|
409
465
|
end_of_record
|
|
410
466
|
TN:
|
|
467
|
+
SF:src/components/atoms/PaypalButton/PaypalButton.js
|
|
468
|
+
FN:6,(anonymous_0)
|
|
469
|
+
FNF:1
|
|
470
|
+
FNH:1
|
|
471
|
+
FNDA:1,(anonymous_0)
|
|
472
|
+
DA:6,1
|
|
473
|
+
DA:7,1
|
|
474
|
+
DA:14,1
|
|
475
|
+
LF:3
|
|
476
|
+
LH:3
|
|
477
|
+
BRF:0
|
|
478
|
+
BRH:0
|
|
479
|
+
end_of_record
|
|
480
|
+
TN:
|
|
411
481
|
SF:src/components/atoms/ProgressBar/ProgressBar.js
|
|
412
482
|
FN:5,(anonymous_0)
|
|
413
483
|
FNF:1
|
|
@@ -481,6 +551,22 @@ BRF:6
|
|
|
481
551
|
BRH:5
|
|
482
552
|
end_of_record
|
|
483
553
|
TN:
|
|
554
|
+
SF:src/components/atoms/RichTextInner/RichTextInner.js
|
|
555
|
+
FN:5,(anonymous_0)
|
|
556
|
+
FNF:1
|
|
557
|
+
FNH:1
|
|
558
|
+
FNDA:2,(anonymous_0)
|
|
559
|
+
DA:5,1
|
|
560
|
+
DA:6,2
|
|
561
|
+
DA:9,1
|
|
562
|
+
LF:3
|
|
563
|
+
LH:3
|
|
564
|
+
BRDA:6,0,0,2
|
|
565
|
+
BRDA:6,0,1,0
|
|
566
|
+
BRF:2
|
|
567
|
+
BRH:1
|
|
568
|
+
end_of_record
|
|
569
|
+
TN:
|
|
484
570
|
SF:src/components/atoms/SearchSelect/SearchSelect.js
|
|
485
571
|
FN:7,(anonymous_0)
|
|
486
572
|
FN:9,(anonymous_1)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
|
|
5
|
+
export const Done24px = ({ className }) => (
|
|
6
|
+
<svg className={className} xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'>
|
|
7
|
+
<defs>
|
|
8
|
+
<path id='done' d='M5.867 10.6L3.067 7.8 2.133 8.733 5.867 12.467 13.867 4.467 12.933 3.533z' />
|
|
9
|
+
</defs>
|
|
10
|
+
<g fill='none' fillRule='evenodd'>
|
|
11
|
+
<path d='M0 0H16V16H0z' />
|
|
12
|
+
<mask id='done2' fill='#fff'>
|
|
13
|
+
<use xlinkHref='#done' />
|
|
14
|
+
</mask>
|
|
15
|
+
<g fill='#078080' mask='url(#done2)'>
|
|
16
|
+
<path d='M0 0H16V16H0z' />
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
Done24px.propTypes = {
|
|
23
|
+
className: PropTypes.string,
|
|
24
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
|
|
5
|
+
export const InfoError24pxOutlined = ({ className, fill }) => (
|
|
6
|
+
<svg
|
|
7
|
+
className={className}
|
|
8
|
+
fill={fill}
|
|
9
|
+
width='24px'
|
|
10
|
+
height='24px'
|
|
11
|
+
viewBox='0 0 24 24'
|
|
12
|
+
version='1.1'
|
|
13
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
14
|
+
xmlnsXlink='http://www.w3.org/1999/xlink'
|
|
15
|
+
>
|
|
16
|
+
<title>icon/info-error_24px_outlined</title>
|
|
17
|
+
<desc>Created with Sketch.</desc>
|
|
18
|
+
<defs>
|
|
19
|
+
<path
|
|
20
|
+
d='M12,2 C6.47,2 2,6.47 2,12 C2,17.53 6.47,22 12,22 C17.53,22 22,17.53 22,12 C22,6.47 17.53,2 12,2 Z M12,20 C7.59,20 4,16.41 4,12 C4,7.59 7.59,4 12,4 C16.41,4 20,7.59 20,12 C20,16.41 16.41,20 12,20 Z M11,11 L13,11 L13,17 L11,17 L11,11 Z M11,7 L13,7 L13,9 L11,9 L11,7 Z'
|
|
21
|
+
id='path-1'
|
|
22
|
+
></path>
|
|
23
|
+
</defs>
|
|
24
|
+
<g id='icon/info-error_24px' stroke='none' strokeWidth='1' fill='none' fillRule='evenodd'>
|
|
25
|
+
<mask id='mask-2' fill='white'>
|
|
26
|
+
<use xlinkHref='#path-1'></use>
|
|
27
|
+
</mask>
|
|
28
|
+
<use id='icon/navigation/cancel_24px' fill='#D63737' fillRule='nonzero' xlinkHref='#path-1'></use>
|
|
29
|
+
</g>
|
|
30
|
+
</svg>
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
InfoError24pxOutlined.propTypes = {
|
|
34
|
+
className: PropTypes.string,
|
|
35
|
+
fill: PropTypes.string,
|
|
36
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
|
|
5
|
+
export const NewRelease24p = ({ className }) => (
|
|
6
|
+
<svg className={className} xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'>
|
|
7
|
+
<defs>
|
|
8
|
+
<path
|
|
9
|
+
id='new-release__a'
|
|
10
|
+
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'
|
|
11
|
+
/>
|
|
12
|
+
</defs>
|
|
13
|
+
<g fill='none' fillRule='evenodd'>
|
|
14
|
+
<path d='M0 0H16V16H0z' />
|
|
15
|
+
<mask id='new-release__b' fill='#fff'>
|
|
16
|
+
<use xlinkHref='#new-release__a' />
|
|
17
|
+
</mask>
|
|
18
|
+
<g fill='#FCF4E5' mask='url(#new-release__b)'>
|
|
19
|
+
<path d='M0 0H16V16H0z' />
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
NewRelease24p.propTypes = {
|
|
26
|
+
className: PropTypes.string,
|
|
27
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
|
|
5
|
+
export const Time24px = ({ className }) => (
|
|
6
|
+
<svg
|
|
7
|
+
className={className}
|
|
8
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
9
|
+
xmlnsXlink='http://www.w3.org/1999/xlink'
|
|
10
|
+
width='16'
|
|
11
|
+
height='16'
|
|
12
|
+
viewBox='0 0 16 16'
|
|
13
|
+
>
|
|
14
|
+
<defs>
|
|
15
|
+
<path
|
|
16
|
+
id='time'
|
|
17
|
+
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'
|
|
18
|
+
/>
|
|
19
|
+
</defs>
|
|
20
|
+
<g fill='none' fillRule='evenodd'>
|
|
21
|
+
<path d='M0 0H16V16H0z' />
|
|
22
|
+
<mask id='time2' fill='#fff'>
|
|
23
|
+
<use xlinkHref='#time' />
|
|
24
|
+
</mask>
|
|
25
|
+
<g fill='#936C2F' mask='url(#time2)'>
|
|
26
|
+
<path d='M0 0H16V16H0z' />
|
|
27
|
+
</g>
|
|
28
|
+
</g>
|
|
29
|
+
</svg>
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
Time24px.propTypes = {
|
|
33
|
+
className: PropTypes.string,
|
|
34
|
+
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^5.14.1",
|
|
6
6
|
"postcss-url": "^10.1.3",
|
|
@@ -28,14 +28,13 @@
|
|
|
28
28
|
"@babel/preset-react": "^7.12.13",
|
|
29
29
|
"@rollup/plugin-babel": "^5.2.3",
|
|
30
30
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
31
|
+
"@rollup/plugin-image": "^2.1.1",
|
|
31
32
|
"@rollup/plugin-node-resolve": "^11.1.1",
|
|
32
33
|
"@rollup/plugin-url": "^6.0.0",
|
|
33
34
|
"@storybook/addon-actions": "^6.1.17",
|
|
34
35
|
"@storybook/addon-essentials": "^6.1.17",
|
|
35
36
|
"@storybook/addon-links": "^6.1.17",
|
|
36
37
|
"@storybook/react": "^6.1.17",
|
|
37
|
-
"@svgr/rollup": "^5.5.0",
|
|
38
|
-
"@svgr/webpack": "^5.5.0",
|
|
39
38
|
"@testing-library/jest-dom": "^5.11.10",
|
|
40
39
|
"@testing-library/react": "^11.2.5",
|
|
41
40
|
"autoprefixer": "^10.2.4",
|
|
@@ -82,9 +81,9 @@
|
|
|
82
81
|
"start": "start-storybook -p 6006",
|
|
83
82
|
"build": "rm -rf build && rollup -c",
|
|
84
83
|
"reinstall-force": "rm -Rf node_modules && yarn",
|
|
85
|
-
"upgrade-patch": "yarn
|
|
86
|
-
"upgrade-minor": "yarn
|
|
87
|
-
"upgrade-major": "yarn
|
|
84
|
+
"upgrade-patch": "yarn reinstall-force && yarn build && git add . && git commit -m \"$MSG\" && npm config set tag-version-prefix '' && npm version patch -m \"Update patch version number\" && git push && git push --tags",
|
|
85
|
+
"upgrade-minor": "yarn reinstall-force && yarn build && git add . && git commit -m \"$MSG\" && npm config set tag-version-prefix '' && npm version minor -m \"Update minor version number\" && git push && git push --tags",
|
|
86
|
+
"upgrade-major": "yarn reinstall-force && yarn build && git add . && git commit -m \"$MSG\" && npm config set tag-version-prefix '' && npm version major -m \"Update major version number\" && git push && git push --tags",
|
|
88
87
|
"format": "prettier --write \"**/*.(js|jsx|json|md)\"",
|
|
89
88
|
"test": "jest --coverage"
|
|
90
89
|
},
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<defs>
|
|
3
|
-
<path id="done" d="M5.867 10.6L3.067 7.8 2.133 8.733 5.867 12.467 13.867 4.467 12.933 3.533z"/>
|
|
4
|
-
</defs>
|
|
5
|
-
<g fill="none" fill-rule="evenodd">
|
|
6
|
-
<path d="M0 0H16V16H0z"/>
|
|
7
|
-
<mask id="done2" fill="#fff">
|
|
8
|
-
<use xlink:href="#done"/>
|
|
9
|
-
</mask>
|
|
10
|
-
<g fill="#078080" mask="url(#done2)">
|
|
11
|
-
<path d="M0 0H16V16H0z"/>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 60 (88103) - https://sketch.com -->
|
|
4
|
-
<title>icon/info-error_24px_outlined</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<defs>
|
|
7
|
-
<path d="M12,2 C6.47,2 2,6.47 2,12 C2,17.53 6.47,22 12,22 C17.53,22 22,17.53 22,12 C22,6.47 17.53,2 12,2 Z M12,20 C7.59,20 4,16.41 4,12 C4,7.59 7.59,4 12,4 C16.41,4 20,7.59 20,12 C20,16.41 16.41,20 12,20 Z M11,11 L13,11 L13,17 L11,17 L11,11 Z M11,7 L13,7 L13,9 L11,9 L11,7 Z" id="path-1"></path>
|
|
8
|
-
</defs>
|
|
9
|
-
<g id="icon/info-error_24px" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
-
<mask id="mask-2" fill="white">
|
|
11
|
-
<use xlink:href="#path-1"></use>
|
|
12
|
-
</mask>
|
|
13
|
-
<use id="icon/navigation/cancel_24px" fill="#D63737" fill-rule="nonzero" xlink:href="#path-1"></use>
|
|
14
|
-
</g>
|
|
15
|
-
</svg>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<defs>
|
|
3
|
-
<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"/>
|
|
4
|
-
</defs>
|
|
5
|
-
<g fill="none" fill-rule="evenodd">
|
|
6
|
-
<path d="M0 0H16V16H0z"/>
|
|
7
|
-
<mask id="new-release__b" fill="#fff">
|
|
8
|
-
<use xlink:href="#new-release__a"/>
|
|
9
|
-
</mask>
|
|
10
|
-
<g fill="#FCF4E5" mask="url(#new-release__b)">
|
|
11
|
-
<path d="M0 0H16V16H0z"/>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
|
|
2
|
-
<defs>
|
|
3
|
-
<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"/>
|
|
4
|
-
</defs>
|
|
5
|
-
<g fill="none" fill-rule="evenodd">
|
|
6
|
-
<path d="M0 0H16V16H0z"/>
|
|
7
|
-
<mask id="time2" fill="#fff">
|
|
8
|
-
<use xlink:href="#time"/>
|
|
9
|
-
</mask>
|
|
10
|
-
<g fill="#936C2F" mask="url(#time2)">
|
|
11
|
-
<path d="M0 0H16V16H0z"/>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|