@npm_leadtech/legal-lib-components 0.46.0 → 0.46.1
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 +1 -0
- package/build/index.js +1 -1
- package/coverage/clover.xml +2 -2
- package/coverage/coverage-final.json +22 -1590
- package/coverage/lcov-report/block-navigation.js +68 -56
- package/coverage/lcov-report/components/atoms/AddButton/AddButton.js.html +1 -1
- package/coverage/lcov-report/components/atoms/AddButton/index.html +1 -1
- package/coverage/lcov-report/components/atoms/BillCard/BillCard.js.html +1 -1
- package/coverage/lcov-report/components/atoms/BillCard/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Button/Button.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Button/index.html +1 -1
- package/coverage/lcov-report/components/atoms/CardPane/CardPane.js.html +1 -1
- package/coverage/lcov-report/components/atoms/CardPane/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Checkbox/Checkbox.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Checkbox/index.html +1 -1
- package/coverage/lcov-report/components/atoms/DatePickerCustom/DatePickerCustom.js.html +1 -1
- package/coverage/lcov-report/components/atoms/DatePickerCustom/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Disclaimer/Disclaimer.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Disclaimer/index.html +1 -1
- package/coverage/lcov-report/components/atoms/DocumentStatus/DocumentStatus.js.html +1 -1
- package/coverage/lcov-report/components/atoms/DocumentStatus/index.html +1 -1
- package/coverage/lcov-report/components/atoms/FormFaq/FormFaq.js.html +1 -1
- package/coverage/lcov-report/components/atoms/FormFaq/index.html +1 -1
- package/coverage/lcov-report/components/atoms/IconImage/IconImage.js.html +1 -1
- package/coverage/lcov-report/components/atoms/IconImage/index.html +1 -1
- package/coverage/lcov-report/components/atoms/InfoBox/InfoBox.js.html +1 -1
- package/coverage/lcov-report/components/atoms/InfoBox/index.html +1 -1
- package/coverage/lcov-report/components/atoms/LogoText/LogoText.js.html +1 -1
- package/coverage/lcov-report/components/atoms/LogoText/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Message/Message.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Message/index.html +1 -1
- package/coverage/lcov-report/components/atoms/ProgressBar/ProgressBar.js.html +1 -1
- package/coverage/lcov-report/components/atoms/ProgressBar/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Radio/Radio.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Radio/index.html +1 -1
- package/coverage/lcov-report/components/atoms/RemoveButton/RemoveButton.js.html +1 -1
- package/coverage/lcov-report/components/atoms/RemoveButton/index.html +1 -1
- package/coverage/lcov-report/components/atoms/SearchSelect/SearchSelect.js.html +3 -3
- package/coverage/lcov-report/components/atoms/SearchSelect/index.html +1 -1
- package/coverage/lcov-report/components/atoms/SidemenuTab/SidemenuTab.js.html +1 -1
- package/coverage/lcov-report/components/atoms/SidemenuTab/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Spinner/Spinner.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Spinner/index.html +1 -1
- package/coverage/lcov-report/components/atoms/TestAB/TestAB.js.html +1 -1
- package/coverage/lcov-report/components/atoms/TestAB/index.html +1 -1
- package/coverage/lcov-report/components/atoms/Toggle/Toggle.js.html +1 -1
- package/coverage/lcov-report/components/atoms/Toggle/index.html +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/prettify.js +1 -895
- package/coverage/lcov-report/sorter.js +172 -165
- package/coverage/lcov-report/utils/envVariables.js.html +1 -1
- package/coverage/lcov-report/utils/index.html +1 -1
- package/images/componentsSvg/done-24-px.svg +14 -0
- package/images/componentsSvg/info-error_24px_outlined.svg +15 -0
- package/images/componentsSvg/new-release-24-p.svg +14 -0
- package/images/componentsSvg/time-24-px.svg +14 -0
- package/package.json +4 -3
- package/images/componentsSvg/Done24px.js +0 -24
- package/images/componentsSvg/InfoError24pxOutlined.js +0 -36
- package/images/componentsSvg/NewRelease24p.js +0 -27
- package/images/componentsSvg/Time24px.js +0 -34
- package/images/png/buy-logo-large-en.png +0 -0
|
@@ -1,189 +1,196 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
var addSorting = (function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
var addSorting = (function() {
|
|
3
|
+
'use strict';
|
|
4
|
+
var cols,
|
|
5
|
+
currentSort = {
|
|
6
|
+
index: 0,
|
|
7
|
+
desc: false
|
|
8
|
+
};
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
// returns the summary table element
|
|
11
|
+
function getTable() {
|
|
12
|
+
return document.querySelector('.coverage-summary');
|
|
13
|
+
}
|
|
14
|
+
// returns the thead element of the summary table
|
|
15
|
+
function getTableHeader() {
|
|
16
|
+
return getTable().querySelector('thead tr');
|
|
17
|
+
}
|
|
18
|
+
// returns the tbody element of the summary table
|
|
19
|
+
function getTableBody() {
|
|
20
|
+
return getTable().querySelector('tbody');
|
|
21
|
+
}
|
|
22
|
+
// returns the th element for nth column
|
|
23
|
+
function getNthColumn(n) {
|
|
24
|
+
return getTableHeader().querySelectorAll('th')[n];
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
function onFilterInput() {
|
|
28
|
+
const searchValue = document.getElementById('fileSearch').value;
|
|
29
|
+
const rows = document.getElementsByTagName('tbody')[0].children;
|
|
30
|
+
for (let i = 0; i < rows.length; i++) {
|
|
31
|
+
const row = rows[i];
|
|
32
|
+
if (
|
|
33
|
+
row.textContent
|
|
34
|
+
.toLowerCase()
|
|
35
|
+
.includes(searchValue.toLowerCase())
|
|
36
|
+
) {
|
|
37
|
+
row.style.display = '';
|
|
38
|
+
} else {
|
|
39
|
+
row.style.display = 'none';
|
|
40
|
+
}
|
|
41
|
+
}
|
|
37
42
|
}
|
|
38
|
-
}
|
|
39
43
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
// loads the search box
|
|
45
|
+
function addSearchBox() {
|
|
46
|
+
var template = document.getElementById('filterTemplate');
|
|
47
|
+
var templateClone = template.content.cloneNode(true);
|
|
48
|
+
templateClone.getElementById('fileSearch').oninput = onFilterInput;
|
|
49
|
+
template.parentElement.appendChild(templateClone);
|
|
50
|
+
}
|
|
47
51
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
// loads all columns
|
|
53
|
+
function loadColumns() {
|
|
54
|
+
var colNodes = getTableHeader().querySelectorAll('th'),
|
|
55
|
+
colNode,
|
|
56
|
+
cols = [],
|
|
57
|
+
col,
|
|
58
|
+
i;
|
|
55
59
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
for (i = 0; i < colNodes.length; i += 1) {
|
|
61
|
+
colNode = colNodes[i];
|
|
62
|
+
col = {
|
|
63
|
+
key: colNode.getAttribute('data-col'),
|
|
64
|
+
sortable: !colNode.getAttribute('data-nosort'),
|
|
65
|
+
type: colNode.getAttribute('data-type') || 'string'
|
|
66
|
+
};
|
|
67
|
+
cols.push(col);
|
|
68
|
+
if (col.sortable) {
|
|
69
|
+
col.defaultDescSort = col.type === 'number';
|
|
70
|
+
colNode.innerHTML =
|
|
71
|
+
colNode.innerHTML + '<span class="sorter"></span>';
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return cols;
|
|
68
75
|
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
// attaches a data attribute to every tr element with an object
|
|
77
|
+
// of data values keyed by column name
|
|
78
|
+
function loadRowData(tableRow) {
|
|
79
|
+
var tableCols = tableRow.querySelectorAll('td'),
|
|
80
|
+
colNode,
|
|
81
|
+
col,
|
|
82
|
+
data = {},
|
|
83
|
+
i,
|
|
84
|
+
val;
|
|
85
|
+
for (i = 0; i < tableCols.length; i += 1) {
|
|
86
|
+
colNode = tableCols[i];
|
|
87
|
+
col = cols[i];
|
|
88
|
+
val = colNode.getAttribute('data-value');
|
|
89
|
+
if (col.type === 'number') {
|
|
90
|
+
val = Number(val);
|
|
91
|
+
}
|
|
92
|
+
data[col.key] = val;
|
|
93
|
+
}
|
|
94
|
+
return data;
|
|
88
95
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
var rows = getTableBody().querySelectorAll('tr'),
|
|
94
|
-
i;
|
|
96
|
+
// loads all row data
|
|
97
|
+
function loadData() {
|
|
98
|
+
var rows = getTableBody().querySelectorAll('tr'),
|
|
99
|
+
i;
|
|
95
100
|
|
|
96
|
-
|
|
97
|
-
|
|
101
|
+
for (i = 0; i < rows.length; i += 1) {
|
|
102
|
+
rows[i].data = loadRowData(rows[i]);
|
|
103
|
+
}
|
|
98
104
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
i;
|
|
105
|
+
// sorts the table using the data for the ith column
|
|
106
|
+
function sortByIndex(index, desc) {
|
|
107
|
+
var key = cols[index].key,
|
|
108
|
+
sorter = function(a, b) {
|
|
109
|
+
a = a.data[key];
|
|
110
|
+
b = b.data[key];
|
|
111
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
|
112
|
+
},
|
|
113
|
+
finalSorter = sorter,
|
|
114
|
+
tableBody = document.querySelector('.coverage-summary tbody'),
|
|
115
|
+
rowNodes = tableBody.querySelectorAll('tr'),
|
|
116
|
+
rows = [],
|
|
117
|
+
i;
|
|
113
118
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
+
if (desc) {
|
|
120
|
+
finalSorter = function(a, b) {
|
|
121
|
+
return -1 * sorter(a, b);
|
|
122
|
+
};
|
|
123
|
+
}
|
|
119
124
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
for (i = 0; i < rowNodes.length; i += 1) {
|
|
126
|
+
rows.push(rowNodes[i]);
|
|
127
|
+
tableBody.removeChild(rowNodes[i]);
|
|
128
|
+
}
|
|
124
129
|
|
|
125
|
-
|
|
130
|
+
rows.sort(finalSorter);
|
|
126
131
|
|
|
127
|
-
|
|
128
|
-
|
|
132
|
+
for (i = 0; i < rows.length; i += 1) {
|
|
133
|
+
tableBody.appendChild(rows[i]);
|
|
134
|
+
}
|
|
129
135
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
cls = col.className;
|
|
136
|
+
// removes sort indicators for current column being sorted
|
|
137
|
+
function removeSortIndicators() {
|
|
138
|
+
var col = getNthColumn(currentSort.index),
|
|
139
|
+
cls = col.className;
|
|
135
140
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
141
|
+
cls = cls.replace(/ sorted$/, '').replace(/ sorted-desc$/, '');
|
|
142
|
+
col.className = cls;
|
|
143
|
+
}
|
|
144
|
+
// adds sort indicators for current column being sorted
|
|
145
|
+
function addSortIndicators() {
|
|
146
|
+
getNthColumn(currentSort.index).className += currentSort.desc
|
|
147
|
+
? ' sorted-desc'
|
|
148
|
+
: ' sorted';
|
|
149
|
+
}
|
|
150
|
+
// adds event listeners for all sorter widgets
|
|
151
|
+
function enableUI() {
|
|
152
|
+
var i,
|
|
153
|
+
el,
|
|
154
|
+
ithSorter = function ithSorter(i) {
|
|
155
|
+
var col = cols[i];
|
|
149
156
|
|
|
150
|
-
|
|
151
|
-
|
|
157
|
+
return function() {
|
|
158
|
+
var desc = col.defaultDescSort;
|
|
152
159
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
160
|
+
if (currentSort.index === i) {
|
|
161
|
+
desc = !currentSort.desc;
|
|
162
|
+
}
|
|
163
|
+
sortByIndex(i, desc);
|
|
164
|
+
removeSortIndicators();
|
|
165
|
+
currentSort.index = i;
|
|
166
|
+
currentSort.desc = desc;
|
|
167
|
+
addSortIndicators();
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
for (i = 0; i < cols.length; i += 1) {
|
|
171
|
+
if (cols[i].sortable) {
|
|
172
|
+
// add the click event handler on the th so users
|
|
173
|
+
// dont have to click on those tiny arrows
|
|
174
|
+
el = getNthColumn(i).querySelector('.sorter').parentElement;
|
|
175
|
+
if (el.addEventListener) {
|
|
176
|
+
el.addEventListener('click', ithSorter(i));
|
|
177
|
+
} else {
|
|
178
|
+
el.attachEvent('onclick', ithSorter(i));
|
|
179
|
+
}
|
|
180
|
+
}
|
|
172
181
|
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
// adds sorting functionality to the UI
|
|
177
|
-
return function () {
|
|
178
|
-
if (!getTable()) {
|
|
179
|
-
return;
|
|
180
182
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
183
|
+
// adds sorting functionality to the UI
|
|
184
|
+
return function() {
|
|
185
|
+
if (!getTable()) {
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
cols = loadColumns();
|
|
189
|
+
loadData();
|
|
190
|
+
addSearchBox();
|
|
191
|
+
addSortIndicators();
|
|
192
|
+
enableUI();
|
|
193
|
+
};
|
|
187
194
|
})();
|
|
188
195
|
|
|
189
196
|
window.addEventListener('load', addSorting);
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
74
74
|
Code coverage generated by
|
|
75
75
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
76
|
-
at
|
|
76
|
+
at Tue Feb 01 2022 09:07:20 GMT+0100 (GMT+01:00)
|
|
77
77
|
</div>
|
|
78
78
|
<script src="../prettify.js"></script>
|
|
79
79
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at Tue Feb 01 2022 09:07:20 GMT+0100 (GMT+01:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -0,0 +1,14 @@
|
|
|
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>
|
|
@@ -0,0 +1,15 @@
|
|
|
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>
|
|
@@ -0,0 +1,14 @@
|
|
|
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>
|
|
@@ -0,0 +1,14 @@
|
|
|
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>
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "0.46.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^5.14.1",
|
|
6
6
|
"postcss-url": "^10.1.3",
|
|
7
7
|
"react-datepicker": "^4.6.0",
|
|
8
|
-
"react-select": "^
|
|
8
|
+
"react-select": "^3.1.0",
|
|
9
9
|
"sanitize-html": "^2.4.0"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
@@ -28,13 +28,14 @@
|
|
|
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",
|
|
32
31
|
"@rollup/plugin-node-resolve": "^11.1.1",
|
|
33
32
|
"@rollup/plugin-url": "^6.0.0",
|
|
34
33
|
"@storybook/addon-actions": "^6.1.17",
|
|
35
34
|
"@storybook/addon-essentials": "^6.1.17",
|
|
36
35
|
"@storybook/addon-links": "^6.1.17",
|
|
37
36
|
"@storybook/react": "^6.1.17",
|
|
37
|
+
"@svgr/rollup": "^5.5.0",
|
|
38
|
+
"@svgr/webpack": "^5.5.0",
|
|
38
39
|
"@testing-library/jest-dom": "^5.11.10",
|
|
39
40
|
"@testing-library/react": "^11.2.5",
|
|
40
41
|
"autoprefixer": "^10.2.4",
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|