@madgex/design-system 1.40.1 → 1.42.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/__tests__/unit/src/components/modal.spec.js +86 -0
- package/coverage/cobertura-coverage.xml +113 -3
- package/coverage/components/accordion/accordion.js.html +1 -1
- package/coverage/components/accordion/index.html +1 -1
- package/coverage/components/inputs/combobox/combobox.js.html +1 -1
- package/coverage/components/inputs/combobox/index.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/Combobox.vue.html +1 -1
- package/coverage/components/inputs/combobox/vue-components/index.html +1 -1
- package/coverage/components/modal/index.html +110 -0
- package/coverage/components/modal/modal.js.html +331 -0
- package/coverage/components/notification/index.html +1 -1
- package/coverage/components/notification/notification.js.html +1 -1
- package/coverage/components/popover/index.html +1 -1
- package/coverage/components/popover/popover.js.html +1 -1
- package/coverage/components/switch-state/index.html +1 -1
- package/coverage/components/switch-state/switch-state.js.html +1 -1
- package/coverage/components/tabs/index.html +1 -1
- package/coverage/components/tabs/tabs.js.html +1 -1
- package/coverage/index.html +26 -11
- package/coverage/js/common.js.html +1 -1
- package/coverage/js/fractal-scripts/combobox.js.html +1 -1
- package/coverage/js/fractal-scripts/index.html +1 -1
- package/coverage/js/fractal-scripts/notification.js.html +1 -1
- package/coverage/js/fractal-scripts/switch-state.js.html +1 -1
- package/coverage/js/index-fractal.js.html +1 -1
- package/coverage/js/index-polyfills.js.html +1 -1
- package/coverage/js/index-vue.js.html +1 -1
- package/coverage/js/index.html +5 -5
- package/coverage/js/index.js.html +10 -4
- package/coverage/js/polyfills/closest.js.html +1 -1
- package/coverage/js/polyfills/index.html +1 -1
- package/coverage/js/polyfills/remove.js.html +1 -1
- package/coverage/tokens/_config.js.html +1 -1
- package/coverage/tokens/index.html +1 -1
- package/cypress/integration/components/checkbox.spec.js +9 -0
- package/dist/_tokens/css/_tokens.css +7 -1
- package/dist/_tokens/js/_tokens-module.js +121 -1
- package/dist/_tokens/scss/_tokens.scss +18 -2
- package/dist/css/index.css +1 -1
- package/dist/js/index.js +6 -6
- package/package.json +1 -1
- package/src/components/inputs/checkbox/README.md +27 -0
- package/src/components/inputs/checkbox/_macro.njk +3 -0
- package/src/components/inputs/checkbox/_template.njk +30 -0
- package/src/components/inputs/checkbox/checkbox.config.js +94 -0
- package/src/components/inputs/checkbox/checkbox.njk +10 -0
- package/src/components/inputs/checkbox/checkbox.scss +82 -0
- package/src/components/inputs/combobox/combobox.scss +5 -4
- package/src/components/inputs/radio/radio.scss +13 -8
- package/src/components/modal/README.md +30 -0
- package/src/components/modal/_macro.njk +3 -0
- package/src/components/modal/_template.njk +5 -0
- package/src/components/modal/modal-content.njk +10 -0
- package/src/components/modal/modal.js +84 -0
- package/src/components/modal/modal.njk +26 -0
- package/src/components/modal/modal.scss +26 -0
- package/src/components/notification/notification.scss +1 -1
- package/src/js/index.js +2 -0
- package/src/scss/components/__index.scss +2 -0
- package/src/scss/core/_containers.scss +3 -3
- package/src/scss/utilities/__index.scss +1 -0
- package/src/scss/utilities/_z-index.scss +15 -0
- package/src/scss/vendor/_sass-mq.scss +4 -4
- package/src/tokens/color.json +25 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import modals from '../../../../src/components/modal/modal';
|
|
2
|
+
|
|
3
|
+
if (window.document) {
|
|
4
|
+
window.document.createRange = () => ({
|
|
5
|
+
setStart: () => {},
|
|
6
|
+
setEnd: () => {},
|
|
7
|
+
commonAncestorContainer: {
|
|
8
|
+
nodeName: 'BODY',
|
|
9
|
+
ownerDocument: document,
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
document.body.innerHTML = `
|
|
15
|
+
<div id="site-container">
|
|
16
|
+
<button id="modal-trigger" class="js-mds-modal-trigger" data-modal-id="test-modal">Open Modal</button>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="mds-modal" role="dialog" id="test-modal" aria-labelledby="modal-label" data-site-container="site-container">
|
|
19
|
+
<div class="mds-modal__inner">
|
|
20
|
+
<h1 id="modal-label">Hello!</h1>
|
|
21
|
+
<button id="close-button" type="button" class="js-mds-modal-close">Close</button>
|
|
22
|
+
</div>
|
|
23
|
+
</div>`;
|
|
24
|
+
const modalActiveClass = 'mds-modal--active';
|
|
25
|
+
const trigger = document.getElementById('modal-trigger');
|
|
26
|
+
const modal = document.getElementById('test-modal');
|
|
27
|
+
const closeButton = document.getElementById('close-button');
|
|
28
|
+
const siteContainer = document.getElementById('site-container');
|
|
29
|
+
|
|
30
|
+
beforeEach(() => {
|
|
31
|
+
trigger.focus();
|
|
32
|
+
modal.classList.remove(modalActiveClass);
|
|
33
|
+
siteContainer.removeAttribute('aria-hidden');
|
|
34
|
+
modals.init();
|
|
35
|
+
});
|
|
36
|
+
afterEach(() => {
|
|
37
|
+
document.body.innerHTML = '';
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
describe('modal - clicking on trigger', () => {
|
|
41
|
+
it('add active class to modal, move focus to focusable element in modal and aria-hidden="true" to site container', () => {
|
|
42
|
+
expect.assertions(3);
|
|
43
|
+
trigger.click();
|
|
44
|
+
expect(modal.classList.contains(modalActiveClass)).toBe(true);
|
|
45
|
+
expect(document.activeElement).toEqual(closeButton);
|
|
46
|
+
expect(siteContainer.getAttribute('aria-hidden')).toBe('true');
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
describe('modal - close modal', () => {
|
|
51
|
+
it('close modal if clicking outside of "modal__inner"', () => {
|
|
52
|
+
expect.assertions(3);
|
|
53
|
+
trigger.click(); // opening modal first
|
|
54
|
+
modal.click();
|
|
55
|
+
expect(modal.classList.contains(modalActiveClass)).toBe(false);
|
|
56
|
+
expect(document.activeElement).toEqual(trigger);
|
|
57
|
+
expect(siteContainer.getAttribute('aria-hidden')).toBe(null);
|
|
58
|
+
});
|
|
59
|
+
it('close modal if using escape key', () => {
|
|
60
|
+
expect.assertions(3);
|
|
61
|
+
trigger.click();
|
|
62
|
+
modal.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape' }));
|
|
63
|
+
expect(modal.classList.contains(modalActiveClass)).toBe(false);
|
|
64
|
+
expect(document.activeElement).toEqual(trigger);
|
|
65
|
+
expect(siteContainer.getAttribute('aria-hidden')).toBe(null);
|
|
66
|
+
});
|
|
67
|
+
it('close modal if using close button', () => {
|
|
68
|
+
expect.assertions(3);
|
|
69
|
+
trigger.click();
|
|
70
|
+
closeButton.click();
|
|
71
|
+
expect(modal.classList.contains(modalActiveClass)).toBe(false);
|
|
72
|
+
expect(document.activeElement).toEqual(trigger);
|
|
73
|
+
expect(siteContainer.getAttribute('aria-hidden')).toBe(null);
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
describe('modal - trap focus', () => {
|
|
78
|
+
it('tab or shift tab keeps you focused on the close button inside the modal', () => {
|
|
79
|
+
expect.assertions(2);
|
|
80
|
+
trigger.click(); // opening modal first
|
|
81
|
+
modal.dispatchEvent(new KeyboardEvent('keydown', { key: 'Tab' }));
|
|
82
|
+
expect(document.activeElement).toEqual(closeButton);
|
|
83
|
+
modal.dispatchEvent(new KeyboardEvent('keydown', { shiftKey: true, key: 'Tab' }));
|
|
84
|
+
expect(document.activeElement).toEqual(closeButton);
|
|
85
|
+
});
|
|
86
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" ?>
|
|
2
2
|
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
|
|
3
|
-
<coverage lines-valid="
|
|
3
|
+
<coverage lines-valid="404" lines-covered="192" line-rate="0.4752" branches-valid="113" branches-covered="44" branch-rate="0.38939999999999997" timestamp="1585051813265" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>/var/lib/jenkins/jobs/madgex-design-system/branches/master/workspace</source>
|
|
6
6
|
</sources>
|
|
@@ -352,6 +352,115 @@
|
|
|
352
352
|
</class>
|
|
353
353
|
</classes>
|
|
354
354
|
</package>
|
|
355
|
+
<package name="components.modal" line-rate="1" branch-rate="0.8125">
|
|
356
|
+
<classes>
|
|
357
|
+
<class name="modal.js" filename="src/components/modal/modal.js" line-rate="1" branch-rate="0.8125">
|
|
358
|
+
<methods>
|
|
359
|
+
<method name="(anonymous_0)" hits="5" signature="()V">
|
|
360
|
+
<lines>
|
|
361
|
+
<line number="10" hits="5"/>
|
|
362
|
+
</lines>
|
|
363
|
+
</method>
|
|
364
|
+
<method name="(anonymous_1)" hits="1" signature="()V">
|
|
365
|
+
<lines>
|
|
366
|
+
<line number="15" hits="1"/>
|
|
367
|
+
</lines>
|
|
368
|
+
</method>
|
|
369
|
+
<method name="(anonymous_2)" hits="5" signature="()V">
|
|
370
|
+
<lines>
|
|
371
|
+
<line number="34" hits="5"/>
|
|
372
|
+
</lines>
|
|
373
|
+
</method>
|
|
374
|
+
<method name="(anonymous_3)" hits="2" signature="()V">
|
|
375
|
+
<lines>
|
|
376
|
+
<line number="38" hits="2"/>
|
|
377
|
+
</lines>
|
|
378
|
+
</method>
|
|
379
|
+
<method name="(anonymous_4)" hits="3" signature="()V">
|
|
380
|
+
<lines>
|
|
381
|
+
<line number="43" hits="3"/>
|
|
382
|
+
</lines>
|
|
383
|
+
</method>
|
|
384
|
+
<method name="(anonymous_5)" hits="1" signature="()V">
|
|
385
|
+
<lines>
|
|
386
|
+
<line number="49" hits="1"/>
|
|
387
|
+
</lines>
|
|
388
|
+
</method>
|
|
389
|
+
<method name="(anonymous_6)" hits="1" signature="()V">
|
|
390
|
+
<lines>
|
|
391
|
+
<line number="50" hits="1"/>
|
|
392
|
+
</lines>
|
|
393
|
+
</method>
|
|
394
|
+
<method name="(anonymous_7)" hits="5" signature="()V">
|
|
395
|
+
<lines>
|
|
396
|
+
<line number="58" hits="5"/>
|
|
397
|
+
</lines>
|
|
398
|
+
</method>
|
|
399
|
+
<method name="(anonymous_8)" hits="3" signature="()V">
|
|
400
|
+
<lines>
|
|
401
|
+
<line number="64" hits="3"/>
|
|
402
|
+
</lines>
|
|
403
|
+
</method>
|
|
404
|
+
<method name="(anonymous_9)" hits="3" signature="()V">
|
|
405
|
+
<lines>
|
|
406
|
+
<line number="69" hits="3"/>
|
|
407
|
+
</lines>
|
|
408
|
+
</method>
|
|
409
|
+
</methods>
|
|
410
|
+
<lines>
|
|
411
|
+
<line number="1" hits="1" branch="false"/>
|
|
412
|
+
<line number="3" hits="1" branch="false"/>
|
|
413
|
+
<line number="4" hits="1" branch="false"/>
|
|
414
|
+
<line number="5" hits="1" branch="false"/>
|
|
415
|
+
<line number="6" hits="1" branch="false"/>
|
|
416
|
+
<line number="9" hits="1" branch="false"/>
|
|
417
|
+
<line number="11" hits="5" branch="false"/>
|
|
418
|
+
<line number="12" hits="5" branch="true" condition-coverage="50% (1/2)"/>
|
|
419
|
+
<line number="13" hits="5" branch="false"/>
|
|
420
|
+
<line number="15" hits="5" branch="false"/>
|
|
421
|
+
<line number="16" hits="1" branch="false"/>
|
|
422
|
+
<line number="17" hits="1" branch="false"/>
|
|
423
|
+
<line number="18" hits="1" branch="false"/>
|
|
424
|
+
<line number="21" hits="1" branch="false"/>
|
|
425
|
+
<line number="22" hits="1" branch="false"/>
|
|
426
|
+
<line number="26" hits="1" branch="false"/>
|
|
427
|
+
<line number="27" hits="1" branch="false"/>
|
|
428
|
+
<line number="29" hits="1" branch="false"/>
|
|
429
|
+
<line number="31" hits="1" branch="false"/>
|
|
430
|
+
<line number="32" hits="1" branch="false"/>
|
|
431
|
+
<line number="34" hits="1" branch="false"/>
|
|
432
|
+
<line number="35" hits="5" branch="false"/>
|
|
433
|
+
<line number="36" hits="5" branch="false"/>
|
|
434
|
+
<line number="38" hits="1" branch="false"/>
|
|
435
|
+
<line number="39" hits="2" branch="true" condition-coverage="100% (2/2)"/>
|
|
436
|
+
<line number="40" hits="1" branch="false"/>
|
|
437
|
+
<line number="43" hits="1" branch="false"/>
|
|
438
|
+
<line number="44" hits="3" branch="false"/>
|
|
439
|
+
<line number="45" hits="3" branch="true" condition-coverage="100% (4/4)"/>
|
|
440
|
+
<line number="46" hits="1" branch="false"/>
|
|
441
|
+
<line number="49" hits="1" branch="false"/>
|
|
442
|
+
<line number="50" hits="1" branch="false"/>
|
|
443
|
+
<line number="51" hits="1" branch="false"/>
|
|
444
|
+
<line number="52" hits="1" branch="false"/>
|
|
445
|
+
<line number="59" hits="5" branch="false"/>
|
|
446
|
+
<line number="60" hits="5" branch="false"/>
|
|
447
|
+
<line number="61" hits="5" branch="false"/>
|
|
448
|
+
<line number="62" hits="5" branch="false"/>
|
|
449
|
+
<line number="65" hits="3" branch="false"/>
|
|
450
|
+
<line number="66" hits="3" branch="false"/>
|
|
451
|
+
<line number="67" hits="3" branch="false"/>
|
|
452
|
+
<line number="70" hits="3" branch="true" condition-coverage="100% (2/2)"/>
|
|
453
|
+
<line number="71" hits="2" branch="true" condition-coverage="100% (2/2)"/>
|
|
454
|
+
<line number="72" hits="1" branch="true" condition-coverage="50% (1/2)"/>
|
|
455
|
+
<line number="73" hits="1" branch="false"/>
|
|
456
|
+
<line number="74" hits="1" branch="false"/>
|
|
457
|
+
<line number="76" hits="1" branch="true" condition-coverage="50% (1/2)"/>
|
|
458
|
+
<line number="77" hits="1" branch="false"/>
|
|
459
|
+
<line number="78" hits="1" branch="false"/>
|
|
460
|
+
</lines>
|
|
461
|
+
</class>
|
|
462
|
+
</classes>
|
|
463
|
+
</package>
|
|
355
464
|
<package name="components.notification" line-rate="0.9286" branch-rate="1">
|
|
356
465
|
<classes>
|
|
357
466
|
<class name="notification.js" filename="src/components/notification/notification.js" line-rate="0.9286" branch-rate="1">
|
|
@@ -761,15 +870,16 @@
|
|
|
761
870
|
<methods>
|
|
762
871
|
<method name="(anonymous_0)" hits="0" signature="()V">
|
|
763
872
|
<lines>
|
|
764
|
-
<line number="
|
|
873
|
+
<line number="16" hits="0"/>
|
|
765
874
|
</lines>
|
|
766
875
|
</method>
|
|
767
876
|
</methods>
|
|
768
877
|
<lines>
|
|
769
|
-
<line number="15" hits="0" branch="false"/>
|
|
770
878
|
<line number="16" hits="0" branch="false"/>
|
|
771
879
|
<line number="17" hits="0" branch="false"/>
|
|
772
880
|
<line number="18" hits="0" branch="false"/>
|
|
881
|
+
<line number="19" hits="0" branch="false"/>
|
|
882
|
+
<line number="20" hits="0" branch="false"/>
|
|
773
883
|
</lines>
|
|
774
884
|
</class>
|
|
775
885
|
</classes>
|
|
@@ -396,7 +396,7 @@ export default accordion;
|
|
|
396
396
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
397
397
|
Code coverage generated by
|
|
398
398
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
399
|
-
at
|
|
399
|
+
at Tue Mar 24 2020 12:10:13 GMT+0000 (Greenwich Mean Time)
|
|
400
400
|
</div>
|
|
401
401
|
</div>
|
|
402
402
|
<script src="../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at
|
|
97
|
+
at Tue Mar 24 2020 12:10:13 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../prettify.js"></script>
|
|
@@ -123,7 +123,7 @@ import Combobox from './vue-components/Combobox.vue';
|
|
|
123
123
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
124
124
|
Code coverage generated by
|
|
125
125
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
126
|
-
at
|
|
126
|
+
at Tue Mar 24 2020 12:10:13 GMT+0000 (Greenwich Mean Time)
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
129
|
<script src="../../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at
|
|
97
|
+
at Tue Mar 24 2020 12:10:13 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../../prettify.js"></script>
|
|
@@ -693,7 +693,7 @@ export default {
|
|
|
693
693
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
694
694
|
Code coverage generated by
|
|
695
695
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
696
|
-
at
|
|
696
|
+
at Tue Mar 24 2020 12:10:13 GMT+0000 (Greenwich Mean Time)
|
|
697
697
|
</div>
|
|
698
698
|
</div>
|
|
699
699
|
<script src="../../../../prettify.js"></script>
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
95
|
Code coverage generated by
|
|
96
96
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
-
at
|
|
97
|
+
at Tue Mar 24 2020 12:10:13 GMT+0000 (Greenwich Mean Time)
|
|
98
98
|
</div>
|
|
99
99
|
</div>
|
|
100
100
|
<script src="../../../../prettify.js"></script>
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for components/modal</title>
|
|
7
|
+
<meta charset="utf-8" />
|
|
8
|
+
<link rel="stylesheet" href="../../prettify.css" />
|
|
9
|
+
<link rel="stylesheet" href="../../base.css" />
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
11
|
+
<style type='text/css'>
|
|
12
|
+
.coverage-summary .sorter {
|
|
13
|
+
background-image: url(../../sort-arrow-sprite.png);
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
<div class='wrapper'>
|
|
20
|
+
<div class='pad1'>
|
|
21
|
+
<h1><a href="../../index.html">All files</a> components/modal</h1>
|
|
22
|
+
<div class='clearfix'>
|
|
23
|
+
|
|
24
|
+
<div class='fl pad1y space-right2'>
|
|
25
|
+
<span class="strong">100% </span>
|
|
26
|
+
<span class="quiet">Statements</span>
|
|
27
|
+
<span class='fraction'>49/49</span>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<div class='fl pad1y space-right2'>
|
|
32
|
+
<span class="strong">81.25% </span>
|
|
33
|
+
<span class="quiet">Branches</span>
|
|
34
|
+
<span class='fraction'>13/16</span>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
<div class='fl pad1y space-right2'>
|
|
39
|
+
<span class="strong">100% </span>
|
|
40
|
+
<span class="quiet">Functions</span>
|
|
41
|
+
<span class='fraction'>10/10</span>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
<div class='fl pad1y space-right2'>
|
|
46
|
+
<span class="strong">100% </span>
|
|
47
|
+
<span class="quiet">Lines</span>
|
|
48
|
+
<span class='fraction'>49/49</span>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</div>
|
|
53
|
+
<p class="quiet">
|
|
54
|
+
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.
|
|
55
|
+
</p>
|
|
56
|
+
</div>
|
|
57
|
+
<div class='status-line high'></div>
|
|
58
|
+
<div class="pad1">
|
|
59
|
+
<table class="coverage-summary">
|
|
60
|
+
<thead>
|
|
61
|
+
<tr>
|
|
62
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
|
63
|
+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
|
64
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
|
65
|
+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
66
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
|
67
|
+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
68
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
|
69
|
+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
70
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
|
71
|
+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
|
72
|
+
</tr>
|
|
73
|
+
</thead>
|
|
74
|
+
<tbody><tr>
|
|
75
|
+
<td class="file high" data-value="modal.js"><a href="modal.js.html">modal.js</a></td>
|
|
76
|
+
<td data-value="100" class="pic high">
|
|
77
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
78
|
+
</td>
|
|
79
|
+
<td data-value="100" class="pct high">100%</td>
|
|
80
|
+
<td data-value="49" class="abs high">49/49</td>
|
|
81
|
+
<td data-value="81.25" class="pct high">81.25%</td>
|
|
82
|
+
<td data-value="16" class="abs high">13/16</td>
|
|
83
|
+
<td data-value="100" class="pct high">100%</td>
|
|
84
|
+
<td data-value="10" class="abs high">10/10</td>
|
|
85
|
+
<td data-value="100" class="pct high">100%</td>
|
|
86
|
+
<td data-value="49" class="abs high">49/49</td>
|
|
87
|
+
</tr>
|
|
88
|
+
|
|
89
|
+
</tbody>
|
|
90
|
+
</table>
|
|
91
|
+
</div>
|
|
92
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
93
|
+
</div><!-- /wrapper -->
|
|
94
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
95
|
+
Code coverage generated by
|
|
96
|
+
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
97
|
+
at Tue Mar 24 2020 12:10:13 GMT+0000 (Greenwich Mean Time)
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
<script src="../../prettify.js"></script>
|
|
101
|
+
<script>
|
|
102
|
+
window.onload = function () {
|
|
103
|
+
prettyPrint();
|
|
104
|
+
};
|
|
105
|
+
</script>
|
|
106
|
+
<script src="../../sorter.js"></script>
|
|
107
|
+
<script src="../../block-navigation.js"></script>
|
|
108
|
+
</body>
|
|
109
|
+
</html>
|
|
110
|
+
|