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">65.52% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>19/29</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">56.52% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>13/23</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">37.5% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>3/8</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">65.52% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>19/29</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -73,18 +73,18 @@
|
|
|
73
73
|
</tr>
|
|
74
74
|
</thead>
|
|
75
75
|
<tbody><tr>
|
|
76
|
-
<td class="file
|
|
77
|
-
<td data-value="
|
|
78
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
76
|
+
<td class="file medium" data-value="FooterUI.jsx"><a href="FooterUI.jsx.html">FooterUI.jsx</a></td>
|
|
77
|
+
<td data-value="72.22" class="pic medium">
|
|
78
|
+
<div class="chart"><div class="cover-fill" style="width: 72%"></div><div class="cover-empty" style="width: 28%"></div></div>
|
|
79
79
|
</td>
|
|
80
|
-
<td data-value="
|
|
81
|
-
<td data-value="
|
|
80
|
+
<td data-value="72.22" class="pct medium">72.22%</td>
|
|
81
|
+
<td data-value="18" class="abs medium">13/18</td>
|
|
82
|
+
<td data-value="38.46" class="pct low">38.46%</td>
|
|
83
|
+
<td data-value="13" class="abs low">5/13</td>
|
|
82
84
|
<td data-value="50" class="pct medium">50%</td>
|
|
83
85
|
<td data-value="4" class="abs medium">2/4</td>
|
|
84
|
-
<td data-value="
|
|
85
|
-
<td data-value="
|
|
86
|
-
<td data-value="87.5" class="pct high">87.5%</td>
|
|
87
|
-
<td data-value="8" class="abs high">7/8</td>
|
|
86
|
+
<td data-value="72.22" class="pct medium">72.22%</td>
|
|
87
|
+
<td data-value="18" class="abs medium">13/18</td>
|
|
88
88
|
</tr>
|
|
89
89
|
|
|
90
90
|
<tr>
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
156
156
|
Code coverage generated by
|
|
157
157
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
158
|
-
at
|
|
158
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
159
159
|
</div>
|
|
160
160
|
</div>
|
|
161
161
|
<script src="../../../prettify.js"></script>
|
|
@@ -200,7 +200,33 @@
|
|
|
200
200
|
<a name='L141'></a><a href='#L141'>141</a>
|
|
201
201
|
<a name='L142'></a><a href='#L142'>142</a>
|
|
202
202
|
<a name='L143'></a><a href='#L143'>143</a>
|
|
203
|
-
<a name='L144'></a><a href='#L144'>144</a
|
|
203
|
+
<a name='L144'></a><a href='#L144'>144</a>
|
|
204
|
+
<a name='L145'></a><a href='#L145'>145</a>
|
|
205
|
+
<a name='L146'></a><a href='#L146'>146</a>
|
|
206
|
+
<a name='L147'></a><a href='#L147'>147</a>
|
|
207
|
+
<a name='L148'></a><a href='#L148'>148</a>
|
|
208
|
+
<a name='L149'></a><a href='#L149'>149</a>
|
|
209
|
+
<a name='L150'></a><a href='#L150'>150</a>
|
|
210
|
+
<a name='L151'></a><a href='#L151'>151</a>
|
|
211
|
+
<a name='L152'></a><a href='#L152'>152</a>
|
|
212
|
+
<a name='L153'></a><a href='#L153'>153</a>
|
|
213
|
+
<a name='L154'></a><a href='#L154'>154</a>
|
|
214
|
+
<a name='L155'></a><a href='#L155'>155</a>
|
|
215
|
+
<a name='L156'></a><a href='#L156'>156</a>
|
|
216
|
+
<a name='L157'></a><a href='#L157'>157</a>
|
|
217
|
+
<a name='L158'></a><a href='#L158'>158</a>
|
|
218
|
+
<a name='L159'></a><a href='#L159'>159</a>
|
|
219
|
+
<a name='L160'></a><a href='#L160'>160</a>
|
|
220
|
+
<a name='L161'></a><a href='#L161'>161</a>
|
|
221
|
+
<a name='L162'></a><a href='#L162'>162</a>
|
|
222
|
+
<a name='L163'></a><a href='#L163'>163</a>
|
|
223
|
+
<a name='L164'></a><a href='#L164'>164</a>
|
|
224
|
+
<a name='L165'></a><a href='#L165'>165</a>
|
|
225
|
+
<a name='L166'></a><a href='#L166'>166</a>
|
|
226
|
+
<a name='L167'></a><a href='#L167'>167</a>
|
|
227
|
+
<a name='L168'></a><a href='#L168'>168</a>
|
|
228
|
+
<a name='L169'></a><a href='#L169'>169</a>
|
|
229
|
+
<a name='L170'></a><a href='#L170'>170</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
204
230
|
<span class="cline-any cline-neutral"> </span>
|
|
205
231
|
<span class="cline-any cline-neutral"> </span>
|
|
206
232
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -227,9 +253,11 @@
|
|
|
227
253
|
<span class="cline-any cline-neutral"> </span>
|
|
228
254
|
<span class="cline-any cline-neutral"> </span>
|
|
229
255
|
<span class="cline-any cline-neutral"> </span>
|
|
256
|
+
<span class="cline-any cline-neutral"> </span>
|
|
230
257
|
<span class="cline-any cline-yes">2x</span>
|
|
231
258
|
<span class="cline-any cline-yes">2x</span>
|
|
232
259
|
<span class="cline-any cline-yes">2x</span>
|
|
260
|
+
<span class="cline-any cline-neutral"> </span>
|
|
233
261
|
<span class="cline-any cline-yes">2x</span>
|
|
234
262
|
<span class="cline-any cline-yes">2x</span>
|
|
235
263
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -262,6 +290,7 @@
|
|
|
262
290
|
<span class="cline-any cline-neutral"> </span>
|
|
263
291
|
<span class="cline-any cline-neutral"> </span>
|
|
264
292
|
<span class="cline-any cline-neutral"> </span>
|
|
293
|
+
<span class="cline-any cline-neutral"> </span>
|
|
265
294
|
<span class="cline-any cline-yes">2x</span>
|
|
266
295
|
<span class="cline-any cline-neutral"> </span>
|
|
267
296
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -283,6 +312,7 @@
|
|
|
283
312
|
<span class="cline-any cline-neutral"> </span>
|
|
284
313
|
<span class="cline-any cline-neutral"> </span>
|
|
285
314
|
<span class="cline-any cline-neutral"> </span>
|
|
315
|
+
<span class="cline-any cline-neutral"> </span>
|
|
286
316
|
<span class="cline-any cline-no"> </span>
|
|
287
317
|
<span class="cline-any cline-no"> </span>
|
|
288
318
|
<span class="cline-any cline-no"> </span>
|
|
@@ -291,21 +321,42 @@
|
|
|
291
321
|
<span class="cline-any cline-neutral"> </span>
|
|
292
322
|
<span class="cline-any cline-neutral"> </span>
|
|
293
323
|
<span class="cline-any cline-neutral"> </span>
|
|
324
|
+
<span class="cline-any cline-neutral"> </span>
|
|
325
|
+
<span class="cline-any cline-neutral"> </span>
|
|
326
|
+
<span class="cline-any cline-neutral"> </span>
|
|
327
|
+
<span class="cline-any cline-neutral"> </span>
|
|
328
|
+
<span class="cline-any cline-neutral"> </span>
|
|
329
|
+
<span class="cline-any cline-neutral"> </span>
|
|
294
330
|
<span class="cline-any cline-no"> </span>
|
|
295
331
|
<span class="cline-any cline-no"> </span>
|
|
296
332
|
<span class="cline-any cline-neutral"> </span>
|
|
333
|
+
<span class="cline-any cline-neutral"> </span>
|
|
334
|
+
<span class="cline-any cline-neutral"> </span>
|
|
335
|
+
<span class="cline-any cline-neutral"> </span>
|
|
336
|
+
<span class="cline-any cline-neutral"> </span>
|
|
297
337
|
<span class="cline-any cline-no"> </span>
|
|
298
338
|
<span class="cline-any cline-no"> </span>
|
|
299
339
|
<span class="cline-any cline-neutral"> </span>
|
|
300
340
|
<span class="cline-any cline-neutral"> </span>
|
|
301
341
|
<span class="cline-any cline-neutral"> </span>
|
|
342
|
+
<span class="cline-any cline-neutral"> </span>
|
|
343
|
+
<span class="cline-any cline-neutral"> </span>
|
|
344
|
+
<span class="cline-any cline-neutral"> </span>
|
|
302
345
|
<span class="cline-any cline-no"> </span>
|
|
303
346
|
<span class="cline-any cline-neutral"> </span>
|
|
304
347
|
<span class="cline-any cline-neutral"> </span>
|
|
305
348
|
<span class="cline-any cline-neutral"> </span>
|
|
306
349
|
<span class="cline-any cline-neutral"> </span>
|
|
307
350
|
<span class="cline-any cline-neutral"> </span>
|
|
351
|
+
<span class="cline-any cline-neutral"> </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-neutral"> </span>
|
|
308
357
|
<span class="cline-any cline-no"> </span>
|
|
358
|
+
<span class="cline-any cline-neutral"> </span>
|
|
359
|
+
<span class="cline-any cline-neutral"> </span>
|
|
309
360
|
<span class="cline-any cline-no"> </span>
|
|
310
361
|
<span class="cline-any cline-neutral"> </span>
|
|
311
362
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -333,6 +384,7 @@
|
|
|
333
384
|
<span class="cline-any cline-neutral"> </span>
|
|
334
385
|
<span class="cline-any cline-neutral"> </span>
|
|
335
386
|
<span class="cline-any cline-neutral"> </span>
|
|
387
|
+
<span class="cline-any cline-neutral"> </span>
|
|
336
388
|
<span class="cline-any cline-yes">2x</span>
|
|
337
389
|
<span class="cline-any cline-neutral"> </span>
|
|
338
390
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -344,12 +396,12 @@
|
|
|
344
396
|
<span class="cline-any cline-neutral"> </span>
|
|
345
397
|
<span class="cline-any cline-neutral"> </span>
|
|
346
398
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
347
|
-
import PropTypes from 'prop-types'
|
|
399
|
+
import PropTypes from 'prop-types';
|
|
348
400
|
import cookie from 'cookie';
|
|
349
401
|
import jwtDecode from 'jwt-decode';
|
|
350
402
|
|
|
351
403
|
import { useHeaderState } from './hooks';
|
|
352
|
-
import { setUtagLink } from './utag-helpers'
|
|
404
|
+
import { setUtagLink } from './utag-helpers';
|
|
353
405
|
import SessionDialogUI from '../SessionDialogUI';
|
|
354
406
|
import {
|
|
355
407
|
performanceFeedbackUrl,
|
|
@@ -359,9 +411,10 @@ import {
|
|
|
359
411
|
submissionsUrl,
|
|
360
412
|
facilityBasedPreviewUrl,
|
|
361
413
|
} from '../SideNav/helpers';
|
|
362
|
-
import HeaderMenuItem from './HeaderMenuItem'
|
|
414
|
+
import HeaderMenuItem from './HeaderMenuItem';
|
|
363
415
|
|
|
364
416
|
const HeaderAccountMenu = ({
|
|
417
|
+
handleClick,
|
|
365
418
|
fbpPerformanceYear,
|
|
366
419
|
feedbackPerformanceYear,
|
|
367
420
|
isLoginEnabled,
|
|
@@ -372,26 +425,27 @@ const HeaderAccountMenu = ({
|
|
|
372
425
|
}) => {
|
|
373
426
|
const cookies = cookie.parse(document.cookie);
|
|
374
427
|
const hasAuthToken = cookies.hasOwnProperty('qpp_auth_token');
|
|
375
|
-
const hasAuthorizations = cookies.qpp_has_authorizations === 'true'
|
|
376
|
-
const hasNonRegistryAuthorizations =
|
|
377
|
-
|
|
428
|
+
const hasAuthorizations = cookies.qpp_has_authorizations === 'true';
|
|
429
|
+
const hasNonRegistryAuthorizations =
|
|
430
|
+
cookies.qpp_has_non_registry_authorizations === 'true';
|
|
431
|
+
const isDevPreAndNotAuthenticated = !hasAuthToken && isDevPre;
|
|
378
432
|
const { closeMenus, RouterLink } = useHeaderState();
|
|
379
433
|
|
|
380
434
|
<span class="missing-if-branch" title="if path not taken" >I</span>if (!isLoginEnabled || isDevPreAndNotAuthenticated) {
|
|
381
|
-
<span class="cstat-no" title="statement not covered" > return null
|
|
435
|
+
<span class="cstat-no" title="statement not covered" > return null;</span>
|
|
382
436
|
}
|
|
383
437
|
|
|
384
438
|
// login link
|
|
385
439
|
<span class="missing-if-branch" title="else path not taken" >E</span>if (!hasAuthToken) {
|
|
386
440
|
<span class="missing-if-branch" title="if path not taken" >I</span>if (RouterLink) {
|
|
387
441
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
388
|
-
<li className="header-item-login login">
|
|
442
|
+
<li onClick={handleClick} className="header-item-login login">
|
|
389
443
|
<RouterLink
|
|
390
444
|
className="menu-link"
|
|
391
445
|
to="/login"
|
|
392
446
|
onClick={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
393
|
-
<span class="cstat-no" title="statement not covered" > closeMenus()
|
|
394
|
-
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', '/login')
|
|
447
|
+
<span class="cstat-no" title="statement not covered" > closeMenus();</span>
|
|
448
|
+
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', '/login');</span>
|
|
395
449
|
}}
|
|
396
450
|
data-track-category="TopNav"
|
|
397
451
|
data-track-action="click"
|
|
@@ -399,11 +453,12 @@ const HeaderAccountMenu = ({
|
|
|
399
453
|
>
|
|
400
454
|
<div className="nav-title">Sign In</div>
|
|
401
455
|
<div className="nav-description">
|
|
402
|
-
Manage Account <br />
|
|
456
|
+
Manage Account <br />
|
|
457
|
+
and Register
|
|
403
458
|
</div>
|
|
404
459
|
</RouterLink>
|
|
405
460
|
</li>
|
|
406
|
-
)
|
|
461
|
+
);
|
|
407
462
|
}
|
|
408
463
|
return (
|
|
409
464
|
<li className="header-item-login login">
|
|
@@ -414,45 +469,67 @@ const HeaderAccountMenu = ({
|
|
|
414
469
|
data-track-action="click"
|
|
415
470
|
data-track-label="Sign In"
|
|
416
471
|
onClick={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
417
|
-
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', '/login')
|
|
472
|
+
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', '/login');</span>
|
|
418
473
|
}}
|
|
419
474
|
>
|
|
420
475
|
<div className="nav-title">Sign In</div>
|
|
421
476
|
<div className="nav-description">
|
|
422
|
-
Manage Account <br />
|
|
477
|
+
Manage Account <br />
|
|
478
|
+
and Register
|
|
423
479
|
</div>
|
|
424
480
|
</a>
|
|
425
481
|
</li>
|
|
426
|
-
)
|
|
482
|
+
);
|
|
427
483
|
}
|
|
428
484
|
|
|
429
485
|
<span class="cstat-no" title="statement not covered" > if (hasAuthToken) {</span>
|
|
430
|
-
const { firstName } = <span class="cstat-no" title="statement not covered" >jwtDecode(cookies.qpp_auth_token)
|
|
431
|
-
const additionalLinks = <span class="cstat-no" title="statement not covered" >[]
|
|
486
|
+
const { firstName } = <span class="cstat-no" title="statement not covered" >jwtDecode(cookies.qpp_auth_token);</span>
|
|
487
|
+
const additionalLinks = <span class="cstat-no" title="statement not covered" >[];</span>
|
|
432
488
|
<span class="cstat-no" title="statement not covered" > if (hasAuthorizations) {</span>
|
|
433
489
|
<span class="cstat-no" title="statement not covered" > additionalLinks.push(</span>
|
|
434
|
-
{ type: 'link', href: dashboardUrl, name: 'Eligibility & Reporting' },
|
|
435
|
-
{
|
|
436
|
-
|
|
490
|
+
{ type: 'link', href: dashboardUrl, name: 'Eligibility & Reporting' },
|
|
491
|
+
{
|
|
492
|
+
type: 'link',
|
|
493
|
+
href: performanceFeedbackUrl(
|
|
494
|
+
feedbackPerformanceYear || performanceYear
|
|
495
|
+
),
|
|
496
|
+
name: 'Performance Feedback',
|
|
497
|
+
}
|
|
498
|
+
);
|
|
437
499
|
<span class="cstat-no" title="statement not covered" > if (showPhysicianCompareLink && hasNonRegistryAuthorizations) {</span>
|
|
438
|
-
<span class="cstat-no" title="statement not covered" > additionalLinks.push({
|
|
500
|
+
<span class="cstat-no" title="statement not covered" > additionalLinks.push({</span>
|
|
501
|
+
type: 'link',
|
|
502
|
+
href: physicianCompareUrl,
|
|
503
|
+
name: 'Doctors & Clinicians Preview',
|
|
504
|
+
});
|
|
439
505
|
}
|
|
440
506
|
<span class="cstat-no" title="statement not covered" > if (showFacilityBasedPreviewLink) {</span>
|
|
441
|
-
<span class="cstat-no" title="statement not covered" > additionalLinks.push({
|
|
507
|
+
<span class="cstat-no" title="statement not covered" > additionalLinks.push({</span>
|
|
508
|
+
type: 'link',
|
|
509
|
+
href: facilityBasedPreviewUrl(fbpPerformanceYear || performanceYear),
|
|
510
|
+
name: 'Facility Based Preview',
|
|
511
|
+
});
|
|
442
512
|
}
|
|
443
|
-
|
|
444
513
|
}
|
|
445
|
-
const columns = <span class="cstat-no" title="statement not covered" >[
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
514
|
+
const columns = <span class="cstat-no" title="statement not covered" >[</span>
|
|
515
|
+
[
|
|
516
|
+
{
|
|
517
|
+
items: [
|
|
518
|
+
{ type: 'link', href: submissionsUrl, name: 'Account Home' },
|
|
519
|
+
...additionalLinks,
|
|
520
|
+
{ type: 'link', href: manageUrl, name: 'Manage Access' },
|
|
521
|
+
{ type: 'signout', name: 'Sign Out' },
|
|
522
|
+
],
|
|
523
|
+
},
|
|
524
|
+
],
|
|
525
|
+
];
|
|
526
|
+
const devPreColumns = <span class="cstat-no" title="statement not covered" >[</span>
|
|
527
|
+
[{ items: [{ type: 'signout', name: 'Sign Out' }] }],
|
|
528
|
+
];
|
|
452
529
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
453
530
|
<>
|
|
454
531
|
<SessionDialogUI />
|
|
455
|
-
<HeaderMenuItem
|
|
532
|
+
<HeaderMenuItem
|
|
456
533
|
hasMenu
|
|
457
534
|
menuName="Login"
|
|
458
535
|
name={firstName}
|
|
@@ -462,7 +539,7 @@ const HeaderAccountMenu = ({
|
|
|
462
539
|
rows={isDevPre ? devPreColumns : columns}
|
|
463
540
|
/>
|
|
464
541
|
</>
|
|
465
|
-
)
|
|
542
|
+
);
|
|
466
543
|
}
|
|
467
544
|
};
|
|
468
545
|
|
|
@@ -474,6 +551,7 @@ HeaderAccountMenu.propTypes = {
|
|
|
474
551
|
fbpPerformanceYear: PropTypes.string,
|
|
475
552
|
feedbackPerformanceYear: PropTypes.string,
|
|
476
553
|
isDevPre: PropTypes.bool,
|
|
554
|
+
handleClick: PropTypes.func.isRequired,
|
|
477
555
|
};
|
|
478
556
|
|
|
479
557
|
HeaderAccountMenu.defaultProps = {
|
|
@@ -493,7 +571,7 @@ export default HeaderAccountMenu;
|
|
|
493
571
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
494
572
|
Code coverage generated by
|
|
495
573
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
496
|
-
at
|
|
574
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
497
575
|
</div>
|
|
498
576
|
</div>
|
|
499
577
|
<script src="../../../prettify.js"></script>
|
|
@@ -112,7 +112,7 @@ export default HeaderCancel;
|
|
|
112
112
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
113
113
|
Code coverage generated by
|
|
114
114
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
115
|
-
at
|
|
115
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
116
116
|
</div>
|
|
117
117
|
</div>
|
|
118
118
|
<script src="../../../prettify.js"></script>
|
|
@@ -117,9 +117,7 @@
|
|
|
117
117
|
<a name='L58'></a><a href='#L58'>58</a>
|
|
118
118
|
<a name='L59'></a><a href='#L59'>59</a>
|
|
119
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>
|
|
120
|
+
<a name='L61'></a><a href='#L61'>61</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
123
121
|
<span class="cline-any cline-neutral"> </span>
|
|
124
122
|
<span class="cline-any cline-neutral"> </span>
|
|
125
123
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -166,7 +164,6 @@
|
|
|
166
164
|
<span class="cline-any cline-neutral"> </span>
|
|
167
165
|
<span class="cline-any cline-neutral"> </span>
|
|
168
166
|
<span class="cline-any cline-neutral"> </span>
|
|
169
|
-
<span class="cline-any cline-neutral"> </span>
|
|
170
167
|
<span class="cline-any cline-yes">2x</span>
|
|
171
168
|
<span class="cline-any cline-neutral"> </span>
|
|
172
169
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -180,12 +177,11 @@
|
|
|
180
177
|
<span class="cline-any cline-neutral"> </span>
|
|
181
178
|
<span class="cline-any cline-neutral"> </span>
|
|
182
179
|
<span class="cline-any cline-neutral"> </span>
|
|
183
|
-
<span class="cline-any cline-neutral"> </span>
|
|
184
|
-
|
|
185
|
-
import PropTypes from 'prop-types'
|
|
180
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
181
|
+
import PropTypes from 'prop-types';
|
|
186
182
|
|
|
187
|
-
import HeaderLogo from './HeaderLogo'
|
|
188
|
-
import
|
|
183
|
+
import HeaderLogo from './HeaderLogo';
|
|
184
|
+
import NotificationBanner from '../NotificationBanner';
|
|
189
185
|
|
|
190
186
|
/**
|
|
191
187
|
* Accessibility enhancement that moves focus to an element for "Skip" links
|
|
@@ -197,8 +193,8 @@ function <span class="fstat-no" title="function not covered" >jumpToLink(</span>
|
|
|
197
193
|
<span class="cstat-no" title="statement not covered" > document.getElementById(id).focus();</span>
|
|
198
194
|
}
|
|
199
195
|
|
|
200
|
-
const HeaderContainer = ({
|
|
201
|
-
children,
|
|
196
|
+
const HeaderContainer = ({
|
|
197
|
+
children,
|
|
202
198
|
includeSkipToSidebar,
|
|
203
199
|
showCancelButton,
|
|
204
200
|
skipToContentId,
|
|
@@ -220,29 +216,27 @@ const HeaderContainer = ({
|
|
|
220
216
|
Skip to sidebar
|
|
221
217
|
</a>
|
|
222
218
|
)}
|
|
223
|
-
<
|
|
219
|
+
<NotificationBanner />
|
|
224
220
|
<header id="top" className={showCancelButton ? <span class="branch-0 cbranch-no" title="branch not covered" >'show-cancel-button' </span>: ''}>
|
|
225
221
|
<HeaderLogo />
|
|
226
222
|
{children}
|
|
227
223
|
</header>
|
|
228
224
|
</>
|
|
229
|
-
)
|
|
230
|
-
|
|
225
|
+
);
|
|
231
226
|
|
|
232
227
|
HeaderContainer.propTypes = {
|
|
233
228
|
children: PropTypes.node.isRequired,
|
|
234
229
|
includeSkipToSidebar: PropTypes.bool,
|
|
235
230
|
showCancelButton: PropTypes.bool,
|
|
236
231
|
skipToContentId: PropTypes.string,
|
|
237
|
-
}
|
|
232
|
+
};
|
|
238
233
|
HeaderContainer.defaultProps = {
|
|
239
234
|
includeSkipToSidebar: false,
|
|
240
235
|
showCancelButton: false,
|
|
241
236
|
skipToContentId: null,
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
export default HeaderContainer
|
|
237
|
+
};
|
|
245
238
|
|
|
239
|
+
export default HeaderContainer;
|
|
246
240
|
</pre></td></tr></table></pre>
|
|
247
241
|
|
|
248
242
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -250,7 +244,7 @@ export default HeaderContainer
|
|
|
250
244
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
251
245
|
Code coverage generated by
|
|
252
246
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
253
|
-
at
|
|
247
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
254
248
|
</div>
|
|
255
249
|
</div>
|
|
256
250
|
<script src="../../../prettify.js"></script>
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<span class="cline-any cline-neutral"> </span>
|
|
142
142
|
<span class="cline-any cline-neutral"> </span>
|
|
143
143
|
<span class="cline-any cline-neutral"> </span>
|
|
144
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react'
|
|
144
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import React from 'react';
|
|
145
145
|
|
|
146
146
|
import { useHeaderState } from './hooks';
|
|
147
147
|
|
|
@@ -163,7 +163,7 @@ const HeaderLogo = () => {
|
|
|
163
163
|
alt="QPP logo"
|
|
164
164
|
/>
|
|
165
165
|
</RouterLink>
|
|
166
|
-
)
|
|
166
|
+
);
|
|
167
167
|
}
|
|
168
168
|
return (
|
|
169
169
|
<a
|
|
@@ -179,10 +179,10 @@ const HeaderLogo = () => {
|
|
|
179
179
|
alt="QPP logo"
|
|
180
180
|
/>
|
|
181
181
|
</a>
|
|
182
|
-
)
|
|
183
|
-
}
|
|
182
|
+
);
|
|
183
|
+
};
|
|
184
184
|
|
|
185
|
-
export default HeaderLogo
|
|
185
|
+
export default HeaderLogo;
|
|
186
186
|
</pre></td></tr></table></pre>
|
|
187
187
|
|
|
188
188
|
<div class='push'></div><!-- for sticky footer -->
|
|
@@ -190,7 +190,7 @@ export default HeaderLogo
|
|
|
190
190
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
191
191
|
Code coverage generated by
|
|
192
192
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
193
|
-
at
|
|
193
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
194
194
|
</div>
|
|
195
195
|
</div>
|
|
196
196
|
<script src="../../../prettify.js"></script>
|
|
@@ -169,11 +169,11 @@ const HeaderMenuButton = <span class="fstat-no" title="function not covered" >({
|
|
|
169
169
|
<span class="cstat-no" title="statement not covered" > if (RouterLink) {</span>
|
|
170
170
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
171
171
|
<RouterLink
|
|
172
|
-
className="btn btn-navigation inverse-hover"
|
|
172
|
+
className="btn btn-navigation inverse-hover header-menu-btn"
|
|
173
173
|
to={href}
|
|
174
174
|
onClick={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
175
|
-
<span class="cstat-no" title="statement not covered" > closeMenus()
|
|
176
|
-
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', href)
|
|
175
|
+
<span class="cstat-no" title="statement not covered" > closeMenus();</span>
|
|
176
|
+
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', href);</span>
|
|
177
177
|
}}
|
|
178
178
|
data-track-category="TopNav"
|
|
179
179
|
data-track-action="click"
|
|
@@ -186,13 +186,13 @@ const HeaderMenuButton = <span class="fstat-no" title="function not covered" >({
|
|
|
186
186
|
}
|
|
187
187
|
<span class="cstat-no" title="statement not covered" > return (</span>
|
|
188
188
|
<a
|
|
189
|
-
className="btn btn-navigation inverse-hover"
|
|
189
|
+
className="btn btn-navigation inverse-hover header-menu-btn"
|
|
190
190
|
href={href}
|
|
191
191
|
data-track-category="TopNav"
|
|
192
192
|
data-track-action="click"
|
|
193
193
|
data-track-label={name}
|
|
194
194
|
onClick={<span class="fstat-no" title="function not covered" >()</span> => {
|
|
195
|
-
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', href)
|
|
195
|
+
<span class="cstat-no" title="statement not covered" > setUtagLink('main navbar', 'click', href);</span>
|
|
196
196
|
}}
|
|
197
197
|
>
|
|
198
198
|
{name}
|
|
@@ -214,7 +214,7 @@ export default HeaderMenuButton;
|
|
|
214
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
215
|
Code coverage generated by
|
|
216
216
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
217
|
-
at
|
|
217
|
+
at Wed Sep 29 2021 12:36:46 GMT-0700 (Pacific Daylight Time)
|
|
218
218
|
</div>
|
|
219
219
|
</div>
|
|
220
220
|
<script src="../../../prettify.js"></script>
|