@madie/madie-design-system 1.2.8 → 1.2.10
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/.ignore~ +1 -0
- package/components/DateField/DateField.jsx +27 -4
- package/components/DateTimeField/DateTimeField.jsx +2 -0
- package/components/TextArea/index.jsx +1 -1
- package/coverage/clover.xml +529 -34
- package/coverage/coverage-final.json +36 -5
- package/coverage/lcov-report/DateField/DateField.jsx.html +424 -0
- package/coverage/lcov-report/DateField/index.html +116 -0
- package/coverage/lcov-report/{MadieTooltip/index.scss.html → DateTimeField/DateTimeField.jsx.html} +141 -69
- package/coverage/lcov-report/DateTimeField/index.html +116 -0
- package/coverage/lcov-report/InputLabel/index.html +6 -6
- package/coverage/lcov-report/InputLabel/index.jsx.html +8 -8
- package/coverage/lcov-report/MadieTooltip/index.html +22 -37
- package/coverage/lcov-report/MadieTooltip/index.jsx.html +34 -34
- package/coverage/lcov-report/MadieTooltipIcon/index.html +22 -22
- package/coverage/lcov-report/MadieTooltipIcon/index.jsx.html +15 -15
- package/coverage/lcov-report/TextField/index.html +18 -18
- package/coverage/lcov-report/TextField/index.jsx.html +104 -20
- package/coverage/lcov-report/index.html +347 -17
- package/coverage/lcov-report/react/components/Accordion/index.html +2 -2
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Button/index.html +2 -2
- package/coverage/lcov-report/react/components/Button/index.js.html +2 -2
- package/coverage/lcov-report/react/components/DateField/DateField.jsx.html +83 -14
- package/coverage/lcov-report/react/components/DateField/index.html +12 -12
- package/coverage/lcov-report/react/components/DateTimeField/DateTimeField.jsx.html +9 -3
- package/coverage/lcov-report/react/components/DateTimeField/index.html +2 -2
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Error/error.js.html +2 -2
- package/coverage/lcov-report/react/components/Error/index.html +2 -2
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Footer/footer.js.html +2 -2
- package/coverage/lcov-report/react/components/Footer/index.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/index.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/index.js.html +2 -2
- package/coverage/lcov-report/react/components/InputLabel/index.html +2 -2
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +3 -3
- package/coverage/lcov-report/react/components/MadieAlert/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieAlert/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieDeleteDialog/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieDialog/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieDialog/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieDiscardDialog/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieSpinner/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieSpinner/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltip/index.html +17 -32
- package/coverage/lcov-report/react/components/MadieTooltip/index.jsx.html +29 -35
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.html +2 -2
- package/coverage/lcov-report/react/components/MadieTooltipIcon/index.jsx.html +6 -6
- package/coverage/lcov-report/react/components/Pagination/index.html +2 -2
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Popover/index.html +2 -2
- package/coverage/lcov-report/react/components/Popover/index.js.html +2 -2
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.html +2 -2
- package/coverage/lcov-report/react/components/ReadOnlyTextField/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Select/index.html +2 -2
- package/coverage/lcov-report/react/components/Select/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tabs/Tab.js.html +2 -2
- package/coverage/lcov-report/react/components/Tabs/index.html +2 -2
- package/coverage/lcov-report/react/components/Tabs/index.js.html +2 -2
- package/coverage/lcov-report/react/components/TextArea/index.html +2 -2
- package/coverage/lcov-report/react/components/TextArea/index.jsx.html +3 -3
- package/coverage/lcov-report/react/components/TextField/index.html +10 -10
- package/coverage/lcov-report/react/components/TextField/index.jsx.html +94 -10
- package/coverage/lcov-report/react/components/Toast/index.html +2 -2
- package/coverage/lcov-report/react/components/Toast/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/index.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +2 -2
- package/coverage/lcov-report/react/index.html +2 -2
- package/coverage/lcov-report/react/index.js.html +2 -2
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +2 -2
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +2 -2
- package/coverage/lcov-report/react/lib/index.html +2 -2
- package/coverage/lcov.info +1101 -62
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +21 -21
- package/dist/react/index.js.LICENSE.txt +5 -3
- package/dist/react/index.js.map +1 -1
- package/package.json +5 -5
- package/test/components/DateField.test.js +22 -0
- package/test/components/DateTimeField.test.js +1 -1
- package/coverage/lcov-report/react/components/MadieTooltip/index.scss.html +0 -274
- package/storybook-static/115.d30f56a6.iframe.bundle.js +0 -2
- package/storybook-static/115.d30f56a6.iframe.bundle.js.LICENSE.txt +0 -11
- package/storybook-static/229.39437e22abb0122d8468.manager.bundle.js +0 -1
- package/storybook-static/229.4bb41a80.iframe.bundle.js +0 -1
- package/storybook-static/295.2254430070adaf39d242.manager.bundle.js +0 -1
- package/storybook-static/468.c08904a03c7e948966c6.manager.bundle.js +0 -2
- package/storybook-static/468.c08904a03c7e948966c6.manager.bundle.js.LICENSE.txt +0 -94
- package/storybook-static/51.5c11732a.iframe.bundle.js +0 -2
- package/storybook-static/51.5c11732a.iframe.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/51.760aa05a4333dd8a752e.manager.bundle.js +0 -2
- package/storybook-static/51.760aa05a4333dd8a752e.manager.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/551.3428ed3c.iframe.bundle.js +0 -1
- package/storybook-static/551.8c8f45eb9d74974aa18a.manager.bundle.js +0 -1
- package/storybook-static/721.b2cb1bef.iframe.bundle.js +0 -2
- package/storybook-static/721.b2cb1bef.iframe.bundle.js.LICENSE.txt +0 -14
- package/storybook-static/768.a56f8dc5.iframe.bundle.js +0 -1
- package/storybook-static/807.ab5e54b0.iframe.bundle.js +0 -2
- package/storybook-static/807.ab5e54b0.iframe.bundle.js.LICENSE.txt +0 -31
- package/storybook-static/807.d9b6543fdd7c2d6a261f.manager.bundle.js +0 -2
- package/storybook-static/807.d9b6543fdd7c2d6a261f.manager.bundle.js.LICENSE.txt +0 -31
- package/storybook-static/875.f84e25ca.iframe.bundle.js +0 -103
- package/storybook-static/875.f84e25ca.iframe.bundle.js.LICENSE.txt +0 -140
- package/storybook-static/875.f84e25ca.iframe.bundle.js.map +0 -1
- package/storybook-static/897.28a9da99b07676500653.manager.bundle.js +0 -2
- package/storybook-static/897.28a9da99b07676500653.manager.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/897.55fef906.iframe.bundle.js +0 -2
- package/storybook-static/897.55fef906.iframe.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/935.21bb37c1.iframe.bundle.js +0 -1
- package/storybook-static/935.3dd376a177921dc3fe3b.manager.bundle.js +0 -1
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +0 -364
- package/storybook-static/index.html +0 -59
- package/storybook-static/main.e049ced5d8ce985fef37.manager.bundle.js +0 -1
- package/storybook-static/main.e57b4407.iframe.bundle.js +0 -1
- package/storybook-static/project.json +0 -1
- package/storybook-static/runtime~main.5389bf219a9b1108d544.manager.bundle.js +0 -1
- package/storybook-static/runtime~main.57b908d8.iframe.bundle.js +0 -1
- package/storybook-static/static/media/Bitter-Bold.091bd4b7.woff +0 -0
- package/storybook-static/static/media/Bitter-Bold.24bf01e4.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Bold.46bc29e4.ttf +0 -0
- package/storybook-static/static/media/Bitter-Bold.790f4f2f.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.1fa5390c.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.25e5675f.woff +0 -0
- package/storybook-static/static/media/Bitter-Italic.2eb18f5a.ttf +0 -0
- package/storybook-static/static/media/Bitter-Italic.34644574.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Regular.4b22b6e8.woff +0 -0
- package/storybook-static/static/media/Bitter-Regular.559e7075.eot +0 -0
- package/storybook-static/static/media/Bitter-Regular.8db0301b.ttf +0 -0
- package/storybook-static/static/media/Bitter-Regular.f4e2f1f1.woff2 +0 -0
- package/storybook-static/static/media/FontAwesome.91f80bba.otf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.202d819d.eot +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.92e570c6.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.da71e99a.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.e75949bb.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.72daa33a.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.74ead3a8.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ae19388f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ec7a2746.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.63a5fa7d.woff +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.66451be4.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.7882d20f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.ca4dd835.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.17ded75f.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.2a5adf6c.woff +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.6059fecb.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.c9808185.eot +0 -0
- package/storybook-static/static/media/Rubik-Bold.31bbd4d2.ttf +0 -0
- package/storybook-static/static/media/Rubik-Light.c90e2014.ttf +0 -0
- package/storybook-static/static/media/Rubik-Medium.5daa89aa.ttf +0 -0
- package/storybook-static/static/media/Rubik-Regular.cdf97d58.ttf +0 -0
- package/storybook-static/static/media/arrow-both.a0959e13.svg +0 -3
- package/storybook-static/static/media/fontawesome-webfont.1e59d233.ttf +0 -0
- package/storybook-static/static/media/fontawesome-webfont.20fd1704.woff2 +0 -0
- package/storybook-static/static/media/fontawesome-webfont.8b43027f.eot +0 -0
- package/storybook-static/static/media/fontawesome-webfont.c1e38fd9.svg +0 -2671
- package/storybook-static/static/media/fontawesome-webfont.f691f37e.woff +0 -0
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">20% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>2/10</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/5</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>0/6</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">20% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>2/10</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line low'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
@@ -116,26 +116,25 @@
|
|
|
116
116
|
<span class="cline-any cline-neutral"> </span>
|
|
117
117
|
<span class="cline-any cline-neutral"> </span>
|
|
118
118
|
<span class="cline-any cline-neutral"> </span>
|
|
119
|
-
<span class="cline-any cline-neutral"> </span>
|
|
120
119
|
<span class="cline-any cline-yes">1x</span>
|
|
121
|
-
<span class="cline-any cline-
|
|
122
|
-
<span class="cline-any cline-
|
|
120
|
+
<span class="cline-any cline-no"> </span>
|
|
121
|
+
<span class="cline-any cline-no"> </span>
|
|
123
122
|
<span class="cline-any cline-neutral"> </span>
|
|
124
123
|
<span class="cline-any cline-neutral"> </span>
|
|
125
124
|
<span class="cline-any cline-neutral"> </span>
|
|
126
|
-
<span class="cline-any cline-
|
|
125
|
+
<span class="cline-any cline-no"> </span>
|
|
127
126
|
<span class="cline-any cline-neutral"> </span>
|
|
128
|
-
<span class="cline-any cline-
|
|
127
|
+
<span class="cline-any cline-no"> </span>
|
|
129
128
|
<span class="cline-any cline-neutral"> </span>
|
|
130
129
|
<span class="cline-any cline-neutral"> </span>
|
|
131
|
-
<span class="cline-any cline-
|
|
130
|
+
<span class="cline-any cline-no"> </span>
|
|
132
131
|
<span class="cline-any cline-neutral"> </span>
|
|
133
132
|
<span class="cline-any cline-neutral"> </span>
|
|
134
|
-
<span class="cline-any cline-
|
|
133
|
+
<span class="cline-any cline-no"> </span>
|
|
135
134
|
<span class="cline-any cline-neutral"> </span>
|
|
136
135
|
<span class="cline-any cline-neutral"> </span>
|
|
137
|
-
<span class="cline-any cline-
|
|
138
|
-
<span class="cline-any cline-
|
|
136
|
+
<span class="cline-any cline-no"> </span>
|
|
137
|
+
<span class="cline-any cline-no"> </span>
|
|
139
138
|
<span class="cline-any cline-neutral"> </span>
|
|
140
139
|
<span class="cline-any cline-neutral"> </span>
|
|
141
140
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -159,31 +158,31 @@
|
|
|
159
158
|
<span class="cline-any cline-neutral"> </span>
|
|
160
159
|
<span class="cline-any cline-neutral"> </span>
|
|
161
160
|
<span class="cline-any cline-neutral"> </span>
|
|
161
|
+
<span class="cline-any cline-neutral"> </span>
|
|
162
162
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { useState } from "react";
|
|
163
163
|
import TooltipIcon from "../MadieTooltipIcon";
|
|
164
164
|
import PropTypes from "prop-types";
|
|
165
|
-
import "./index.scss";
|
|
166
165
|
|
|
167
166
|
// https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role
|
|
168
|
-
const MadieToolTip = ({ tooltipText = <span class="branch-0 cbranch-no" title="branch not covered" >"informational text",</span> id }) => {
|
|
169
|
-
const [activeTip, setActiveTip] = useState(false)
|
|
170
|
-
return (
|
|
167
|
+
const MadieToolTip = <span class="fstat-no" title="function not covered" >({</span> tooltipText = <span class="branch-0 cbranch-no" title="branch not covered" >"informational text",</span> id }) => {
|
|
168
|
+
const [activeTip, setActiveTip] = <span class="cstat-no" title="statement not covered" >useState(false);</span>
|
|
169
|
+
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
171
170
|
<button
|
|
172
171
|
data-testid={`${id}-button`}
|
|
173
172
|
tabIndex={0}
|
|
174
|
-
onFocus={() => setActiveTip(true)}
|
|
175
|
-
onBlur={() => {
|
|
176
|
-
setActiveTip(false)
|
|
173
|
+
onFocus={<span class="fstat-no" title="function not covered" >()</span> => <span class="cstat-no" title="statement not covered" >setActiveTip(true)}</span>
|
|
174
|
+
onBlur={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
175
|
+
<span class="cstat-no" title="statement not covered" > setActiveTip(false);</span>
|
|
177
176
|
}}
|
|
178
|
-
onMouseEnter={() => {
|
|
179
|
-
setActiveTip(true)
|
|
177
|
+
onMouseEnter={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
178
|
+
<span class="cstat-no" title="statement not covered" > setActiveTip(true);</span>
|
|
180
179
|
}}
|
|
181
|
-
onMouseLeave={() => {
|
|
182
|
-
setActiveTip(false)
|
|
180
|
+
onMouseLeave={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
181
|
+
<span class="cstat-no" title="statement not covered" > setActiveTip(false);</span>
|
|
183
182
|
}}
|
|
184
|
-
onKeyDown={(e) => {
|
|
185
|
-
|
|
186
|
-
setActiveTip(false)
|
|
183
|
+
onKeyDown={<span class="fstat-no" title="function not covered" >(e</span>) => {
|
|
184
|
+
<span class="cstat-no" title="statement not covered" > if (e.key === "Escape") {</span>
|
|
185
|
+
<span class="cstat-no" title="statement not covered" > setActiveTip(false);</span>
|
|
187
186
|
}
|
|
188
187
|
}}
|
|
189
188
|
className="madie-tooltip-button"
|
|
@@ -204,6 +203,7 @@ const MadieToolTip = ({ tooltipText = <span class="branch-0 cbranch-no" title="b
|
|
|
204
203
|
|
|
205
204
|
MadieToolTip.propTypes = {
|
|
206
205
|
tooltipText: PropTypes.string,
|
|
206
|
+
id: PropTypes.string,
|
|
207
207
|
};
|
|
208
208
|
|
|
209
209
|
export default MadieToolTip;
|
|
@@ -214,7 +214,7 @@ export default MadieToolTip;
|
|
|
214
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
215
|
Code coverage generated by
|
|
216
216
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
217
|
-
at 2024-
|
|
217
|
+
at 2024-03-20T15:56:48.583Z
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../prettify.js"></script>
|
|
220
220
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">66.66% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>2/3</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/1</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>0/1</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">66.66% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>2/3</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line medium'></div>
|
|
65
65
|
<div class="pad1">
|
|
66
66
|
<table class="coverage-summary">
|
|
67
67
|
<thead>
|
|
@@ -79,18 +79,18 @@
|
|
|
79
79
|
</tr>
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
|
-
<td class="file
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill
|
|
82
|
+
<td class="file medium" data-value="index.jsx"><a href="index.jsx.html">index.jsx</a></td>
|
|
83
|
+
<td data-value="66.66" class="pic medium">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 66%"></div><div class="cover-empty" style="width: 34%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="3" class="abs
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="1" class="abs
|
|
90
|
-
<td data-value="
|
|
91
|
-
<td data-value="1" class="abs
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="3" class="abs
|
|
86
|
+
<td data-value="66.66" class="pct medium">66.66%</td>
|
|
87
|
+
<td data-value="3" class="abs medium">2/3</td>
|
|
88
|
+
<td data-value="0" class="pct low">0%</td>
|
|
89
|
+
<td data-value="1" class="abs low">0/1</td>
|
|
90
|
+
<td data-value="0" class="pct low">0%</td>
|
|
91
|
+
<td data-value="1" class="abs low">0/1</td>
|
|
92
|
+
<td data-value="66.66" class="pct medium">66.66%</td>
|
|
93
|
+
<td data-value="3" class="abs medium">2/3</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
</tbody>
|
|
@@ -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 noreferrer">istanbul</a>
|
|
104
|
-
at 2024-
|
|
104
|
+
at 2024-03-20T15:56:48.583Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">66.66% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>2/3</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>0/1</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>0/1</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">66.66% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>2/3</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line medium'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
<span class="cline-any cline-neutral"> </span>
|
|
99
99
|
<span class="cline-any cline-neutral"> </span>
|
|
100
100
|
<span class="cline-any cline-yes">1x</span>
|
|
101
|
-
<span class="cline-any cline-
|
|
101
|
+
<span class="cline-any cline-no"> </span>
|
|
102
102
|
<span class="cline-any cline-neutral"> </span>
|
|
103
103
|
<span class="cline-any cline-neutral"> </span>
|
|
104
104
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -128,8 +128,8 @@
|
|
|
128
128
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from "react";
|
|
129
129
|
import PropTypes from "prop-types";
|
|
130
130
|
|
|
131
|
-
const TooltipIcon = ({ color = "#0073C8"
|
|
132
|
-
<svg
|
|
131
|
+
const TooltipIcon = <span class="fstat-no" title="function not covered" >({</span> color = <span class="branch-0 cbranch-no" title="branch not covered" >"#0073C8",</span> ...props }) => (
|
|
132
|
+
<span class="cstat-no" title="statement not covered" > <svg</span>
|
|
133
133
|
xmlns="http://www.w3.org/2000/svg"
|
|
134
134
|
width="14"
|
|
135
135
|
height="14"
|
|
@@ -137,7 +137,7 @@ const TooltipIcon = ({ color = "#0073C8", ...props }) => (
|
|
|
137
137
|
fill="none"
|
|
138
138
|
{...props}
|
|
139
139
|
>
|
|
140
|
-
<g
|
|
140
|
+
<g clipPath="url(#clip0_17397_1786)">
|
|
141
141
|
<path
|
|
142
142
|
d="M6.4165 10.5H7.58317V9.33334H6.4165V10.5ZM6.99984 1.16667C3.77984 1.16667 1.1665 3.78001 1.1665 7.00001C1.1665 10.22 3.77984 12.8333 6.99984 12.8333C10.2198 12.8333 12.8332 10.22 12.8332 7.00001C12.8332 3.78001 10.2198 1.16667 6.99984 1.16667ZM6.99984 11.6667C4.42734 11.6667 2.33317 9.57251 2.33317 7.00001C2.33317 4.42751 4.42734 2.33334 6.99984 2.33334C9.57234 2.33334 11.6665 4.42751 11.6665 7.00001C11.6665 9.57251 9.57234 11.6667 6.99984 11.6667ZM6.99984 3.50001C5.71067 3.50001 4.6665 4.54417 4.6665 5.83334H5.83317C5.83317 5.19167 6.35817 4.66667 6.99984 4.66667C7.6415 4.66667 8.1665 5.19167 8.1665 5.83334C8.1665 7.00001 6.4165 6.85417 6.4165 8.75001H7.58317C7.58317 7.43751 9.33317 7.29167 9.33317 5.83334C9.33317 4.54417 8.289 3.50001 6.99984 3.50001Z"
|
|
143
143
|
fill={color}
|
|
@@ -163,7 +163,7 @@ TooltipIcon.propTypes = {
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-20T15:56:48.583Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">78.57% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>11/14</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">43.33% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>13/30</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">78.57% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>11/14</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
<template id="filterTemplate">
|
|
58
58
|
<div class="quiet">
|
|
59
59
|
Filter:
|
|
60
|
-
<input
|
|
60
|
+
<input type="search" id="fileSearch">
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line medium'></div>
|
|
65
65
|
<div class="pad1">
|
|
66
66
|
<table class="coverage-summary">
|
|
67
67
|
<thead>
|
|
@@ -79,18 +79,18 @@
|
|
|
79
79
|
</tr>
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
|
-
<td class="file
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill
|
|
82
|
+
<td class="file medium" data-value="index.jsx"><a href="index.jsx.html">index.jsx</a></td>
|
|
83
|
+
<td data-value="78.57" class="pic medium">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 78%"></div><div class="cover-empty" style="width: 22%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="
|
|
86
|
+
<td data-value="78.57" class="pct medium">78.57%</td>
|
|
87
|
+
<td data-value="14" class="abs medium">11/14</td>
|
|
88
|
+
<td data-value="43.33" class="pct low">43.33%</td>
|
|
89
|
+
<td data-value="30" class="abs low">13/30</td>
|
|
90
90
|
<td data-value="100" class="pct high">100%</td>
|
|
91
91
|
<td data-value="1" class="abs high">1/1</td>
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="
|
|
92
|
+
<td data-value="78.57" class="pct medium">78.57%</td>
|
|
93
|
+
<td data-value="14" class="abs medium">11/14</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
</tbody>
|
|
@@ -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 noreferrer">istanbul</a>
|
|
104
|
-
at 2024-
|
|
104
|
+
at 2024-03-20T15:56:48.583Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|