@npm_leadtech/legal-lib-components 1.19.0 → 1.19.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/build/index.js +1 -1
- package/coverage/clover.xml +54 -380
- package/coverage/coverage-final.json +3 -30
- package/coverage/lcov-report/TopBar.js.html +166 -0
- package/coverage/lcov-report/atoms/Button/Button.js.html +559 -0
- package/coverage/lcov-report/atoms/Button/index.html +116 -0
- package/coverage/lcov-report/atoms/Message/Message.js.html +145 -0
- package/coverage/lcov-report/atoms/Message/index.html +116 -0
- package/coverage/lcov-report/base.css +0 -0
- package/coverage/lcov-report/block-navigation.js +0 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/images/componentsSvg/ArrowRight.js.html +229 -0
- package/coverage/lcov-report/images/componentsSvg/Done24px.js.html +1 -1
- package/coverage/lcov-report/images/componentsSvg/Edit24p.js.html +187 -0
- package/coverage/lcov-report/images/componentsSvg/EditText24px.js.html +187 -0
- package/coverage/lcov-report/images/componentsSvg/EmploymentIcon.js.html +163 -0
- package/coverage/lcov-report/images/componentsSvg/InfoError24pxOutlined.js.html +1 -1
- package/coverage/lcov-report/images/componentsSvg/LogoutSvg.js.html +169 -0
- package/coverage/lcov-report/images/componentsSvg/MenuCollapse24p.js.html +217 -0
- package/coverage/lcov-report/images/componentsSvg/NewRelease24p.js.html +1 -1
- package/coverage/lcov-report/images/componentsSvg/Time24px.js.html +1 -1
- package/coverage/lcov-report/images/componentsSvg/index.html +94 -4
- package/coverage/lcov-report/index.html +36 -396
- package/coverage/lcov-report/molecules/PricingCard/PricingCard.js.html +493 -0
- package/coverage/lcov-report/molecules/PricingCard/index.html +116 -0
- package/coverage/lcov-report/prettify.css +0 -0
- package/coverage/lcov-report/prettify.js +0 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -0
- package/coverage/lcov-report/src/components/atoms/AddButton/AddButton.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/AddButton/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/BaseBox/BaseBox.js.html +175 -0
- package/coverage/lcov-report/src/components/atoms/BaseBox/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/BillCard/BillCard.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/BillCard/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Button/Button.js.html +29 -20
- package/coverage/lcov-report/src/components/atoms/Button/index.html +5 -5
- package/coverage/lcov-report/src/components/atoms/CardPane/CardPane.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/CardPane/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Checkbox/Checkbox.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Checkbox/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/DatePickerCustom/DatePickerCustom.js.html +34 -7
- package/coverage/lcov-report/src/components/atoms/DatePickerCustom/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Disclaimer/Disclaimer.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Disclaimer/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Divider/Divider.js.html +136 -0
- package/coverage/lcov-report/src/components/atoms/Divider/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/DocumentListMenuSection/DocumentListMenuSection.js.html +169 -0
- package/coverage/lcov-report/src/components/atoms/DocumentListMenuSection/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/DocumentStatus/DocumentStatus.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/DocumentStatus/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/FormFaq/FormFaq.js.html +20 -113
- package/coverage/lcov-report/src/components/atoms/FormFaq/index.html +21 -21
- package/coverage/lcov-report/src/components/atoms/GoogleButton/GoogleButton.js.html +151 -0
- package/coverage/lcov-report/src/components/atoms/GoogleButton/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/IconImage/IconImage.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/IconImage/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/InfoBox/InfoBox.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/InfoBox/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/LogoText/LogoText.js.html +2 -2
- package/coverage/lcov-report/src/components/atoms/LogoText/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/MenuItems/MenuItems.js.html +256 -0
- package/coverage/lcov-report/src/components/atoms/MenuItems/index.html +131 -0
- package/coverage/lcov-report/src/components/atoms/MenuItems/index.js.html +88 -0
- package/coverage/lcov-report/src/components/atoms/Message/Message.js.html +20 -8
- package/coverage/lcov-report/src/components/atoms/Message/index.html +7 -7
- package/coverage/lcov-report/src/components/atoms/PaypalButton/PaypalButton.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/PaypalButton/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/ProgressBar/ProgressBar.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/ProgressBar/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Radio/Radio.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Radio/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/RemoveButton/RemoveButton.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/RemoveButton/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/RichTextInner/RichTextInner.js.html +13 -10
- package/coverage/lcov-report/src/components/atoms/RichTextInner/index.html +5 -5
- package/coverage/lcov-report/src/components/atoms/SearchSelect/SearchSelect.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/SearchSelect/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/SidemenuTab/SidemenuTab.js.html +64 -22
- package/coverage/lcov-report/src/components/atoms/SidemenuTab/index.html +9 -9
- package/coverage/lcov-report/src/components/atoms/Spinner/Spinner.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Spinner/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/TestAB/TestAB.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/TestAB/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/TextArea/TextArea.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/TextArea/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Toggle/Toggle.js.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Toggle/index.html +1 -1
- package/coverage/lcov-report/src/components/atoms/Tooltip/Tooltip.js.html +286 -0
- package/coverage/lcov-report/src/components/atoms/Tooltip/index.html +116 -0
- package/coverage/lcov-report/src/components/atoms/TopBar/TopBar.js.html +166 -0
- package/coverage/lcov-report/src/components/atoms/TopBar/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/BaseBoxList/BaseBoxList.js.html +157 -0
- package/coverage/lcov-report/src/components/molecules/BaseBoxList/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/BottomFixedBar/BottomFixedBar.js.html +163 -0
- package/coverage/lcov-report/src/components/molecules/BottomFixedBar/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/BottomOverlay/BottomOverlay.js.html +292 -0
- package/coverage/lcov-report/src/components/molecules/BottomOverlay/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/BoxForm/BoxForm.js.html +12 -48
- package/coverage/lcov-report/src/components/molecules/BoxForm/index.html +11 -11
- package/coverage/lcov-report/src/components/molecules/ContactBox/ContactBox.js.html +241 -0
- package/coverage/lcov-report/src/components/molecules/ContactBox/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/Feedback/Feedback.js.html +424 -0
- package/coverage/lcov-report/src/components/molecules/Feedback/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/FormFaq/FormFaq.js.html +160 -0
- package/coverage/lcov-report/src/components/molecules/FormFaq/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/MenuItemsSection/MenuItemsSection.js.html +169 -0
- package/coverage/lcov-report/src/components/molecules/MenuItemsSection/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/Pagination/PageStepControl.js.html +178 -0
- package/coverage/lcov-report/src/components/molecules/Pagination/PageSteps.js.html +304 -0
- package/coverage/lcov-report/src/components/molecules/Pagination/Pagination.js.html +232 -0
- package/coverage/lcov-report/src/components/molecules/Pagination/index.html +161 -0
- package/coverage/lcov-report/src/components/molecules/Pagination/pagination.config.js.html +103 -0
- package/coverage/lcov-report/src/components/molecules/PricingCard/PricingCard.js.html +484 -0
- package/coverage/lcov-report/src/components/molecules/PricingCard/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/Snackbar/Snackbar.js.html +382 -0
- package/coverage/lcov-report/src/components/molecules/Snackbar/index.html +116 -0
- package/coverage/lcov-report/src/components/molecules/TooltipMenu/TooltipMenu.js.html +175 -0
- package/coverage/lcov-report/src/components/molecules/TooltipMenu/index.html +116 -0
- package/coverage/lcov-report/src/components/organisms/MobileBottomBar/MobileBottomBar.js.html +196 -0
- package/coverage/lcov-report/src/components/organisms/MobileBottomBar/index.html +116 -0
- package/coverage/lcov-report/src/utils/envVariables.js.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +19 -4
- package/coverage/lcov-report/src/utils/stringSlugify.js.html +94 -0
- package/coverage/lcov.info +122 -749
- package/package.json +1 -1
- package/yarn-error.log +0 -13121
|
@@ -244,7 +244,17 @@
|
|
|
244
244
|
<a name='L179'></a><a href='#L179'>179</a>
|
|
245
245
|
<a name='L180'></a><a href='#L180'>180</a>
|
|
246
246
|
<a name='L181'></a><a href='#L181'>181</a>
|
|
247
|
-
<a name='L182'></a><a href='#L182'>182</a
|
|
247
|
+
<a name='L182'></a><a href='#L182'>182</a>
|
|
248
|
+
<a name='L183'></a><a href='#L183'>183</a>
|
|
249
|
+
<a name='L184'></a><a href='#L184'>184</a>
|
|
250
|
+
<a name='L185'></a><a href='#L185'>185</a>
|
|
251
|
+
<a name='L186'></a><a href='#L186'>186</a>
|
|
252
|
+
<a name='L187'></a><a href='#L187'>187</a>
|
|
253
|
+
<a name='L188'></a><a href='#L188'>188</a>
|
|
254
|
+
<a name='L189'></a><a href='#L189'>189</a>
|
|
255
|
+
<a name='L190'></a><a href='#L190'>190</a>
|
|
256
|
+
<a name='L191'></a><a href='#L191'>191</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
257
|
+
<span class="cline-any cline-neutral"> </span>
|
|
248
258
|
<span class="cline-any cline-neutral"> </span>
|
|
249
259
|
<span class="cline-any cline-neutral"> </span>
|
|
250
260
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -365,12 +375,20 @@
|
|
|
365
375
|
<span class="cline-any cline-neutral"> </span>
|
|
366
376
|
<span class="cline-any cline-neutral"> </span>
|
|
367
377
|
<span class="cline-any cline-neutral"> </span>
|
|
378
|
+
<span class="cline-any cline-neutral"> </span>
|
|
379
|
+
<span class="cline-any cline-neutral"> </span>
|
|
380
|
+
<span class="cline-any cline-neutral"> </span>
|
|
368
381
|
<span class="cline-any cline-no"> </span>
|
|
369
382
|
<span class="cline-any cline-neutral"> </span>
|
|
370
383
|
<span class="cline-any cline-neutral"> </span>
|
|
371
384
|
<span class="cline-any cline-neutral"> </span>
|
|
385
|
+
<span class="cline-any cline-neutral"> </span>
|
|
386
|
+
<span class="cline-any cline-neutral"> </span>
|
|
387
|
+
<span class="cline-any cline-neutral"> </span>
|
|
388
|
+
<span class="cline-any cline-neutral"> </span>
|
|
372
389
|
<span class="cline-any cline-no"> </span>
|
|
373
390
|
<span class="cline-any cline-neutral"> </span>
|
|
391
|
+
<span class="cline-any cline-neutral"> </span>
|
|
374
392
|
<span class="cline-any cline-yes">96x</span>
|
|
375
393
|
<span class="cline-any cline-neutral"> </span>
|
|
376
394
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -430,6 +448,7 @@ import DatePicker from 'react-datepicker';
|
|
|
430
448
|
import PropTypes from 'prop-types';
|
|
431
449
|
import 'react-datepicker/dist/react-datepicker.css';
|
|
432
450
|
import './DatePickerCustom.scss';
|
|
451
|
+
|
|
433
452
|
class DatePickerCustom extends Component {
|
|
434
453
|
constructor(props) {
|
|
435
454
|
super(props);
|
|
@@ -451,7 +470,7 @@ class DatePickerCustom extends Component {
|
|
|
451
470
|
|
|
452
471
|
for (let i = minYear; i <= maxYear; i++) {
|
|
453
472
|
years.push(
|
|
454
|
-
<option key={i} value={i}
|
|
473
|
+
<option key={i} value={i} defaultValue={currentYear}>
|
|
455
474
|
{i}
|
|
456
475
|
</option>
|
|
457
476
|
);
|
|
@@ -475,7 +494,7 @@ class DatePickerCustom extends Component {
|
|
|
475
494
|
handleFocus = <span class="fstat-no" title="function not covered" >({</span> focused }) => <span class="cstat-no" title="statement not covered" >this.setState({ focused });</span>
|
|
476
495
|
|
|
477
496
|
addDays = (date, days) => {
|
|
478
|
-
|
|
497
|
+
let result = new Date(date);
|
|
479
498
|
result.setDate(result.getDate() + days);
|
|
480
499
|
return result;
|
|
481
500
|
};
|
|
@@ -546,13 +565,21 @@ class DatePickerCustom extends Component {
|
|
|
546
565
|
>
|
|
547
566
|
{'<'}
|
|
548
567
|
</button>
|
|
549
|
-
<select
|
|
568
|
+
<select
|
|
569
|
+
className='CalendarYear'
|
|
570
|
+
value={date.getFullYear()}
|
|
571
|
+
onChange={<span class="fstat-no" title="function not covered" >({</span> target: { value } }) => <span class="cstat-no" title="statement not covered" >changeYear(value)}</span>
|
|
572
|
+
>
|
|
550
573
|
{this.returnYears(date.getFullYear())}
|
|
551
574
|
</select>
|
|
552
575
|
|
|
553
|
-
<select
|
|
576
|
+
<select
|
|
577
|
+
className='CalendarMonth'
|
|
578
|
+
value={date.getMonth()}
|
|
579
|
+
onChange={<span class="fstat-no" title="function not covered" >({</span> target: { value } }) => <span class="cstat-no" title="statement not covered" >changeMonth(value)}</span>
|
|
580
|
+
>
|
|
554
581
|
{months.map((label, value) => (
|
|
555
|
-
<option key={label} value={value}
|
|
582
|
+
<option key={label} value={value} defaultValue={date.getMonth()}>
|
|
556
583
|
{label}
|
|
557
584
|
</option>
|
|
558
585
|
))}
|
|
@@ -613,7 +640,7 @@ DatePickerCustom.propTypes = {
|
|
|
613
640
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
614
641
|
Code coverage generated by
|
|
615
642
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
616
|
-
at
|
|
643
|
+
at Fri Apr 08 2022 14:53:37 GMT+0200 (GMT+02:00)
|
|
617
644
|
</div>
|
|
618
645
|
<script src="../../../../prettify.js"></script>
|
|
619
646
|
<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 Fri Apr 08 2022 14:53:37 GMT+0200 (GMT+02:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -244,7 +244,7 @@ Disclaimer.propTypes = {
|
|
|
244
244
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
245
245
|
Code coverage generated by
|
|
246
246
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
247
|
-
at
|
|
247
|
+
at Fri Apr 08 2022 14:53:37 GMT+0200 (GMT+02:00)
|
|
248
248
|
</div>
|
|
249
249
|
<script src="../../../../prettify.js"></script>
|
|
250
250
|
<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 Fri Apr 08 2022 14:53:37 GMT+0200 (GMT+02:00)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for src/components/atoms/Divider/Divider.js</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> / <a href="index.html">src/components/atoms/Divider</a> Divider.js</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'>3/3</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'>2/2</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'>1/1</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'>3/3</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
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
84
|
+
<span class="cline-any cline-neutral"> </span>
|
|
85
|
+
<span class="cline-any cline-neutral"> </span>
|
|
86
|
+
<span class="cline-any cline-neutral"> </span>
|
|
87
|
+
<span class="cline-any cline-yes">1x</span>
|
|
88
|
+
<span class="cline-any cline-yes">3x</span>
|
|
89
|
+
<span class="cline-any cline-neutral"> </span>
|
|
90
|
+
<span class="cline-any cline-neutral"> </span>
|
|
91
|
+
<span class="cline-any cline-neutral"> </span>
|
|
92
|
+
<span class="cline-any cline-neutral"> </span>
|
|
93
|
+
<span class="cline-any cline-neutral"> </span>
|
|
94
|
+
<span class="cline-any cline-neutral"> </span>
|
|
95
|
+
<span class="cline-any cline-neutral"> </span>
|
|
96
|
+
<span class="cline-any cline-neutral"> </span>
|
|
97
|
+
<span class="cline-any cline-yes">1x</span>
|
|
98
|
+
<span class="cline-any cline-neutral"> </span>
|
|
99
|
+
<span class="cline-any cline-neutral"> </span>
|
|
100
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
101
|
+
import PropTypes from 'prop-types';
|
|
102
|
+
import './Divider.scss';
|
|
103
|
+
|
|
104
|
+
export const Divider = ({ text }) => {
|
|
105
|
+
return (
|
|
106
|
+
<div className='divider'>
|
|
107
|
+
<div className='divider__line'></div>
|
|
108
|
+
{text && <p className='divider__word'>{text}</p>}
|
|
109
|
+
<div className='divider__line'></div>
|
|
110
|
+
</div>
|
|
111
|
+
);
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
Divider.propTypes = {
|
|
115
|
+
text: PropTypes.string,
|
|
116
|
+
};
|
|
117
|
+
</pre></td></tr></table></pre>
|
|
118
|
+
|
|
119
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
120
|
+
</div><!-- /wrapper -->
|
|
121
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
122
|
+
Code coverage generated by
|
|
123
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
124
|
+
at Fri Apr 08 2022 14:53:37 GMT+0200 (GMT+02:00)
|
|
125
|
+
</div>
|
|
126
|
+
<script src="../../../../prettify.js"></script>
|
|
127
|
+
<script>
|
|
128
|
+
window.onload = function () {
|
|
129
|
+
prettyPrint();
|
|
130
|
+
};
|
|
131
|
+
</script>
|
|
132
|
+
<script src="../../../../sorter.js"></script>
|
|
133
|
+
<script src="../../../../block-navigation.js"></script>
|
|
134
|
+
</body>
|
|
135
|
+
</html>
|
|
136
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for src/components/atoms/Divider</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/components/atoms/Divider</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'>3/3</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'>2/2</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'>1/1</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'>3/3</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="Divider.js"><a href="Divider.js.html">Divider.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="3" class="abs high">3/3</td>
|
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
|
89
|
+
<td data-value="2" class="abs high">2/2</td>
|
|
90
|
+
<td data-value="100" class="pct high">100%</td>
|
|
91
|
+
<td data-value="1" class="abs high">1/1</td>
|
|
92
|
+
<td data-value="100" class="pct high">100%</td>
|
|
93
|
+
<td data-value="3" class="abs high">3/3</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 Fri Apr 08 2022 14:53:37 GMT+0200 (GMT+02: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
|
+
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for src/components/atoms/DocumentListMenuSection/DocumentListMenuSection.js</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> / <a href="index.html">src/components/atoms/DocumentListMenuSection</a> DocumentListMenuSection.js</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'>7/7</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'>12/12</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'>2/2</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'>6/6</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
|
+
<pre><table class="coverage">
|
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
84
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
85
|
+
<a name='L20'></a><a href='#L20'>20</a>
|
|
86
|
+
<a name='L21'></a><a href='#L21'>21</a>
|
|
87
|
+
<a name='L22'></a><a href='#L22'>22</a>
|
|
88
|
+
<a name='L23'></a><a href='#L23'>23</a>
|
|
89
|
+
<a name='L24'></a><a href='#L24'>24</a>
|
|
90
|
+
<a name='L25'></a><a href='#L25'>25</a>
|
|
91
|
+
<a name='L26'></a><a href='#L26'>26</a>
|
|
92
|
+
<a name='L27'></a><a href='#L27'>27</a>
|
|
93
|
+
<a name='L28'></a><a href='#L28'>28</a>
|
|
94
|
+
<a name='L29'></a><a href='#L29'>29</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
95
|
+
<span class="cline-any cline-neutral"> </span>
|
|
96
|
+
<span class="cline-any cline-neutral"> </span>
|
|
97
|
+
<span class="cline-any cline-neutral"> </span>
|
|
98
|
+
<span class="cline-any cline-neutral"> </span>
|
|
99
|
+
<span class="cline-any cline-neutral"> </span>
|
|
100
|
+
<span class="cline-any cline-yes">1x</span>
|
|
101
|
+
<span class="cline-any cline-yes">10x</span>
|
|
102
|
+
<span class="cline-any cline-yes">7x</span>
|
|
103
|
+
<span class="cline-any cline-yes">4x</span>
|
|
104
|
+
<span class="cline-any cline-neutral"> </span>
|
|
105
|
+
<span class="cline-any cline-neutral"> </span>
|
|
106
|
+
<span class="cline-any cline-yes">3x</span>
|
|
107
|
+
<span class="cline-any cline-neutral"> </span>
|
|
108
|
+
<span class="cline-any cline-neutral"> </span>
|
|
109
|
+
<span class="cline-any cline-neutral"> </span>
|
|
110
|
+
<span class="cline-any cline-neutral"> </span>
|
|
111
|
+
<span class="cline-any cline-neutral"> </span>
|
|
112
|
+
<span class="cline-any cline-neutral"> </span>
|
|
113
|
+
<span class="cline-any cline-neutral"> </span>
|
|
114
|
+
<span class="cline-any cline-neutral"> </span>
|
|
115
|
+
<span class="cline-any cline-neutral"> </span>
|
|
116
|
+
<span class="cline-any cline-neutral"> </span>
|
|
117
|
+
<span class="cline-any cline-yes">1x</span>
|
|
118
|
+
<span class="cline-any cline-neutral"> </span>
|
|
119
|
+
<span class="cline-any cline-neutral"> </span>
|
|
120
|
+
<span class="cline-any cline-neutral"> </span>
|
|
121
|
+
<span class="cline-any cline-neutral"> </span>
|
|
122
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
123
|
+
import { MenuItems } from '../MenuItems';
|
|
124
|
+
import PropTypes from 'prop-types';
|
|
125
|
+
|
|
126
|
+
import './DocumentListMenuSection.scss';
|
|
127
|
+
|
|
128
|
+
export const DocumentListMenuSection = ({ icon, title, list, ...rest }) => {
|
|
129
|
+
const filteredList = title && list ? list.filter((item) => item.content) : null;
|
|
130
|
+
if (!filteredList || filteredList.length === 0 || !filteredList[0] || !filteredList[0].content) {
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return (
|
|
135
|
+
<div className='document-list-menu-section'>
|
|
136
|
+
<div className='document-list-menu-section__title-wrapper'>
|
|
137
|
+
{icon ?? null}
|
|
138
|
+
<div className='document-list-menu-section__title-wrapper__title'>{title}</div>
|
|
139
|
+
</div>
|
|
140
|
+
<MenuItems list={list} spacing />
|
|
141
|
+
</div>
|
|
142
|
+
);
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
DocumentListMenuSection.propTypes = {
|
|
146
|
+
icon: PropTypes.object,
|
|
147
|
+
title: PropTypes.string,
|
|
148
|
+
list: PropTypes.array,
|
|
149
|
+
};
|
|
150
|
+
</pre></td></tr></table></pre>
|
|
151
|
+
|
|
152
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
153
|
+
</div><!-- /wrapper -->
|
|
154
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
155
|
+
Code coverage generated by
|
|
156
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
157
|
+
at Mon Mar 21 2022 12:52:41 GMT+0100 (GMT+01:00)
|
|
158
|
+
</div>
|
|
159
|
+
<script src="../../../../prettify.js"></script>
|
|
160
|
+
<script>
|
|
161
|
+
window.onload = function () {
|
|
162
|
+
prettyPrint();
|
|
163
|
+
};
|
|
164
|
+
</script>
|
|
165
|
+
<script src="../../../../sorter.js"></script>
|
|
166
|
+
<script src="../../../../block-navigation.js"></script>
|
|
167
|
+
</body>
|
|
168
|
+
</html>
|
|
169
|
+
|