qpp-style 2.1.13 → 2.2.0-sm.0
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/.babelrc +10 -0
- package/.editorconfig +22 -0
- package/.eslintignore +5 -0
- package/.eslintrc.js +32 -0
- package/.husky/pre-commit +5 -0
- package/.prettierrc +1 -0
- package/README.md +50 -55
- package/components/Accordion/index.jsx +97 -0
- package/components/Alert/index.js +53 -0
- package/components/Breadcrumb/Breadcrumb.md +28 -0
- package/components/Breadcrumb/index.js +83 -0
- package/components/Button/index.js +90 -0
- package/components/Details/DetailsIcons.js +50 -0
- package/components/Details/index.js +53 -0
- package/components/Dropdown/index.js +85 -0
- package/components/DropdownButton/Menu.js +25 -0
- package/components/DropdownButton/MenuButton.js +41 -0
- package/components/DropdownButton/MenuItem.js +25 -0
- package/components/DropdownButton/MenuItemLink.js +27 -0
- package/components/Error/Collapsible.jsx +88 -0
- package/components/Error/ErrorUI.jsx +31 -0
- package/components/Error/error.js +26 -0
- package/components/FlashNotification/FlashNotificationUI.jsx +91 -0
- package/components/FlashNotification/index.js +30 -0
- package/components/Footer/FooterUI.jsx +210 -0
- package/components/Footer/SocialLinks.jsx +60 -0
- package/components/Footer/Subscribe.jsx +34 -0
- package/components/Footer/footer.js +20 -0
- package/components/GovBanner/index.js +117 -0
- package/components/Header/Header.md +111 -0
- package/components/Header/HeaderAccountMenu.jsx +94 -0
- package/components/Header/HeaderCancel.jsx +16 -0
- package/components/Header/HeaderContainer.jsx +76 -0
- package/components/Header/HeaderLogo.jsx +60 -0
- package/components/Header/HeaderMenuButton.js +50 -0
- package/components/Header/HeaderMenuItem.jsx +239 -0
- package/components/Header/HeaderMenuLink.js +56 -0
- package/components/Header/HeaderMenuSignOutButton.js +62 -0
- package/components/Header/HeaderMobileButton.js +37 -0
- package/components/Header/HeaderUI.jsx +168 -0
- package/components/Header/HelpIcon.jsx +32 -0
- package/components/Header/ImpersonatorBanner.jsx +81 -0
- package/components/Header/NavigationButtonIcon.jsx +27 -0
- package/components/Header/default-content.json +280 -0
- package/components/Header/header.js +40 -0
- package/components/Header/hooks.js +66 -0
- package/components/Header/utag-helpers.js +9 -0
- package/components/Infotip/Infotip.jsx +71 -0
- package/components/Infotip/InfotipContent.jsx +46 -0
- package/components/Infotip/InfotipIcon.jsx +41 -0
- package/components/Infotip/index.js +3 -0
- package/components/Link/index.js +61 -0
- package/components/Modal/LegacyModal.jsx +72 -0
- package/components/Modal/Modal.jsx +140 -0
- package/components/Modal/index.jsx +22 -0
- package/components/NotificationBanner/CollapsedView.js +39 -0
- package/components/NotificationBanner/ExpandedView.js +45 -0
- package/components/NotificationBanner/index.js +221 -0
- package/components/SanitizedContent/index.jsx +223 -0
- package/components/Search/index.js +98 -0
- package/components/Session/Session.jsx +89 -0
- package/components/Session/SessionDialogWrapped.jsx +12 -0
- package/components/Session/index.jsx +3 -0
- package/components/SideNav/AnimationGroup/AnimationGroup.jsx +27 -0
- package/components/SideNav/Content/LevelOneContent.jsx +49 -0
- package/components/SideNav/Content/SelectRole/index.js +78 -0
- package/components/SideNav/Content/SelectRole/utils.js +149 -0
- package/components/SideNav/Content/index.js +3 -0
- package/components/SideNav/Details/IndividualDetails.jsx +18 -0
- package/components/SideNav/Details/PracticeDetails.jsx +51 -0
- package/components/SideNav/Details/index.js +4 -0
- package/components/SideNav/Links/CmsSwitchLink.jsx +41 -0
- package/components/SideNav/Links/NavItemInline.jsx +54 -0
- package/components/SideNav/Links/NavLinkContainer.jsx +38 -0
- package/components/SideNav/Links/NavLinkDrawer.jsx +295 -0
- package/components/SideNav/Links/NavLinkInline.jsx +110 -0
- package/components/SideNav/Links/NavLinkToggle.jsx +34 -0
- package/components/SideNav/Links/index.js +13 -0
- package/components/SideNav/SideNav.md +50 -0
- package/components/SideNav/UI/SideNavUI.jsx +323 -0
- package/components/SideNav/UI/default-markup.js +4 -0
- package/components/SideNav/UI/index.js +3 -0
- package/components/SideNav/UI/utils.js +0 -0
- package/components/SideNav/helpers.js +399 -0
- package/components/SideNav/index.js +29 -0
- package/components/Tabs/TabPanel.js +5 -0
- package/components/Tabs/Tabs.js +73 -0
- package/components/TextInput/index.js +137 -0
- package/components/hooks/useGetConfig.js +75 -0
- package/components/index.js +122 -0
- package/coverage/clover.xml +1324 -0
- package/coverage/coverage-final.json +71 -0
- package/coverage/lcov-report/Tooltip.jsx.html +232 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/components/Accordion/index.html +116 -0
- package/coverage/lcov-report/components/Accordion/index.jsx.html +364 -0
- package/coverage/lcov-report/components/Button/index.html +116 -0
- package/coverage/lcov-report/components/Button/index.js.html +355 -0
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +349 -0
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +178 -0
- package/coverage/lcov-report/components/Error/index.html +131 -0
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +706 -0
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +265 -0
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +187 -0
- package/coverage/lcov-report/components/Footer/index.html +146 -0
- package/coverage/lcov-report/components/GovBanner/index.html +116 -0
- package/coverage/lcov-report/components/GovBanner/index.js.html +436 -0
- package/coverage/lcov-report/components/Header/HeaderAccountMenu.jsx.html +367 -0
- package/coverage/lcov-report/components/Header/HeaderCancel.jsx.html +133 -0
- package/coverage/lcov-report/components/Header/HeaderContainer.jsx.html +307 -0
- package/coverage/lcov-report/components/Header/HeaderLogo.jsx.html +211 -0
- package/coverage/lcov-report/components/Header/HeaderMenuButton.js.html +235 -0
- package/coverage/lcov-report/components/Header/HeaderMenuItem.jsx.html +802 -0
- package/coverage/lcov-report/components/Header/HeaderMenuLink.js.html +253 -0
- package/coverage/lcov-report/components/Header/HeaderMenuSignOutButton.js.html +271 -0
- package/coverage/lcov-report/components/Header/HeaderMobileButton.js.html +196 -0
- package/coverage/lcov-report/components/Header/HeaderUI.jsx.html +586 -0
- package/coverage/lcov-report/components/Header/HelpIcon.jsx.html +181 -0
- package/coverage/lcov-report/components/Header/ImpersonatorBanner.jsx.html +328 -0
- package/coverage/lcov-report/components/Header/NavigationButtonIcon.jsx.html +166 -0
- package/coverage/lcov-report/components/Header/hooks.js.html +283 -0
- package/coverage/lcov-report/components/Header/index.html +326 -0
- package/coverage/lcov-report/components/Header/utag-helpers.js.html +112 -0
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +310 -0
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/components/Infotip/index.html +146 -0
- package/coverage/lcov-report/components/Infotip/index.js.html +94 -0
- package/coverage/lcov-report/components/Modal/LegacyModal.jsx.html +301 -0
- package/coverage/lcov-report/components/Modal/Modal.jsx.html +505 -0
- package/coverage/lcov-report/components/Modal/index.html +146 -0
- package/coverage/lcov-report/components/Modal/index.jsx.html +151 -0
- package/coverage/lcov-report/components/NotificationBanner/CollapsedView.js.html +202 -0
- package/coverage/lcov-report/components/NotificationBanner/ExpandedView.js.html +220 -0
- package/coverage/lcov-report/components/NotificationBanner/index.html +146 -0
- package/coverage/lcov-report/components/NotificationBanner/index.js.html +748 -0
- package/coverage/lcov-report/components/SanitizedContent/index.html +116 -0
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +685 -0
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +868 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/index.html +116 -0
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/utils.js.html +505 -0
- package/coverage/lcov-report/components/SideNav/helpers.js.html +1138 -0
- package/coverage/lcov-report/components/SideNav/index.html +116 -0
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +349 -0
- package/coverage/lcov-report/components/Tooltip/index.html +146 -0
- package/coverage/lcov-report/components/Tooltip/index.js.html +94 -0
- package/coverage/lcov-report/components/Tooltip/position.js.html +289 -0
- package/coverage/lcov-report/components/hooks/index.html +116 -0
- package/coverage/lcov-report/components/hooks/useGetConfig.js.html +310 -0
- package/coverage/lcov-report/components/index.html +116 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +476 -0
- package/coverage/lcov-report/index.js.html +94 -0
- package/coverage/lcov-report/lib/Chevron.jsx.html +181 -0
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +2200 -0
- package/coverage/lcov-report/lib/index.html +131 -0
- package/coverage/lcov-report/position.js.html +289 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +116 -0
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +376 -0
- package/coverage/lcov-report/react/components/Button/index.html +116 -0
- package/coverage/lcov-report/react/components/Button/index.js.html +355 -0
- package/coverage/lcov-report/react/components/Dropdown/index.html +116 -0
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +340 -0
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +349 -0
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +178 -0
- package/coverage/lcov-report/react/components/Error/error.js.html +163 -0
- package/coverage/lcov-report/react/components/Error/index.html +146 -0
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +718 -0
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +265 -0
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +187 -0
- package/coverage/lcov-report/react/components/Footer/footer.js.html +145 -0
- package/coverage/lcov-report/react/components/Footer/index.html +161 -0
- package/coverage/lcov-report/react/components/GovBanner/index.html +116 -0
- package/coverage/lcov-report/react/components/GovBanner/index.js.html +436 -0
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +367 -0
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +133 -0
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +307 -0
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +211 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +235 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +802 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +253 -0
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +271 -0
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +196 -0
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +586 -0
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +181 -0
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +334 -0
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +166 -0
- package/coverage/lcov-report/react/components/Header/header.js.html +205 -0
- package/coverage/lcov-report/react/components/Header/hooks.js.html +283 -0
- package/coverage/lcov-report/react/components/Header/index.html +341 -0
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +112 -0
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +298 -0
- package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +223 -0
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +208 -0
- package/coverage/lcov-report/react/components/Infotip/index.html +161 -0
- package/coverage/lcov-report/react/components/Infotip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +301 -0
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +505 -0
- package/coverage/lcov-report/react/components/Modal/index.html +146 -0
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +151 -0
- package/coverage/lcov-report/react/components/NotificationBanner/CollapsedView.js.html +202 -0
- package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +220 -0
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +146 -0
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +748 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +116 -0
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +754 -0
- package/coverage/lcov-report/react/components/SessionDialog/index.html +116 -0
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +163 -0
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +868 -0
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +166 -0
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +116 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +889 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +199 -0
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +733 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +214 -0
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +139 -0
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +139 -0
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +220 -0
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +146 -0
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +97 -0
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +208 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +247 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +199 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +970 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +415 -0
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +187 -0
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +206 -0
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +124 -0
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +1060 -0
- package/coverage/lcov-report/react/components/SideNav/UI/default-markup.js.html +97 -0
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +146 -0
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +94 -0
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +361 -0
- package/coverage/lcov-report/react/components/SideNav/index.html +131 -0
- package/coverage/lcov-report/react/components/SideNav/index.js.html +238 -0
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +232 -0
- package/coverage/lcov-report/react/components/Tooltip/index.html +146 -0
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +94 -0
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +289 -0
- package/coverage/lcov-report/react/components/hooks/index.html +116 -0
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +310 -0
- package/coverage/lcov-report/react/components/index.html +116 -0
- package/coverage/lcov-report/react/index.html +116 -0
- package/coverage/lcov-report/react/index.js.html +178 -0
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +181 -0
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +2200 -0
- package/coverage/lcov-report/react/lib/index.html +131 -0
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +460 -0
- package/coverage/lcov-report/react/session/index.html +161 -0
- package/coverage/lcov-report/react/session/index.js.html +100 -0
- package/coverage/lcov-report/react/session/logout.js.html +283 -0
- package/coverage/lcov-report/react/session/refresh.js.html +232 -0
- package/coverage/lcov-report/react/session/ttl.js.html +196 -0
- package/coverage/lcov-report/session/index.html +161 -0
- package/coverage/lcov-report/session/index.js.html +100 -0
- package/coverage/lcov-report/session/logout.js.html +307 -0
- package/coverage/lcov-report/session/refresh.js.html +232 -0
- package/coverage/lcov-report/session/ttl.js.html +196 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +2883 -0
- package/dist/browser.js +3 -53
- package/dist/browser.js.LICENSE.txt +31 -0
- package/dist/browser.js.map +1 -0
- package/dist/index.js +3 -53
- package/dist/index.js.LICENSE.txt +31 -0
- package/dist/index.js.map +1 -0
- package/dist/react/index.js +3 -0
- package/dist/react/index.js.LICENSE.txt +54 -0
- package/dist/react/index.js.map +1 -0
- package/fonts/PublicSans-Black.ttf +0 -0
- package/fonts/PublicSans-BlackItalic.ttf +0 -0
- package/fonts/PublicSans-Bold.ttf +0 -0
- package/fonts/PublicSans-BoldItalic.ttf +0 -0
- package/fonts/PublicSans-ExtraBold.ttf +0 -0
- package/fonts/PublicSans-ExtraBoldItalic.ttf +0 -0
- package/fonts/PublicSans-ExtraLight.ttf +0 -0
- package/fonts/PublicSans-ExtraLightItalic.ttf +0 -0
- package/fonts/PublicSans-Italic.ttf +0 -0
- package/fonts/PublicSans-Light.ttf +0 -0
- package/fonts/PublicSans-LightItalic.ttf +0 -0
- package/fonts/PublicSans-Medium.ttf +0 -0
- package/fonts/PublicSans-MediumItalic.ttf +0 -0
- package/fonts/PublicSans-Regular.ttf +0 -0
- package/fonts/PublicSans-SemiBold.ttf +0 -0
- package/fonts/PublicSans-SemiBoldItalic.ttf +0 -0
- package/fonts/PublicSans-Thin.ttf +0 -0
- package/fonts/PublicSans-ThinItalic.ttf +0 -0
- package/images/favicon/manifest.json +3 -3
- package/images/hhs-logo-black.svg +10 -0
- package/images/icon-dot-gov.svg +1 -0
- package/images/icon-https.svg +1 -0
- package/images/icons/close-x.svg +6 -0
- package/images/icons/svg/arrow-down.svg +3 -0
- package/images/icons/svg/arrow-download.svg +1 -0
- package/images/icons/svg/arrow-right.svg +1 -0
- package/images/icons/svg/arrow-up.svg +3 -0
- package/images/icons/svg/block.svg +5 -0
- package/images/icons/svg/calendar.svg +1 -0
- package/images/icons/svg/check-circle.svg +5 -0
- package/images/icons/svg/checkmark.svg +7 -0
- package/images/icons/svg/chevron-down.svg +11 -0
- package/images/icons/svg/chevron-left.svg +12 -0
- package/images/icons/svg/chevron-right.svg +12 -0
- package/images/icons/svg/chevron-up.svg +12 -0
- package/images/icons/svg/clipboard.svg +1 -0
- package/images/icons/svg/close.svg +1 -0
- package/images/icons/svg/divide.svg +13 -0
- package/images/icons/svg/doctors-and-clinicians-preview.svg +10 -0
- package/images/icons/svg/download.svg +1 -0
- package/images/icons/svg/dropdown-arrow.svg +1 -0
- package/images/icons/svg/equals.svg +13 -0
- package/images/icons/svg/exclamation.svg +10 -0
- package/images/icons/svg/external.svg +1 -0
- package/images/icons/svg/file-download.svg +1 -0
- package/images/icons/svg/file-upload.svg +1 -0
- package/images/icons/svg/info.svg +17 -0
- package/images/icons/svg/manage-user-access.svg +8 -0
- package/images/icons/svg/multiply.svg +12 -0
- package/images/icons/svg/performance-feedback.svg +1 -0
- package/images/icons/svg/plus.svg +12 -0
- package/images/icons/svg/preview.svg +15 -0
- package/images/icons/svg/print.svg +1 -0
- package/images/icons/svg/registration.svg +8 -0
- package/images/icons/svg/reporting.svg +15 -0
- package/images/icons/svg/save-disk.svg +5 -0
- package/images/icons/svg/search.svg +1 -0
- package/images/icons/svg/subtract.svg +15 -0
- package/images/icons/svg/targeted-review.svg +15 -0
- package/images/icons/svg/tooltip-question.svg +1 -0
- package/images/icons/svg/trash.svg +1 -0
- package/images/icons/svg/upload.svg +1 -0
- package/images/us_flag_small.png +0 -0
- package/index.js +31 -0
- package/jest/mediaFileTransformer.js +9 -0
- package/jest.config.js +188 -0
- package/lib/Chevron.jsx +32 -0
- package/lib/SvgComponents.jsx +705 -0
- package/lib/svg-definitions.svg +125 -0
- package/package.json +70 -55
- package/{js/session → session}/index.js +1 -5
- package/session/isAuthV2.js +22 -0
- package/session/logout.js +77 -0
- package/session/refresh.js +52 -0
- package/session/ttl.js +25 -0
- package/storybook-static/229.630347465201d1822126.manager.bundle.js +1 -0
- package/storybook-static/295.aa3c5122636a27ad7c7b.manager.bundle.js +1 -0
- package/storybook-static/468.d976c69e47003b4dcfa3.manager.bundle.js +2 -0
- package/storybook-static/468.d976c69e47003b4dcfa3.manager.bundle.js.LICENSE.txt +94 -0
- package/storybook-static/51.fc4b02f2a75c894ae64e.manager.bundle.js +2 -0
- package/storybook-static/51.fc4b02f2a75c894ae64e.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/551.45aead073703cc6fb12b.manager.bundle.js +1 -0
- package/storybook-static/807.1a7f4dcf15e4696572ca.manager.bundle.js +2 -0
- package/storybook-static/807.1a7f4dcf15e4696572ca.manager.bundle.js.LICENSE.txt +31 -0
- package/storybook-static/897.9b5fee8cc7074607c812.manager.bundle.js +2 -0
- package/storybook-static/897.9b5fee8cc7074607c812.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/935.532759f0652585685af7.manager.bundle.js +1 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/index.html +59 -0
- package/storybook-static/main.ad4edcd27d527a119d7a.manager.bundle.js +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.b165398bf7ef3e30d431.manager.bundle.js +1 -0
- package/styles/_global.scss +81 -59
- package/styles/_main.scss +11 -3
- package/styles/_paths.scss +1 -1
- package/styles/_qpp-style.scss +7 -4
- package/styles/components/_accordion.scss +273 -149
- package/styles/components/_alerts.scss +5 -7
- package/styles/components/_autocomplete.scss +47 -0
- package/styles/components/_breadcrumbs.scss +18 -17
- package/styles/components/_buttons.scss +536 -384
- package/styles/components/_error-page.scss +56 -0
- package/styles/components/_flash-notification.scss +98 -0
- package/styles/components/_fonts.scss +12 -13
- package/styles/components/_forms.scss +144 -70
- package/styles/components/_grid.scss +26 -20
- package/styles/components/_info-modal.scss +52 -27
- package/styles/components/_links.scss +4 -3
- package/styles/components/_modals.scss +10 -9
- package/styles/components/_notification-banner.scss +166 -0
- package/styles/components/_panels.scss +23 -21
- package/styles/components/_pie-chart.scss +3 -3
- package/styles/components/_score-chart.scss +135 -105
- package/styles/components/_spinner.scss +7 -0
- package/styles/components/_tables.scss +96 -72
- package/styles/components/_tabs.scss +69 -0
- package/styles/components/_text.scss +114 -48
- package/styles/components/_tooltip.scss +23 -0
- package/styles/components/_variables.scss +84 -58
- package/styles/components/_wells.scss +39 -29
- package/styles/qppds/README.md +0 -0
- package/styles/qppds/base/_backgrounds.scss +7 -0
- package/styles/qppds/base/_fonts.scss +50 -0
- package/styles/qppds/base/_icon.scss +31 -0
- package/styles/qppds/base/_layout.scss +5 -0
- package/styles/qppds/base/_typography.scss +97 -0
- package/styles/qppds/base/index.scss +8 -0
- package/styles/qppds/components/_alert.scss +101 -0
- package/styles/qppds/components/_breadcrumbs.scss +93 -0
- package/styles/qppds/components/_button.scss +306 -0
- package/styles/qppds/components/_card.scss +176 -0
- package/styles/qppds/components/_checkbox.scss +201 -0
- package/styles/qppds/components/_circular-loader.scss +47 -0
- package/styles/qppds/components/_details.scss +91 -0
- package/styles/qppds/components/_dropdown-menu.scss +126 -0
- package/styles/qppds/components/_dropdown.scss +56 -0
- package/styles/qppds/components/_footer.scss +606 -0
- package/styles/qppds/components/_gov-banner.scss +342 -0
- package/styles/qppds/components/_header.scss +913 -0
- package/styles/qppds/components/_link.scss +54 -0
- package/styles/qppds/components/_modal.scss +153 -0
- package/styles/qppds/components/_page-header.scss +105 -0
- package/styles/qppds/components/_pagination.scss +230 -0
- package/styles/qppds/components/_process-list.scss +106 -0
- package/styles/qppds/components/_radio-button.scss +185 -0
- package/styles/qppds/components/_search.scss +163 -0
- package/styles/qppds/components/_sidebar.scss +10 -0
- package/styles/qppds/components/_step-indicator.scss +193 -0
- package/styles/qppds/components/_table.scss +159 -0
- package/styles/qppds/components/_tabs.scss +199 -0
- package/styles/qppds/components/_text-input.scss +60 -0
- package/styles/qppds/components/index.scss +25 -0
- package/styles/qppds/components/sidebar/_animations.scss +38 -0
- package/styles/{components → qppds/components}/sidebar/_cms.scss +19 -6
- package/styles/{components → qppds/components}/sidebar/_details.scss +28 -21
- package/styles/qppds/components/sidebar/_links.scss +462 -0
- package/styles/qppds/components/sidebar/_select-role-dropdown.scss +21 -0
- package/styles/qppds/components/sidebar/_sidebar-animation.scss +117 -0
- package/styles/qppds/components/sidebar/_sidebar-tooltip.scss +33 -0
- package/styles/qppds/components/sidebar/_sidebar.scss +145 -0
- package/styles/qppds/components/sidebar/project-specific/_wi.scss +42 -0
- package/styles/qppds/index.scss +4 -0
- package/styles/qppds/settings/_functions.scss +6 -0
- package/styles/qppds/settings/_index.scss +3 -0
- package/styles/qppds/settings/mixins/_borders.scss +6 -0
- package/styles/qppds/settings/mixins/_focus.scss +30 -0
- package/styles/qppds/settings/mixins/_icons.scss +43 -0
- package/styles/qppds/settings/mixins/_index.scss +8 -0
- package/styles/qppds/settings/mixins/_layout.scss +74 -0
- package/styles/qppds/settings/mixins/_lists.scss +12 -0
- package/styles/qppds/settings/mixins/_table.scss +92 -0
- package/styles/qppds/settings/mixins/_type.scss +90 -0
- package/styles/qppds/settings/mixins/_visually-hidden.scss +30 -0
- package/styles/qppds/settings/variables/_color.scss +86 -0
- package/styles/qppds/settings/variables/_index.scss +4 -0
- package/styles/qppds/settings/variables/_layout.scss +69 -0
- package/styles/qppds/settings/variables/_type.scss +135 -0
- package/styles/qppds/settings/variables/_z-index.scss +8 -0
- package/styles/qppds/utilities/_background-color.scss +134 -0
- package/styles/qppds/utilities/_color.scss +40 -0
- package/styles/qppds/utilities/_display-visibility.scss +84 -0
- package/styles/qppds/utilities/_flexbox.scss +240 -0
- package/styles/qppds/utilities/_font-family.scss +10 -0
- package/styles/qppds/utilities/_font-size.scss +8 -0
- package/styles/qppds/utilities/_font-weight.scss +10 -0
- package/styles/qppds/utilities/_gap.scss +38 -0
- package/styles/qppds/utilities/_height.scss +81 -0
- package/styles/qppds/utilities/_list-style.scss +17 -0
- package/styles/qppds/utilities/_margin.scss +136 -0
- package/styles/qppds/utilities/_padding.scss +76 -0
- package/styles/qppds/utilities/_position.scss +24 -0
- package/styles/qppds/utilities/_text-align.scss +40 -0
- package/styles/qppds/utilities/_text-transform.scss +7 -0
- package/styles/qppds/utilities/_truncate.scss +8 -0
- package/styles/qppds/utilities/_vertical-align.scss +72 -0
- package/styles/qppds/utilities/_width.scss +82 -0
- package/styles/qppds/utilities/index.scss +17 -0
- package/styles/qppds.scss +2 -0
- package/styles/third-party/_legacy-bootstrap.scss +19 -0
- package/styles/third-party/legacy-bootstrap/_buttons.scss +126 -0
- package/styles/third-party/legacy-bootstrap/_dropdowns.scss +211 -0
- package/styles/third-party/legacy-bootstrap/_forms.scss +510 -0
- package/styles/third-party/legacy-bootstrap/_grid.scss +73 -0
- package/styles/third-party/legacy-bootstrap/_mixins.scss +27 -0
- package/styles/third-party/legacy-bootstrap/_navbar.scss +644 -0
- package/styles/third-party/legacy-bootstrap/_navs.scss +193 -0
- package/styles/third-party/legacy-bootstrap/_normalize.scss +385 -0
- package/styles/third-party/legacy-bootstrap/_scaffolding.scss +116 -0
- package/styles/third-party/legacy-bootstrap/_variables.scss +858 -0
- package/styles/third-party/legacy-bootstrap/mixins/_buttons.scss +70 -0
- package/styles/third-party/legacy-bootstrap/mixins/_clearfix.scss +22 -0
- package/styles/third-party/legacy-bootstrap/mixins/_forms.scss +108 -0
- package/styles/third-party/legacy-bootstrap/mixins/_grid-framework.scss +86 -0
- package/styles/third-party/legacy-bootstrap/mixins/_grid.scss +112 -0
- package/styles/third-party/legacy-bootstrap/mixins/_labels.scss +12 -0
- package/styles/third-party/legacy-bootstrap/mixins/_nav-divider.scss +10 -0
- package/styles/third-party/legacy-bootstrap/mixins/_nav-vertical-align.scss +9 -0
- package/styles/third-party/legacy-bootstrap/mixins/_opacity.scss +7 -0
- package/styles/third-party/legacy-bootstrap/mixins/_panels.scss +30 -0
- package/styles/third-party/legacy-bootstrap/mixins/_reset-filter.scss +7 -0
- package/styles/third-party/legacy-bootstrap/mixins/_reset-text.scss +18 -0
- package/styles/third-party/legacy-bootstrap/mixins/_resize.scss +6 -0
- package/styles/third-party/legacy-bootstrap/mixins/_responsive-visibility.scss +25 -0
- package/styles/third-party/legacy-bootstrap/mixins/_size.scss +10 -0
- package/styles/third-party/legacy-bootstrap/mixins/_tab-focus.scss +9 -0
- package/styles/third-party/legacy-bootstrap/mixins/_table-row.scss +28 -0
- package/styles/third-party/legacy-bootstrap/mixins/_text-emphasis.scss +12 -0
- package/styles/third-party/legacy-bootstrap/mixins/_text-overflow.scss +8 -0
- package/styles/third-party/legacy-bootstrap/mixins/_vendor-prefixes.scss +182 -0
- package/styles/utility/_mixins.scss +12 -11
- package/styles/utility/_utilities.scss +12 -1
- package/svgo.config.js +14 -0
- package/test/components/Accordion.test.js +12 -0
- package/test/components/ErrorUI.test.js +33 -0
- package/test/components/FooterUI.test.js +60 -0
- package/test/components/HeaderUI.test.js +35 -0
- package/test/components/Infotip.test.js +79 -0
- package/test/components/SideNavUI.test.js +23 -0
- package/test/index.test.js +8 -0
- package/test/session/session.test.js +221 -0
- package/test-setup.js +1 -0
- package/webpack.config.js +137 -0
- package/webpack.config.react.js +75 -0
- package/Dockerfile +0 -27
- package/Jenkinsfile +0 -22
- package/_config.dev.yml +0 -17
- package/_layouts/base.html +0 -42
- package/css/main.scss +0 -5
- package/dist/default.css +0 -2
- package/dist/default.css.map +0 -1
- package/dist/fonts/FontAwesome.otf +0 -0
- package/dist/fonts/Rubik-Bold.ttf +0 -0
- package/dist/fonts/Rubik-Light.ttf +0 -0
- package/dist/fonts/Rubik-Medium.ttf +0 -0
- package/dist/fonts/Rubik-Regular.ttf +0 -0
- package/dist/fonts/fontawesome-webfont.eot +0 -0
- package/dist/fonts/fontawesome-webfont.ttf +0 -0
- package/dist/fonts/fontawesome-webfont.woff +0 -0
- package/dist/fonts/fontawesome-webfont.woff2 +0 -0
- package/dist/report.html +0 -25
- package/js/components/Error/Collapsible.jsx +0 -35
- package/js/components/Error/ErrorUI.jsx +0 -24
- package/js/components/Error/error.js +0 -11
- package/js/components/Footer/FooterUI.jsx +0 -39
- package/js/components/Footer/footer.js +0 -17
- package/js/components/Header/HeaderAbout.jsx +0 -27
- package/js/components/Header/HeaderAccountMenu.jsx +0 -147
- package/js/components/Header/HeaderApms.jsx +0 -25
- package/js/components/Header/HeaderMips.jsx +0 -43
- package/js/components/Header/HeaderUI.jsx +0 -87
- package/js/components/Header/header.js +0 -16
- package/js/components/InfoModal/index.jsx +0 -64
- package/js/components/SessionDialogUI.jsx +0 -199
- package/js/components/SideNav/Chart/ScoreChart.jsx +0 -246
- package/js/components/SideNav/Chart/__tests__/ScoreChart.test.js +0 -28
- package/js/components/SideNav/Chart/__tests__/__snapshots__/ScoreChart.test.js.snap +0 -57
- package/js/components/SideNav/Chart/index.js +0 -1
- package/js/components/SideNav/Content/CmsContent.jsx +0 -85
- package/js/components/SideNav/Content/FeedbackContent.jsx +0 -76
- package/js/components/SideNav/Content/LevelOneContent.jsx +0 -64
- package/js/components/SideNav/Content/LevelThreeContent.jsx +0 -99
- package/js/components/SideNav/Content/LevelTwoContent.jsx +0 -89
- package/js/components/SideNav/Content/index.js +0 -5
- package/js/components/SideNav/Details/IndividualDetails.jsx +0 -35
- package/js/components/SideNav/Details/PracticeDetails.jsx +0 -33
- package/js/components/SideNav/Details/index.js +0 -2
- package/js/components/SideNav/Links/CmsReportLink.jsx +0 -117
- package/js/components/SideNav/Links/NavLinkBack.jsx +0 -8
- package/js/components/SideNav/Links/NavLinkContainer.jsx +0 -33
- package/js/components/SideNav/Links/NavLinkDrawer.jsx +0 -86
- package/js/components/SideNav/Links/NavLinkInline.jsx +0 -22
- package/js/components/SideNav/Links/NavLinkSlideOut.jsx +0 -47
- package/js/components/SideNav/Links/NavLinkToggle.jsx +0 -25
- package/js/components/SideNav/Links/index.js +0 -7
- package/js/components/SideNav/UI/SideNavUI.jsx +0 -115
- package/js/components/SideNav/UI/index.js +0 -1
- package/js/components/SideNav/index.js +0 -25
- package/js/components/index.js +0 -11
- package/js/index.js +0 -28
- package/js/session/logout.js +0 -43
- package/js/session/refresh.js +0 -47
- package/js/session/ttl.js +0 -32
- package/sidebar-demo.html +0 -48
- package/styles/components/_footer.scss +0 -157
- package/styles/components/_header.scss +0 -393
- package/styles/components/_sidebar.scss +0 -6
- package/styles/components/_tool-tips.scss +0 -6
- package/styles/components/sidebar/_animations.scss +0 -16
- package/styles/components/sidebar/_links.scss +0 -284
- package/styles/components/sidebar/_sidebar.scss +0 -108
- package/styles/guide/_layout.scss +0 -120
- package/styles/guide/sidebar-demo.css +0 -121
- package/yarn.lock +0 -5694
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 27.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
|
4
|
+
y="0px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0 {
|
|
7
|
+
fill: none;
|
|
8
|
+
}
|
|
9
|
+
</style>
|
|
10
|
+
|
|
11
|
+
<g>
|
|
12
|
+
<path d="M2.6,18.3c-0.4,0-0.7-0.1-0.9-0.4s-0.3-0.6-0.3-1v-1.9c0-0.4,0.1-0.7,0.3-1c0.2-0.3,0.5-0.4,0.9-0.4h26.7
|
|
13
|
+
c0.4,0,0.7,0.1,1,0.4c0.2,0.3,0.4,0.6,0.4,1v1.9c0,0.4-0.1,0.7-0.4,1c-0.3,0.3-0.6,0.4-1,0.4H2.6z" />
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
|
2
|
+
y="0px" viewBox="0 0 25 25" style="enable-background:new 0 0 25 25;" xml:space="preserve"><style type="text/css">
|
|
3
|
+
.st0{fill:none;stroke:currentColor;stroke-linecap:round;}
|
|
4
|
+
.st1{fill:none;stroke:currentColor;}
|
|
5
|
+
</style>
|
|
6
|
+
<g><g transform="translate(-380.000000, -867.000000)"><g transform="translate(380.500000, 867.500000)"><path class="st0" d="M15.7,13.6c-0.7,1.6-2.4,2.6-4.2,2.4s-3.2-1.6-3.4-3.4C7.9,10.8,8.8,9,10.5,8.3"></path><path
|
|
7
|
+
class="st0" d="M19.9,12.5c-0.3,4.2-3.9,7.5-8.1,7.4
|
|
8
|
+
c-4.2-0.1-7.7-3.5-7.8-7.8S7.3,4.3,11.5,4"></path><path
|
|
9
|
+
class="st0" d="M24,11c0,0.3,0,0.7,0,1
|
|
10
|
+
c0,4.9-2.9,9.2-7.4,11.1s-9.6,0.8-13.1-2.6s-4.4-8.6-2.6-13.1S7.2,0,12,0c0.1,0,0.5,0,0.6,0"></path><path
|
|
11
|
+
class="st1" d="M19.7,9.1L16.6,8c-0.3-0.1-0.5-0.3-0.5-0.6
|
|
12
|
+
l-1.1-3.1c-0.1-0.4-0.1-0.8,0.2-1l2.9-3C18.3,0.1,18.7,0,19,0s0.6,0.3,0.7,0.6l0.8,2.2c0.1,0.3,0.3,0.5,0.6,0.6l2.4,0.9
|
|
13
|
+
C23.7,4.5,23.9,4.7,24,5c0.1,0.3,0,0.6-0.3,0.9l-3,3C20.5,9.1,20.1,9.2,19.7,9.1z"></path><line
|
|
14
|
+
class="st0" x1="12" y1="12" x2="16.2"
|
|
15
|
+
y2="7.8"></line></g></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M6 0C2.691 0 0 2.691 0 6s2.691 6 6 6 6-2.691 6-6-2.691-6-6-6z"/><path d="M6.045 8.535c.246 0 .474.153.474.4v.3c0 .248-.228.4-.474.4-.246 0-.475-.152-.475-.4v-.3c0-.247.229-.4.475-.4zM6.07 2.5c1.098.015 2.004.878 2.02 1.933a1.933 1.933 0 0 1-.942 1.679 1.365 1.365 0 0 0-.629 1.162v.608a.47.47 0 0 1-.474.464.469.469 0 0 1-.475-.464v-.608c0-.805.401-1.535 1.072-1.947.32-.196.504-.525.499-.881-.008-.538-.504-1.01-1.083-1.018a1.11 1.11 0 0 0-.787.301.995.995 0 0 0-.322.732.468.468 0 0 1-.475.463A.469.469 0 0 1 4 4.461c0-.531.219-1.03.613-1.4A2.077 2.077 0 0 1 6.06 2.5h.01z" fill="#FFF"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M3.39 4.48v9.6h2.228v-9.6H3.389zm-1.95 0H0V2.56h13v1.92h-1.3V16H1.44V4.48zm8.356 0H7.568v9.6h2.228v-9.6zM9.146 0v1.92H4.04V0h5.107z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M5.5 13a1 1 0 0 0 1-1l-.001-8.585 2.294 2.292a1 1 0 0 0 1.414-1.414l-4-4a1.006 1.006 0 0 0-.09-.08l.09.08A1.008 1.008 0 0 0 5.532 0h-.065l-.052.004L5.5 0a1.008 1.008 0 0 0-.617.213 1.016 1.016 0 0 0-.09.08l-4 4a1 1 0 0 0 1.414 1.414L4.5 3.415V12a1 1 0 0 0 1 1zm4 3a1 1 0 1 0 0-2h-8a1 1 0 1 0 0 2h8z"/></svg>
|
|
Binary file
|
package/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import ErrorPage from './components/Error/error';
|
|
2
|
+
import Footer from './components/Footer/footer';
|
|
3
|
+
import Header from './components/Header/header';
|
|
4
|
+
import SideNav from './components/SideNav';
|
|
5
|
+
import SessionDialog from './components/Session/SessionDialogWrapped'
|
|
6
|
+
|
|
7
|
+
import 'what-input';
|
|
8
|
+
|
|
9
|
+
const QppStyleComponents = {
|
|
10
|
+
errorPage(options) {
|
|
11
|
+
return new ErrorPage(options);
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
footer(options) {
|
|
15
|
+
return new Footer(options);
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
header(options) {
|
|
19
|
+
return new Header(options);
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
sideNav(options) {
|
|
23
|
+
return SideNav(options);
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
SessionDialog(options) {
|
|
27
|
+
return new SessionDialog(options);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export default QppStyleComponents;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
|
|
3
|
+
// Mocks every media file to return its filename. Makes it possible to test that
|
|
4
|
+
// the correct images are loaded for components
|
|
5
|
+
|
|
6
|
+
module.exports = {
|
|
7
|
+
process: (_, filename) =>
|
|
8
|
+
`module.export = '${JSON.stringify(path.basename(filename))}';`
|
|
9
|
+
};
|
package/jest.config.js
ADDED
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
// For a detailed explanation regarding each configuration property, visit:
|
|
2
|
+
// https://jestjs.io/docs/en/configuration.html
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
// All imported modules in your tests should be mocked automatically
|
|
6
|
+
// automock: false,
|
|
7
|
+
|
|
8
|
+
// Stop running tests after `n` failures
|
|
9
|
+
// bail: 0,
|
|
10
|
+
|
|
11
|
+
// The directory where Jest should store its cached dependency information
|
|
12
|
+
// cacheDirectory: "/private/var/folders/hq/kp89m6r54yb8x5v0m_wvytnr0000gn/T/jest_dx",
|
|
13
|
+
|
|
14
|
+
// Automatically clear mock calls and instances between every test
|
|
15
|
+
clearMocks: true,
|
|
16
|
+
|
|
17
|
+
// Indicates whether the coverage information should be collected while executing the test
|
|
18
|
+
collectCoverage: true,
|
|
19
|
+
|
|
20
|
+
// An array of glob patterns indicating a set of files for which coverage information should be collected
|
|
21
|
+
// collectCoverageFrom: null,
|
|
22
|
+
|
|
23
|
+
// The directory where Jest should output its coverage files
|
|
24
|
+
coverageDirectory: 'coverage',
|
|
25
|
+
|
|
26
|
+
// An array of regexp pattern strings used to skip coverage collection
|
|
27
|
+
// coveragePathIgnorePatterns: [
|
|
28
|
+
// "/node_modules/"
|
|
29
|
+
// ],
|
|
30
|
+
|
|
31
|
+
// A list of reporter names that Jest uses when writing coverage reports
|
|
32
|
+
// coverageReporters: [
|
|
33
|
+
// "json",
|
|
34
|
+
// "text",
|
|
35
|
+
// "lcov",
|
|
36
|
+
// "clover"
|
|
37
|
+
// ],
|
|
38
|
+
|
|
39
|
+
// An object that configures minimum threshold enforcement for coverage results
|
|
40
|
+
// coverageThreshold: null,
|
|
41
|
+
|
|
42
|
+
// A path to a custom dependency extractor
|
|
43
|
+
// dependencyExtractor: null,
|
|
44
|
+
|
|
45
|
+
// Make calling deprecated APIs throw helpful error messages
|
|
46
|
+
// errorOnDeprecated: false,
|
|
47
|
+
|
|
48
|
+
// Force coverage collection from ignored files using an array of glob patterns
|
|
49
|
+
// forceCoverageMatch: [],
|
|
50
|
+
|
|
51
|
+
// A path to a module which exports an async function that is triggered once before all test suites
|
|
52
|
+
// globalSetup: null,
|
|
53
|
+
|
|
54
|
+
// A path to a module which exports an async function that is triggered once after all test suites
|
|
55
|
+
// globalTeardown: null,
|
|
56
|
+
|
|
57
|
+
// A set of global variables that need to be available in all test environments
|
|
58
|
+
// globals: {},
|
|
59
|
+
|
|
60
|
+
// The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers.
|
|
61
|
+
// maxWorkers: "50%",
|
|
62
|
+
|
|
63
|
+
// An array of directory names to be searched recursively up from the requiring module's location
|
|
64
|
+
// moduleDirectories: [
|
|
65
|
+
// "node_modules"
|
|
66
|
+
// ],
|
|
67
|
+
|
|
68
|
+
// An array of file extensions your modules use
|
|
69
|
+
// moduleFileExtensions: [
|
|
70
|
+
// "js",
|
|
71
|
+
// "json",
|
|
72
|
+
// "jsx",
|
|
73
|
+
// "ts",
|
|
74
|
+
// "tsx",
|
|
75
|
+
// "node"
|
|
76
|
+
// ],
|
|
77
|
+
|
|
78
|
+
// A map from regular expressions to module names that allow to stub out resources with a single module
|
|
79
|
+
// moduleNameMapper: {},
|
|
80
|
+
|
|
81
|
+
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
|
|
82
|
+
// modulePathIgnorePatterns: [],
|
|
83
|
+
|
|
84
|
+
// Activates notifications for test results
|
|
85
|
+
// notify: false,
|
|
86
|
+
|
|
87
|
+
// An enum that specifies notification mode. Requires { notify: true }
|
|
88
|
+
// notifyMode: "failure-change",
|
|
89
|
+
|
|
90
|
+
// A preset that is used as a base for Jest's configuration
|
|
91
|
+
// preset: null,
|
|
92
|
+
|
|
93
|
+
// Run tests from one or more projects
|
|
94
|
+
// projects: null,
|
|
95
|
+
|
|
96
|
+
// Use this configuration option to add custom reporters to Jest
|
|
97
|
+
// reporters: undefined,
|
|
98
|
+
|
|
99
|
+
// Automatically reset mock state between every test
|
|
100
|
+
// resetMocks: false,
|
|
101
|
+
|
|
102
|
+
// Reset the module registry before running each individual test
|
|
103
|
+
// resetModules: false,
|
|
104
|
+
|
|
105
|
+
// A path to a custom resolver
|
|
106
|
+
// resolver: null,
|
|
107
|
+
|
|
108
|
+
// Automatically restore mock state between every test
|
|
109
|
+
// restoreMocks: false,
|
|
110
|
+
|
|
111
|
+
// The root directory that Jest should scan for tests and modules within
|
|
112
|
+
// rootDir: null,
|
|
113
|
+
|
|
114
|
+
// A list of paths to directories that Jest should use to search for files in
|
|
115
|
+
// roots: [
|
|
116
|
+
// "<rootDir>"
|
|
117
|
+
// ],
|
|
118
|
+
|
|
119
|
+
// Allows you to use a custom runner instead of Jest's default test runner
|
|
120
|
+
// runner: "jest-runner",
|
|
121
|
+
|
|
122
|
+
// The paths to modules that run some code to configure or set up the testing environment before each test
|
|
123
|
+
setupFiles: ['<rootDir>/test-setup.js'],
|
|
124
|
+
|
|
125
|
+
// A list of paths to modules that run some code to configure or set up the testing framework before each test
|
|
126
|
+
// setupFilesAfterEnv: [],
|
|
127
|
+
|
|
128
|
+
// A list of paths to snapshot serializer modules Jest should use for snapshot testing
|
|
129
|
+
// snapshotSerializers: [],
|
|
130
|
+
|
|
131
|
+
// The test environment that will be used for testing
|
|
132
|
+
testEnvironment: 'jest-environment-jsdom',
|
|
133
|
+
|
|
134
|
+
// Options that will be passed to the testEnvironment
|
|
135
|
+
// testEnvironmentOptions: {},
|
|
136
|
+
|
|
137
|
+
// Adds a location field to test results
|
|
138
|
+
// testLocationInResults: false,
|
|
139
|
+
|
|
140
|
+
// The glob patterns Jest uses to detect test files
|
|
141
|
+
// testMatch: [
|
|
142
|
+
// "**/__tests__/**/*.[jt]s?(x)",
|
|
143
|
+
// "**/?(*.)+(spec|test).[tj]s?(x)"
|
|
144
|
+
// ],
|
|
145
|
+
|
|
146
|
+
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
|
|
147
|
+
// testPathIgnorePatterns: [
|
|
148
|
+
// "/node_modules/"
|
|
149
|
+
// ],
|
|
150
|
+
|
|
151
|
+
// The regexp pattern or array of patterns that Jest uses to detect test files
|
|
152
|
+
// testRegex: [],
|
|
153
|
+
|
|
154
|
+
// This option allows the use of a custom results processor
|
|
155
|
+
// testResultsProcessor: null,
|
|
156
|
+
|
|
157
|
+
// This option allows use of a custom test runner
|
|
158
|
+
// testRunner: "jasmine2",
|
|
159
|
+
|
|
160
|
+
// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
|
|
161
|
+
// testURL: "http://localhost",
|
|
162
|
+
|
|
163
|
+
// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
|
|
164
|
+
// timers: "real",
|
|
165
|
+
|
|
166
|
+
// A map from regular expressions to paths to transformers
|
|
167
|
+
transform: {
|
|
168
|
+
'^.+\\.jsx?$': 'babel-jest',
|
|
169
|
+
'\\.(svg|jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2)$':
|
|
170
|
+
'<rootDir>/jest/mediaFileTransformer.js',
|
|
171
|
+
'\\.(scss|css)': '<rootDir>/jest/mediaFileTransformer.js',
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
|
|
175
|
+
// transformIgnorePatterns: ['/node_modules/']
|
|
176
|
+
|
|
177
|
+
// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
|
|
178
|
+
// unmockedModulePathPatterns: undefined,
|
|
179
|
+
|
|
180
|
+
// Indicates whether each individual test should be reported during the run
|
|
181
|
+
verbose: true,
|
|
182
|
+
|
|
183
|
+
// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
|
|
184
|
+
// watchPathIgnorePatterns: [],
|
|
185
|
+
|
|
186
|
+
// Whether to use watchman for file crawling
|
|
187
|
+
// watchman: true,
|
|
188
|
+
};
|
package/lib/Chevron.jsx
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
|
|
4
|
+
export const Chevron = (props) => {
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
width="10px"
|
|
8
|
+
height="6px"
|
|
9
|
+
viewBox="0 0 10 6"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
{...props}
|
|
12
|
+
>
|
|
13
|
+
<g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
|
|
14
|
+
<g
|
|
15
|
+
transform="translate(-56.000000, -9.000000)"
|
|
16
|
+
fill="#242424"
|
|
17
|
+
fillRule="nonzero"
|
|
18
|
+
>
|
|
19
|
+
<path d="M61,14.9622437 C61.0868403,14.9622437 61.1636607,14.9288436 61.2304609,14.8620433 L61.2304609,14.8620433 L65.8997996,10.1927046 C65.9665999,10.1259043 66,10.049084 66,9.96224368 C66,9.87540334 65.9665999,9.79858303 65.8997996,9.73178276 L65.8997996,9.73178276 L65.3987976,9.23078076 C65.3319973,9.16398049 65.255177,9.13058036 65.1683367,9.13058036 C65.0814963,9.13058036 65.004676,9.16398049 64.9378758,9.23078076 L64.9378758,9.23078076 L61,13.1686565 L57.0621242,9.23078076 C56.995324,9.16398049 56.9185037,9.13058036 56.8316633,9.13058036 C56.744823,9.13058036 56.6680027,9.16398049 56.6012024,9.23078076 L56.6012024,9.23078076 L56.1002004,9.73178276 C56.0334001,9.79858303 56,9.87540334 56,9.96224368 C56,10.049084 56.0334001,10.1259043 56.1002004,10.1927046 L56.1002004,10.1927046 L60.7695391,14.8620433 C60.8363393,14.9288436 60.9131597,14.9622437 61,14.9622437 Z"></path>
|
|
20
|
+
</g>
|
|
21
|
+
</g>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
Chevron.propTypes = {
|
|
27
|
+
className: PropTypes.string,
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
Chevron.defaultProps = {
|
|
31
|
+
className: 'accordion-icon',
|
|
32
|
+
};
|