qpp-style 9.44.0 → 9.44.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/coverage/clover.xml +569 -461
- package/coverage/coverage-final.json +70 -68
- package/coverage/lcov-report/components/Accordion/index.html +21 -21
- package/coverage/lcov-report/components/Accordion/index.jsx.html +113 -113
- package/coverage/lcov-report/components/{Button → Dropdown}/index.html +17 -17
- package/coverage/lcov-report/{react/components/HeaderSearchBar/index.jsx.html → components/Dropdown/index.js.html} +106 -109
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +98 -98
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +33 -33
- package/coverage/lcov-report/components/Error/index.html +23 -23
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +211 -211
- package/coverage/lcov-report/{react/components/SideNav/UI/DynamicContent.jsx.html → components/Footer/LegacyFooterUI.jsx.html} +246 -210
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +62 -62
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +36 -36
- package/coverage/lcov-report/components/Footer/index.html +13 -13
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +90 -90
- package/coverage/lcov-report/components/Infotip/InfotipContent.jsx.html +50 -50
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +49 -49
- package/coverage/lcov-report/components/Infotip/index.html +40 -25
- package/coverage/lcov-report/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/components/Modal/LegacyModal.jsx.html +116 -116
- package/coverage/lcov-report/components/Modal/Modal.jsx.html +252 -252
- package/coverage/lcov-report/components/Modal/index.html +38 -38
- package/coverage/lcov-report/components/Modal/index.jsx.html +31 -31
- package/coverage/lcov-report/components/SanitizedContent/index.html +21 -21
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +257 -257
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +440 -440
- package/coverage/lcov-report/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +166 -0
- package/coverage/lcov-report/{react/components/HeaderSearchBar → components/SideNav/AnimationGroup}/index.html +22 -22
- package/coverage/lcov-report/components/SideNav/Chart/ScoreChart.jsx.html +8 -8
- package/coverage/lcov-report/components/SideNav/Chart/index.html +16 -1
- package/coverage/lcov-report/components/SideNav/Chart/index.js.html +94 -0
- package/coverage/lcov-report/{InfotipIcon.jsx.html → components/SideNav/Content/LevelOneContent.jsx.html} +77 -53
- package/coverage/lcov-report/components/SideNav/Content/LevelTwoContent.jsx.html +733 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/index.html +34 -19
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/index.js.html +319 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/utils.js.html +147 -147
- package/coverage/lcov-report/components/{GovBanner → SideNav/Content}/index.html +44 -29
- package/coverage/lcov-report/components/SideNav/Content/index.js.html +94 -0
- package/coverage/lcov-report/components/{Header/HeaderCancel.jsx.html → SideNav/Details/IndividualDetails.jsx.html} +41 -35
- package/coverage/lcov-report/components/SideNav/Details/PracticeDetails.jsx.html +220 -0
- package/coverage/lcov-report/components/{NotificationBanner → SideNav/Details}/index.html +46 -46
- package/coverage/lcov-report/components/SideNav/Details/index.js.html +97 -0
- package/coverage/lcov-report/{InfotipContent.jsx.html → components/SideNav/Links/CmsSwitchLink.jsx.html} +56 -71
- package/coverage/lcov-report/{Infotip.jsx.html → components/SideNav/Links/NavItemInline.jsx.html} +72 -123
- package/coverage/lcov-report/components/SideNav/Links/NavLinkContainer.jsx.html +199 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkDrawer.jsx.html +970 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkInline.jsx.html +415 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkToggle.jsx.html +187 -0
- package/coverage/lcov-report/components/SideNav/Links/index.html +206 -0
- package/coverage/lcov-report/components/{Header/utag-helpers.js.html → SideNav/Links/index.js.html} +46 -34
- package/coverage/lcov-report/components/SideNav/UI/SideNavUI.jsx.html +1033 -0
- package/coverage/lcov-report/components/SideNav/UI/default-markup.js.html +97 -0
- package/coverage/lcov-report/components/SideNav/UI/index.html +146 -0
- package/coverage/lcov-report/{index.js.html → components/SideNav/UI/index.js.html} +12 -12
- package/coverage/lcov-report/components/SideNav/helpers.js.html +544 -565
- package/coverage/lcov-report/components/SideNav/index.html +19 -19
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +9 -9
- package/coverage/lcov-report/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/components/Tooltip/position.js.html +1 -1
- package/coverage/lcov-report/components/hooks/index.html +21 -21
- package/coverage/lcov-report/components/hooks/useGetConfig.js.html +128 -131
- package/coverage/lcov-report/components/index.html +21 -21
- package/coverage/lcov-report/index.html +124 -124
- package/coverage/lcov-report/lib/Chevron.jsx.html +36 -36
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +1161 -1161
- package/coverage/lcov-report/lib/index.html +24 -24
- package/coverage/lcov-report/lib/svg-definitions.svg.html +460 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +21 -21
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +41 -41
- package/coverage/lcov-report/react/components/Button/index.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Dropdown/index.html +1 -1
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +4 -4
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +12 -60
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +14 -20
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +7 -7
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +25 -34
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +15 -33
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/header.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/hooks.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/index.html +37 -37
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +3 -9
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/CollapsedView.js.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +21 -21
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +23 -23
- package/coverage/lcov-report/react/components/Session/Session.jsx.html +91 -61
- package/coverage/lcov-report/react/components/Session/SessionDialogWrapped.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Session/index.html +15 -15
- package/coverage/lcov-report/react/components/Session/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +90 -30
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +3 -3
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +18 -48
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +26 -26
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +38 -14
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +83 -62
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +5 -5
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +2 -5
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +2 -5
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +4 -4
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +536 -41
- 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 -34
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +1068 -15
- package/coverage/lcov-report/react/components/SideNav/index.html +21 -21
- package/coverage/lcov-report/react/components/SideNav/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +1 -1
- package/coverage/lcov-report/react/components/hooks/index.html +14 -14
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +15 -12
- package/coverage/lcov-report/react/components/index.html +21 -21
- package/coverage/lcov-report/react/index.html +13 -13
- package/coverage/lcov-report/react/index.js.html +28 -13
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +14 -14
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +2 -2
- package/coverage/lcov-report/react/lib/index.html +16 -16
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +1 -1
- package/coverage/lcov-report/react/session/index.html +44 -29
- package/coverage/lcov-report/react/session/index.js.html +1 -1
- package/coverage/lcov-report/react/session/isAuthV2.js.html +1 -1
- package/coverage/lcov-report/react/session/logout.js.html +44 -50
- package/coverage/lcov-report/react/session/refresh.js.html +17 -8
- package/coverage/lcov-report/react/session/ttl.js.html +21 -9
- package/coverage/lcov-report/session/index.html +53 -53
- package/coverage/lcov-report/session/index.js.html +13 -13
- package/coverage/lcov-report/session/logout.js.html +137 -137
- package/coverage/lcov-report/session/refresh.js.html +90 -90
- package/coverage/lcov-report/session/ttl.js.html +77 -77
- package/coverage/lcov.info +977 -753
- 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 +1 -1
- package/styles/components/_footer.scss +593 -0
- package/styles/components/_header.scss +890 -0
- package/styles/components/_sidebar.scss +8 -0
- package/styles/components/sidebar/_animations.scss +38 -0
- package/styles/components/sidebar/_cms.scss +61 -0
- package/styles/components/sidebar/_details.scss +58 -0
- package/styles/components/sidebar/_links.scss +420 -0
- package/styles/components/sidebar/_sidebar-animation.scss +121 -0
- package/styles/components/sidebar/_sidebar-tooltip.scss +33 -0
- package/styles/components/sidebar/_sidebar.scss +141 -0
- package/styles/components/sidebar/project-specific/_wi.scss +42 -0
- package/styles/qppds/components/_infotip-content.scss +49 -0
- package/styles/qppds/components/_spinner.scss +46 -0
- package/coverage/lcov-report/components/Button/index.js.html +0 -355
- package/coverage/lcov-report/components/GovBanner/index.js.html +0 -436
- package/coverage/lcov-report/components/Header/HeaderAccountMenu.jsx.html +0 -367
- package/coverage/lcov-report/components/Header/HeaderContainer.jsx.html +0 -307
- package/coverage/lcov-report/components/Header/HeaderLogo.jsx.html +0 -211
- package/coverage/lcov-report/components/Header/HeaderMenuButton.js.html +0 -235
- package/coverage/lcov-report/components/Header/HeaderMenuItem.jsx.html +0 -802
- package/coverage/lcov-report/components/Header/HeaderMenuLink.js.html +0 -253
- package/coverage/lcov-report/components/Header/HeaderMenuSignOutButton.js.html +0 -271
- package/coverage/lcov-report/components/Header/HeaderMobileButton.js.html +0 -196
- package/coverage/lcov-report/components/Header/HeaderUI.jsx.html +0 -586
- package/coverage/lcov-report/components/Header/HelpIcon.jsx.html +0 -181
- package/coverage/lcov-report/components/Header/ImpersonatorBanner.jsx.html +0 -328
- package/coverage/lcov-report/components/Header/NavigationButtonIcon.jsx.html +0 -166
- package/coverage/lcov-report/components/Header/hooks.js.html +0 -283
- package/coverage/lcov-report/components/Header/index.html +0 -326
- package/coverage/lcov-report/components/NotificationBanner/CollapsedView.js.html +0 -202
- package/coverage/lcov-report/components/NotificationBanner/ExpandedView.js.html +0 -220
- package/coverage/lcov-report/components/NotificationBanner/index.js.html +0 -748
|
@@ -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">70% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>14/20</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">41.66% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>10/24</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">50% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>3/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">70% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>14/20</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
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" style="width:
|
|
82
|
+
<td class="file medium" data-value="index.jsx"><a href="index.jsx.html">index.jsx</a></td>
|
|
83
|
+
<td data-value="70" class="pic medium">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 70%"></div><div class="cover-empty" style="width: 30%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="
|
|
90
|
-
<td data-value="
|
|
91
|
-
<td data-value="
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="
|
|
86
|
+
<td data-value="70" class="pct medium">70%</td>
|
|
87
|
+
<td data-value="20" class="abs medium">14/20</td>
|
|
88
|
+
<td data-value="41.66" class="pct low">41.66%</td>
|
|
89
|
+
<td data-value="24" class="abs low">10/24</td>
|
|
90
|
+
<td data-value="50" class="pct medium">50%</td>
|
|
91
|
+
<td data-value="6" class="abs medium">3/6</td>
|
|
92
|
+
<td data-value="70" class="pct medium">70%</td>
|
|
93
|
+
<td data-value="20" class="abs medium">14/20</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 2023-
|
|
104
|
+
at 2023-08-11T12:40:10.354Z
|
|
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">70% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>14/20</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">41.66% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>10/24</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">50% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>3/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">70% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>14/20</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
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>
|
|
@@ -160,134 +160,134 @@
|
|
|
160
160
|
<a name='L95'></a><a href='#L95'>95</a>
|
|
161
161
|
<a name='L96'></a><a href='#L96'>96</a>
|
|
162
162
|
<a name='L97'></a><a href='#L97'>97</a>
|
|
163
|
-
<a name='L98'></a><a href='#L98'>98</a></td><td class="line-coverage quiet"><span class="cline-any cline-
|
|
163
|
+
<a name='L98'></a><a href='#L98'>98</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
164
|
+
<span class="cline-any cline-neutral"> </span>
|
|
165
|
+
<span class="cline-any cline-neutral"> </span>
|
|
166
|
+
<span class="cline-any cline-neutral"> </span>
|
|
164
167
|
<span class="cline-any cline-yes">1x</span>
|
|
165
168
|
<span class="cline-any cline-yes">1x</span>
|
|
166
169
|
<span class="cline-any cline-yes">1x</span>
|
|
167
170
|
<span class="cline-any cline-yes">1x</span>
|
|
168
171
|
<span class="cline-any cline-yes">1x</span>
|
|
169
|
-
<span class="cline-any cline-yes">1x</span>
|
|
170
|
-
<span class="cline-any cline-yes">1x</span>
|
|
171
|
-
<span class="cline-any cline-yes">1x</span>
|
|
172
|
-
<span class="cline-any cline-no"> </span>
|
|
173
|
-
<span class="cline-any cline-no"> </span>
|
|
174
|
-
<span class="cline-any cline-no"> </span>
|
|
175
172
|
<span class="cline-any cline-no"> </span>
|
|
176
|
-
<span class="cline-any cline-yes">1x</span>
|
|
177
|
-
<span class="cline-any cline-yes">1x</span>
|
|
178
|
-
<span class="cline-any cline-yes">1x</span>
|
|
179
|
-
<span class="cline-any cline-yes">1x</span>
|
|
180
|
-
<span class="cline-any cline-yes">1x</span>
|
|
181
173
|
<span class="cline-any cline-no"> </span>
|
|
174
|
+
<span class="cline-any cline-neutral"> </span>
|
|
182
175
|
<span class="cline-any cline-no"> </span>
|
|
176
|
+
<span class="cline-any cline-neutral"> </span>
|
|
183
177
|
<span class="cline-any cline-yes">1x</span>
|
|
184
178
|
<span class="cline-any cline-yes">1x</span>
|
|
179
|
+
<span class="cline-any cline-neutral"> </span>
|
|
180
|
+
<span class="cline-any cline-neutral"> </span>
|
|
185
181
|
<span class="cline-any cline-no"> </span>
|
|
182
|
+
<span class="cline-any cline-neutral"> </span>
|
|
183
|
+
<span class="cline-any cline-neutral"> </span>
|
|
184
|
+
<span class="cline-any cline-neutral"> </span>
|
|
186
185
|
<span class="cline-any cline-no"> </span>
|
|
186
|
+
<span class="cline-any cline-neutral"> </span>
|
|
187
|
+
<span class="cline-any cline-neutral"> </span>
|
|
188
|
+
<span class="cline-any cline-neutral"> </span>
|
|
187
189
|
<span class="cline-any cline-yes">1x</span>
|
|
190
|
+
<span class="cline-any cline-neutral"> </span>
|
|
191
|
+
<span class="cline-any cline-neutral"> </span>
|
|
188
192
|
<span class="cline-any cline-yes">1x</span>
|
|
189
193
|
<span class="cline-any cline-yes">1x</span>
|
|
190
|
-
<span class="cline-any cline-yes">1x</span>
|
|
191
|
-
<span class="cline-any cline-yes">1x</span>
|
|
192
|
-
<span class="cline-any cline-yes">1x</span>
|
|
193
|
-
<span class="cline-any cline-yes">1x</span>
|
|
194
|
-
<span class="cline-any cline-no"> </span>
|
|
195
|
-
<span class="cline-any cline-yes">1x</span>
|
|
196
|
-
<span class="cline-any cline-yes">1x</span>
|
|
197
|
-
<span class="cline-any cline-yes">1x</span>
|
|
198
|
-
<span class="cline-any cline-yes">1x</span>
|
|
199
|
-
<span class="cline-any cline-yes">1x</span>
|
|
200
|
-
<span class="cline-any cline-yes">1x</span>
|
|
201
|
-
<span class="cline-any cline-yes">1x</span>
|
|
202
|
-
<span class="cline-any cline-yes">1x</span>
|
|
203
|
-
<span class="cline-any cline-yes">1x</span>
|
|
204
|
-
<span class="cline-any cline-yes">1x</span>
|
|
205
|
-
<span class="cline-any cline-yes">1x</span>
|
|
206
|
-
<span class="cline-any cline-yes">1x</span>
|
|
207
|
-
<span class="cline-any cline-yes">1x</span>
|
|
208
|
-
<span class="cline-any cline-yes">1x</span>
|
|
209
|
-
<span class="cline-any cline-yes">1x</span>
|
|
210
|
-
<span class="cline-any cline-yes">1x</span>
|
|
211
|
-
<span class="cline-any cline-yes">1x</span>
|
|
212
|
-
<span class="cline-any cline-yes">1x</span>
|
|
213
|
-
<span class="cline-any cline-yes">1x</span>
|
|
214
|
-
<span class="cline-any cline-yes">1x</span>
|
|
215
|
-
<span class="cline-any cline-no"> </span>
|
|
216
|
-
<span class="cline-any cline-yes">1x</span>
|
|
217
|
-
<span class="cline-any cline-yes">1x</span>
|
|
218
|
-
<span class="cline-any cline-yes">1x</span>
|
|
219
|
-
<span class="cline-any cline-no"> </span>
|
|
220
|
-
<span class="cline-any cline-no"> </span>
|
|
221
194
|
<span class="cline-any cline-no"> </span>
|
|
222
|
-
<span class="cline-any cline-
|
|
223
|
-
<span class="cline-any cline-yes">1x</span>
|
|
224
|
-
<span class="cline-any cline-
|
|
225
|
-
<span class="cline-any cline-
|
|
226
|
-
<span class="cline-any cline-
|
|
227
|
-
<span class="cline-any cline-yes">1x</span>
|
|
228
|
-
<span class="cline-any cline-
|
|
229
|
-
<span class="cline-any cline-
|
|
230
|
-
<span class="cline-any cline-
|
|
231
|
-
<span class="cline-any cline-
|
|
232
|
-
<span class="cline-any cline-
|
|
233
|
-
<span class="cline-any cline-
|
|
234
|
-
<span class="cline-any cline-
|
|
235
|
-
<span class="cline-any cline-
|
|
236
|
-
<span class="cline-any cline-
|
|
237
|
-
<span class="cline-any cline-
|
|
238
|
-
<span class="cline-any cline-
|
|
239
|
-
<span class="cline-any cline-
|
|
240
|
-
<span class="cline-any cline-
|
|
241
|
-
<span class="cline-any cline-
|
|
242
|
-
<span class="cline-any cline-
|
|
243
|
-
<span class="cline-any cline-
|
|
244
|
-
<span class="cline-any cline-
|
|
245
|
-
<span class="cline-any cline-
|
|
246
|
-
<span class="cline-any cline-
|
|
247
|
-
<span class="cline-any cline-
|
|
248
|
-
<span class="cline-any cline-
|
|
249
|
-
<span class="cline-any cline-
|
|
250
|
-
<span class="cline-any cline-
|
|
251
|
-
<span class="cline-any cline-
|
|
252
|
-
<span class="cline-any cline-
|
|
253
|
-
<span class="cline-any cline-
|
|
254
|
-
<span class="cline-any cline-
|
|
255
|
-
<span class="cline-any cline-
|
|
256
|
-
<span class="cline-any cline-
|
|
257
|
-
<span class="cline-any cline-
|
|
258
|
-
<span class="cline-any cline-
|
|
259
|
-
<span class="cline-any cline-
|
|
195
|
+
<span class="cline-any cline-neutral"> </span>
|
|
196
|
+
<span class="cline-any cline-yes">1x</span>
|
|
197
|
+
<span class="cline-any cline-neutral"> </span>
|
|
198
|
+
<span class="cline-any cline-neutral"> </span>
|
|
199
|
+
<span class="cline-any cline-neutral"> </span>
|
|
200
|
+
<span class="cline-any cline-yes">1x</span>
|
|
201
|
+
<span class="cline-any cline-neutral"> </span>
|
|
202
|
+
<span class="cline-any cline-neutral"> </span>
|
|
203
|
+
<span class="cline-any cline-neutral"> </span>
|
|
204
|
+
<span class="cline-any cline-neutral"> </span>
|
|
205
|
+
<span class="cline-any cline-neutral"> </span>
|
|
206
|
+
<span class="cline-any cline-neutral"> </span>
|
|
207
|
+
<span class="cline-any cline-neutral"> </span>
|
|
208
|
+
<span class="cline-any cline-neutral"> </span>
|
|
209
|
+
<span class="cline-any cline-neutral"> </span>
|
|
210
|
+
<span class="cline-any cline-neutral"> </span>
|
|
211
|
+
<span class="cline-any cline-neutral"> </span>
|
|
212
|
+
<span class="cline-any cline-neutral"> </span>
|
|
213
|
+
<span class="cline-any cline-neutral"> </span>
|
|
214
|
+
<span class="cline-any cline-neutral"> </span>
|
|
215
|
+
<span class="cline-any cline-neutral"> </span>
|
|
216
|
+
<span class="cline-any cline-neutral"> </span>
|
|
217
|
+
<span class="cline-any cline-neutral"> </span>
|
|
218
|
+
<span class="cline-any cline-neutral"> </span>
|
|
219
|
+
<span class="cline-any cline-neutral"> </span>
|
|
220
|
+
<span class="cline-any cline-neutral"> </span>
|
|
221
|
+
<span class="cline-any cline-neutral"> </span>
|
|
222
|
+
<span class="cline-any cline-neutral"> </span>
|
|
223
|
+
<span class="cline-any cline-neutral"> </span>
|
|
224
|
+
<span class="cline-any cline-neutral"> </span>
|
|
225
|
+
<span class="cline-any cline-neutral"> </span>
|
|
226
|
+
<span class="cline-any cline-neutral"> </span>
|
|
227
|
+
<span class="cline-any cline-neutral"> </span>
|
|
228
|
+
<span class="cline-any cline-neutral"> </span>
|
|
229
|
+
<span class="cline-any cline-neutral"> </span>
|
|
230
|
+
<span class="cline-any cline-neutral"> </span>
|
|
231
|
+
<span class="cline-any cline-neutral"> </span>
|
|
232
|
+
<span class="cline-any cline-neutral"> </span>
|
|
233
|
+
<span class="cline-any cline-neutral"> </span>
|
|
234
|
+
<span class="cline-any cline-neutral"> </span>
|
|
235
|
+
<span class="cline-any cline-neutral"> </span>
|
|
236
|
+
<span class="cline-any cline-neutral"> </span>
|
|
237
|
+
<span class="cline-any cline-neutral"> </span>
|
|
238
|
+
<span class="cline-any cline-neutral"> </span>
|
|
239
|
+
<span class="cline-any cline-neutral"> </span>
|
|
240
|
+
<span class="cline-any cline-neutral"> </span>
|
|
241
|
+
<span class="cline-any cline-neutral"> </span>
|
|
242
|
+
<span class="cline-any cline-neutral"> </span>
|
|
243
|
+
<span class="cline-any cline-yes">1x</span>
|
|
244
|
+
<span class="cline-any cline-neutral"> </span>
|
|
245
|
+
<span class="cline-any cline-neutral"> </span>
|
|
246
|
+
<span class="cline-any cline-neutral"> </span>
|
|
247
|
+
<span class="cline-any cline-neutral"> </span>
|
|
248
|
+
<span class="cline-any cline-neutral"> </span>
|
|
249
|
+
<span class="cline-any cline-neutral"> </span>
|
|
250
|
+
<span class="cline-any cline-neutral"> </span>
|
|
251
|
+
<span class="cline-any cline-neutral"> </span>
|
|
252
|
+
<span class="cline-any cline-neutral"> </span>
|
|
253
|
+
<span class="cline-any cline-yes">1x</span>
|
|
254
|
+
<span class="cline-any cline-neutral"> </span>
|
|
255
|
+
<span class="cline-any cline-neutral"> </span>
|
|
256
|
+
<span class="cline-any cline-neutral"> </span>
|
|
257
|
+
<span class="cline-any cline-neutral"> </span>
|
|
258
|
+
<span class="cline-any cline-neutral"> </span>
|
|
259
|
+
<span class="cline-any cline-neutral"> </span>
|
|
260
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
261
|
import PropTypes from 'prop-types';
|
|
262
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" >
|
|
268
|
-
const getHeight = <span class="fstat-no" title="function 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
|
+
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
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" >
|
|
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
|
-
<span class="fstat-no" title="function not covered" >
|
|
277
|
+
function <span class="fstat-no" title="function not covered" >toggleAccordion(</span>) {
|
|
278
278
|
<span class="cstat-no" title="statement not covered" > setActiveState(setActive === '' ? 'active' : '');</span>
|
|
279
|
-
|
|
279
|
+
}
|
|
280
280
|
|
|
281
|
-
<span class="fstat-no" title="function not covered" >
|
|
281
|
+
function <span class="fstat-no" title="function not covered" >openAccordion(</span>) {
|
|
282
282
|
<span class="cstat-no" title="statement not covered" > setActiveState('active');</span>
|
|
283
|
-
|
|
283
|
+
}
|
|
284
284
|
|
|
285
285
|
function closeAccordion() {
|
|
286
286
|
setActiveState('');
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
useEffect(() => {
|
|
290
|
-
|
|
290
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (props.isOpen) {
|
|
291
291
|
<span class="cstat-no" title="statement not covered" > openAccordion();</span>
|
|
292
292
|
} else {
|
|
293
293
|
closeAccordion();
|
|
@@ -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-
|
|
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}
|
|
@@ -308,19 +308,19 @@ const Accordion = (props) => {
|
|
|
308
308
|
>
|
|
309
309
|
<div className="accordion-left-title">
|
|
310
310
|
<p className="accordion-title">{props.title}</p>
|
|
311
|
-
{props.subTitle
|
|
312
|
-
<span class="
|
|
311
|
+
{props.subTitle && (
|
|
312
|
+
<span class="branch-1 cbranch-no" title="branch not covered" > <p className="accordion-subtitle">{props.subTitle}</p></span>
|
|
313
313
|
)}
|
|
314
314
|
</div>
|
|
315
|
-
{props.centerItem
|
|
316
|
-
<span class="
|
|
317
|
-
|
|
318
|
-
|
|
315
|
+
{props.centerItem && (
|
|
316
|
+
<span class="branch-1 cbranch-no" title="branch not covered" > <div className="accordion-center"></span>
|
|
317
|
+
<p>{props.centerItem}</p>
|
|
318
|
+
</div>
|
|
319
319
|
)}
|
|
320
|
-
{props.rightItem
|
|
321
|
-
<span class="
|
|
322
|
-
|
|
323
|
-
|
|
320
|
+
{props.rightItem && (
|
|
321
|
+
<span class="branch-1 cbranch-no" title="branch not covered" > <div className="accordion-right"></span>
|
|
322
|
+
<p>{props.rightItem}</p>
|
|
323
|
+
</div>
|
|
324
324
|
)}
|
|
325
325
|
<div className="chevron-container">
|
|
326
326
|
<Chevron className={rotate} />
|
|
@@ -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-08-11T12:40:10.354Z
|
|
365
365
|
</div>
|
|
366
366
|
<script src="../../prettify.js"></script>
|
|
367
367
|
<script>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for components/
|
|
6
|
+
<title>Code coverage report for components/Dropdown</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
8
|
<link rel="stylesheet" href="../../prettify.css" />
|
|
9
9
|
<link rel="stylesheet" href="../../base.css" />
|
|
@@ -19,20 +19,20 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="../../index.html">All files</a> components/
|
|
22
|
+
<h1><a href="../../index.html">All files</a> components/Dropdown</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">42.85% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>3/7</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'>0/
|
|
35
|
+
<span class='fraction'>0/4</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">42.85% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>3/7</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
82
|
<td class="file low" data-value="index.js"><a href="index.js.html">index.js</a></td>
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
83
|
+
<td data-value="42.85" class="pic low">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 42%"></div><div class="cover-empty" style="width: 58%"></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="42.85" class="pct low">42.85%</td>
|
|
87
|
+
<td data-value="7" class="abs low">3/7</td>
|
|
88
|
+
<td data-value="0" class="pct low">0%</td>
|
|
89
|
+
<td data-value="4" class="abs low">0/4</td>
|
|
90
90
|
<td data-value="0" class="pct low">0%</td>
|
|
91
91
|
<td data-value="3" class="abs low">0/3</td>
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="
|
|
92
|
+
<td data-value="42.85" class="pct low">42.85%</td>
|
|
93
|
+
<td data-value="7" class="abs low">3/7</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 2023-
|
|
104
|
+
at 2023-08-11T12:40:10.354Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../prettify.js"></script>
|
|
107
107
|
<script>
|