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,185 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../settings/variables' as v;
|
|
3
|
+
@use '../settings/mixins' as m;
|
|
4
|
+
|
|
5
|
+
/* stylelint-disable selector-max-specificity, max-nesting-depth, selector-max-compound-selectors, value-list-comma-newline-after */
|
|
6
|
+
.qpp-c-radio,
|
|
7
|
+
.qppds .qpp-c-radio,
|
|
8
|
+
.qpp-prose .qpp-c-radio {
|
|
9
|
+
background: v.$white;
|
|
10
|
+
|
|
11
|
+
&__label {
|
|
12
|
+
font-size: v.$font-size-16;
|
|
13
|
+
line-height: v.$line-height-lg;
|
|
14
|
+
&::before,
|
|
15
|
+
&::after {
|
|
16
|
+
width: v.$spacing-20;
|
|
17
|
+
height: v.$spacing-20;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&--small {
|
|
22
|
+
.qpp-c-radio__label {
|
|
23
|
+
font-size: v.$font-size-14;
|
|
24
|
+
line-height: v.$line-height-md;
|
|
25
|
+
&::before,
|
|
26
|
+
&::after {
|
|
27
|
+
width: v.$spacing-16;
|
|
28
|
+
height: v.$spacing-16;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__input {
|
|
34
|
+
// The actual input element is only visible to screen readers, because
|
|
35
|
+
// all visual styling is done via the label.
|
|
36
|
+
@include m.visually-hidden;
|
|
37
|
+
background-color: v.$white;
|
|
38
|
+
|
|
39
|
+
&:focus {
|
|
40
|
+
outline: none;
|
|
41
|
+
|
|
42
|
+
+ [class*='__label']::before {
|
|
43
|
+
@include m.focus-ring;
|
|
44
|
+
border: 0;
|
|
45
|
+
border-radius: 99rem;
|
|
46
|
+
box-shadow: 0 0 0 2px v.$blue-70, 0 0 0 4px v.$blue-10;
|
|
47
|
+
background-color: v.$white;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:checked {
|
|
51
|
+
+ [class*='__label']::before {
|
|
52
|
+
box-shadow: 0 0 0 2px v.$blue-70, inset 0 0 0 3px v.$white,
|
|
53
|
+
0 0 0 5px v.$blue-10;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:disabled,
|
|
59
|
+
&[aria-disabled='true'] {
|
|
60
|
+
+ [class*='__label'] {
|
|
61
|
+
cursor: not-allowed;
|
|
62
|
+
color: rgba(27, 27, 27, 0.3);
|
|
63
|
+
&::before {
|
|
64
|
+
box-shadow: 0 0 0 2px v.$gray-20, inset 0 0 0 3px v.$white;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:hover:not(:disabled) {
|
|
70
|
+
+ [class*='__label']::before {
|
|
71
|
+
box-shadow: 0 0 0 2px v.$blue-80, inset 0 0 0 3px v.$white;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&:checked {
|
|
75
|
+
+ [class*='__label']::before {
|
|
76
|
+
box-shadow: 0 0 0 2px v.$blue-80, inset 0 0 0 3px v.$white;
|
|
77
|
+
background-color: v.$blue-80;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:focus {
|
|
81
|
+
+ [class*='__label']::before {
|
|
82
|
+
box-shadow: 0 0 0 2px v.$blue-80, inset 0 0 0 3px v.$white,
|
|
83
|
+
0 0 0 5px v.$blue-10;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:not(:checked) {
|
|
89
|
+
+ [class*='__label']::before {
|
|
90
|
+
box-shadow: 0 0 0 2px v.$gray-80;
|
|
91
|
+
background-color: v.$gray-04;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&:active:not(:disabled, :checked) {
|
|
97
|
+
+ [class*='__label'] {
|
|
98
|
+
&::after {
|
|
99
|
+
box-shadow: 0 0 0 0.5rem v.$blue-10;
|
|
100
|
+
transition: box-shadow 0.08s ease;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Radios with tap-friendly targets
|
|
106
|
+
&--tile {
|
|
107
|
+
// TODO: designs and styles for "tile" mode to support friendler
|
|
108
|
+
// mobile tap targets for checkboxes and radios (USWDS feature).
|
|
109
|
+
+ [class*='__label'] {
|
|
110
|
+
background-color: v.$white;
|
|
111
|
+
border: 2px solid rgba(27, 27, 27, 0.3);
|
|
112
|
+
color: #1b1b1b;
|
|
113
|
+
border-radius: 0.25rem;
|
|
114
|
+
margin-top: v.$spacing-8;
|
|
115
|
+
padding: v.$spacing-12 v.$spacing-16 v.$spacing-12 v.$spacing-40;
|
|
116
|
+
|
|
117
|
+
&::before {
|
|
118
|
+
left: v.$spacing-8;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&:checked + [class*='__label']::before {
|
|
124
|
+
background-color: v.$blue-60;
|
|
125
|
+
box-shadow: 0 0 0 2px v.$blue-60, inset 0 0 0 3px v.$white;
|
|
126
|
+
@media print {
|
|
127
|
+
box-shadow: 0 0 0 2px v.$blue-60, inset 0 0 0 3px v.$white;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:checked:disabled + [class*='__label']::before,
|
|
132
|
+
&:checked[aria-disabled='true'] + [class*='__label']::before {
|
|
133
|
+
background-color: v.$gray-20;
|
|
134
|
+
box-shadow: 0 0 0 2px v.$gray-20, inset 0 0 0 3px v.$white;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&__label,
|
|
139
|
+
.qppds .qpp-c-radio__label,
|
|
140
|
+
.qpp-prose .qpp-c-radio_label {
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
display: inherit;
|
|
143
|
+
font-weight: v.$font-regular;
|
|
144
|
+
margin-top: v.$spacing-12;
|
|
145
|
+
padding-left: v.$spacing-32;
|
|
146
|
+
position: relative;
|
|
147
|
+
|
|
148
|
+
&::before {
|
|
149
|
+
content: ' ';
|
|
150
|
+
background: v.$white;
|
|
151
|
+
display: block;
|
|
152
|
+
// top: 0;
|
|
153
|
+
left: 0;
|
|
154
|
+
margin-left: 0;
|
|
155
|
+
margin-top: 0;
|
|
156
|
+
position: absolute;
|
|
157
|
+
z-index: 1;
|
|
158
|
+
border-radius: 99rem;
|
|
159
|
+
box-shadow: 0 0 0 2px v.$gray-80;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&::after {
|
|
163
|
+
content: ' ';
|
|
164
|
+
background: none;
|
|
165
|
+
border-radius: 1rem;
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
display: block;
|
|
168
|
+
top: 0;
|
|
169
|
+
left: 0;
|
|
170
|
+
margin-left: 0;
|
|
171
|
+
margin-top: 0;
|
|
172
|
+
position: absolute;
|
|
173
|
+
z-index: 0;
|
|
174
|
+
box-shadow: 0 0 0 0 transparent;
|
|
175
|
+
transition: box-shadow 0.5s ease 0.04s;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&__label-description {
|
|
180
|
+
display: block;
|
|
181
|
+
//font-size: v.$font-size-base;
|
|
182
|
+
margin-top: v.$spacing-16;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
/* stylelint-enable selector-max-specificity, max-nesting-depth, selector-max-compound-selectors, value-list-comma-newline-after */
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
@use '../settings/variables' as v;
|
|
2
|
+
@use '../settings/mixins' as m;
|
|
3
|
+
@use '../settings/functions' as f;
|
|
4
|
+
|
|
5
|
+
@mixin _search-icon {
|
|
6
|
+
background: transparent;
|
|
7
|
+
border: f.rem(1px) solid transparent;
|
|
8
|
+
position: absolute;
|
|
9
|
+
margin: f.rem(4px);
|
|
10
|
+
padding: f.rem(5px);
|
|
11
|
+
line-height: 0;
|
|
12
|
+
color: v.$gray-80;
|
|
13
|
+
border-radius: 50%;
|
|
14
|
+
|
|
15
|
+
> svg {
|
|
16
|
+
margin-top: 0;
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
width: f.rem(20px);
|
|
19
|
+
height: f.rem(20px);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@mixin _search-icon-button {
|
|
24
|
+
@include _search-icon;
|
|
25
|
+
|
|
26
|
+
&:disabled {
|
|
27
|
+
color: v.$gray-70;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover {
|
|
31
|
+
color: v.$gray-80;
|
|
32
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:active {
|
|
36
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:focus {
|
|
40
|
+
@include m.focus-ring;
|
|
41
|
+
box-shadow: 0 0 0 3px v.$blue-10;
|
|
42
|
+
border-radius: 50%;
|
|
43
|
+
color: v.$gray-80;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.qpp-c-search {
|
|
48
|
+
position: relative;
|
|
49
|
+
|
|
50
|
+
.qpp-c-search__submit {
|
|
51
|
+
display: inline-block;
|
|
52
|
+
margin-top: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.qpp-c-text-input {
|
|
56
|
+
display: inline-block;
|
|
57
|
+
padding-left: v.$spacing-40;
|
|
58
|
+
margin-right: 0;
|
|
59
|
+
|
|
60
|
+
&:placeholder-shown ~ button,
|
|
61
|
+
&:placeholder-shown ~ .qpp-c-search__icon {
|
|
62
|
+
color: v.$gray-70;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:placeholder-shown ~ .qpp-c-search__clear {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&::-webkit-search-cancel-button {
|
|
70
|
+
display: none;
|
|
71
|
+
appearance: none;
|
|
72
|
+
height: 16px;
|
|
73
|
+
width: 16px;
|
|
74
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&::-ms-clear {
|
|
78
|
+
display: none;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.qpp-c-search__icon {
|
|
83
|
+
@include _search-icon;
|
|
84
|
+
display: inline-block;
|
|
85
|
+
top: 0;
|
|
86
|
+
left: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.qpp-c-search__wrap {
|
|
90
|
+
position: relative;
|
|
91
|
+
display: inline-block;
|
|
92
|
+
margin-right: v.$spacing-12;
|
|
93
|
+
|
|
94
|
+
.qpp-c-text-input {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
margin-right: 0;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.qpp-c-search--global {
|
|
101
|
+
position: relative;
|
|
102
|
+
|
|
103
|
+
.qpp-c-text-input {
|
|
104
|
+
padding-left: 1rem;
|
|
105
|
+
border-radius: 3px 0 0 3px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.qpp-c-search__wrap {
|
|
109
|
+
margin-right: 0;
|
|
110
|
+
flex: 100%;
|
|
111
|
+
z-index: 1;
|
|
112
|
+
|
|
113
|
+
> .qpp-c-text-input {
|
|
114
|
+
width: 100%;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.qpp-c-search__submit {
|
|
119
|
+
position: relative;
|
|
120
|
+
border-radius: 0 3px 3px 0;
|
|
121
|
+
margin-left: -1px;
|
|
122
|
+
color: v.$blue-60;
|
|
123
|
+
|
|
124
|
+
&:focus {
|
|
125
|
+
z-index: 1;
|
|
126
|
+
/* stylelint-disable-next-line max-nesting-depth */
|
|
127
|
+
~ * {
|
|
128
|
+
z-index: 0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&:hover {
|
|
133
|
+
/* stylelint-disable-next-line declaration-no-important */
|
|
134
|
+
color: v.$blue-70 !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@include m.media-breakpoint(xs) {
|
|
138
|
+
padding: 0.75rem 1.5rem;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.qpp-c-search.qpp-c-search--compact {
|
|
145
|
+
.qpp-c-search__submit {
|
|
146
|
+
@include _search-icon-button;
|
|
147
|
+
top: 0;
|
|
148
|
+
right: 0;
|
|
149
|
+
|
|
150
|
+
&.qpp-c-button {
|
|
151
|
+
> .qpp-icon-mat {
|
|
152
|
+
stroke-width: 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.qpp-c-text-input {
|
|
158
|
+
display: inline-block;
|
|
159
|
+
padding-left: v.$spacing-16;
|
|
160
|
+
padding-right: v.$spacing-40;
|
|
161
|
+
margin-right: 0;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Import the sidebar styles
|
|
2
|
+
@import '../settings/index';
|
|
3
|
+
@import 'sidebar/animations';
|
|
4
|
+
@import 'sidebar/sidebar';
|
|
5
|
+
@import 'sidebar/links';
|
|
6
|
+
@import 'sidebar/details';
|
|
7
|
+
@import 'sidebar/sidebar-animation';
|
|
8
|
+
@import 'sidebar/project-specific/wi';
|
|
9
|
+
@import 'sidebar/sidebar-tooltip';
|
|
10
|
+
@import 'sidebar/select-role-dropdown'
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
@use '../settings/variables' as v;
|
|
2
|
+
@use '../settings/mixins' as m;
|
|
3
|
+
@use '../settings/functions' as f;
|
|
4
|
+
|
|
5
|
+
.qpp-c-step-indicator {
|
|
6
|
+
font-family: v.$font-rubik;
|
|
7
|
+
font-size: v.$font-size-16;
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
margin-bottom: v.$spacing-24;
|
|
10
|
+
margin-left: -1px;
|
|
11
|
+
margin-right: -1px;
|
|
12
|
+
|
|
13
|
+
@include m.at-media(xs) {
|
|
14
|
+
margin-left: 0;
|
|
15
|
+
margin-right: 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.qpp-c-step-indicator__segments {
|
|
20
|
+
counter-reset: qpp-c-step-indicator;
|
|
21
|
+
display: flex;
|
|
22
|
+
list-style: none;
|
|
23
|
+
margin: 0;
|
|
24
|
+
padding: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.qpp-c-step-indicator__segment {
|
|
28
|
+
flex: 1 1 0%;
|
|
29
|
+
counter-increment: qpp-c-step-indicator;
|
|
30
|
+
margin-left: 1px;
|
|
31
|
+
margin-right: 1px;
|
|
32
|
+
max-width: 15rem;
|
|
33
|
+
min-height: f.rem(4px);
|
|
34
|
+
position: relative;
|
|
35
|
+
|
|
36
|
+
// Add segment
|
|
37
|
+
&::after {
|
|
38
|
+
background-color: v.$gray-10;
|
|
39
|
+
content: '';
|
|
40
|
+
display: block;
|
|
41
|
+
// Use a fixed segment height for mobile regardless of settings
|
|
42
|
+
height: f.rem(4px);
|
|
43
|
+
left: 0;
|
|
44
|
+
position: absolute;
|
|
45
|
+
right: 0;
|
|
46
|
+
top: 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.qpp-c-step-indicator__segment--complete {
|
|
51
|
+
&::after {
|
|
52
|
+
background-color: v.$blue-80;
|
|
53
|
+
}
|
|
54
|
+
.usa-step-indicator__segment-label {
|
|
55
|
+
color: v.$blue-80;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.qpp-c-step-indicator__segment--current {
|
|
60
|
+
&::after {
|
|
61
|
+
background-color: v.$blue-60;
|
|
62
|
+
}
|
|
63
|
+
.usa-step-indicator__segment-label {
|
|
64
|
+
color: v.$blue-60;
|
|
65
|
+
font-weight: v.$font-medium;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.qpp-c-step-indicator__segment-label {
|
|
70
|
+
display: none;
|
|
71
|
+
// Show labels only at the min-width
|
|
72
|
+
@include m.at-media(xs) {
|
|
73
|
+
color: v.$gray-80;
|
|
74
|
+
display: block;
|
|
75
|
+
font-size: v.$font-size-14;
|
|
76
|
+
// Add margin based on segment size
|
|
77
|
+
margin-top: v.$spacing-16;
|
|
78
|
+
padding-right: v.$spacing-12;
|
|
79
|
+
text-align: left;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.qpp-c-step-indicator__header {
|
|
84
|
+
align-items: baseline;
|
|
85
|
+
display: flex;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.qpp-c-step-indicator__heading {
|
|
89
|
+
color: v.$gray-80;
|
|
90
|
+
font-family: v.$font-rubik;
|
|
91
|
+
font-size: v.$font-size-24;
|
|
92
|
+
font-weight: v.$font-medium;
|
|
93
|
+
margin: v.$spacing-24 0 0;
|
|
94
|
+
@include m.at-media(xs) {
|
|
95
|
+
font-size: v.$font-size-20;
|
|
96
|
+
margin-top: v.$spacing-24;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.qpp-c-step-indicator__heading-counter {
|
|
101
|
+
display: block;
|
|
102
|
+
font-size: v.$font-size-14;
|
|
103
|
+
letter-spacing: f.rem(0.5px);
|
|
104
|
+
padding-bottom: v.$spacing-8;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// TODO: qpp designs don't use seperate styling for current step like uswds does, but
|
|
108
|
+
// keep this class just in case we'd like to in future.
|
|
109
|
+
// .qpp-c-step-indicator__current-step {
|
|
110
|
+
// }
|
|
111
|
+
// .qpp-c-step-indicator__total-steps {
|
|
112
|
+
// }
|
|
113
|
+
|
|
114
|
+
.qpp-c-step-indicator__heading-text {
|
|
115
|
+
font-weight: v.$font-regular;
|
|
116
|
+
font-size: v.$font-size-24;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.qpp-c-step-indicator--counters {
|
|
120
|
+
.qpp-c-step-indicator__segment {
|
|
121
|
+
@include m.at-media(xs) {
|
|
122
|
+
margin-left: 0;
|
|
123
|
+
margin-right: 0;
|
|
124
|
+
margin-top: v.$spacing-16;
|
|
125
|
+
|
|
126
|
+
// Add counter
|
|
127
|
+
&::before {
|
|
128
|
+
font-size: v.$font-size-14;
|
|
129
|
+
height: f.rem(28px);
|
|
130
|
+
border-radius: 99rem;
|
|
131
|
+
width: f.rem(28px);
|
|
132
|
+
font-feature-settings: 'tnum' 1, 'kern' 1;
|
|
133
|
+
background-color: v.$white;
|
|
134
|
+
box-shadow: inset 0 0 0 f.rem(3px) v.$gray-10,
|
|
135
|
+
0 0 0 v.$spacing-4 v.$white;
|
|
136
|
+
color: v.$gray-80;
|
|
137
|
+
content: counter(qpp-c-step-indicator);
|
|
138
|
+
display: block;
|
|
139
|
+
font-weight: v.$font-medium;
|
|
140
|
+
left: 0;
|
|
141
|
+
line-height: 1.5;
|
|
142
|
+
// Magic number circle centering
|
|
143
|
+
padding: calc((#{v.$spacing-24} - (2ex * #{v.$line-height-sm})) * 0.5);
|
|
144
|
+
position: absolute;
|
|
145
|
+
text-align: center;
|
|
146
|
+
top: calc((#{v.$spacing-24} - #{v.$spacing-4}) / -2);
|
|
147
|
+
z-index: 100;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&:last-child {
|
|
151
|
+
// Don't show the last segment when counters appear
|
|
152
|
+
// stylelint-disable-next-line max-nesting-depth
|
|
153
|
+
&::after {
|
|
154
|
+
display: none;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.qpp-c-step-indicator__segment--complete {
|
|
161
|
+
&::before {
|
|
162
|
+
background-color: v.$blue-80;
|
|
163
|
+
box-shadow: 0 0 0 v.$spacing-4 v.$white;
|
|
164
|
+
color: v.$white;
|
|
165
|
+
height: v.$spacing-24;
|
|
166
|
+
width: v.$spacing-24;
|
|
167
|
+
line-height: v.$line-height-md;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.qpp-c-step-indicator__segment--current {
|
|
172
|
+
&::before {
|
|
173
|
+
background-color: v.$blue-60;
|
|
174
|
+
box-shadow: 0 0 0 v.$spacing-4 v.$white;
|
|
175
|
+
color: v.$white;
|
|
176
|
+
height: v.$spacing-24;
|
|
177
|
+
width: v.$spacing-24;
|
|
178
|
+
line-height: v.$line-height-md;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.qpp-c-step-indicator__segment-label {
|
|
182
|
+
font-weight: v.$font-medium;
|
|
183
|
+
color: v.$blue-60;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.qpp-c-step-indicator__segment-label {
|
|
188
|
+
@include m.at-media(xs) {
|
|
189
|
+
// Add counter margin
|
|
190
|
+
margin-top: f.rem(20px);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
@use '../settings/variables' as v;
|
|
2
|
+
@use '../settings/mixins' as m;
|
|
3
|
+
@use '../settings/functions' as f;
|
|
4
|
+
|
|
5
|
+
$-table-margin: 0;
|
|
6
|
+
|
|
7
|
+
.qpp-c-table {
|
|
8
|
+
color: v.$gray-80;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
|
|
11
|
+
&::after,
|
|
12
|
+
&::before {
|
|
13
|
+
box-sizing: inherit;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
border-collapse: collapse;
|
|
17
|
+
border-spacing: 0;
|
|
18
|
+
|
|
19
|
+
font-family: v.$font-rubik;
|
|
20
|
+
font-size: v.$font-size-16;
|
|
21
|
+
font-weight: v.$font-regular;
|
|
22
|
+
line-height: v.$line-height-lg;
|
|
23
|
+
margin: $-table-margin;
|
|
24
|
+
|
|
25
|
+
thead {
|
|
26
|
+
th,
|
|
27
|
+
td {
|
|
28
|
+
background-color: v.$gray-04;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
tr {
|
|
33
|
+
&.qpp-c-table--primary-header {
|
|
34
|
+
color: v.$white;
|
|
35
|
+
th,
|
|
36
|
+
td {
|
|
37
|
+
background-color: v.$blue-80;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.qpp-c-table--secondary-header {
|
|
42
|
+
th,
|
|
43
|
+
td {
|
|
44
|
+
background-color: v.$gray-04;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
th {
|
|
50
|
+
font-weight: v.$font-medium;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
td {
|
|
54
|
+
font-weight: v.$font-regular;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
th,
|
|
58
|
+
td {
|
|
59
|
+
border-bottom: f.rem(1px) solid v.$gray-10;
|
|
60
|
+
background-color: v.$white;
|
|
61
|
+
padding: v.$spacing-16 v.$spacing-12;
|
|
62
|
+
text-align: left;
|
|
63
|
+
vertical-align: top;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
th:first-child,
|
|
67
|
+
td:first-child {
|
|
68
|
+
padding-left: v.$spacing-16;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
th:last-child,
|
|
72
|
+
td:last-child {
|
|
73
|
+
padding-right: v.$spacing-16;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
caption {
|
|
77
|
+
background-color: v.$blue-80;
|
|
78
|
+
color: v.$white;
|
|
79
|
+
font-size: v.$font-size-20;
|
|
80
|
+
font-weight: v.$font-regular;
|
|
81
|
+
padding: v.$spacing-16;
|
|
82
|
+
text-align: left;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
ol,
|
|
86
|
+
ul {
|
|
87
|
+
margin: v.$spacing-8 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include m.media-breakpoint(xs) {
|
|
91
|
+
th:first-child,
|
|
92
|
+
td:first-child {
|
|
93
|
+
padding-left: v.$spacing-40;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
th:last-child,
|
|
97
|
+
td:last-child {
|
|
98
|
+
padding-right: v.$spacing-40;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
caption {
|
|
102
|
+
padding: v.$spacing-24 v.$spacing-40;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&--secondary,
|
|
107
|
+
&--alt {
|
|
108
|
+
caption {
|
|
109
|
+
background-color: v.$gray-04;
|
|
110
|
+
color: v.$gray-90;
|
|
111
|
+
border-bottom: f.rem(1px) solid v.$gray-10;
|
|
112
|
+
|
|
113
|
+
@include m.media-breakpoint(xs) {
|
|
114
|
+
padding: v.$spacing-16 v.$spacing-40;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* stylelint-disable selector-no-qualifying-type */
|
|
120
|
+
&--stacked {
|
|
121
|
+
@include m.at-media-max(xs) {
|
|
122
|
+
@include m.table-stacked-styles;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@include m.at-media(xs) {
|
|
126
|
+
th[data-label] {
|
|
127
|
+
font-weight: v.$font-regular;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&--stacked-header {
|
|
133
|
+
@include m.at-media-max(xs) {
|
|
134
|
+
@include m.table-stacked-styles;
|
|
135
|
+
@include m.table-stacked-header-styles;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@include m.at-media(xs) {
|
|
139
|
+
th[data-label] {
|
|
140
|
+
font-weight: v.$font-regular;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
/* stylelint-enable selector-no-qualifying-type */
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.qpp-c-table-container--scrollable {
|
|
148
|
+
overflow-y: hidden;
|
|
149
|
+
margin: $-table-margin; // swap global margin to container
|
|
150
|
+
|
|
151
|
+
.qpp-c-table {
|
|
152
|
+
margin: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
th,
|
|
156
|
+
td {
|
|
157
|
+
white-space: nowrap;
|
|
158
|
+
}
|
|
159
|
+
}
|