@madie/madie-design-system 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.js +3 -0
- package/components/Accordion/Accordion.stories.js +11 -11
- package/components/Accordion/index.jsx +78 -76
- package/components/Alert/Alert.stories.js +60 -51
- package/components/Alert/index.js +46 -37
- package/components/Breadcrumb/Breadcrumb.stories.js +62 -62
- package/components/Breadcrumb/index.js +80 -71
- package/components/Button/Button.stories.js +92 -86
- package/components/Button/index.js +65 -65
- package/components/CalloutBox/CalloutBox.stories.js +75 -75
- package/components/CalloutBox/index.js +92 -92
- package/components/Card/Card.stories.js +135 -135
- package/components/Card/index.js +128 -121
- package/components/Dropdown/Dropdown.stories.js +73 -73
- package/components/Dropdown/index.js +72 -72
- package/components/Error/Collapsible.jsx +75 -70
- package/components/Error/ErrorUI.jsx +22 -22
- package/components/Error/error.js +20 -20
- package/components/FlashNotification/FlashNotificationUI.jsx +77 -77
- package/components/FlashNotification/index.js +23 -23
- package/components/Footer/Footer.stories.js +13 -13
- package/components/Footer/FooterUI.jsx +264 -252
- package/components/Footer/LegacyFooterUI.jsx +190 -180
- package/components/Footer/SocialLinks.jsx +58 -55
- package/components/Footer/Subscribe.jsx +29 -29
- package/components/Footer/footer.js +21 -21
- package/components/FormControlLabel/index.jsx +23 -0
- package/components/Header/Header.stories.js +29 -26
- package/components/Header/HeaderAccountMenu.jsx +163 -149
- package/components/Header/HeaderCancel.jsx +8 -8
- package/components/Header/HeaderContainer.jsx +48 -43
- package/components/Header/HeaderLogo.jsx +34 -34
- package/components/Header/HeaderMenuButton.js +39 -39
- package/components/Header/HeaderMenuItem.jsx +252 -205
- package/components/Header/HeaderMenuLink.js +37 -37
- package/components/Header/HeaderMenuSignOutButton.js +50 -50
- package/components/Header/HeaderMobileButton.js +29 -29
- package/components/Header/HeaderUI.jsx +164 -147
- package/components/Header/HelpIcon.jsx +15 -15
- package/components/Header/ImpersonatorBanner.jsx +50 -47
- package/components/Header/NavigationButtonIcon.jsx +21 -21
- package/components/Header/header.js +36 -34
- package/components/Header/hooks.js +42 -35
- package/components/Header/utag-helpers.js +8 -8
- package/components/Infotip/Infotip.jsx +48 -48
- package/components/Infotip/Infotip.stories.js +32 -30
- package/components/Infotip/InfotipIcon.jsx +30 -30
- package/components/Infotip/index.js +1 -1
- package/components/InputLabel/index.jsx +58 -0
- package/components/Link/Link.stories.js +65 -64
- package/components/Link/index.js +46 -46
- package/components/Modal/LegacyModal.jsx +56 -54
- package/components/Modal/Modal.jsx +121 -121
- package/components/Modal/Modal.stories.js +152 -144
- package/components/Modal/index.jsx +11 -11
- package/components/NotificationBanner/NotificationBanner.stories.js +16 -16
- package/components/NotificationBanner/index.js +239 -225
- package/components/Pagination/index.jsx +171 -160
- package/components/SanitizedContent/index.jsx +183 -183
- package/components/Search/Search.stories.js +14 -14
- package/components/Search/index.js +72 -72
- package/components/Select/Select.stories.js +168 -0
- package/components/Select/index.jsx +103 -0
- package/components/SessionDialog/sessionDialog.js +20 -20
- package/components/SessionDialogUI.jsx +231 -219
- package/components/SideNav/AnimationGroup/AnimationGroup.jsx +19 -17
- package/components/SideNav/Chart/ScoreChart.jsx +238 -229
- package/components/SideNav/Chart/__tests__/ScoreChart.test.js +15 -15
- package/components/SideNav/Chart/index.js +1 -1
- package/components/SideNav/Content/LevelOneContent.jsx +194 -190
- package/components/SideNav/Content/LevelTwoContent.jsx +208 -195
- package/components/SideNav/Content/index.js +2 -2
- package/components/SideNav/Details/IndividualDetails.jsx +10 -10
- package/components/SideNav/Details/PracticeDetails.jsx +36 -34
- package/components/SideNav/Details/index.js +2 -2
- package/components/SideNav/Links/CmsSwitchLink.jsx +32 -32
- package/components/SideNav/Links/NavItemInline.jsx +44 -44
- package/components/SideNav/Links/NavLinkContainer.jsx +27 -25
- package/components/SideNav/Links/NavLinkDrawer.jsx +267 -231
- package/components/SideNav/Links/NavLinkInline.jsx +94 -92
- package/components/SideNav/Links/NavLinkToggle.jsx +25 -25
- package/components/SideNav/Links/index.js +10 -10
- package/components/SideNav/SideNav.stories.js +320 -288
- package/components/SideNav/UI/SideNavUI.jsx +321 -301
- package/components/SideNav/UI/index.js +1 -1
- package/components/SideNav/helpers.js +33 -33
- package/components/SideNav/index.js +46 -46
- package/components/Spinner/index.js +6 -6
- package/components/Tabs/Tab.js +19 -19
- package/components/Tabs/TabPanel.js +31 -24
- package/components/Tabs/Tabs.stories.js +118 -108
- package/components/Tabs/index.js +81 -76
- package/components/TextField/TextField.stories.js +103 -0
- package/components/TextField/index.jsx +80 -0
- package/components/TextInput/TextInput.stories.js +84 -84
- package/components/TextInput/index.js +123 -123
- package/components/Tooltip/Tooltip.jsx +57 -57
- package/components/Tooltip/Tooltip.stories.js +50 -50
- package/components/Tooltip/index.js +1 -1
- package/components/Tooltip/position.js +42 -34
- package/components/UnwrappedSpinner/index.js +5 -5
- package/components/hooks/useGetConfig.js +64 -55
- package/components/index.js +129 -121
- package/coverage/clover.xml +368 -331
- package/coverage/coverage-final.json +57 -54
- package/coverage/lcov-report/InputLabel/index.html +116 -0
- package/coverage/lcov-report/InputLabel/index.jsx.html +214 -0
- package/coverage/lcov-report/Select/index.html +116 -0
- package/coverage/lcov-report/Select/index.jsx.html +391 -0
- package/coverage/lcov-report/Textfield/index.html +116 -0
- package/coverage/lcov-report/Textfield/index.jsx.html +322 -0
- package/coverage/lcov-report/index.html +54 -9
- package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +84 -78
- package/coverage/lcov-report/react/components/Button/index.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.js.html +66 -66
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +87 -72
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +23 -23
- package/coverage/lcov-report/react/components/Error/error.js.html +21 -21
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +290 -254
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +212 -182
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +66 -57
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +30 -30
- package/coverage/lcov-report/react/components/Footer/footer.js.html +22 -22
- package/coverage/lcov-report/react/components/Footer/index.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +193 -151
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +9 -9
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +60 -45
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +36 -36
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +40 -40
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +348 -207
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +38 -38
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +51 -51
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +30 -30
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +201 -150
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +16 -16
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +58 -49
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +22 -22
- package/coverage/lcov-report/react/components/Header/header.js.html +42 -36
- package/coverage/lcov-report/react/components/Header/hooks.js.html +58 -37
- package/coverage/lcov-report/react/components/Header/index.html +1 -1
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +9 -9
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +49 -49
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +31 -31
- package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.js.html +2 -2
- package/coverage/lcov-report/react/components/InputLabel/index.html +116 -0
- package/coverage/lcov-report/react/components/InputLabel/index.jsx.html +214 -0
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +62 -56
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +122 -122
- package/coverage/lcov-report/react/components/Modal/index.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +12 -12
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +269 -227
- package/coverage/lcov-report/react/components/Pagination/index.html +1 -1
- package/coverage/lcov-report/react/components/Pagination/index.jsx.html +195 -162
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +184 -184
- package/coverage/lcov-report/react/components/Select/index.html +116 -0
- package/coverage/lcov-report/react/components/Select/index.jsx.html +391 -0
- package/coverage/lcov-report/react/components/SessionDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +21 -21
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +257 -221
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +25 -19
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +261 -234
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +2 -2
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +197 -185
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +236 -197
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +3 -3
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +11 -11
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +42 -36
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +3 -3
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +33 -33
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +45 -45
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +33 -27
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +323 -215
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +100 -94
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +26 -26
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +11 -11
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +363 -303
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +2 -2
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +34 -34
- package/coverage/lcov-report/react/components/SideNav/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/index.js.html +47 -47
- package/coverage/lcov-report/react/components/Textfield/index.html +116 -0
- package/coverage/lcov-report/react/components/Textfield/index.jsx.html +322 -0
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +58 -58
- package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +60 -36
- package/coverage/lcov-report/react/components/hooks/index.html +1 -1
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +84 -57
- package/coverage/lcov-report/react/components/index.html +1 -1
- package/coverage/lcov-report/react/index.html +1 -1
- package/coverage/lcov-report/react/index.js.html +1 -1
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/index.html +1 -1
- package/coverage/lcov-report/react/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.info +855 -779
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +16 -16
- package/dist/react/index.js.LICENSE.txt +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +16 -9
- package/styles/qppds/components/_button.scss +29 -1
- package/test/components/Accordion.test.js +10 -10
- package/test/components/ErrorUI.test.js +29 -30
- package/test/components/FooterUI.test.js +82 -80
- package/test/components/HeaderUI.test.js +42 -38
- package/test/components/Infotip.test.js +64 -61
- package/test/components/Pagination.test.js +50 -50
- package/test/components/Select.test.js +113 -0
- package/test/components/SessionDialogUI.test.js +302 -294
- package/test/components/SideNavUI.test.js +19 -19
- package/test/components/TextField.test.js +50 -0
- package/test/components/Tooltip.test.js +133 -133
- package/test/index.test.js +6 -6
- package/test/session/session.test.js +200 -200
- package/storybook-static/0.5651be4a8d0b1984a772.manager.bundle.js +0 -2
- package/storybook-static/0.5651be4a8d0b1984a772.manager.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/0.ce0ed568.iframe.bundle.js +0 -1
- package/storybook-static/1.1b179d27.iframe.bundle.js +0 -3
- package/storybook-static/1.1b179d27.iframe.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/1.1b179d27.iframe.bundle.js.map +0 -1
- package/storybook-static/1.c46d7d065aa0aa5a87ca.manager.bundle.js +0 -1
- package/storybook-static/10.99011d85.iframe.bundle.js +0 -3
- package/storybook-static/10.99011d85.iframe.bundle.js.LICENSE.txt +0 -11
- package/storybook-static/10.99011d85.iframe.bundle.js.map +0 -1
- package/storybook-static/2.35ddc55d.iframe.bundle.js +0 -1
- package/storybook-static/3.ed97833d.iframe.bundle.js +0 -1
- package/storybook-static/5.333e450fad8648669908.manager.bundle.js +0 -1
- package/storybook-static/6.505ea3c696ed314e90c8.manager.bundle.js +0 -2
- package/storybook-static/6.505ea3c696ed314e90c8.manager.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/7.94be8178.iframe.bundle.js +0 -1
- package/storybook-static/7.d26483fcb6f4087398a8.manager.bundle.js +0 -1
- package/storybook-static/8.68cd1217.iframe.bundle.js +0 -3
- package/storybook-static/8.68cd1217.iframe.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/8.68cd1217.iframe.bundle.js.map +0 -1
- package/storybook-static/8.7adf0ef161215cd35a66.manager.bundle.js +0 -1
- package/storybook-static/9.488e3969.iframe.bundle.js +0 -1
- package/storybook-static/fonts/FontAwesome.otf +0 -0
- package/storybook-static/fonts/OFL.txt +0 -92
- 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 +0 -2671
- 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 +0 -348
- 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 +0 -9
- 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 +0 -18
- package/storybook-static/images/favicon/mstile-150x150.png +0 -0
- package/storybook-static/images/favicon/safari-pinned-tab.svg +0 -32
- package/storybook-static/images/hhs-logo-black.svg +0 -10
- package/storybook-static/images/hhs-logo-white.svg +0 -10
- package/storybook-static/images/icons/close-x.svg +0 -6
- package/storybook-static/images/icons/help-headset.svg +0 -21
- package/storybook-static/images/icons/svg/arrow-down.svg +0 -1
- package/storybook-static/images/icons/svg/arrow-download.svg +0 -1
- package/storybook-static/images/icons/svg/arrow-right.svg +0 -1
- package/storybook-static/images/icons/svg/calendar.svg +0 -1
- package/storybook-static/images/icons/svg/close.svg +0 -1
- package/storybook-static/images/icons/svg/download.svg +0 -1
- package/storybook-static/images/icons/svg/external.svg +0 -1
- package/storybook-static/images/icons/svg/file-upload.svg +0 -1
- package/storybook-static/images/icons/svg/print.svg +0 -1
- package/storybook-static/images/icons/svg/search.svg +0 -7
- package/storybook-static/images/icons/svg/tooltip-question.svg +0 -6
- package/storybook-static/images/icons/svg/trash.svg +0 -1
- package/storybook-static/images/icons/svg/upload.svg +0 -1
- 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 +0 -59
- package/storybook-static/main.5ae8041695a4f0c06f75.manager.bundle.js +0 -1
- package/storybook-static/main.ee2cae16.iframe.bundle.js +0 -1
- package/storybook-static/runtime~main.7eeb017b9a4ce6a70a00.manager.bundle.js +0 -1
- package/storybook-static/runtime~main.e2794f2d.iframe.bundle.js +0 -1
- 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.c7e1bdf2e91d9cdba380.manager.bundle.js +0 -2
- package/storybook-static/vendors~main.c7e1bdf2e91d9cdba380.manager.bundle.js.LICENSE.txt +0 -104
- package/storybook-static/vendors~main.f299a23f.iframe.bundle.js +0 -76
- package/storybook-static/vendors~main.f299a23f.iframe.bundle.js.LICENSE.txt +0 -145
- package/storybook-static/vendors~main.f299a23f.iframe.bundle.js.map +0 -1
|
@@ -1,269 +1,281 @@
|
|
|
1
|
-
import React, { useState, useEffect } from
|
|
2
|
-
import PropTypes from
|
|
3
|
-
import axios from
|
|
1
|
+
import React, { useState, useEffect } from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
import axios from "axios";
|
|
4
4
|
|
|
5
|
-
import InfoTip from
|
|
6
|
-
import LegacyFooterUI from
|
|
7
|
-
import Subscribe from
|
|
8
|
-
import SocialLinks from
|
|
5
|
+
import InfoTip from "../Infotip/Infotip";
|
|
6
|
+
import LegacyFooterUI from "./LegacyFooterUI";
|
|
7
|
+
import Subscribe from "./Subscribe";
|
|
8
|
+
import SocialLinks from "./SocialLinks";
|
|
9
9
|
|
|
10
10
|
const infoTipLabel =
|
|
11
|
-
|
|
11
|
+
"When dialing 711, you will automatically be connected to a TRS Communications Assistant who will relay your conversation to the help desk agent with strict confidentiality.";
|
|
12
12
|
|
|
13
13
|
const FooterUI = (props) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
const isNewFooter = props.isNewFooter;
|
|
15
|
+
const isIESupportPage = props.isIESupportPage;
|
|
16
|
+
const signUpNowLink = props.showHcdResearch
|
|
17
|
+
? "/about/hcd-research"
|
|
18
|
+
: "mailto:QPPUserResearch@cms.hhs.gov?subject=Sign up for feedback sessions&body=Please let us know your role and how many Tax Identification Numbers (TINs) you represent. Don’t send us your actual TINs, that is confidential information that should not be shared with this email address. If you do not represent a practice, let us know what work you do in connection to QPP.";
|
|
19
|
+
const [listServ, setListServ] = useState(false);
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
const setLink = (link) => {
|
|
22
|
+
return isIESupportPage ? "/" : link;
|
|
23
|
+
};
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
<>
|
|
63
|
-
{!isIESupportPage && (
|
|
64
|
-
<div className="feedback-session-sign-up">
|
|
65
|
-
<div className="responsive-container">
|
|
66
|
-
<hr />
|
|
67
|
-
<p>
|
|
68
|
-
<strong>Help shape the future of QPP.</strong> Participate in a
|
|
69
|
-
user feedback session.{' '}
|
|
70
|
-
<a className="email-note-link" href={signUpNowLink}>
|
|
71
|
-
Sign up now
|
|
72
|
-
</a>
|
|
73
|
-
</p>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
)}
|
|
77
|
-
<footer className="global-footer">
|
|
78
|
-
<div className="build-version" id="build-version">
|
|
79
|
-
{props.buildVersion}
|
|
80
|
-
</div>
|
|
81
|
-
|
|
82
|
-
<div className="responsive-container">
|
|
25
|
+
// The footer content is populated with the following priority order:
|
|
26
|
+
// 1. Use the footer content in localStorage if it's there
|
|
27
|
+
// 2. If not, make a call to get it from the QPPFE endpoint. Hydrate the localStorage item with the response.
|
|
28
|
+
// 3. If the call fails, use the default value
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
const storageContent = JSON.parse(
|
|
31
|
+
localStorage.getItem("qpp_footer_listServ")
|
|
32
|
+
);
|
|
33
|
+
if (
|
|
34
|
+
storageContent?.content &&
|
|
35
|
+
new Date().valueOf() < storageContent.expiration
|
|
36
|
+
) {
|
|
37
|
+
setListServ(storageContent.listServ);
|
|
38
|
+
} else {
|
|
39
|
+
const origin = window.location.origin;
|
|
40
|
+
axios
|
|
41
|
+
.get(
|
|
42
|
+
!origin.includes("localhost")
|
|
43
|
+
? `${origin}/config/footer`
|
|
44
|
+
: "https://qpp.cms.gov/config/footer"
|
|
45
|
+
)
|
|
46
|
+
.then(({ data: { data = {} } }) => {
|
|
47
|
+
localStorage.setItem(
|
|
48
|
+
"qpp_footer_listServ",
|
|
49
|
+
JSON.stringify({
|
|
50
|
+
listServ: data.listServ,
|
|
51
|
+
})
|
|
52
|
+
);
|
|
53
|
+
setListServ(data.listServ);
|
|
54
|
+
})
|
|
55
|
+
.catch((e) => {
|
|
56
|
+
setListServ(false);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}, []);
|
|
60
|
+
if (isNewFooter) {
|
|
61
|
+
return (
|
|
83
62
|
<>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
</
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
data-track-action="OpenHelpAndSupport"
|
|
106
|
-
data-track-label="Help and Support"
|
|
107
|
-
>
|
|
108
|
-
Help and Support
|
|
109
|
-
</a>
|
|
110
|
-
</li>
|
|
111
|
-
<li>
|
|
112
|
-
<a
|
|
113
|
-
href="/about/small-underserved-rural-practices"
|
|
114
|
-
aria-label="Support for Small Practices"
|
|
115
|
-
data-track-category="FooterNav"
|
|
116
|
-
data-track-action="OpenSupportSmallPractices"
|
|
117
|
-
data-track-label="Support for Small Practices"
|
|
118
|
-
>
|
|
119
|
-
Support for Small Practices
|
|
120
|
-
</a>
|
|
121
|
-
</li>
|
|
122
|
-
<li>
|
|
123
|
-
<a
|
|
124
|
-
href="/developers"
|
|
125
|
-
aria-label="Developer Tools"
|
|
126
|
-
data-track-category="FooterNav"
|
|
127
|
-
data-track-action="OpenDeveloperTools"
|
|
128
|
-
data-track-label="Quality Payment Program"
|
|
129
|
-
>
|
|
130
|
-
Developer Tools
|
|
131
|
-
</a>
|
|
132
|
-
</li>
|
|
133
|
-
<li>
|
|
134
|
-
<a
|
|
135
|
-
href="/glossary"
|
|
136
|
-
aria-label="Glossary"
|
|
137
|
-
data-track-category="FooterNav"
|
|
138
|
-
data-track-action="OpenGlossary"
|
|
139
|
-
data-track-label="Glossary"
|
|
140
|
-
>
|
|
141
|
-
Glossary
|
|
142
|
-
</a>
|
|
143
|
-
</li>
|
|
144
|
-
</ul>
|
|
145
|
-
</div>
|
|
146
|
-
<div className="footer-contact-cms">
|
|
147
|
-
<p className="sub-title">Contact CMS</p>
|
|
148
|
-
<p className="contact-title">By Phone:</p>
|
|
149
|
-
<p>Monday - Friday 8 a.m - 8 p.m ET</p>
|
|
150
|
-
<p>
|
|
151
|
-
1-866-288-8292 (TRS: 711)
|
|
152
|
-
<span className="footer-trs-infotip">
|
|
153
|
-
<InfoTip label={infoTipLabel} />
|
|
154
|
-
</span>
|
|
155
|
-
</p>
|
|
63
|
+
{!isIESupportPage && (
|
|
64
|
+
<div className="feedback-session-sign-up">
|
|
65
|
+
<div className="responsive-container">
|
|
66
|
+
<hr />
|
|
67
|
+
<p>
|
|
68
|
+
<strong>Help shape the future of QPP.</strong>{" "}
|
|
69
|
+
Participate in a user feedback session.{" "}
|
|
70
|
+
<a
|
|
71
|
+
className="email-note-link"
|
|
72
|
+
href={signUpNowLink}
|
|
73
|
+
>
|
|
74
|
+
Sign up now
|
|
75
|
+
</a>
|
|
76
|
+
</p>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
)}
|
|
80
|
+
<footer className="global-footer">
|
|
81
|
+
<div className="build-version" id="build-version">
|
|
82
|
+
{props.buildVersion}
|
|
83
|
+
</div>
|
|
156
84
|
|
|
157
|
-
<
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
85
|
+
<div className="responsive-container">
|
|
86
|
+
<>
|
|
87
|
+
{!isIESupportPage && (
|
|
88
|
+
<div className="global-footer-container">
|
|
89
|
+
<div className="footer-resources">
|
|
90
|
+
<p className="sub-title">Resources</p>
|
|
91
|
+
<ul>
|
|
92
|
+
<li>
|
|
93
|
+
<a
|
|
94
|
+
href="/about/resource-library"
|
|
95
|
+
aria-label="Resource Library"
|
|
96
|
+
data-track-category="FooterNav"
|
|
97
|
+
data-track-action="OpenEducationAndTools"
|
|
98
|
+
data-track-label="Education and Tools"
|
|
99
|
+
>
|
|
100
|
+
Resource Library
|
|
101
|
+
</a>
|
|
102
|
+
</li>
|
|
103
|
+
<li>
|
|
104
|
+
<a
|
|
105
|
+
href="/resources/help-and-support"
|
|
106
|
+
aria-label="Help and Support"
|
|
107
|
+
data-track-category="FooterNav"
|
|
108
|
+
data-track-action="OpenHelpAndSupport"
|
|
109
|
+
data-track-label="Help and Support"
|
|
110
|
+
>
|
|
111
|
+
Help and Support
|
|
112
|
+
</a>
|
|
113
|
+
</li>
|
|
114
|
+
<li>
|
|
115
|
+
<a
|
|
116
|
+
href="/about/small-underserved-rural-practices"
|
|
117
|
+
aria-label="Support for Small Practices"
|
|
118
|
+
data-track-category="FooterNav"
|
|
119
|
+
data-track-action="OpenSupportSmallPractices"
|
|
120
|
+
data-track-label="Support for Small Practices"
|
|
121
|
+
>
|
|
122
|
+
Support for Small Practices
|
|
123
|
+
</a>
|
|
124
|
+
</li>
|
|
125
|
+
<li>
|
|
126
|
+
<a
|
|
127
|
+
href="/developers"
|
|
128
|
+
aria-label="Developer Tools"
|
|
129
|
+
data-track-category="FooterNav"
|
|
130
|
+
data-track-action="OpenDeveloperTools"
|
|
131
|
+
data-track-label="Quality Payment Program"
|
|
132
|
+
>
|
|
133
|
+
Developer Tools
|
|
134
|
+
</a>
|
|
135
|
+
</li>
|
|
136
|
+
<li>
|
|
137
|
+
<a
|
|
138
|
+
href="/glossary"
|
|
139
|
+
aria-label="Glossary"
|
|
140
|
+
data-track-category="FooterNav"
|
|
141
|
+
data-track-action="OpenGlossary"
|
|
142
|
+
data-track-label="Glossary"
|
|
143
|
+
>
|
|
144
|
+
Glossary
|
|
145
|
+
</a>
|
|
146
|
+
</li>
|
|
147
|
+
</ul>
|
|
148
|
+
</div>
|
|
149
|
+
<div className="footer-contact-cms">
|
|
150
|
+
<p className="sub-title">Contact CMS</p>
|
|
151
|
+
<p className="contact-title">
|
|
152
|
+
By Phone:
|
|
153
|
+
</p>
|
|
154
|
+
<p>Monday - Friday 8 a.m - 8 p.m ET</p>
|
|
155
|
+
<p>
|
|
156
|
+
1-866-288-8292 (TRS: 711)
|
|
157
|
+
<span className="footer-trs-infotip">
|
|
158
|
+
<InfoTip label={infoTipLabel} />
|
|
159
|
+
</span>
|
|
160
|
+
</p>
|
|
182
161
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
162
|
+
<p className="contact-title">
|
|
163
|
+
By Email:
|
|
164
|
+
</p>
|
|
165
|
+
<p>
|
|
166
|
+
<a
|
|
167
|
+
aria-label="QPP@cms.hhs.gov"
|
|
168
|
+
href="mailto:QPP@cms.hhs.gov"
|
|
169
|
+
className="email-link"
|
|
170
|
+
>
|
|
171
|
+
QPP@cms.hhs.gov
|
|
172
|
+
</a>
|
|
173
|
+
</p>
|
|
174
|
+
</div>
|
|
175
|
+
<div className="footer-social-newsletter">
|
|
176
|
+
<p className="sub-title">
|
|
177
|
+
Stay Connected
|
|
178
|
+
</p>
|
|
179
|
+
<SocialLinks />
|
|
180
|
+
<p className="sub-title">
|
|
181
|
+
{listServ
|
|
182
|
+
? "Sign Up for the QPP Listserv"
|
|
183
|
+
: "Sign Up for the QPP Newsletter"}
|
|
184
|
+
</p>
|
|
185
|
+
<Subscribe />
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
)}
|
|
189
|
+
<hr />
|
|
190
|
+
</>
|
|
191
|
+
|
|
192
|
+
<div className="other-links">
|
|
193
|
+
<ul className="small">
|
|
194
|
+
<li>
|
|
195
|
+
<a
|
|
196
|
+
href={setLink("/privacy")}
|
|
197
|
+
aria-label="Notice of Privacy and Disclaimer"
|
|
198
|
+
data-track-category="FooterNav"
|
|
199
|
+
data-track-action="OpenPrivacyDisclaimer"
|
|
200
|
+
data-track-label="Notice of Privacy and Disclaimer"
|
|
201
|
+
>
|
|
202
|
+
CMS Privacy Notice
|
|
203
|
+
</a>
|
|
204
|
+
</li>
|
|
205
|
+
<li className="divider"></li>{" "}
|
|
206
|
+
<li>
|
|
207
|
+
<a
|
|
208
|
+
href={setLink("/accessibility")}
|
|
209
|
+
aria-label="Accessibility"
|
|
210
|
+
data-track-category="FooterNav"
|
|
211
|
+
data-track-action="OpenAccessibility"
|
|
212
|
+
data-track-label="Accessibility"
|
|
213
|
+
>
|
|
214
|
+
Accessibility
|
|
215
|
+
</a>
|
|
216
|
+
</li>
|
|
217
|
+
<li className="divider"></li>{" "}
|
|
218
|
+
<li>
|
|
219
|
+
<a
|
|
220
|
+
aria-label="Download Adobe Reader"
|
|
221
|
+
className="adobe-link"
|
|
222
|
+
rel="noopener noreferrer"
|
|
223
|
+
target="_blank"
|
|
224
|
+
href={setLink(
|
|
225
|
+
"https://get.adobe.com/reader"
|
|
226
|
+
)}
|
|
227
|
+
data-track-category="FooterNav"
|
|
228
|
+
data-track-action="DownloadAdobeReader"
|
|
229
|
+
data-track-label="AdobeReader"
|
|
230
|
+
>
|
|
231
|
+
Download Adobe Reader
|
|
232
|
+
</a>
|
|
233
|
+
</li>
|
|
234
|
+
</ul>
|
|
235
|
+
<hr />
|
|
236
|
+
</div>
|
|
237
|
+
<div className="qpp-hhs-logo-container">
|
|
238
|
+
<div className="qpp-logo-container">
|
|
239
|
+
<img
|
|
240
|
+
className="qpp-logo"
|
|
241
|
+
src="/images/qpp_logo_rgb_color.png"
|
|
242
|
+
alt="qpp logo"
|
|
243
|
+
/>
|
|
244
|
+
</div>
|
|
245
|
+
<div className="hhs-logo-container">
|
|
246
|
+
<img
|
|
247
|
+
className="hhs-logo"
|
|
248
|
+
alt="Department of Health & Human Services USA"
|
|
249
|
+
src="/images/hhs-logo-black.svg"
|
|
250
|
+
/>
|
|
251
|
+
<p>
|
|
252
|
+
A federal government website managed and
|
|
253
|
+
paid for by the U.S Centers for Medicare
|
|
254
|
+
& Medicaid Services. 7500 Security
|
|
255
|
+
Boulevard, Baltimore MD 21244
|
|
256
|
+
</p>
|
|
257
|
+
</div>
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
</footer>
|
|
261
|
+
</>
|
|
262
|
+
);
|
|
263
|
+
}
|
|
264
|
+
return (
|
|
265
|
+
<LegacyFooterUI
|
|
266
|
+
buildVersion={props.buildVersion}
|
|
267
|
+
isFullWidth={props.isFullWidth}
|
|
268
|
+
signUpNowLink={signUpNowLink}
|
|
269
|
+
/>
|
|
250
270
|
);
|
|
251
|
-
}
|
|
252
|
-
return (
|
|
253
|
-
<LegacyFooterUI
|
|
254
|
-
buildVersion={props.buildVersion}
|
|
255
|
-
isFullWidth={props.isFullWidth}
|
|
256
|
-
signUpNowLink={signUpNowLink}
|
|
257
|
-
/>
|
|
258
|
-
);
|
|
259
271
|
};
|
|
260
272
|
|
|
261
273
|
FooterUI.propTypes = {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
274
|
+
buildVersion: PropTypes.string,
|
|
275
|
+
isFullWidth: PropTypes.bool,
|
|
276
|
+
isNewFooter: PropTypes.bool,
|
|
277
|
+
isIESupportPage: PropTypes.bool,
|
|
278
|
+
showHcdResearch: PropTypes.bool,
|
|
267
279
|
};
|
|
268
280
|
|
|
269
281
|
export default FooterUI;
|