qpp-style 9.34.3 → 9.34.4
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/coverage/clover.xml +139 -142
- package/coverage/coverage-final.json +13 -12
- package/coverage/lcov-report/Infotip.jsx.html +298 -0
- package/coverage/lcov-report/InfotipContent.jsx.html +223 -0
- package/coverage/lcov-report/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/index.html +51 -51
- package/coverage/lcov-report/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +14 -14
- package/coverage/lcov-report/react/components/Button/index.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.js.html +16 -16
- package/coverage/lcov-report/react/components/Dropdown/index.html +1 -1
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +10 -10
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +4 -4
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +5 -5
- package/coverage/lcov-report/react/components/Error/error.js.html +4 -4
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +11 -11
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Footer/footer.js.html +5 -5
- package/coverage/lcov-report/react/components/Footer/index.html +1 -1
- package/coverage/lcov-report/react/components/GovBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/GovBanner/index.js.html +3 -3
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +9 -9
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +3 -3
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +22 -16
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +64 -10
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +8 -8
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +38 -38
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +10 -10
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +10 -10
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +5 -5
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +17 -14
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +25 -25
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Header/header.js.html +4 -4
- package/coverage/lcov-report/react/components/Header/hooks.js.html +9 -9
- package/coverage/lcov-report/react/components/Header/index.html +13 -13
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +41 -41
- package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +18 -18
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +11 -11
- package/coverage/lcov-report/react/components/Infotip/index.html +38 -23
- package/coverage/lcov-report/react/components/Infotip/index.js.html +2 -2
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +9 -9
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +11 -11
- package/coverage/lcov-report/react/components/Modal/index.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +6 -6
- package/coverage/lcov-report/react/components/NotificationBanner/CollapsedView.js.html +5 -5
- package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +6 -6
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +29 -29
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +178 -178
- package/coverage/lcov-report/react/components/Session/Session.jsx.html +9 -9
- package/coverage/lcov-report/react/components/Session/SessionDialogWrapped.jsx.html +4 -4
- package/coverage/lcov-report/react/components/Session/index.html +1 -1
- package/coverage/lcov-report/react/components/Session/index.jsx.html +2 -2
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +6 -6
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +11 -11
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +6 -6
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +23 -23
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +2 -2
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +3 -3
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +4 -4
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +3 -3
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +5 -5
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +8 -8
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +3 -3
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +33 -33
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +15 -15
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +8 -8
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +6 -6
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +36 -126
- package/coverage/lcov-report/react/components/SideNav/UI/default-markup.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +19 -19
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +2 -2
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +96 -84
- package/coverage/lcov-report/react/components/SideNav/index.html +10 -10
- package/coverage/lcov-report/react/components/SideNav/index.js.html +4 -4
- package/coverage/lcov-report/react/components/hooks/index.html +1 -1
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +7 -7
- package/coverage/lcov-report/react/index.html +1 -1
- package/coverage/lcov-report/react/index.js.html +1 -1
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/index.html +1 -1
- package/coverage/lcov-report/react/session/index.html +20 -20
- package/coverage/lcov-report/react/session/index.js.html +1 -1
- package/coverage/lcov-report/react/session/isAuthV2.js.html +2 -2
- package/coverage/lcov-report/react/session/logout.js.html +43 -43
- package/coverage/lcov-report/react/session/refresh.js.html +2 -2
- package/coverage/lcov-report/react/session/ttl.js.html +2 -2
- package/coverage/lcov.info +253 -258
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +14 -20
- package/test/components/FooterUI.test.js +18 -19
- package/test/components/Infotip.test.js +29 -31
- package/test/session/session.test.js +64 -65
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for InfotipIcon.jsx</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> InfotipIcon.jsx</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'>4/4</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'>6/6</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'>4/4</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>
|
|
95
|
+
<a name='L30'></a><a href='#L30'>30</a>
|
|
96
|
+
<a name='L31'></a><a href='#L31'>31</a>
|
|
97
|
+
<a name='L32'></a><a href='#L32'>32</a>
|
|
98
|
+
<a name='L33'></a><a href='#L33'>33</a>
|
|
99
|
+
<a name='L34'></a><a href='#L34'>34</a>
|
|
100
|
+
<a name='L35'></a><a href='#L35'>35</a>
|
|
101
|
+
<a name='L36'></a><a href='#L36'>36</a>
|
|
102
|
+
<a name='L37'></a><a href='#L37'>37</a>
|
|
103
|
+
<a name='L38'></a><a href='#L38'>38</a>
|
|
104
|
+
<a name='L39'></a><a href='#L39'>39</a>
|
|
105
|
+
<a name='L40'></a><a href='#L40'>40</a>
|
|
106
|
+
<a name='L41'></a><a href='#L41'>41</a>
|
|
107
|
+
<a name='L42'></a><a href='#L42'>42</a></td><td class="line-coverage quiet"><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-yes">1x</span>
|
|
111
|
+
<span class="cline-any cline-yes">4x</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-neutral"> </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>
|
|
123
|
+
<span class="cline-any cline-neutral"> </span>
|
|
124
|
+
<span class="cline-any cline-neutral"> </span>
|
|
125
|
+
<span class="cline-any cline-neutral"> </span>
|
|
126
|
+
<span class="cline-any cline-neutral"> </span>
|
|
127
|
+
<span class="cline-any cline-neutral"> </span>
|
|
128
|
+
<span class="cline-any cline-neutral"> </span>
|
|
129
|
+
<span class="cline-any cline-neutral"> </span>
|
|
130
|
+
<span class="cline-any cline-neutral"> </span>
|
|
131
|
+
<span class="cline-any cline-neutral"> </span>
|
|
132
|
+
<span class="cline-any cline-neutral"> </span>
|
|
133
|
+
<span class="cline-any cline-neutral"> </span>
|
|
134
|
+
<span class="cline-any cline-neutral"> </span>
|
|
135
|
+
<span class="cline-any cline-neutral"> </span>
|
|
136
|
+
<span class="cline-any cline-neutral"> </span>
|
|
137
|
+
<span class="cline-any cline-neutral"> </span>
|
|
138
|
+
<span class="cline-any cline-neutral"> </span>
|
|
139
|
+
<span class="cline-any cline-neutral"> </span>
|
|
140
|
+
<span class="cline-any cline-neutral"> </span>
|
|
141
|
+
<span class="cline-any cline-yes">1x</span>
|
|
142
|
+
<span class="cline-any cline-neutral"> </span>
|
|
143
|
+
<span class="cline-any cline-neutral"> </span>
|
|
144
|
+
<span class="cline-any cline-neutral"> </span>
|
|
145
|
+
<span class="cline-any cline-yes">1x</span>
|
|
146
|
+
<span class="cline-any cline-neutral"> </span>
|
|
147
|
+
<span class="cline-any cline-neutral"> </span>
|
|
148
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from "react";
|
|
149
|
+
import PropTypes from "prop-types";
|
|
150
|
+
|
|
151
|
+
const InfotipIcon = ({ lightIcon, ...props }) => (
|
|
152
|
+
<svg
|
|
153
|
+
width="20px"
|
|
154
|
+
height="20px"
|
|
155
|
+
viewBox="0 0 20 20"
|
|
156
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
157
|
+
{...props}
|
|
158
|
+
>
|
|
159
|
+
<g fill="none" fillRule="evenodd">
|
|
160
|
+
<path
|
|
161
|
+
d="M9.721 19.158c-4.947 0-8.973-4.126-8.973-9.196C.748 4.892 4.774.766 9.72.766c4.948 0 8.974 4.126 8.974 9.196 0 5.07-4.026 9.196-8.974 9.196z"
|
|
162
|
+
fill="#2EB1ED"
|
|
163
|
+
fillRule="nonzero"
|
|
164
|
+
/>
|
|
165
|
+
<path
|
|
166
|
+
d="M9.721 0C4.361 0 0 4.469 0 9.962c0 5.493 4.36 9.962 9.721 9.962 5.36 0 9.722-4.469 9.722-9.962C19.443 4.469 15.082 0 9.72 0z"
|
|
167
|
+
fill={lightIcon ? "#FFF" : "#0073C8"}
|
|
168
|
+
/>
|
|
169
|
+
<path
|
|
170
|
+
d="M9.721 14.765c-.206 0-.374.112-.374.25v.5c0 .138.168.25.374.25.207 0 .374-.112.374-.25v-.5c0-.138-.167-.25-.374-.25zM9.764 4.706H9.72c-.792 0-1.536.29-2.1.821a2.767 2.767 0 0 0-.89 2.03c0 .197.166.356.373.356s.374-.159.374-.356c0-.577.237-1.118.668-1.523a2.268 2.268 0 0 1 1.607-.615c1.182.016 2.195.98 2.211 2.107.011.743-.373 1.427-1.028 1.83-.995.61-1.589 1.691-1.589 2.89v1.013c0 .197.168.357.374.357.207 0 .374-.16.374-.357v-1.013c0-.941.477-1.82 1.246-2.292.873-.537 1.386-1.448 1.371-2.438-.022-1.527-1.345-2.788-2.948-2.81z"
|
|
171
|
+
stroke={lightIcon ? "#0073C8" : "#FFF"}
|
|
172
|
+
strokeWidth=".5"
|
|
173
|
+
fill={lightIcon ? "#0073C8" : "#FFF"}
|
|
174
|
+
fillRule="nonzero"
|
|
175
|
+
/>
|
|
176
|
+
</g>
|
|
177
|
+
</svg>
|
|
178
|
+
);
|
|
179
|
+
|
|
180
|
+
export default InfotipIcon;
|
|
181
|
+
|
|
182
|
+
InfotipIcon.propTypes = {
|
|
183
|
+
lightIcon: PropTypes.bool,
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
InfotipIcon.defaultProps = {
|
|
187
|
+
lightIcon: false,
|
|
188
|
+
};
|
|
189
|
+
</pre></td></tr></table></pre>
|
|
190
|
+
|
|
191
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
192
|
+
</div><!-- /wrapper -->
|
|
193
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
194
|
+
Code coverage generated by
|
|
195
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
196
|
+
at 2023-10-06T22:06:02.250Z
|
|
197
|
+
</div>
|
|
198
|
+
<script src="prettify.js"></script>
|
|
199
|
+
<script>
|
|
200
|
+
window.onload = function () {
|
|
201
|
+
prettyPrint();
|
|
202
|
+
};
|
|
203
|
+
</script>
|
|
204
|
+
<script src="sorter.js"></script>
|
|
205
|
+
<script src="block-navigation.js"></script>
|
|
206
|
+
</body>
|
|
207
|
+
</html>
|
|
208
|
+
|
|
@@ -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">33.48% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>368/1099</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">8.68% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>52/599</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">12.9% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>40/310</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">34.2% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>368/1076</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -185,32 +185,32 @@
|
|
|
185
185
|
|
|
186
186
|
<tr>
|
|
187
187
|
<td class="file low" data-value="react/components/Header"><a href="react/components/Header/index.html">react/components/Header</a></td>
|
|
188
|
-
<td data-value="17.
|
|
188
|
+
<td data-value="17.43" class="pic low">
|
|
189
189
|
<div class="chart"><div class="cover-fill" style="width: 17%"></div><div class="cover-empty" style="width: 83%"></div></div>
|
|
190
190
|
</td>
|
|
191
|
-
<td data-value="17.
|
|
192
|
-
<td data-value="
|
|
191
|
+
<td data-value="17.43" class="pct low">17.43%</td>
|
|
192
|
+
<td data-value="218" class="abs low">38/218</td>
|
|
193
193
|
<td data-value="0" class="pct low">0%</td>
|
|
194
|
-
<td data-value="
|
|
194
|
+
<td data-value="104" class="abs low">0/104</td>
|
|
195
195
|
<td data-value="0" class="pct low">0%</td>
|
|
196
196
|
<td data-value="70" class="abs low">0/70</td>
|
|
197
|
-
<td data-value="18.
|
|
198
|
-
<td data-value="
|
|
197
|
+
<td data-value="18.35" class="pct low">18.35%</td>
|
|
198
|
+
<td data-value="207" class="abs low">38/207</td>
|
|
199
199
|
</tr>
|
|
200
200
|
|
|
201
201
|
<tr>
|
|
202
|
-
<td class="file
|
|
203
|
-
<td data-value="
|
|
204
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
202
|
+
<td class="file high" data-value="react/components/Infotip"><a href="react/components/Infotip/index.html">react/components/Infotip</a></td>
|
|
203
|
+
<td data-value="100" class="pic high">
|
|
204
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
205
205
|
</td>
|
|
206
|
-
<td data-value="
|
|
207
|
-
<td data-value="24" class="abs
|
|
208
|
-
<td data-value="
|
|
209
|
-
<td data-value="8" class="abs
|
|
210
|
-
<td data-value="
|
|
211
|
-
<td data-value="5" class="abs
|
|
212
|
-
<td data-value="
|
|
213
|
-
<td data-value="24" class="abs
|
|
206
|
+
<td data-value="100" class="pct high">100%</td>
|
|
207
|
+
<td data-value="24" class="abs high">24/24</td>
|
|
208
|
+
<td data-value="100" class="pct high">100%</td>
|
|
209
|
+
<td data-value="8" class="abs high">8/8</td>
|
|
210
|
+
<td data-value="100" class="pct high">100%</td>
|
|
211
|
+
<td data-value="5" class="abs high">5/5</td>
|
|
212
|
+
<td data-value="100" class="pct high">100%</td>
|
|
213
|
+
<td data-value="24" class="abs high">24/24</td>
|
|
214
214
|
</tr>
|
|
215
215
|
|
|
216
216
|
<tr>
|
|
@@ -275,17 +275,17 @@
|
|
|
275
275
|
|
|
276
276
|
<tr>
|
|
277
277
|
<td class="file low" data-value="react/components/SideNav"><a href="react/components/SideNav/index.html">react/components/SideNav</a></td>
|
|
278
|
-
<td data-value="45" class="pic low">
|
|
278
|
+
<td data-value="45.54" class="pic low">
|
|
279
279
|
<div class="chart"><div class="cover-fill" style="width: 45%"></div><div class="cover-empty" style="width: 55%"></div></div>
|
|
280
280
|
</td>
|
|
281
|
-
<td data-value="45" class="pct low">45%</td>
|
|
282
|
-
<td data-value="
|
|
281
|
+
<td data-value="45.54" class="pct low">45.54%</td>
|
|
282
|
+
<td data-value="101" class="abs low">46/101</td>
|
|
283
283
|
<td data-value="12.5" class="pct low">12.5%</td>
|
|
284
284
|
<td data-value="40" class="abs low">5/40</td>
|
|
285
285
|
<td data-value="15" class="pct low">15%</td>
|
|
286
286
|
<td data-value="20" class="abs low">3/20</td>
|
|
287
|
-
<td data-value="
|
|
288
|
-
<td data-value="
|
|
287
|
+
<td data-value="46.46" class="pct low">46.46%</td>
|
|
288
|
+
<td data-value="99" class="abs low">46/99</td>
|
|
289
289
|
</tr>
|
|
290
290
|
|
|
291
291
|
<tr>
|
|
@@ -365,17 +365,17 @@
|
|
|
365
365
|
|
|
366
366
|
<tr>
|
|
367
367
|
<td class="file low" data-value="react/components/SideNav/UI"><a href="react/components/SideNav/UI/index.html">react/components/SideNav/UI</a></td>
|
|
368
|
-
<td data-value="
|
|
369
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
368
|
+
<td data-value="48.33" class="pic low">
|
|
369
|
+
<div class="chart"><div class="cover-fill" style="width: 48%"></div><div class="cover-empty" style="width: 52%"></div></div>
|
|
370
370
|
</td>
|
|
371
|
-
<td data-value="
|
|
372
|
-
<td data-value="
|
|
373
|
-
<td data-value="
|
|
374
|
-
<td data-value="
|
|
375
|
-
<td data-value="
|
|
376
|
-
<td data-value="
|
|
377
|
-
<td data-value="
|
|
378
|
-
<td data-value="
|
|
371
|
+
<td data-value="48.33" class="pct low">48.33%</td>
|
|
372
|
+
<td data-value="60" class="abs low">29/60</td>
|
|
373
|
+
<td data-value="8.33" class="pct low">8.33%</td>
|
|
374
|
+
<td data-value="48" class="abs low">4/48</td>
|
|
375
|
+
<td data-value="40" class="pct low">40%</td>
|
|
376
|
+
<td data-value="15" class="abs low">6/15</td>
|
|
377
|
+
<td data-value="48.33" class="pct low">48.33%</td>
|
|
378
|
+
<td data-value="60" class="abs low">29/60</td>
|
|
379
379
|
</tr>
|
|
380
380
|
|
|
381
381
|
<tr>
|
|
@@ -410,17 +410,17 @@
|
|
|
410
410
|
|
|
411
411
|
<tr>
|
|
412
412
|
<td class="file low" data-value="react/session"><a href="react/session/index.html">react/session</a></td>
|
|
413
|
-
<td data-value="
|
|
414
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
413
|
+
<td data-value="27.02" class="pic low">
|
|
414
|
+
<div class="chart"><div class="cover-fill" style="width: 27%"></div><div class="cover-empty" style="width: 73%"></div></div>
|
|
415
415
|
</td>
|
|
416
|
-
<td data-value="
|
|
417
|
-
<td data-value="74" class="abs low">
|
|
418
|
-
<td data-value="
|
|
419
|
-
<td data-value="29" class="abs low">
|
|
420
|
-
<td data-value="
|
|
421
|
-
<td data-value="13" class="abs low">
|
|
422
|
-
<td data-value="
|
|
423
|
-
<td data-value="74" class="abs low">
|
|
416
|
+
<td data-value="27.02" class="pct low">27.02%</td>
|
|
417
|
+
<td data-value="74" class="abs low">20/74</td>
|
|
418
|
+
<td data-value="10.34" class="pct low">10.34%</td>
|
|
419
|
+
<td data-value="29" class="abs low">3/29</td>
|
|
420
|
+
<td data-value="30.76" class="pct low">30.76%</td>
|
|
421
|
+
<td data-value="13" class="abs low">4/13</td>
|
|
422
|
+
<td data-value="27.02" class="pct low">27.02%</td>
|
|
423
|
+
<td data-value="74" class="abs low">20/74</td>
|
|
424
424
|
</tr>
|
|
425
425
|
|
|
426
426
|
</tbody>
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
432
432
|
Code coverage generated by
|
|
433
433
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
434
|
-
at 2023-
|
|
434
|
+
at 2023-10-09T20:35:15.116Z
|
|
435
435
|
</div>
|
|
436
436
|
<script src="prettify.js"></script>
|
|
437
437
|
<script>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<title>Code coverage report for index.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> index.js</h1>
|
|
23
|
+
<div class='clearfix'>
|
|
24
|
+
|
|
25
|
+
<div class='fl pad1y space-right2'>
|
|
26
|
+
<span class="strong">0% </span>
|
|
27
|
+
<span class="quiet">Statements</span>
|
|
28
|
+
<span class='fraction'>0/0</span>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<div class='fl pad1y space-right2'>
|
|
33
|
+
<span class="strong">0% </span>
|
|
34
|
+
<span class="quiet">Branches</span>
|
|
35
|
+
<span class='fraction'>0/0</span>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
<div class='fl pad1y space-right2'>
|
|
40
|
+
<span class="strong">0% </span>
|
|
41
|
+
<span class="quiet">Functions</span>
|
|
42
|
+
<span class='fraction'>0/0</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<div class='fl pad1y space-right2'>
|
|
47
|
+
<span class="strong">0% </span>
|
|
48
|
+
<span class="quiet">Lines</span>
|
|
49
|
+
<span class='fraction'>0/0</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 low'></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></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
70
|
+
<span class="cline-any cline-neutral"> </span>
|
|
71
|
+
<span class="cline-any cline-neutral"> </span>
|
|
72
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import Infotip from "./Infotip";
|
|
73
|
+
|
|
74
|
+
export default Infotip;
|
|
75
|
+
</pre></td></tr></table></pre>
|
|
76
|
+
|
|
77
|
+
<div class='push'></div><!-- for sticky footer -->
|
|
78
|
+
</div><!-- /wrapper -->
|
|
79
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
|
80
|
+
Code coverage generated by
|
|
81
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
82
|
+
at 2023-10-06T22:06:02.250Z
|
|
83
|
+
</div>
|
|
84
|
+
<script src="prettify.js"></script>
|
|
85
|
+
<script>
|
|
86
|
+
window.onload = function () {
|
|
87
|
+
prettyPrint();
|
|
88
|
+
};
|
|
89
|
+
</script>
|
|
90
|
+
<script src="sorter.js"></script>
|
|
91
|
+
<script src="block-navigation.js"></script>
|
|
92
|
+
</body>
|
|
93
|
+
</html>
|
|
94
|
+
|
|
@@ -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 2023-
|
|
104
|
+
at 2023-10-09T20:35:15.116Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -257,33 +257,33 @@
|
|
|
257
257
|
<span class="cline-any cline-neutral"> </span>
|
|
258
258
|
<span class="cline-any cline-neutral"> </span>
|
|
259
259
|
<span class="cline-any cline-neutral"> </span>
|
|
260
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { useState, useRef, useEffect } from
|
|
261
|
-
import PropTypes from
|
|
262
|
-
import { Chevron } from
|
|
260
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { useState, useRef, useEffect } from "react";
|
|
261
|
+
import PropTypes from "prop-types";
|
|
262
|
+
import { Chevron } from "../../lib/Chevron.jsx";
|
|
263
263
|
|
|
264
264
|
const Accordion = (props) => {
|
|
265
265
|
const content = useRef(null);
|
|
266
|
-
const [setActive, setActiveState] = useState(props.isOpen ? <span class="branch-0 cbranch-no" title="branch not covered" >
|
|
267
|
-
const ariaPressed = setActive ? <span class="branch-0 cbranch-no" title="branch not covered" >
|
|
266
|
+
const [setActive, setActiveState] = useState(props.isOpen ? <span class="branch-0 cbranch-no" title="branch not covered" >"active" </span>: "");
|
|
267
|
+
const ariaPressed = setActive ? <span class="branch-0 cbranch-no" title="branch not covered" >"true" </span>: "false";
|
|
268
268
|
const getHeight = <span class="fstat-no" title="function not covered" >(n</span>ode) => {
|
|
269
269
|
<span class="cstat-no" title="statement not covered" > if (node) {</span>
|
|
270
270
|
<span class="cstat-no" title="statement not covered" > return `${node.scrollHeight}px`;</span>
|
|
271
271
|
}
|
|
272
|
-
<span class="cstat-no" title="statement not covered" > return
|
|
272
|
+
<span class="cstat-no" title="statement not covered" > return "auto";</span>
|
|
273
273
|
};
|
|
274
|
-
const height = setActive ? <span class="branch-0 cbranch-no" title="branch not covered" >getHeight(content.current) </span>:
|
|
275
|
-
const rotate = setActive ? <span class="branch-0 cbranch-no" title="branch not covered" >
|
|
274
|
+
const height = setActive ? <span class="branch-0 cbranch-no" title="branch not covered" >getHeight(content.current) </span>: "0px";
|
|
275
|
+
const rotate = setActive ? <span class="branch-0 cbranch-no" title="branch not covered" >"accordion-icon rotate" </span>: "accordion-icon";
|
|
276
276
|
|
|
277
277
|
function <span class="fstat-no" title="function not covered" >toggleAccordion(</span>) {
|
|
278
|
-
<span class="cstat-no" title="statement not covered" > setActiveState(setActive ===
|
|
278
|
+
<span class="cstat-no" title="statement not covered" > setActiveState(setActive === "" ? "active" : "");</span>
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
function <span class="fstat-no" title="function not covered" >openAccordion(</span>) {
|
|
282
|
-
<span class="cstat-no" title="statement not covered" > setActiveState(
|
|
282
|
+
<span class="cstat-no" title="statement not covered" > setActiveState("active");</span>
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
function closeAccordion() {
|
|
286
|
-
setActiveState(
|
|
286
|
+
setActiveState("");
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
useEffect(() => {
|
|
@@ -298,7 +298,7 @@ const Accordion = (props) => {
|
|
|
298
298
|
<div className="accordion-section" data-testid="accordion">
|
|
299
299
|
<button
|
|
300
300
|
className={`accordion ${setActive} ${
|
|
301
|
-
setActive && <span class="branch-1 cbranch-no" title="branch not covered" >props.isSticky </span>? <span class="branch-0 cbranch-no" title="branch not covered" >
|
|
301
|
+
setActive && <span class="branch-1 cbranch-no" title="branch not covered" >props.isSticky </span>? <span class="branch-0 cbranch-no" title="branch not covered" >"sticky" </span>: ""
|
|
302
302
|
}`}
|
|
303
303
|
aria-label={props.title}
|
|
304
304
|
aria-pressed={ariaPressed}
|
|
@@ -348,7 +348,7 @@ Accordion.propTypes = {
|
|
|
348
348
|
};
|
|
349
349
|
|
|
350
350
|
Accordion.defaultProps = {
|
|
351
|
-
title:
|
|
351
|
+
title: "",
|
|
352
352
|
isOpen: false,
|
|
353
353
|
isSticky: false,
|
|
354
354
|
};
|
|
@@ -361,7 +361,7 @@ export default Accordion;
|
|
|
361
361
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
362
362
|
Code coverage generated by
|
|
363
363
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
364
|
-
at 2023-
|
|
364
|
+
at 2023-10-09T20:35:15.116Z
|
|
365
365
|
</div>
|
|
366
366
|
<script src="../../../prettify.js"></script>
|
|
367
367
|
<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 noreferrer">istanbul</a>
|
|
104
|
-
at 2023-
|
|
104
|
+
at 2023-10-09T20:35:15.116Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|