qpp-style 9.8.2 → 9.8.6
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/SideNav/UI/default-content.json +1 -2
- package/components/SideNav/helpers.js +2 -2
- package/coverage/clover.xml +639 -635
- package/coverage/coverage-final.json +66 -65
- package/coverage/lcov-report/Header/HeaderUI.jsx.html +1418 -0
- package/coverage/lcov-report/Header/index.html +111 -0
- package/coverage/lcov-report/HeaderUI.jsx.html +578 -0
- package/coverage/lcov-report/SideNav/UI/index.html +111 -0
- package/coverage/lcov-report/SideNav/UI/index.js.html +89 -0
- package/coverage/lcov-report/components/Accordion/index.html +111 -0
- package/coverage/lcov-report/components/Accordion/index.jsx.html +359 -0
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +344 -0
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +173 -0
- package/coverage/lcov-report/components/Error/index.html +126 -0
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +845 -0
- package/coverage/lcov-report/components/Footer/LegacyFooterUI.jsx.html +662 -0
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +260 -0
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +182 -0
- package/coverage/lcov-report/components/Footer/index.html +156 -0
- package/coverage/lcov-report/components/InfoModal/index.html +111 -0
- package/coverage/lcov-report/components/InfoModal/index.jsx.html +392 -0
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +305 -0
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +203 -0
- package/coverage/lcov-report/components/Infotip/index.html +141 -0
- package/coverage/lcov-report/components/Infotip/index.js.html +89 -0
- package/coverage/lcov-report/components/SanitizedContent/index.html +111 -0
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +680 -0
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +863 -0
- package/coverage/lcov-report/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +140 -0
- package/coverage/lcov-report/components/SideNav/AnimationGroup/index.html +111 -0
- package/coverage/lcov-report/components/SideNav/Chart/ScoreChart.jsx.html +884 -0
- package/coverage/lcov-report/components/SideNav/Chart/index.html +126 -0
- package/coverage/lcov-report/components/SideNav/Chart/index.js.html +89 -0
- package/coverage/lcov-report/components/SideNav/Content/LevelOneContent.jsx.html +1007 -0
- package/coverage/lcov-report/components/SideNav/Content/LevelTwoContent.jsx.html +722 -0
- package/coverage/lcov-report/components/SideNav/Content/index.html +141 -0
- package/coverage/lcov-report/components/SideNav/Content/index.js.html +92 -0
- package/coverage/lcov-report/components/SideNav/Details/IndividualDetails.jsx.html +134 -0
- package/coverage/lcov-report/components/SideNav/Details/PracticeDetails.jsx.html +203 -0
- package/coverage/lcov-report/components/SideNav/Details/index.html +141 -0
- package/coverage/lcov-report/components/SideNav/Details/index.js.html +92 -0
- package/coverage/lcov-report/components/SideNav/Links/CmsSwitchLink.jsx.html +203 -0
- package/coverage/lcov-report/components/SideNav/Links/NavItemInline.jsx.html +242 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkContainer.jsx.html +209 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkDrawer.jsx.html +659 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkInline.jsx.html +401 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkToggle.jsx.html +182 -0
- package/coverage/lcov-report/components/SideNav/Links/index.html +201 -0
- package/coverage/lcov-report/components/SideNav/Links/index.js.html +119 -0
- package/coverage/lcov-report/components/SideNav/UI/SideNavUI.jsx.html +1103 -0
- package/coverage/lcov-report/components/SideNav/UI/index.html +126 -0
- package/coverage/lcov-report/components/SideNav/UI/index.js.html +89 -0
- package/coverage/lcov-report/components/SideNav/helpers.js.html +221 -0
- package/coverage/lcov-report/components/SideNav/index.html +111 -0
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +344 -0
- package/coverage/lcov-report/components/Tooltip/index.html +141 -0
- package/coverage/lcov-report/components/Tooltip/index.js.html +89 -0
- package/coverage/lcov-report/components/Tooltip/position.js.html +284 -0
- package/coverage/lcov-report/components/index.html +111 -0
- package/coverage/lcov-report/index.html +158 -143
- package/coverage/lcov-report/lib/Chevron.jsx.html +161 -0
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +1697 -0
- package/coverage/lcov-report/lib/index.html +141 -0
- package/coverage/lcov-report/lib/svg-definitions.svg.html +455 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +19 -19
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +18 -18
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +15 -15
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +4 -4
- 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 +139 -13
- 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 +18 -18
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +112 -34
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +13 -19
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +6 -6
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +6 -6
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +146 -26
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +8 -2
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +21 -6
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +5 -2
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +41 -155
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +13 -7
- 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 +34 -34
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +3 -6
- package/coverage/lcov-report/react/components/InfoModal/index.html +1 -1
- package/coverage/lcov-report/react/components/InfoModal/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
- 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 +3 -3
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +83 -47
- package/coverage/lcov-report/react/components/Modal/index.html +32 -32
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +29 -29
- package/coverage/lcov-report/react/components/NotificationBanner/NotificationBannerUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +20 -20
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +875 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +5 -5
- package/coverage/lcov-report/react/components/SessionDialog/index.html +111 -0
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +158 -0
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +69 -45
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +10 -4
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +44 -44
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +19 -19
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +140 -557
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +19 -13
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +21 -21
- 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 +19 -7
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +13 -13
- 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 +47 -62
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +56 -20
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +41 -41
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +36 -36
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +127 -178
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +17 -17
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +14 -8
- package/coverage/lcov-report/react/components/SideNav/index.html +11 -11
- package/coverage/lcov-report/react/components/SideNav/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +12 -12
- 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 +15 -15
- package/coverage/lcov-report/react/components/hooks/index.html +111 -0
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +302 -0
- package/coverage/lcov-report/react/components/index.html +1 -1
- package/coverage/lcov-report/react/index.html +13 -13
- package/coverage/lcov-report/react/index.js.html +22 -7
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +25 -10
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +64 -28
- package/coverage/lcov-report/react/lib/index.html +15 -15
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +1 -1
- package/coverage/lcov-report/react/session/index.html +1 -1
- package/coverage/lcov-report/react/session/index.js.html +1 -1
- package/coverage/lcov-report/react/session/logout.js.html +1 -1
- package/coverage/lcov-report/react/session/refresh.js.html +1 -1
- package/coverage/lcov-report/react/session/ttl.js.html +1 -1
- package/coverage/lcov-report/session/index.html +126 -0
- package/coverage/lcov-report/session/index.js.html +95 -0
- package/coverage/lcov-report/session/logout.js.html +203 -0
- package/coverage/lcov-report/session/refresh.js.html +227 -0
- package/coverage/lcov-report/session/ttl.js.html +191 -0
- package/coverage/lcov.info +1218 -1190
- 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/arrow-down.svg +1 -1
- package/images/icons/svg/arrow-download.svg +1 -1
- package/images/icons/svg/arrow-right.svg +1 -1
- package/images/icons/svg/calendar.svg +1 -1
- package/images/icons/svg/download.svg +1 -1
- package/images/icons/svg/external.svg +1 -1
- package/images/icons/svg/file-upload.svg +1 -1
- package/images/icons/svg/tooltip-question.svg +1 -1
- package/images/icons/svg/trash.svg +1 -1
- package/images/icons/svg/upload.svg +1 -1
- package/package.json +15 -15
- package/storybook-static/0.284246fa7dd756530022.manager.bundle.js +1 -0
- package/storybook-static/0.e444ffe0.iframe.bundle.js +1 -0
- package/storybook-static/4.38e07a72.iframe.bundle.js +3 -0
- package/storybook-static/4.38e07a72.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/4.38e07a72.iframe.bundle.js.map +1 -0
- package/storybook-static/4.5a2288a7314de45771fd.manager.bundle.js +2 -0
- package/storybook-static/4.5a2288a7314de45771fd.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/5.96d29e90.iframe.bundle.js +1 -0
- package/storybook-static/5.f669e5db79f970f4eeda.manager.bundle.js +2 -0
- package/storybook-static/5.f669e5db79f970f4eeda.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/6.fbe12c4b.iframe.bundle.js +3 -0
- package/storybook-static/6.fbe12c4b.iframe.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/6.fbe12c4b.iframe.bundle.js.map +1 -0
- package/storybook-static/6.fc183cb0948fa18c4851.manager.bundle.js +1 -0
- package/storybook-static/7.6262147d7bfe4804e70d.manager.bundle.js +1 -0
- package/storybook-static/7.9e6103c8.iframe.bundle.js +1 -0
- package/storybook-static/8.88a822e73e773dbd9da6.manager.bundle.js +1 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/fonts/FontAwesome.otf +0 -0
- package/storybook-static/fonts/OFL.txt +92 -0
- package/storybook-static/fonts/Rubik-Black.ttf +0 -0
- package/storybook-static/fonts/Rubik-BlackItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Bold.ttf +0 -0
- package/storybook-static/fonts/Rubik-BoldItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Italic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Light.ttf +0 -0
- package/storybook-static/fonts/Rubik-LightItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Medium.ttf +0 -0
- package/storybook-static/fonts/Rubik-MediumItalic.ttf +0 -0
- package/storybook-static/fonts/Rubik-Regular.ttf +0 -0
- package/storybook-static/fonts/fontawesome-webfont.eot +0 -0
- package/storybook-static/fonts/fontawesome-webfont.svg +2671 -0
- package/storybook-static/fonts/fontawesome-webfont.ttf +0 -0
- package/storybook-static/fonts/fontawesome-webfont.woff +0 -0
- package/storybook-static/fonts/fontawesome-webfont.woff2 +0 -0
- package/storybook-static/iframe.html +138 -0
- package/storybook-static/images/favicon/android-chrome-192x192.png +0 -0
- package/storybook-static/images/favicon/android-chrome-256x256.png +0 -0
- package/storybook-static/images/favicon/apple-touch-icon.png +0 -0
- package/storybook-static/images/favicon/browserconfig.xml +9 -0
- package/storybook-static/images/favicon/favicon-16x16.png +0 -0
- package/storybook-static/images/favicon/favicon-32x32.png +0 -0
- package/storybook-static/images/favicon/favicon.ico +0 -0
- package/storybook-static/images/favicon/manifest.json +18 -0
- package/storybook-static/images/favicon/mstile-150x150.png +0 -0
- package/storybook-static/images/favicon/safari-pinned-tab.svg +32 -0
- package/storybook-static/images/hhs-logo-black.svg +10 -0
- package/storybook-static/images/hhs-logo-white.svg +10 -0
- package/storybook-static/images/icons/close-x.svg +6 -0
- package/storybook-static/images/icons/help-headset.svg +21 -0
- package/storybook-static/images/icons/svg/arrow-down.svg +3 -0
- package/storybook-static/images/icons/svg/arrow-download.svg +5 -0
- package/storybook-static/images/icons/svg/arrow-right.svg +5 -0
- package/storybook-static/images/icons/svg/close.svg +3 -0
- package/storybook-static/images/icons/svg/download.svg +1 -0
- package/storybook-static/images/icons/svg/external.svg +4 -0
- package/storybook-static/images/icons/svg/file-upload.svg +1 -0
- package/storybook-static/images/icons/svg/print.svg +4 -0
- package/storybook-static/images/icons/svg/trash.svg +5 -0
- package/storybook-static/images/icons/svg/upload.svg +3 -0
- package/storybook-static/images/qpp_logo_reversed.png +0 -0
- package/storybook-static/images/qpp_logo_rgb_color.png +0 -0
- package/storybook-static/index.html +55 -0
- package/storybook-static/main.18ac9bfd601c66f4bee6.manager.bundle.js +1 -0
- package/storybook-static/main.9d42b744.iframe.bundle.js +1 -0
- package/storybook-static/runtime~main.d17fbed7a9ad1d2c431e.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.ed6e2009.iframe.bundle.js +1 -0
- package/storybook-static/static/media/Bitter-Bold.091bd4b7.woff +0 -0
- package/storybook-static/static/media/Bitter-Bold.24bf01e4.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Bold.46bc29e4.ttf +0 -0
- package/storybook-static/static/media/Bitter-Bold.790f4f2f.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.1fa5390c.eot +0 -0
- package/storybook-static/static/media/Bitter-Italic.25e5675f.woff +0 -0
- package/storybook-static/static/media/Bitter-Italic.2eb18f5a.ttf +0 -0
- package/storybook-static/static/media/Bitter-Italic.34644574.woff2 +0 -0
- package/storybook-static/static/media/Bitter-Regular.4b22b6e8.woff +0 -0
- package/storybook-static/static/media/Bitter-Regular.559e7075.eot +0 -0
- package/storybook-static/static/media/Bitter-Regular.8db0301b.ttf +0 -0
- package/storybook-static/static/media/Bitter-Regular.f4e2f1f1.woff2 +0 -0
- package/storybook-static/static/media/FontAwesome.91f80bba.otf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.202d819d.eot +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.92e570c6.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.da71e99a.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Bold-webfont.e75949bb.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.72daa33a.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.74ead3a8.woff +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ae19388f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Italic-webfont.ec7a2746.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.63a5fa7d.woff +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.66451be4.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.7882d20f.eot +0 -0
- package/storybook-static/static/media/OpenSans-Regular-webfont.ca4dd835.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.17ded75f.woff2 +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.2a5adf6c.woff +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.6059fecb.ttf +0 -0
- package/storybook-static/static/media/OpenSans-Semibold-webfont.c9808185.eot +0 -0
- package/storybook-static/static/media/Rubik-Bold.31bbd4d2.ttf +0 -0
- package/storybook-static/static/media/Rubik-Light.c90e2014.ttf +0 -0
- package/storybook-static/static/media/Rubik-Medium.5daa89aa.ttf +0 -0
- package/storybook-static/static/media/Rubik-Regular.cdf97d58.ttf +0 -0
- package/storybook-static/static/media/fontawesome-webfont.1e59d233.ttf +0 -0
- package/storybook-static/static/media/fontawesome-webfont.20fd1704.woff2 +0 -0
- package/storybook-static/static/media/fontawesome-webfont.8b43027f.eot +0 -0
- package/storybook-static/static/media/fontawesome-webfont.f691f37e.woff +0 -0
- package/storybook-static/vendors~main.3604044d8484c1c4d1f7.manager.bundle.js +2 -0
- package/storybook-static/vendors~main.3604044d8484c1c4d1f7.manager.bundle.js.LICENSE.txt +88 -0
- package/storybook-static/vendors~main.7f923d15.iframe.bundle.js +3 -0
- package/storybook-static/vendors~main.7f923d15.iframe.bundle.js.LICENSE.txt +152 -0
- package/storybook-static/vendors~main.7f923d15.iframe.bundle.js.map +1 -0
- package/styles/qppds/components/_modal.scss +22 -0
- package/styles/qppds/utilities/_display-visability.scss +8 -0
- package/styles/qppds/utilities/_height.scss +38 -0
- package/styles/qppds/utilities/_width.scss +35 -0
- package/styles/qppds/utilities/index.scss +1 -0
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">56.1% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>23/41</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">26.67% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>8/
|
|
35
|
+
<span class='fraction'>8/30</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">33.33% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>4/12</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">55% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>22/40</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -240,7 +240,47 @@
|
|
|
240
240
|
<a name='L181'></a><a href='#L181'>181</a>
|
|
241
241
|
<a name='L182'></a><a href='#L182'>182</a>
|
|
242
242
|
<a name='L183'></a><a href='#L183'>183</a>
|
|
243
|
-
<a name='L184'></a><a href='#L184'>184</a
|
|
243
|
+
<a name='L184'></a><a href='#L184'>184</a>
|
|
244
|
+
<a name='L185'></a><a href='#L185'>185</a>
|
|
245
|
+
<a name='L186'></a><a href='#L186'>186</a>
|
|
246
|
+
<a name='L187'></a><a href='#L187'>187</a>
|
|
247
|
+
<a name='L188'></a><a href='#L188'>188</a>
|
|
248
|
+
<a name='L189'></a><a href='#L189'>189</a>
|
|
249
|
+
<a name='L190'></a><a href='#L190'>190</a>
|
|
250
|
+
<a name='L191'></a><a href='#L191'>191</a>
|
|
251
|
+
<a name='L192'></a><a href='#L192'>192</a>
|
|
252
|
+
<a name='L193'></a><a href='#L193'>193</a>
|
|
253
|
+
<a name='L194'></a><a href='#L194'>194</a>
|
|
254
|
+
<a name='L195'></a><a href='#L195'>195</a>
|
|
255
|
+
<a name='L196'></a><a href='#L196'>196</a>
|
|
256
|
+
<a name='L197'></a><a href='#L197'>197</a>
|
|
257
|
+
<a name='L198'></a><a href='#L198'>198</a>
|
|
258
|
+
<a name='L199'></a><a href='#L199'>199</a>
|
|
259
|
+
<a name='L200'></a><a href='#L200'>200</a>
|
|
260
|
+
<a name='L201'></a><a href='#L201'>201</a>
|
|
261
|
+
<a name='L202'></a><a href='#L202'>202</a>
|
|
262
|
+
<a name='L203'></a><a href='#L203'>203</a>
|
|
263
|
+
<a name='L204'></a><a href='#L204'>204</a>
|
|
264
|
+
<a name='L205'></a><a href='#L205'>205</a>
|
|
265
|
+
<a name='L206'></a><a href='#L206'>206</a>
|
|
266
|
+
<a name='L207'></a><a href='#L207'>207</a>
|
|
267
|
+
<a name='L208'></a><a href='#L208'>208</a>
|
|
268
|
+
<a name='L209'></a><a href='#L209'>209</a>
|
|
269
|
+
<a name='L210'></a><a href='#L210'>210</a>
|
|
270
|
+
<a name='L211'></a><a href='#L211'>211</a>
|
|
271
|
+
<a name='L212'></a><a href='#L212'>212</a>
|
|
272
|
+
<a name='L213'></a><a href='#L213'>213</a>
|
|
273
|
+
<a name='L214'></a><a href='#L214'>214</a>
|
|
274
|
+
<a name='L215'></a><a href='#L215'>215</a>
|
|
275
|
+
<a name='L216'></a><a href='#L216'>216</a>
|
|
276
|
+
<a name='L217'></a><a href='#L217'>217</a>
|
|
277
|
+
<a name='L218'></a><a href='#L218'>218</a>
|
|
278
|
+
<a name='L219'></a><a href='#L219'>219</a>
|
|
279
|
+
<a name='L220'></a><a href='#L220'>220</a>
|
|
280
|
+
<a name='L221'></a><a href='#L221'>221</a>
|
|
281
|
+
<a name='L222'></a><a href='#L222'>222</a>
|
|
282
|
+
<a name='L223'></a><a href='#L223'>223</a>
|
|
283
|
+
<a name='L224'></a><a href='#L224'>224</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
244
284
|
<span class="cline-any cline-neutral"> </span>
|
|
245
285
|
<span class="cline-any cline-neutral"> </span>
|
|
246
286
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -265,12 +305,31 @@
|
|
|
265
305
|
<span class="cline-any cline-neutral"> </span>
|
|
266
306
|
<span class="cline-any cline-neutral"> </span>
|
|
267
307
|
<span class="cline-any cline-neutral"> </span>
|
|
308
|
+
<span class="cline-any cline-neutral"> </span>
|
|
309
|
+
<span class="cline-any cline-neutral"> </span>
|
|
310
|
+
<span class="cline-any cline-neutral"> </span>
|
|
311
|
+
<span class="cline-any cline-neutral"> </span>
|
|
312
|
+
<span class="cline-any cline-neutral"> </span>
|
|
313
|
+
<span class="cline-any cline-neutral"> </span>
|
|
314
|
+
<span class="cline-any cline-neutral"> </span>
|
|
315
|
+
<span class="cline-any cline-neutral"> </span>
|
|
316
|
+
<span class="cline-any cline-yes">2x</span>
|
|
317
|
+
<span class="cline-any cline-neutral"> </span>
|
|
318
|
+
<span class="cline-any cline-neutral"> </span>
|
|
319
|
+
<span class="cline-any cline-neutral"> </span>
|
|
320
|
+
<span class="cline-any cline-neutral"> </span>
|
|
321
|
+
<span class="cline-any cline-neutral"> </span>
|
|
322
|
+
<span class="cline-any cline-neutral"> </span>
|
|
323
|
+
<span class="cline-any cline-neutral"> </span>
|
|
324
|
+
<span class="cline-any cline-neutral"> </span>
|
|
268
325
|
<span class="cline-any cline-yes">4x</span>
|
|
269
326
|
<span class="cline-any cline-yes">4x</span>
|
|
270
327
|
<span class="cline-any cline-neutral"> </span>
|
|
271
328
|
<span class="cline-any cline-yes">4x</span>
|
|
272
329
|
<span class="cline-any cline-yes">4x</span>
|
|
273
330
|
<span class="cline-any cline-yes">4x</span>
|
|
331
|
+
<span class="cline-any cline-neutral"> </span>
|
|
332
|
+
<span class="cline-any cline-yes">4x</span>
|
|
274
333
|
<span class="cline-any cline-yes">4x</span>
|
|
275
334
|
<span class="cline-any cline-neutral"> </span>
|
|
276
335
|
<span class="cline-any cline-yes">4x</span>
|
|
@@ -286,6 +345,25 @@
|
|
|
286
345
|
<span class="cline-any cline-no"> </span>
|
|
287
346
|
<span class="cline-any cline-neutral"> </span>
|
|
288
347
|
<span class="cline-any cline-neutral"> </span>
|
|
348
|
+
<span class="cline-any cline-neutral"> </span>
|
|
349
|
+
<span class="cline-any cline-yes">4x</span>
|
|
350
|
+
<span class="cline-any cline-yes">2x</span>
|
|
351
|
+
<span class="cline-any cline-no"> </span>
|
|
352
|
+
<span class="cline-any cline-neutral"> </span>
|
|
353
|
+
<span class="cline-any cline-neutral"> </span>
|
|
354
|
+
<span class="cline-any cline-neutral"> </span>
|
|
355
|
+
<span class="cline-any cline-neutral"> </span>
|
|
356
|
+
<span class="cline-any cline-no"> </span>
|
|
357
|
+
<span class="cline-any cline-neutral"> </span>
|
|
358
|
+
<span class="cline-any cline-neutral"> </span>
|
|
359
|
+
<span class="cline-any cline-no"> </span>
|
|
360
|
+
<span class="cline-any cline-neutral"> </span>
|
|
361
|
+
<span class="cline-any cline-no"> </span>
|
|
362
|
+
<span class="cline-any cline-neutral"> </span>
|
|
363
|
+
<span class="cline-any cline-yes">2x</span>
|
|
364
|
+
<span class="cline-any cline-yes">2x</span>
|
|
365
|
+
<span class="cline-any cline-neutral"> </span>
|
|
366
|
+
<span class="cline-any cline-neutral"> </span>
|
|
289
367
|
<span class="cline-any cline-yes">4x</span>
|
|
290
368
|
<span class="cline-any cline-neutral"> </span>
|
|
291
369
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -299,9 +377,9 @@
|
|
|
299
377
|
<span class="cline-any cline-neutral"> </span>
|
|
300
378
|
<span class="cline-any cline-neutral"> </span>
|
|
301
379
|
<span class="cline-any cline-neutral"> </span>
|
|
302
|
-
<span class="cline-any cline-no"> </span>
|
|
303
380
|
<span class="cline-any cline-neutral"> </span>
|
|
304
381
|
<span class="cline-any cline-neutral"> </span>
|
|
382
|
+
<span class="cline-any cline-no"> </span>
|
|
305
383
|
<span class="cline-any cline-neutral"> </span>
|
|
306
384
|
<span class="cline-any cline-neutral"> </span>
|
|
307
385
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -319,13 +397,12 @@
|
|
|
319
397
|
<span class="cline-any cline-neutral"> </span>
|
|
320
398
|
<span class="cline-any cline-neutral"> </span>
|
|
321
399
|
<span class="cline-any cline-neutral"> </span>
|
|
322
|
-
<span class="cline-any cline-no"> </span>
|
|
323
400
|
<span class="cline-any cline-neutral"> </span>
|
|
324
401
|
<span class="cline-any cline-neutral"> </span>
|
|
325
402
|
<span class="cline-any cline-no"> </span>
|
|
326
403
|
<span class="cline-any cline-neutral"> </span>
|
|
327
404
|
<span class="cline-any cline-neutral"> </span>
|
|
328
|
-
<span class="cline-any cline-
|
|
405
|
+
<span class="cline-any cline-no"> </span>
|
|
329
406
|
<span class="cline-any cline-neutral"> </span>
|
|
330
407
|
<span class="cline-any cline-neutral"> </span>
|
|
331
408
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -361,6 +438,7 @@
|
|
|
361
438
|
<span class="cline-any cline-neutral"> </span>
|
|
362
439
|
<span class="cline-any cline-neutral"> </span>
|
|
363
440
|
<span class="cline-any cline-neutral"> </span>
|
|
441
|
+
<span class="cline-any cline-neutral"> </span>
|
|
364
442
|
<span class="cline-any cline-no"> </span>
|
|
365
443
|
<span class="cline-any cline-neutral"> </span>
|
|
366
444
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -407,6 +485,7 @@
|
|
|
407
485
|
<span class="cline-any cline-neutral"> </span>
|
|
408
486
|
<span class="cline-any cline-neutral"> </span>
|
|
409
487
|
<span class="cline-any cline-neutral"> </span>
|
|
488
|
+
<span class="cline-any cline-neutral"> </span>
|
|
410
489
|
<span class="cline-any cline-yes">2x</span>
|
|
411
490
|
<span class="cline-any cline-neutral"> </span>
|
|
412
491
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -415,6 +494,7 @@
|
|
|
415
494
|
<span class="cline-any cline-neutral"> </span>
|
|
416
495
|
<span class="cline-any cline-neutral"> </span>
|
|
417
496
|
<span class="cline-any cline-neutral"> </span>
|
|
497
|
+
<span class="cline-any cline-neutral"> </span>
|
|
418
498
|
<span class="cline-any cline-yes">2x</span>
|
|
419
499
|
<span class="cline-any cline-neutral"> </span>
|
|
420
500
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -423,7 +503,7 @@
|
|
|
423
503
|
<span class="cline-any cline-neutral"> </span>
|
|
424
504
|
<span class="cline-any cline-neutral"> </span>
|
|
425
505
|
<span class="cline-any cline-neutral"> </span>
|
|
426
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { useRef, useEffect, useState } from 'react';
|
|
506
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { Fragment, useRef, useEffect, useState } from 'react';
|
|
427
507
|
import PropTypes from 'prop-types';
|
|
428
508
|
|
|
429
509
|
import { useWindowWidth, useHeaderState } from './hooks';
|
|
@@ -440,7 +520,24 @@ const menuSizes = {
|
|
|
440
520
|
4: 1200,
|
|
441
521
|
};
|
|
442
522
|
|
|
523
|
+
const excludedClickOutClasses = [
|
|
524
|
+
'menu-dropdown-toggle',
|
|
525
|
+
'nav-link',
|
|
526
|
+
'nav-link-li',
|
|
527
|
+
'dropdown-description',
|
|
528
|
+
'dropdown-title',
|
|
529
|
+
'dropdown-title-chevron-container',
|
|
530
|
+
'signout-button',
|
|
531
|
+
'submenu-section',
|
|
532
|
+
'accordion',
|
|
533
|
+
'accordion-title',
|
|
534
|
+
'accordion-left-title',
|
|
535
|
+
'header-menu-btn',
|
|
536
|
+
'btn-navigation-icon',
|
|
537
|
+
];
|
|
538
|
+
|
|
443
539
|
const HeaderMenuItem = ({
|
|
540
|
+
handleClick,
|
|
444
541
|
columns,
|
|
445
542
|
menuName,
|
|
446
543
|
rows,
|
|
@@ -452,8 +549,10 @@ const HeaderMenuItem = ({
|
|
|
452
549
|
const [openMobileSubMenu, setOpenMobileSubMenu] = useState('');
|
|
453
550
|
|
|
454
551
|
const windowWidth = useWindowWidth();
|
|
455
|
-
const
|
|
456
|
-
const
|
|
552
|
+
const menuButtonRef = useRef(null);
|
|
553
|
+
const menuRef = useRef(null);
|
|
554
|
+
const { RouterLink, handleToggleMenu, currentOpenMenu, closeMenus } =
|
|
555
|
+
useHeaderState();
|
|
457
556
|
const numColumns = (columns || <span class="branch-1 cbranch-no" title="branch not covered" >[])</span>.length;
|
|
458
557
|
|
|
459
558
|
const menuIdentifier = menuName || name;
|
|
@@ -465,20 +564,41 @@ const HeaderMenuItem = ({
|
|
|
465
564
|
const shouldSetFullWidth =
|
|
466
565
|
<span class="cstat-no" title="statement not covered" > isMobile ||</span>
|
|
467
566
|
menuSizes[numColumns] >
|
|
468
|
-
|
|
567
|
+
menuButtonRef.current.getBoundingClientRect().right;
|
|
469
568
|
<span class="cstat-no" title="statement not covered" > setSubMenuFullWidth(shouldSetFullWidth);</span>
|
|
470
569
|
}
|
|
471
570
|
}, [windowWidth, isOpen]);
|
|
571
|
+
|
|
572
|
+
useEffect(() => {
|
|
573
|
+
const listener = <span class="fstat-no" title="function not covered" >(e</span>vent) => {
|
|
574
|
+
<span class="cstat-no" title="statement not covered" > if (</span>
|
|
575
|
+
!menuRef ||
|
|
576
|
+
!menuRef.current ||
|
|
577
|
+
menuRef.current.contains(event.target) ||
|
|
578
|
+
excludedClickOutClasses.some(<span class="fstat-no" title="function not covered" >(c</span>lassName) =>
|
|
579
|
+
<span class="cstat-no" title="statement not covered" > event?.target?.classList.contains(className)</span>
|
|
580
|
+
)
|
|
581
|
+
) {
|
|
582
|
+
<span class="cstat-no" title="statement not covered" > return;</span>
|
|
583
|
+
}
|
|
584
|
+
<span class="cstat-no" title="statement not covered" > closeMenus();</span>
|
|
585
|
+
};
|
|
586
|
+
document.addEventListener('mousedown', listener);
|
|
587
|
+
return () => document.removeEventListener('mousedown', listener);
|
|
588
|
+
}, [menuRef]);
|
|
589
|
+
|
|
472
590
|
return (
|
|
473
591
|
<li
|
|
474
592
|
key={`header-item-${menuIdentifier}`}
|
|
475
593
|
className={`header-item-${menuIdentifier}${
|
|
476
594
|
isSubMenuFullWidth ? <span class="branch-0 cbranch-no" title="branch not covered" >' full-width-menu' </span>: ''
|
|
477
595
|
}${className ? <span class="branch-0 cbranch-no" title="branch not covered" >` ${className}` </span>: ''}`}
|
|
596
|
+
ref={menuRef}
|
|
478
597
|
>
|
|
479
598
|
<button
|
|
480
|
-
ref={
|
|
599
|
+
ref={menuButtonRef}
|
|
481
600
|
className="menu-dropdown-toggle"
|
|
601
|
+
aria-label={`${name} navigation dropdown`}
|
|
482
602
|
aria-expanded={isOpen}
|
|
483
603
|
aria-controls={`nav-section-${menuIdentifier}`}
|
|
484
604
|
data-toggle="dropdown"
|
|
@@ -487,7 +607,7 @@ const HeaderMenuItem = ({
|
|
|
487
607
|
<div className="dropdown-title-chevron-container">
|
|
488
608
|
<span className="dropdown-title">{name}</span>
|
|
489
609
|
<div className="chevron-container">
|
|
490
|
-
<Chevron
|
|
610
|
+
<Chevron focusable="false" />
|
|
491
611
|
</div>
|
|
492
612
|
</div>
|
|
493
613
|
|
|
@@ -506,11 +626,8 @@ const HeaderMenuItem = ({
|
|
|
506
626
|
<ul key={`${menuIdentifier}-${index}`} className="nav-column">
|
|
507
627
|
{columnContent.map(<span class="fstat-no" title="function not covered" >(c</span>, cIndex) => {
|
|
508
628
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
509
|
-
<
|
|
510
|
-
<li
|
|
511
|
-
key={`${menuIdentifier}-${index}-${cIndex}`}
|
|
512
|
-
className="submenu-section"
|
|
513
|
-
>
|
|
629
|
+
<Fragment key={`${menuIdentifier}-${index}-${cIndex}`}>
|
|
630
|
+
<li className="submenu-section">
|
|
514
631
|
{c.heading && (
|
|
515
632
|
<h3 className="submenu-heading">{c.heading}</h3>
|
|
516
633
|
)}
|
|
@@ -526,8 +643,9 @@ const HeaderMenuItem = ({
|
|
|
526
643
|
const SubMenuComponent = <span class="cstat-no" title="statement not covered" >componentsByType[item.type];</span>
|
|
527
644
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
528
645
|
<li
|
|
646
|
+
onClick={handleClick}
|
|
529
647
|
key={`item-link-${item.name}`}
|
|
530
|
-
className={isSubLink ? 'sublink' : ''}
|
|
648
|
+
className={isSubLink ? 'nav-link-li sublink' : 'nav-link-li'}
|
|
531
649
|
>
|
|
532
650
|
<SubMenuComponent
|
|
533
651
|
href={item.href}
|
|
@@ -564,6 +682,7 @@ const HeaderMenuItem = ({
|
|
|
564
682
|
<span class="cstat-no" title="statement not covered" > componentsByType[item.type];</span>
|
|
565
683
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
566
684
|
<li
|
|
685
|
+
onClick={handleClick}
|
|
567
686
|
key={`item-link-${item.name}`}
|
|
568
687
|
className={isSubLink ? 'sublink' : ''}
|
|
569
688
|
>
|
|
@@ -579,7 +698,7 @@ const HeaderMenuItem = ({
|
|
|
579
698
|
</Accordion>
|
|
580
699
|
</li>
|
|
581
700
|
)}
|
|
582
|
-
<
|
|
701
|
+
</Fragment>
|
|
583
702
|
);
|
|
584
703
|
})}
|
|
585
704
|
</ul>
|
|
@@ -597,6 +716,7 @@ HeaderMenuItem.propTypes = {
|
|
|
597
716
|
name: PropTypes.string.isRequired,
|
|
598
717
|
subtitle: PropTypes.string.isRequired,
|
|
599
718
|
className: PropTypes.string,
|
|
719
|
+
handleClick: PropTypes.func.isRequired,
|
|
600
720
|
};
|
|
601
721
|
HeaderMenuItem.defaultProps = {
|
|
602
722
|
menuName: '',
|
|
@@ -613,7 +733,7 @@ export default HeaderMenuItem;
|
|
|
613
733
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
614
734
|
Code coverage generated by
|
|
615
735
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
616
|
-
at
|
|
736
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
617
737
|
</div>
|
|
618
738
|
</div>
|
|
619
739
|
<script src="../../../prettify.js"></script>
|
|
@@ -105,7 +105,9 @@
|
|
|
105
105
|
<a name='L46'></a><a href='#L46'>46</a>
|
|
106
106
|
<a name='L47'></a><a href='#L47'>47</a>
|
|
107
107
|
<a name='L48'></a><a href='#L48'>48</a>
|
|
108
|
-
<a name='L49'></a><a href='#L49'>49</a
|
|
108
|
+
<a name='L49'></a><a href='#L49'>49</a>
|
|
109
|
+
<a name='L50'></a><a href='#L50'>50</a>
|
|
110
|
+
<a name='L51'></a><a href='#L51'>51</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
109
111
|
<span class="cline-any cline-neutral"> </span>
|
|
110
112
|
<span class="cline-any cline-neutral"> </span>
|
|
111
113
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -132,6 +134,7 @@
|
|
|
132
134
|
<span class="cline-any cline-neutral"> </span>
|
|
133
135
|
<span class="cline-any cline-neutral"> </span>
|
|
134
136
|
<span class="cline-any cline-neutral"> </span>
|
|
137
|
+
<span class="cline-any cline-neutral"> </span>
|
|
135
138
|
<span class="cline-any cline-no"> </span>
|
|
136
139
|
<span class="cline-any cline-neutral"> </span>
|
|
137
140
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -139,6 +142,7 @@
|
|
|
139
142
|
<span class="cline-any cline-neutral"> </span>
|
|
140
143
|
<span class="cline-any cline-neutral"> </span>
|
|
141
144
|
<span class="cline-any cline-neutral"> </span>
|
|
145
|
+
<span class="cline-any cline-neutral"> </span>
|
|
142
146
|
<span class="cline-any cline-no"> </span>
|
|
143
147
|
<span class="cline-any cline-neutral"> </span>
|
|
144
148
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -175,6 +179,7 @@ const HeaderMenuLink = <span class="fstat-no" title="function not covered" >({</
|
|
|
175
179
|
data-track-category="TopNav"
|
|
176
180
|
data-track-action="click"
|
|
177
181
|
data-track-label={name}
|
|
182
|
+
className="nav-link"
|
|
178
183
|
>
|
|
179
184
|
{name}
|
|
180
185
|
</RouterLink>
|
|
@@ -183,6 +188,7 @@ const HeaderMenuLink = <span class="fstat-no" title="function not covered" >({</
|
|
|
183
188
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
184
189
|
<a
|
|
185
190
|
href={href}
|
|
191
|
+
className="nav-link"
|
|
186
192
|
data-track-category="TopNav"
|
|
187
193
|
data-track-action="click"
|
|
188
194
|
data-track-label={name}
|
|
@@ -208,7 +214,7 @@ export default HeaderMenuLink;
|
|
|
208
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
209
215
|
Code coverage generated by
|
|
210
216
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
211
|
-
at
|
|
217
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
212
218
|
</div>
|
|
213
219
|
</div>
|
|
214
220
|
<script src="../../../prettify.js"></script>
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">17.65% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>3/
|
|
28
|
+
<span class='fraction'>3/17</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">20% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>3/
|
|
49
|
+
<span class='fraction'>3/15</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -114,7 +114,14 @@
|
|
|
114
114
|
<a name='L55'></a><a href='#L55'>55</a>
|
|
115
115
|
<a name='L56'></a><a href='#L56'>56</a>
|
|
116
116
|
<a name='L57'></a><a href='#L57'>57</a>
|
|
117
|
-
<a name='L58'></a><a href='#L58'>58</a
|
|
117
|
+
<a name='L58'></a><a href='#L58'>58</a>
|
|
118
|
+
<a name='L59'></a><a href='#L59'>59</a>
|
|
119
|
+
<a name='L60'></a><a href='#L60'>60</a>
|
|
120
|
+
<a name='L61'></a><a href='#L61'>61</a>
|
|
121
|
+
<a name='L62'></a><a href='#L62'>62</a>
|
|
122
|
+
<a name='L63'></a><a href='#L63'>63</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
123
|
+
<span class="cline-any cline-neutral"> </span>
|
|
124
|
+
<span class="cline-any cline-neutral"> </span>
|
|
118
125
|
<span class="cline-any cline-neutral"> </span>
|
|
119
126
|
<span class="cline-any cline-neutral"> </span>
|
|
120
127
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -150,6 +157,8 @@
|
|
|
150
157
|
<span class="cline-any cline-neutral"> </span>
|
|
151
158
|
<span class="cline-any cline-neutral"> </span>
|
|
152
159
|
<span class="cline-any cline-neutral"> </span>
|
|
160
|
+
<span class="cline-any cline-neutral"> </span>
|
|
161
|
+
<span class="cline-any cline-no"> </span>
|
|
153
162
|
<span class="cline-any cline-no"> </span>
|
|
154
163
|
<span class="cline-any cline-neutral"> </span>
|
|
155
164
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -157,6 +166,7 @@
|
|
|
157
166
|
<span class="cline-any cline-neutral"> </span>
|
|
158
167
|
<span class="cline-any cline-neutral"> </span>
|
|
159
168
|
<span class="cline-any cline-no"> </span>
|
|
169
|
+
<span class="cline-any cline-no"> </span>
|
|
160
170
|
<span class="cline-any cline-neutral"> </span>
|
|
161
171
|
<span class="cline-any cline-neutral"> </span>
|
|
162
172
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -173,7 +183,9 @@
|
|
|
173
183
|
<span class="cline-any cline-neutral"> </span>
|
|
174
184
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React, { useState } from 'react';
|
|
175
185
|
import PropTypes from 'prop-types';
|
|
186
|
+
|
|
176
187
|
import { LogoutSession } from '../../session';
|
|
188
|
+
import { setUtagLink } from './utag-helpers';
|
|
177
189
|
import Modal from '../Modal/index';
|
|
178
190
|
|
|
179
191
|
const useModal = <span class="fstat-no" title="function not covered" >()</span> => {
|
|
@@ -192,6 +204,7 @@ const HeaderMenuSignOutButton = <span class="fstat-no" title="function not cover
|
|
|
192
204
|
<>
|
|
193
205
|
<button
|
|
194
206
|
className="signout-button"
|
|
207
|
+
aria-label="Sign out"
|
|
195
208
|
onClick={openModal}
|
|
196
209
|
data-track-category="TopNav"
|
|
197
210
|
data-track-action="click"
|
|
@@ -208,12 +221,14 @@ const HeaderMenuSignOutButton = <span class="fstat-no" title="function not cover
|
|
|
208
221
|
title: 'Sign me out now',
|
|
209
222
|
onClick: <span class="fstat-no" title="function not covered" >()</span> => {
|
|
210
223
|
<span class="cstat-no" title="statement not covered" > showLogoutWarning();</span>
|
|
224
|
+
<span class="cstat-no" title="statement not covered" > setUtagLink('button', 'click', 'Sign me out now');</span>
|
|
211
225
|
},
|
|
212
226
|
}}
|
|
213
227
|
secondary={{
|
|
214
228
|
title: 'Keep me signed in',
|
|
215
229
|
onClick: <span class="fstat-no" title="function not covered" >()</span> => {
|
|
216
230
|
<span class="cstat-no" title="statement not covered" > closeModal();</span>
|
|
231
|
+
<span class="cstat-no" title="statement not covered" > setUtagLink('button', 'click', 'Keep me signed in');</span>
|
|
217
232
|
},
|
|
218
233
|
}}
|
|
219
234
|
>
|
|
@@ -235,7 +250,7 @@ export default HeaderMenuSignOutButton;
|
|
|
235
250
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
236
251
|
Code coverage generated by
|
|
237
252
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
238
|
-
at
|
|
253
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
239
254
|
</div>
|
|
240
255
|
</div>
|
|
241
256
|
<script src="../../../prettify.js"></script>
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
<a name='L34'></a><a href='#L34'>34</a>
|
|
94
94
|
<a name='L35'></a><a href='#L35'>35</a>
|
|
95
95
|
<a name='L36'></a><a href='#L36'>36</a>
|
|
96
|
-
<a name='L37'></a><a href='#L37'>37</a
|
|
96
|
+
<a name='L37'></a><a href='#L37'>37</a>
|
|
97
|
+
<a name='L38'></a><a href='#L38'>38</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
97
98
|
<span class="cline-any cline-neutral"> </span>
|
|
98
99
|
<span class="cline-any cline-neutral"> </span>
|
|
99
100
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -123,6 +124,7 @@
|
|
|
123
124
|
<span class="cline-any cline-neutral"> </span>
|
|
124
125
|
<span class="cline-any cline-neutral"> </span>
|
|
125
126
|
<span class="cline-any cline-neutral"> </span>
|
|
127
|
+
<span class="cline-any cline-neutral"> </span>
|
|
126
128
|
<span class="cline-any cline-yes">2x</span>
|
|
127
129
|
<span class="cline-any cline-neutral"> </span>
|
|
128
130
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -139,6 +141,7 @@ const HeaderMobileButton = ({ isMobileMenuExpanded, handleClick }) => (
|
|
|
139
141
|
type="button"
|
|
140
142
|
data-toggle="collapse"
|
|
141
143
|
data-target="#nav-mobile"
|
|
144
|
+
aria-label="Navigation menu"
|
|
142
145
|
aria-expanded={isMobileMenuExpanded ? <span class="branch-0 cbranch-no" title="branch not covered" >'true' </span>: 'false'}
|
|
143
146
|
aria-controls="nav-mobile"
|
|
144
147
|
onClick={handleClick}
|
|
@@ -172,7 +175,7 @@ export default HeaderMobileButton;
|
|
|
172
175
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
173
176
|
Code coverage generated by
|
|
174
177
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
175
|
-
at
|
|
178
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
176
179
|
</div>
|
|
177
180
|
</div>
|
|
178
181
|
<script src="../../../prettify.js"></script>
|