qpp-style 9.44.1 → 9.44.3
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/components/Footer/FooterUI.jsx +3 -3
- package/components/Infotip/InfotipContent.jsx +1 -0
- package/coverage/clover.xml +461 -569
- package/coverage/coverage-final.json +68 -70
- package/coverage/lcov-report/{components/SideNav/Links/NavItemInline.jsx.html → Infotip.jsx.html} +123 -72
- package/coverage/lcov-report/{components/SideNav/Links/CmsSwitchLink.jsx.html → InfotipContent.jsx.html} +71 -56
- package/coverage/lcov-report/{components/SideNav/Content/LevelOneContent.jsx.html → InfotipIcon.jsx.html} +53 -77
- 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/{Dropdown → Button}/index.html +17 -17
- package/coverage/lcov-report/components/Button/index.js.html +355 -0
- 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/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/{SideNav/Content → GovBanner}/index.html +29 -44
- package/coverage/lcov-report/components/GovBanner/index.js.html +436 -0
- package/coverage/lcov-report/components/Header/HeaderAccountMenu.jsx.html +367 -0
- package/coverage/lcov-report/components/{SideNav/Details/IndividualDetails.jsx.html → Header/HeaderCancel.jsx.html} +35 -41
- package/coverage/lcov-report/components/Header/HeaderContainer.jsx.html +307 -0
- package/coverage/lcov-report/components/Header/HeaderLogo.jsx.html +211 -0
- package/coverage/lcov-report/components/Header/HeaderMenuButton.js.html +235 -0
- package/coverage/lcov-report/components/Header/HeaderMenuItem.jsx.html +802 -0
- package/coverage/lcov-report/components/Header/HeaderMenuLink.js.html +253 -0
- package/coverage/lcov-report/components/Header/HeaderMenuSignOutButton.js.html +271 -0
- package/coverage/lcov-report/components/Header/HeaderMobileButton.js.html +196 -0
- package/coverage/lcov-report/components/Header/HeaderUI.jsx.html +586 -0
- package/coverage/lcov-report/components/Header/HelpIcon.jsx.html +181 -0
- package/coverage/lcov-report/components/Header/ImpersonatorBanner.jsx.html +328 -0
- package/coverage/lcov-report/components/Header/NavigationButtonIcon.jsx.html +166 -0
- package/coverage/lcov-report/components/Header/hooks.js.html +283 -0
- package/coverage/lcov-report/components/Header/index.html +326 -0
- package/coverage/lcov-report/components/{SideNav/Links/index.js.html → Header/utag-helpers.js.html} +34 -46
- 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 +25 -40
- 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/NotificationBanner/CollapsedView.js.html +202 -0
- package/coverage/lcov-report/components/NotificationBanner/ExpandedView.js.html +220 -0
- package/coverage/lcov-report/components/{SideNav/Details → NotificationBanner}/index.html +46 -46
- package/coverage/lcov-report/components/NotificationBanner/index.js.html +748 -0
- 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/Chart/ScoreChart.jsx.html +8 -8
- package/coverage/lcov-report/components/SideNav/Chart/index.html +1 -16
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/index.html +19 -34
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/utils.js.html +147 -147
- package/coverage/lcov-report/components/SideNav/helpers.js.html +565 -544
- 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 +131 -128
- package/coverage/lcov-report/components/index.html +21 -21
- package/coverage/lcov-report/index.html +124 -124
- package/coverage/lcov-report/{components/SideNav/UI/index.js.html → index.js.html} +12 -12
- 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/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 +60 -12
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +20 -14
- 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 +34 -25
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +33 -15
- 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/{components/SideNav/AnimationGroup → react/components/HeaderSearchBar}/index.html +22 -22
- package/coverage/lcov-report/{components/Dropdown/index.js.html → react/components/HeaderSearchBar/index.jsx.html} +109 -106
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +9 -3
- 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 +61 -91
- 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 +30 -90
- 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 +48 -18
- 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 +14 -38
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +62 -83
- 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 +5 -2
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +5 -2
- 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/{components/Footer/LegacyFooterUI.jsx.html → react/components/SideNav/UI/DynamicContent.jsx.html} +210 -246
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +41 -536
- package/coverage/lcov-report/react/components/SideNav/UI/default-markup.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +34 -19
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +15 -1068
- 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 +12 -15
- 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 +13 -28
- 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 +29 -44
- 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 +50 -44
- package/coverage/lcov-report/react/session/refresh.js.html +8 -17
- package/coverage/lcov-report/react/session/ttl.js.html +9 -21
- 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 +754 -978
- 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/images/icons/svg/download-text-link.svg +4 -0
- package/package.json +1 -1
- package/coverage/lcov-report/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +0 -166
- package/coverage/lcov-report/components/SideNav/Chart/index.js.html +0 -94
- package/coverage/lcov-report/components/SideNav/Content/LevelTwoContent.jsx.html +0 -733
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/index.js.html +0 -319
- package/coverage/lcov-report/components/SideNav/Content/index.js.html +0 -94
- package/coverage/lcov-report/components/SideNav/Details/PracticeDetails.jsx.html +0 -220
- package/coverage/lcov-report/components/SideNav/Details/index.js.html +0 -97
- package/coverage/lcov-report/components/SideNav/Links/NavLinkContainer.jsx.html +0 -199
- package/coverage/lcov-report/components/SideNav/Links/NavLinkDrawer.jsx.html +0 -970
- package/coverage/lcov-report/components/SideNav/Links/NavLinkInline.jsx.html +0 -415
- package/coverage/lcov-report/components/SideNav/Links/NavLinkToggle.jsx.html +0 -187
- package/coverage/lcov-report/components/SideNav/Links/index.html +0 -206
- package/coverage/lcov-report/components/SideNav/UI/SideNavUI.jsx.html +0 -1033
- package/coverage/lcov-report/components/SideNav/UI/default-markup.js.html +0 -97
- package/coverage/lcov-report/components/SideNav/UI/index.html +0 -146
- package/coverage/lcov-report/lib/svg-definitions.svg.html +0 -460
- package/styles/components/_footer.scss +0 -593
- package/styles/components/_header.scss +0 -890
- package/styles/components/_sidebar.scss +0 -8
- package/styles/components/sidebar/_animations.scss +0 -38
- package/styles/components/sidebar/_cms.scss +0 -61
- package/styles/components/sidebar/_details.scss +0 -58
- package/styles/components/sidebar/_links.scss +0 -420
- package/styles/components/sidebar/_sidebar-animation.scss +0 -121
- package/styles/components/sidebar/_sidebar-tooltip.scss +0 -33
- package/styles/components/sidebar/_sidebar.scss +0 -141
- package/styles/components/sidebar/project-specific/_wi.scss +0 -42
- package/styles/qppds/components/_infotip-content.scss +0 -49
- package/styles/qppds/components/_spinner.scss +0 -46
package/coverage/lcov-report/{components/SideNav/Links/NavItemInline.jsx.html → Infotip.jsx.html}
RENAMED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for
|
|
6
|
+
<title>Code coverage report for Infotip.jsx</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
|
-
<link rel="stylesheet" href="
|
|
9
|
-
<link rel="stylesheet" href="
|
|
10
|
-
<link rel="shortcut icon" type="image/x-icon" href="
|
|
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
11
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
12
|
<style type='text/css'>
|
|
13
13
|
.coverage-summary .sorter {
|
|
14
|
-
background-image: url(
|
|
14
|
+
background-image: url(sort-arrow-sprite.png);
|
|
15
15
|
}
|
|
16
16
|
</style>
|
|
17
17
|
</head>
|
|
@@ -19,34 +19,34 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="
|
|
22
|
+
<h1><a href="index.html">All files</a> Infotip.jsx</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>13/13</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">100% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>2/2</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>3/3</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>13/13</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 high'></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>
|
|
@@ -117,12 +117,31 @@
|
|
|
117
117
|
<a name='L52'></a><a href='#L52'>52</a>
|
|
118
118
|
<a name='L53'></a><a href='#L53'>53</a>
|
|
119
119
|
<a name='L54'></a><a href='#L54'>54</a>
|
|
120
|
-
<a name='L55'></a><a href='#L55'>55</a
|
|
120
|
+
<a name='L55'></a><a href='#L55'>55</a>
|
|
121
|
+
<a name='L56'></a><a href='#L56'>56</a>
|
|
122
|
+
<a name='L57'></a><a href='#L57'>57</a>
|
|
123
|
+
<a name='L58'></a><a href='#L58'>58</a>
|
|
124
|
+
<a name='L59'></a><a href='#L59'>59</a>
|
|
125
|
+
<a name='L60'></a><a href='#L60'>60</a>
|
|
126
|
+
<a name='L61'></a><a href='#L61'>61</a>
|
|
127
|
+
<a name='L62'></a><a href='#L62'>62</a>
|
|
128
|
+
<a name='L63'></a><a href='#L63'>63</a>
|
|
129
|
+
<a name='L64'></a><a href='#L64'>64</a>
|
|
130
|
+
<a name='L65'></a><a href='#L65'>65</a>
|
|
131
|
+
<a name='L66'></a><a href='#L66'>66</a>
|
|
132
|
+
<a name='L67'></a><a href='#L67'>67</a>
|
|
133
|
+
<a name='L68'></a><a href='#L68'>68</a>
|
|
134
|
+
<a name='L69'></a><a href='#L69'>69</a>
|
|
135
|
+
<a name='L70'></a><a href='#L70'>70</a>
|
|
136
|
+
<a name='L71'></a><a href='#L71'>71</a>
|
|
137
|
+
<a name='L72'></a><a href='#L72'>72</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
138
|
+
<span class="cline-any cline-neutral"> </span>
|
|
121
139
|
<span class="cline-any cline-neutral"> </span>
|
|
122
140
|
<span class="cline-any cline-neutral"> </span>
|
|
123
141
|
<span class="cline-any cline-neutral"> </span>
|
|
124
142
|
<span class="cline-any cline-yes">1x</span>
|
|
125
143
|
<span class="cline-any cline-neutral"> </span>
|
|
144
|
+
<span class="cline-any cline-yes">1x</span>
|
|
126
145
|
<span class="cline-any cline-neutral"> </span>
|
|
127
146
|
<span class="cline-any cline-neutral"> </span>
|
|
128
147
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -131,17 +150,30 @@
|
|
|
131
150
|
<span class="cline-any cline-neutral"> </span>
|
|
132
151
|
<span class="cline-any cline-neutral"> </span>
|
|
133
152
|
<span class="cline-any cline-neutral"> </span>
|
|
134
|
-
<span class="cline-any cline-no"> </span>
|
|
135
153
|
<span class="cline-any cline-neutral"> </span>
|
|
136
|
-
<span class="cline-any cline-no"> </span>
|
|
137
|
-
<span class="cline-any cline-no"> </span>
|
|
138
|
-
<span class="cline-any cline-no"> </span>
|
|
139
|
-
<span class="cline-any cline-no"> </span>
|
|
140
154
|
<span class="cline-any cline-neutral"> </span>
|
|
141
|
-
<span class="cline-any cline-no"> </span>
|
|
142
155
|
<span class="cline-any cline-neutral"> </span>
|
|
143
156
|
<span class="cline-any cline-neutral"> </span>
|
|
157
|
+
<span class="cline-any cline-yes">1x</span>
|
|
144
158
|
<span class="cline-any cline-neutral"> </span>
|
|
159
|
+
<span class="cline-any cline-yes">1x</span>
|
|
160
|
+
<span class="cline-any cline-neutral"> </span>
|
|
161
|
+
<span class="cline-any cline-neutral"> </span>
|
|
162
|
+
<span class="cline-any cline-yes">2x</span>
|
|
163
|
+
<span class="cline-any cline-yes">1x</span>
|
|
164
|
+
<span class="cline-any cline-yes">1x</span>
|
|
165
|
+
<span class="cline-any cline-neutral"> </span>
|
|
166
|
+
<span class="cline-any cline-yes">1x</span>
|
|
167
|
+
<span class="cline-any cline-yes">1x</span>
|
|
168
|
+
<span class="cline-any cline-neutral"> </span>
|
|
169
|
+
<span class="cline-any cline-neutral"> </span>
|
|
170
|
+
<span class="cline-any cline-neutral"> </span>
|
|
171
|
+
<span class="cline-any cline-neutral"> </span>
|
|
172
|
+
<span class="cline-any cline-neutral"> </span>
|
|
173
|
+
<span class="cline-any cline-neutral"> </span>
|
|
174
|
+
<span class="cline-any cline-neutral"> </span>
|
|
175
|
+
<span class="cline-any cline-yes">1x</span>
|
|
176
|
+
<span class="cline-any cline-yes">4x</span>
|
|
145
177
|
<span class="cline-any cline-neutral"> </span>
|
|
146
178
|
<span class="cline-any cline-neutral"> </span>
|
|
147
179
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -166,65 +198,84 @@
|
|
|
166
198
|
<span class="cline-any cline-neutral"> </span>
|
|
167
199
|
<span class="cline-any cline-neutral"> </span>
|
|
168
200
|
<span class="cline-any cline-neutral"> </span>
|
|
201
|
+
<span class="cline-any cline-yes">1x</span>
|
|
202
|
+
<span class="cline-any cline-neutral"> </span>
|
|
169
203
|
<span class="cline-any cline-neutral"> </span>
|
|
170
204
|
<span class="cline-any cline-neutral"> </span>
|
|
171
205
|
<span class="cline-any cline-neutral"> </span>
|
|
172
206
|
<span class="cline-any cline-neutral"> </span>
|
|
173
207
|
<span class="cline-any cline-neutral"> </span>
|
|
174
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from
|
|
175
|
-
import
|
|
176
|
-
import
|
|
208
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from "react";
|
|
209
|
+
import PropTypes from "prop-types";
|
|
210
|
+
import InfotipContent from "./InfotipContent";
|
|
211
|
+
import InfotipIcon from "./InfotipIcon";
|
|
212
|
+
|
|
213
|
+
const BUTTON_SIZE = "16px";
|
|
177
214
|
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
} = <span class="cstat-no" title="statement not covered" >props;</span>
|
|
215
|
+
const buttonStyle = {
|
|
216
|
+
background: "transparent",
|
|
217
|
+
border: 0,
|
|
218
|
+
padding: 0,
|
|
219
|
+
width: BUTTON_SIZE,
|
|
220
|
+
height: BUTTON_SIZE,
|
|
221
|
+
WebkitTouchCallout: "none",
|
|
222
|
+
WebkitUserSelect: "none",
|
|
223
|
+
userSelect: "none",
|
|
224
|
+
};
|
|
189
225
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
226
|
+
// TODO: We may want to improve this by tracking touch positions to ensure
|
|
227
|
+
// that a 'touchend' event must be reasonably close to the tooltip target.
|
|
228
|
+
const touchHandlers = {
|
|
229
|
+
onTouchStart: (e) => {
|
|
230
|
+
e.stopPropagation();
|
|
231
|
+
},
|
|
232
|
+
onTouchEnd: (e) => {
|
|
233
|
+
if (document.activeElement !== e.currentTarget) {
|
|
234
|
+
e.preventDefault();
|
|
235
|
+
e.currentTarget.focus();
|
|
236
|
+
} else {
|
|
237
|
+
e.preventDefault();
|
|
238
|
+
e.currentTarget.blur();
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
};
|
|
194
242
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
243
|
+
/**
|
|
244
|
+
* Tooltip with styled information icon
|
|
245
|
+
*/
|
|
246
|
+
const Infotip = ({ ariaLabel, label, lightIcon, ...props }) => (
|
|
247
|
+
<InfotipContent label={label} {...props}>
|
|
248
|
+
<button
|
|
249
|
+
type="button"
|
|
250
|
+
aria-label={ariaLabel}
|
|
251
|
+
style={buttonStyle}
|
|
252
|
+
{...touchHandlers}
|
|
201
253
|
>
|
|
202
|
-
<
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
{
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
254
|
+
<InfotipIcon
|
|
255
|
+
lightIcon={lightIcon}
|
|
256
|
+
width={BUTTON_SIZE}
|
|
257
|
+
height={BUTTON_SIZE}
|
|
258
|
+
aria-hidden
|
|
259
|
+
style={{ float: "left" }}
|
|
260
|
+
/>
|
|
261
|
+
</button>
|
|
262
|
+
</InfotipContent>
|
|
263
|
+
);
|
|
264
|
+
|
|
265
|
+
Infotip.propTypes = {
|
|
266
|
+
label: PropTypes.string.isRequired,
|
|
267
|
+
ariaLabel: PropTypes.string,
|
|
268
|
+
lightIcon: PropTypes.bool,
|
|
269
|
+
DEBUG_STYLE: PropTypes.bool,
|
|
214
270
|
};
|
|
215
271
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
icon: PropTypes.element,
|
|
221
|
-
label: PropTypes.string,
|
|
222
|
-
isActive: PropTypes.bool,
|
|
223
|
-
showLabel: PropTypes.bool,
|
|
224
|
-
disabled: PropTypes.bool,
|
|
272
|
+
Infotip.defaultProps = {
|
|
273
|
+
ariaLabel: "Information",
|
|
274
|
+
lightIcon: false,
|
|
275
|
+
DEBUG_STYLE: undefined,
|
|
225
276
|
};
|
|
226
277
|
|
|
227
|
-
export default
|
|
278
|
+
export default Infotip;
|
|
228
279
|
</pre></td></tr></table></pre>
|
|
229
280
|
|
|
230
281
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -232,16 +283,16 @@ export default NavItemInline;
|
|
|
232
283
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
233
284
|
Code coverage generated by
|
|
234
285
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
235
|
-
at 2023-
|
|
286
|
+
at 2023-10-06T22:06:02.250Z
|
|
236
287
|
</div>
|
|
237
|
-
<script src="
|
|
288
|
+
<script src="prettify.js"></script>
|
|
238
289
|
<script>
|
|
239
290
|
window.onload = function () {
|
|
240
291
|
prettyPrint();
|
|
241
292
|
};
|
|
242
293
|
</script>
|
|
243
|
-
<script src="
|
|
244
|
-
<script src="
|
|
294
|
+
<script src="sorter.js"></script>
|
|
295
|
+
<script src="block-navigation.js"></script>
|
|
245
296
|
</body>
|
|
246
297
|
</html>
|
|
247
298
|
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
<html lang="en">
|
|
4
4
|
|
|
5
5
|
<head>
|
|
6
|
-
<title>Code coverage report for
|
|
6
|
+
<title>Code coverage report for InfotipContent.jsx</title>
|
|
7
7
|
<meta charset="utf-8" />
|
|
8
|
-
<link rel="stylesheet" href="
|
|
9
|
-
<link rel="stylesheet" href="
|
|
10
|
-
<link rel="shortcut icon" type="image/x-icon" href="
|
|
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
11
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
12
|
<style type='text/css'>
|
|
13
13
|
.coverage-summary .sorter {
|
|
14
|
-
background-image: url(
|
|
14
|
+
background-image: url(sort-arrow-sprite.png);
|
|
15
15
|
}
|
|
16
16
|
</style>
|
|
17
17
|
</head>
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
<body>
|
|
20
20
|
<div class='wrapper'>
|
|
21
21
|
<div class='pad1'>
|
|
22
|
-
<h1><a href="
|
|
22
|
+
<h1><a href="index.html">All files</a> InfotipContent.jsx</h1>
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>7/7</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">100% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>1/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">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>7/7</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 high'></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>
|
|
@@ -104,20 +104,27 @@
|
|
|
104
104
|
<a name='L39'></a><a href='#L39'>39</a>
|
|
105
105
|
<a name='L40'></a><a href='#L40'>40</a>
|
|
106
106
|
<a name='L41'></a><a href='#L41'>41</a>
|
|
107
|
-
<a name='L42'></a><a href='#L42'>42</a
|
|
107
|
+
<a name='L42'></a><a href='#L42'>42</a>
|
|
108
|
+
<a name='L43'></a><a href='#L43'>43</a>
|
|
109
|
+
<a name='L44'></a><a href='#L44'>44</a>
|
|
110
|
+
<a name='L45'></a><a href='#L45'>45</a>
|
|
111
|
+
<a name='L46'></a><a href='#L46'>46</a>
|
|
112
|
+
<a name='L47'></a><a href='#L47'>47</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
108
113
|
<span class="cline-any cline-neutral"> </span>
|
|
109
114
|
<span class="cline-any cline-neutral"> </span>
|
|
110
115
|
<span class="cline-any cline-neutral"> </span>
|
|
111
116
|
<span class="cline-any cline-neutral"> </span>
|
|
112
|
-
<span class="cline-any cline-yes">1x</span>
|
|
113
|
-
<span class="cline-any cline-no"> </span>
|
|
114
117
|
<span class="cline-any cline-neutral"> </span>
|
|
115
118
|
<span class="cline-any cline-neutral"> </span>
|
|
116
119
|
<span class="cline-any cline-neutral"> </span>
|
|
117
|
-
<span class="cline-any cline-no"> </span>
|
|
118
120
|
<span class="cline-any cline-neutral"> </span>
|
|
121
|
+
<span class="cline-any cline-yes">1x</span>
|
|
122
|
+
<span class="cline-any cline-yes">1x</span>
|
|
119
123
|
<span class="cline-any cline-neutral"> </span>
|
|
124
|
+
<span class="cline-any cline-yes">1x</span>
|
|
125
|
+
<span class="cline-any cline-yes">16x</span>
|
|
120
126
|
<span class="cline-any cline-neutral"> </span>
|
|
127
|
+
<span class="cline-any cline-yes">16x</span>
|
|
121
128
|
<span class="cline-any cline-neutral"> </span>
|
|
122
129
|
<span class="cline-any cline-neutral"> </span>
|
|
123
130
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -125,6 +132,9 @@
|
|
|
125
132
|
<span class="cline-any cline-neutral"> </span>
|
|
126
133
|
<span class="cline-any cline-neutral"> </span>
|
|
127
134
|
<span class="cline-any cline-neutral"> </span>
|
|
135
|
+
<span class="cline-any cline-yes">16x</span>
|
|
136
|
+
<span class="cline-any cline-neutral"> </span>
|
|
137
|
+
<span class="cline-any cline-neutral"> </span>
|
|
128
138
|
<span class="cline-any cline-neutral"> </span>
|
|
129
139
|
<span class="cline-any cline-neutral"> </span>
|
|
130
140
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -138,54 +148,59 @@
|
|
|
138
148
|
<span class="cline-any cline-neutral"> </span>
|
|
139
149
|
<span class="cline-any cline-neutral"> </span>
|
|
140
150
|
<span class="cline-any cline-neutral"> </span>
|
|
141
|
-
<span class="cline-any cline-yes">1x</span>
|
|
142
151
|
<span class="cline-any cline-neutral"> </span>
|
|
152
|
+
<span class="cline-any cline-yes">1x</span>
|
|
143
153
|
<span class="cline-any cline-neutral"> </span>
|
|
144
154
|
<span class="cline-any cline-neutral"> </span>
|
|
145
155
|
<span class="cline-any cline-neutral"> </span>
|
|
146
156
|
<span class="cline-any cline-neutral"> </span>
|
|
147
157
|
<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
|
|
149
|
-
import PropTypes from
|
|
150
|
-
import {
|
|
151
|
-
|
|
158
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from "react";
|
|
159
|
+
import PropTypes from "prop-types";
|
|
160
|
+
import {
|
|
161
|
+
Tooltip as TooltipAriaKit,
|
|
162
|
+
TooltipAnchor,
|
|
163
|
+
TooltipArrow,
|
|
164
|
+
useTooltipState,
|
|
165
|
+
} from "ariakit/tooltip";
|
|
166
|
+
|
|
167
|
+
const TEXT_COLOR = "#FFF";
|
|
168
|
+
const BACKGROUND_COLOR = "#333";
|
|
169
|
+
|
|
170
|
+
const InfotipContent = ({ children, label }) => {
|
|
171
|
+
const tooltip = useTooltipState();
|
|
152
172
|
|
|
153
|
-
const
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
173
|
+
const cssStyles = {
|
|
174
|
+
maxWidth: "300px",
|
|
175
|
+
padding: "8px",
|
|
176
|
+
borderRadius: "4px",
|
|
177
|
+
fontSize: "0.9rem",
|
|
178
|
+
backgroundColor: BACKGROUND_COLOR,
|
|
179
|
+
color: TEXT_COLOR,
|
|
180
|
+
};
|
|
181
|
+
return (
|
|
182
|
+
<>
|
|
183
|
+
<TooltipAnchor as={"span"} state={tooltip} className="tooltip-anchor">
|
|
184
|
+
{children}
|
|
185
|
+
</TooltipAnchor>
|
|
186
|
+
<TooltipAriaKit
|
|
187
|
+
state={tooltip}
|
|
188
|
+
className="tooltip-content"
|
|
189
|
+
style={cssStyles}
|
|
160
190
|
>
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</svg>
|
|
166
|
-
<span>{label}</span>
|
|
167
|
-
</div>
|
|
168
|
-
<div className="button-partition">
|
|
169
|
-
<svg
|
|
170
|
-
className="icon right-icon rotated"
|
|
171
|
-
aria-hidden="true"
|
|
172
|
-
focusable="false"
|
|
173
|
-
>
|
|
174
|
-
<ChevronRight />
|
|
175
|
-
</svg>
|
|
176
|
-
</div>
|
|
177
|
-
</a>
|
|
178
|
-
</div>
|
|
191
|
+
{label}
|
|
192
|
+
<TooltipArrow />
|
|
193
|
+
</TooltipAriaKit>
|
|
194
|
+
</>
|
|
179
195
|
);
|
|
180
196
|
};
|
|
181
197
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
label: PropTypes.string,
|
|
198
|
+
InfotipContent.propTypes = {
|
|
199
|
+
children: PropTypes.node.isRequired,
|
|
200
|
+
label: PropTypes.node.isRequired,
|
|
186
201
|
};
|
|
187
202
|
|
|
188
|
-
export default
|
|
203
|
+
export default InfotipContent;
|
|
189
204
|
</pre></td></tr></table></pre>
|
|
190
205
|
|
|
191
206
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -193,16 +208,16 @@ export default CmsSwitchLink;
|
|
|
193
208
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
194
209
|
Code coverage generated by
|
|
195
210
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
196
|
-
at 2023-
|
|
211
|
+
at 2023-10-06T22:06:02.250Z
|
|
197
212
|
</div>
|
|
198
|
-
<script src="
|
|
213
|
+
<script src="prettify.js"></script>
|
|
199
214
|
<script>
|
|
200
215
|
window.onload = function () {
|
|
201
216
|
prettyPrint();
|
|
202
217
|
};
|
|
203
218
|
</script>
|
|
204
|
-
<script src="
|
|
205
|
-
<script src="
|
|
219
|
+
<script src="sorter.js"></script>
|
|
220
|
+
<script src="block-navigation.js"></script>
|
|
206
221
|
</body>
|
|
207
222
|
</html>
|
|
208
223
|
|