qpp-style 9.31.2 → 9.32.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/components/index.js +0 -4
- package/coverage/clover.xml +126 -125
- package/coverage/coverage-final.json +70 -70
- package/coverage/lcov-report/components/Accordion/index.html +20 -20
- package/coverage/lcov-report/components/Accordion/index.jsx.html +109 -121
- package/coverage/lcov-report/components/Error/Collapsible.jsx.html +98 -98
- package/coverage/lcov-report/components/Error/ErrorUI.jsx.html +33 -33
- package/coverage/lcov-report/components/Error/index.html +23 -23
- package/coverage/lcov-report/components/Footer/FooterUI.jsx.html +557 -395
- package/coverage/lcov-report/components/Footer/LegacyFooterUI.jsx.html +667 -0
- package/coverage/lcov-report/components/Footer/SocialLinks.jsx.html +70 -70
- package/coverage/lcov-report/components/Footer/Subscribe.jsx.html +44 -44
- package/coverage/lcov-report/components/Footer/index.html +48 -33
- package/coverage/lcov-report/components/Infotip/Infotip.jsx.html +108 -96
- package/coverage/lcov-report/components/Infotip/InfotipIcon.jsx.html +49 -49
- package/coverage/lcov-report/components/Infotip/index.html +32 -32
- package/coverage/lcov-report/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/components/Modal/LegacyModal.jsx.html +116 -116
- package/coverage/lcov-report/components/Modal/Modal.jsx.html +252 -252
- package/coverage/lcov-report/components/Modal/index.html +38 -38
- package/coverage/lcov-report/components/Modal/index.jsx.html +31 -31
- package/coverage/lcov-report/components/SanitizedContent/index.html +19 -19
- package/coverage/lcov-report/components/SanitizedContent/index.jsx.html +218 -287
- package/coverage/lcov-report/components/SessionDialogUI.jsx.html +440 -440
- package/coverage/lcov-report/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +166 -0
- package/coverage/lcov-report/components/SideNav/{Content/SelectRole → AnimationGroup}/index.html +29 -29
- package/coverage/lcov-report/components/SideNav/Chart/ScoreChart.jsx.html +7 -7
- package/coverage/lcov-report/components/SideNav/Chart/index.html +16 -1
- package/coverage/lcov-report/components/SideNav/Chart/index.js.html +94 -0
- package/coverage/lcov-report/components/SideNav/Content/LevelOneContent.jsx.html +709 -0
- package/coverage/lcov-report/components/SideNav/Content/LevelTwoContent.jsx.html +733 -0
- package/coverage/lcov-report/components/SideNav/Content/index.html +146 -0
- package/coverage/lcov-report/components/SideNav/Content/index.js.html +97 -0
- package/coverage/lcov-report/components/{Header/HeaderCancel.jsx.html → SideNav/Details/IndividualDetails.jsx.html} +41 -35
- package/coverage/lcov-report/components/SideNav/Details/PracticeDetails.jsx.html +220 -0
- package/coverage/lcov-report/components/{NotificationBanner → SideNav/Details}/index.html +46 -46
- package/coverage/lcov-report/components/SideNav/Details/index.js.html +97 -0
- package/coverage/lcov-report/components/SideNav/Links/CmsSwitchLink.jsx.html +208 -0
- package/coverage/lcov-report/components/SideNav/Links/NavItemInline.jsx.html +247 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkContainer.jsx.html +199 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkDrawer.jsx.html +832 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkInline.jsx.html +406 -0
- package/coverage/lcov-report/components/SideNav/Links/NavLinkToggle.jsx.html +187 -0
- package/coverage/lcov-report/components/SideNav/Links/index.html +206 -0
- package/coverage/lcov-report/components/{Header/utag-helpers.js.html → SideNav/Links/index.js.html} +46 -34
- package/coverage/lcov-report/components/SideNav/UI/SideNavUI.jsx.html +1084 -0
- package/coverage/lcov-report/components/{GovBanner → SideNav/UI}/index.html +45 -30
- package/coverage/lcov-report/components/SideNav/UI/index.js.html +94 -0
- package/coverage/lcov-report/components/SideNav/helpers.js.html +54 -1125
- package/coverage/lcov-report/components/SideNav/index.html +19 -19
- package/coverage/lcov-report/components/Tooltip/Tooltip.jsx.html +9 -9
- package/coverage/lcov-report/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/components/Tooltip/position.js.html +1 -1
- package/coverage/lcov-report/components/hooks/index.html +21 -21
- package/coverage/lcov-report/components/hooks/useGetConfig.js.html +128 -131
- package/coverage/lcov-report/components/index.html +21 -21
- package/coverage/lcov-report/index.html +26 -26
- package/coverage/lcov-report/lib/Chevron.jsx.html +36 -36
- package/coverage/lcov-report/lib/SvgComponents.jsx.html +973 -1471
- package/coverage/lcov-report/lib/index.html +36 -21
- package/coverage/lcov-report/lib/svg-definitions.svg.html +460 -0
- package/coverage/lcov-report/react/components/Accordion/index.html +1 -1
- package/coverage/lcov-report/react/components/Accordion/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.html +1 -1
- package/coverage/lcov-report/react/components/Button/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Dropdown/index.html +1 -1
- package/coverage/lcov-report/react/components/Dropdown/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/Collapsible.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/ErrorUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Error/error.js.html +1 -1
- package/coverage/lcov-report/react/components/Error/index.html +1 -1
- package/coverage/lcov-report/react/components/Footer/FooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/LegacyFooterUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/SocialLinks.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/Subscribe.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Footer/footer.js.html +1 -1
- package/coverage/lcov-report/react/components/Footer/index.html +1 -1
- package/coverage/lcov-report/react/components/GovBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/GovBanner/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderAccountMenu.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderCancel.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderContainer.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderLogo.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuItem.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuLink.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMenuSignOutButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderMobileButton.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/HeaderUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/HelpIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/ImpersonatorBanner.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/NavigationButtonIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Header/header.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/hooks.js.html +1 -1
- package/coverage/lcov-report/react/components/Header/index.html +1 -1
- package/coverage/lcov-report/react/components/Header/utag-helpers.js.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/Infotip.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/InfotipContent.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/InfotipIcon.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.html +1 -1
- package/coverage/lcov-report/react/components/Infotip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Modal/LegacyModal.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Modal/Modal.jsx.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.html +1 -1
- package/coverage/lcov-report/react/components/Modal/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/CollapsedView.js.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/ExpandedView.js.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.html +1 -1
- package/coverage/lcov-report/react/components/NotificationBanner/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.html +1 -1
- package/coverage/lcov-report/react/components/SanitizedContent/index.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialog/index.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialog/sessionDialog.js.html +1 -1
- package/coverage/lcov-report/react/components/SessionDialogUI.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/AnimationGroup.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/AnimationGroup/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/ScoreChart.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Chart/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelOneContent.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/LevelTwoContent.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/SelectRole/utils.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Content/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/IndividualDetails.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/PracticeDetails.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Details/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/CmsSwitchLink.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavItemInline.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkContainer.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkDrawer.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkInline.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/NavLinkToggle.jsx.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/Links/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/SideNavUI.jsx.html +29 -14
- package/coverage/lcov-report/react/components/SideNav/UI/default-markup.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/UI/index.html +15 -15
- package/coverage/lcov-report/react/components/SideNav/UI/index.js.html +1 -1
- package/coverage/lcov-report/react/components/SideNav/helpers.js.html +12 -33
- package/coverage/lcov-report/react/components/SideNav/index.html +19 -19
- package/coverage/lcov-report/react/components/SideNav/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/Tooltip.jsx.html +2 -2
- package/coverage/lcov-report/react/components/Tooltip/index.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/index.js.html +1 -1
- package/coverage/lcov-report/react/components/Tooltip/position.js.html +1 -1
- package/coverage/lcov-report/react/components/hooks/index.html +1 -1
- package/coverage/lcov-report/react/components/hooks/useGetConfig.js.html +1 -1
- package/coverage/lcov-report/react/components/index.html +1 -1
- package/coverage/lcov-report/react/index.html +1 -1
- package/coverage/lcov-report/react/index.js.html +1 -1
- package/coverage/lcov-report/react/lib/Chevron.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/SvgComponents.jsx.html +1 -1
- package/coverage/lcov-report/react/lib/index.html +1 -1
- package/coverage/lcov-report/react/lib/svg-definitions.svg.html +1 -1
- package/coverage/lcov-report/react/session/index.html +1 -1
- package/coverage/lcov-report/react/session/index.js.html +1 -1
- package/coverage/lcov-report/react/session/logout.js.html +1 -1
- package/coverage/lcov-report/react/session/refresh.js.html +1 -1
- package/coverage/lcov-report/react/session/ttl.js.html +1 -1
- package/coverage/lcov-report/session/index.html +53 -53
- package/coverage/lcov-report/session/index.js.html +13 -13
- package/coverage/lcov-report/session/logout.js.html +127 -145
- package/coverage/lcov-report/session/refresh.js.html +90 -90
- package/coverage/lcov-report/session/ttl.js.html +77 -77
- package/coverage/lcov.info +121 -120
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components/_footer.scss +593 -0
- package/styles/components/_header.scss +890 -0
- package/styles/components/_sidebar.scss +8 -0
- package/styles/components/sidebar/_animations.scss +38 -0
- package/styles/components/sidebar/_cms.scss +61 -0
- package/styles/components/sidebar/_details.scss +58 -0
- package/styles/components/sidebar/_links.scss +420 -0
- package/styles/components/sidebar/_sidebar-animation.scss +121 -0
- package/styles/components/sidebar/_sidebar-tooltip.scss +33 -0
- package/styles/components/sidebar/_sidebar.scss +141 -0
- package/styles/components/sidebar/project-specific/_wi.scss +42 -0
- package/styles/qppds/components/_infotip-content.scss +49 -0
- package/styles/qppds/components/_spinner.scss +46 -0
- package/styles/qppds/components/sidebar/_sidebar-animation.scss +114 -87
- package/components/CalloutBox/index.js +0 -109
- package/components/Card/index.js +0 -137
- package/coverage/lcov-report/components/Button/index.html +0 -116
- package/coverage/lcov-report/components/Button/index.js.html +0 -355
- package/coverage/lcov-report/components/GovBanner/index.js.html +0 -436
- package/coverage/lcov-report/components/Header/HeaderAccountMenu.jsx.html +0 -367
- package/coverage/lcov-report/components/Header/HeaderContainer.jsx.html +0 -307
- package/coverage/lcov-report/components/Header/HeaderLogo.jsx.html +0 -211
- package/coverage/lcov-report/components/Header/HeaderMenuButton.js.html +0 -235
- package/coverage/lcov-report/components/Header/HeaderMenuItem.jsx.html +0 -802
- package/coverage/lcov-report/components/Header/HeaderMenuLink.js.html +0 -253
- package/coverage/lcov-report/components/Header/HeaderMenuSignOutButton.js.html +0 -271
- package/coverage/lcov-report/components/Header/HeaderMobileButton.js.html +0 -196
- package/coverage/lcov-report/components/Header/HeaderUI.jsx.html +0 -586
- package/coverage/lcov-report/components/Header/HelpIcon.jsx.html +0 -181
- package/coverage/lcov-report/components/Header/ImpersonatorBanner.jsx.html +0 -328
- package/coverage/lcov-report/components/Header/NavigationButtonIcon.jsx.html +0 -166
- package/coverage/lcov-report/components/Header/hooks.js.html +0 -283
- package/coverage/lcov-report/components/Header/index.html +0 -326
- package/coverage/lcov-report/components/Infotip/InfotipContent.jsx.html +0 -223
- package/coverage/lcov-report/components/NotificationBanner/CollapsedView.js.html +0 -202
- package/coverage/lcov-report/components/NotificationBanner/ExpandedView.js.html +0 -220
- package/coverage/lcov-report/components/NotificationBanner/index.js.html +0 -748
- package/coverage/lcov-report/components/SideNav/Content/SelectRole/utils.js.html +0 -532
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.sidebar-tooltip {
|
|
2
|
+
display: none;
|
|
3
|
+
position: fixed;
|
|
4
|
+
left: 71px;
|
|
5
|
+
top: 0px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.sidebar-tooltip-text {
|
|
9
|
+
position: relative;
|
|
10
|
+
display: block;
|
|
11
|
+
padding: 7px 10px;
|
|
12
|
+
background: $color-teal-light;
|
|
13
|
+
border-radius: 3px;
|
|
14
|
+
color: $color-slate-dark;
|
|
15
|
+
font-size: 13px;
|
|
16
|
+
font-weight: normal;
|
|
17
|
+
letter-spacing: 0px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.sidebar-tooltip-text:after {
|
|
21
|
+
content: ' ';
|
|
22
|
+
height: 0;
|
|
23
|
+
width: 0;
|
|
24
|
+
position: absolute;
|
|
25
|
+
right: 100%;
|
|
26
|
+
top: 50%;
|
|
27
|
+
border: solid transparent;
|
|
28
|
+
border-color: transparent;
|
|
29
|
+
border-right-color: $color-teal-light;
|
|
30
|
+
border-width: 6px;
|
|
31
|
+
margin-top: -6px;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/*
|
|
2
|
+
General sidebar styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.sidebar {
|
|
6
|
+
background: $color-slate;
|
|
7
|
+
box-shadow: 4px 0 10px 0 transparentize($color-black, 0.7);
|
|
8
|
+
color: $color-white;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
height: 100%;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
position: relative;
|
|
14
|
+
transition: width 0.6s ease-in-out;
|
|
15
|
+
width: $side-nav-expanded-width;
|
|
16
|
+
|
|
17
|
+
a {
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.unstyled {
|
|
25
|
+
color: inherit;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
hr {
|
|
30
|
+
border-top: 1px solid transparentize($color-white, 0.8);
|
|
31
|
+
height: 1px;
|
|
32
|
+
margin: 25px $side-nav-horizontal-padding;
|
|
33
|
+
width: auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
ul {
|
|
37
|
+
line-height: 1.7;
|
|
38
|
+
list-style-type: none;
|
|
39
|
+
margin: 0;
|
|
40
|
+
padding: 2px 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
svg {
|
|
44
|
+
position: relative;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.SVGInline {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.closed {
|
|
52
|
+
width: $side-nav-closed-width;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.alt-style {
|
|
56
|
+
background: $color-slate-dark;
|
|
57
|
+
|
|
58
|
+
.alt-style-header {
|
|
59
|
+
background: $color-slate;
|
|
60
|
+
padding-bottom: 25px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.alt-style-nav {
|
|
64
|
+
padding-bottom: 25px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Sidebar content */
|
|
69
|
+
|
|
70
|
+
.sidebar-content {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
flex-grow: 1;
|
|
74
|
+
overflow-x: hidden;
|
|
75
|
+
transition: overflow-x 0.6s;
|
|
76
|
+
|
|
77
|
+
.label {
|
|
78
|
+
@include typography('Rubik', 20px, 26px, $color-white);
|
|
79
|
+
display: block;
|
|
80
|
+
font-weight: normal;
|
|
81
|
+
padding: 30px 25px 20px;
|
|
82
|
+
text-align: left;
|
|
83
|
+
white-space: inherit;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.level-one-nav {
|
|
87
|
+
background-color: $color-slate;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Sidebar chart */
|
|
92
|
+
|
|
93
|
+
.chart-title {
|
|
94
|
+
align-items: center;
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
|
|
99
|
+
p {
|
|
100
|
+
margin: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.title {
|
|
104
|
+
@include typography('Rubik', 16px, 22px, $color-white);
|
|
105
|
+
text-transform: uppercase;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.disclaimer {
|
|
109
|
+
@include typography(
|
|
110
|
+
'Rubik',
|
|
111
|
+
14px,
|
|
112
|
+
20px,
|
|
113
|
+
transparentize($color-white, 0.2)
|
|
114
|
+
);
|
|
115
|
+
align-items: center;
|
|
116
|
+
display: flex;
|
|
117
|
+
padding: 5px 0 10px;
|
|
118
|
+
|
|
119
|
+
svg {
|
|
120
|
+
height: 20px;
|
|
121
|
+
width: 20px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.left-icon {
|
|
125
|
+
fill: transparentize($color-white, 0.2);
|
|
126
|
+
margin-right: 10px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.right-icon {
|
|
130
|
+
fill: $color-teal-light;
|
|
131
|
+
margin-left: 10px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.timestamp {
|
|
136
|
+
@include typography('Rubik', 13px, 20px, $color-white);
|
|
137
|
+
padding: 5px 0 20px;
|
|
138
|
+
text-transform: uppercase;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
WI specific styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.sidebar {
|
|
6
|
+
&.sidebar-wi-nav .sidebar-content {
|
|
7
|
+
> .animation-group > a.link-back {
|
|
8
|
+
background: $color-slate;
|
|
9
|
+
padding-bottom: 25px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
> .animation-group:nth-child(2) {
|
|
13
|
+
background: $color-slate;
|
|
14
|
+
|
|
15
|
+
> hr {
|
|
16
|
+
margin-bottom: 0;
|
|
17
|
+
margin-top: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> .animation-group:nth-child(3) {
|
|
22
|
+
background: $color-slate;
|
|
23
|
+
padding-bottom: 25px;
|
|
24
|
+
padding-top: 25px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
> .animation-group:nth-child(4) {
|
|
28
|
+
padding: 25px $side-nav-horizontal-padding 0;
|
|
29
|
+
|
|
30
|
+
.quality-title {
|
|
31
|
+
@include typography('Rubik', 14px, 16px, $color-white);
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
text-transform: uppercase;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.quality-subtitle {
|
|
37
|
+
@include typography('Rubik', 14px, 16px, $color-white);
|
|
38
|
+
padding: 10px 0 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@import '../settings/index';
|
|
2
|
+
|
|
3
|
+
.qpp-c-infotip-content {
|
|
4
|
+
position: relative;
|
|
5
|
+
// display: inline-block;
|
|
6
|
+
|
|
7
|
+
button {
|
|
8
|
+
position: relative;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
button:hover ~ .qpp-c-infotip__tooltip {
|
|
13
|
+
visibility: visible;
|
|
14
|
+
opacity: 1;
|
|
15
|
+
transition:
|
|
16
|
+
visibility 0s,
|
|
17
|
+
opacity 0.2s linear;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// .qpp-c-infotip__tooltip-container {
|
|
21
|
+
// opacity: 0;
|
|
22
|
+
// position: absolute;
|
|
23
|
+
// transform: translateX(-44.5%);
|
|
24
|
+
// bottom: 40px;
|
|
25
|
+
// }
|
|
26
|
+
|
|
27
|
+
.qpp-c-infotip__tooltip {
|
|
28
|
+
visibility: hidden;
|
|
29
|
+
opacity: 0;
|
|
30
|
+
width: 300px;
|
|
31
|
+
margin: 0;
|
|
32
|
+
padding: 20px;
|
|
33
|
+
text-align: left;
|
|
34
|
+
position: absolute;
|
|
35
|
+
transform: translateX(-45%);
|
|
36
|
+
bottom: 33px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.qpp-c-infotip__tooltip:before {
|
|
40
|
+
content: '';
|
|
41
|
+
position: absolute;
|
|
42
|
+
border-left: 10px solid transparent;
|
|
43
|
+
border-right: 10px solid transparent;
|
|
44
|
+
border-top: 10px solid rgb(51, 51, 51);
|
|
45
|
+
border-bottom: 10px solid transparent;
|
|
46
|
+
right: 50%;
|
|
47
|
+
bottom: -18px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.qpp-c-dropdown-menu__spinner {
|
|
2
|
+
height: 1.2em;
|
|
3
|
+
width: 1.2em;
|
|
4
|
+
border-width: (32px / 8);
|
|
5
|
+
padding: 0;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
display: inline-block;
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
&::before,
|
|
11
|
+
&::after {
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
border-style: solid;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
content: '';
|
|
16
|
+
display: block;
|
|
17
|
+
left: 0;
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0;
|
|
20
|
+
height: 1.2em;
|
|
21
|
+
width: 1.2em;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&::before {
|
|
25
|
+
border-color: inherit;
|
|
26
|
+
opacity: 0.2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&::after {
|
|
30
|
+
animation: spin 0.8s infinite linear;
|
|
31
|
+
border-bottom-color: transparent;
|
|
32
|
+
border-left-color: inherit;
|
|
33
|
+
border-right-color: transparent;
|
|
34
|
+
border-top-color: transparent;
|
|
35
|
+
transform: translateZ(0);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@keyframes spin {
|
|
39
|
+
0% {
|
|
40
|
+
transform: rotate(0deg);
|
|
41
|
+
}
|
|
42
|
+
100% {
|
|
43
|
+
transform: rotate(360deg);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -1,125 +1,152 @@
|
|
|
1
|
-
$drawerMaxHeight:
|
|
1
|
+
$drawerMaxHeight: fit-content;
|
|
2
2
|
$simpleMaxHeight: 105px;
|
|
3
3
|
$chartMaxHeight: 306px;
|
|
4
4
|
$detailsMaxHeight: 130px;
|
|
5
5
|
|
|
6
6
|
@mixin delayKeyframes($name, $maxHeight) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
7
|
+
@keyframes delayRemove#{$name} {
|
|
8
|
+
0% {
|
|
9
|
+
max-height: $maxHeight;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
100% {
|
|
13
|
+
max-height: 0;
|
|
14
|
+
padding-top: 0;
|
|
15
|
+
padding-bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@keyframes delayAdd#{$name} {
|
|
20
|
+
0% {
|
|
21
|
+
max-height: 0;
|
|
22
|
+
padding-top: 0;
|
|
23
|
+
padding-bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
100% {
|
|
27
|
+
max-height: $maxHeight;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
|
|
32
|
+
@mixin delayDrawerKeyframes($maxHeight) {
|
|
33
|
+
@keyframes delayRemoveDrawer {
|
|
34
|
+
0% {
|
|
35
|
+
height: $maxHeight;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
100% {
|
|
39
|
+
height: 0;
|
|
40
|
+
padding-top: 0;
|
|
41
|
+
padding-bottom: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@keyframes delayAddDrawer {
|
|
46
|
+
0% {
|
|
47
|
+
height: 0;
|
|
48
|
+
padding-top: 0;
|
|
49
|
+
padding-bottom: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
100% {
|
|
53
|
+
height: $maxHeight;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include delayDrawerKeyframes($drawerMaxHeight);
|
|
32
59
|
@include delayKeyframes('Simple', $simpleMaxHeight);
|
|
33
60
|
@include delayKeyframes('Chart', $chartMaxHeight);
|
|
34
61
|
@include delayKeyframes('Details', $detailsMaxHeight);
|
|
35
62
|
|
|
36
63
|
.animation-group {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
64
|
+
transition: opacity 0.5s ease-in-out;
|
|
65
|
+
opacity: 0;
|
|
66
|
+
overflow: hidden;
|
|
40
67
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
68
|
+
&.background-highlight {
|
|
69
|
+
background-color: $color-slate-dark;
|
|
70
|
+
}
|
|
44
71
|
}
|
|
45
72
|
|
|
46
73
|
.animation-group-enter {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
74
|
+
opacity: 1;
|
|
75
|
+
transition-delay: 0.5s;
|
|
76
|
+
|
|
77
|
+
animation-delay: 0s;
|
|
78
|
+
animation-duration: 0.6s;
|
|
79
|
+
animation-fill-mode: forwards;
|
|
80
|
+
animation-name: delayAddSimple;
|
|
81
|
+
animation-timing-function: ease-in-out;
|
|
55
82
|
}
|
|
56
83
|
|
|
57
84
|
.animation-group-exit {
|
|
58
|
-
|
|
85
|
+
opacity: 0;
|
|
59
86
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
87
|
+
animation-delay: 0.3s;
|
|
88
|
+
animation-duration: 0.6s;
|
|
89
|
+
animation-fill-mode: forwards;
|
|
90
|
+
animation-name: delayRemoveSimple;
|
|
91
|
+
animation-timing-function: ease-in-out;
|
|
65
92
|
}
|
|
66
93
|
|
|
67
94
|
// custom max heights
|
|
68
95
|
.animation-group-details.animation-group-enter {
|
|
69
|
-
|
|
96
|
+
animation-name: delayAddDetails;
|
|
70
97
|
}
|
|
71
98
|
|
|
72
|
-
.animation-group-details.animation-group-exit {
|
|
73
|
-
|
|
99
|
+
.animation-group-details.animation-group-exit {
|
|
100
|
+
animation-name: delayRemoveDetails;
|
|
74
101
|
}
|
|
75
102
|
|
|
76
103
|
.animation-group-chart.animation-group-enter {
|
|
77
|
-
|
|
104
|
+
animation-name: delayAddChart;
|
|
78
105
|
}
|
|
79
106
|
|
|
80
|
-
.animation-group-chart.animation-group-exit {
|
|
81
|
-
|
|
107
|
+
.animation-group-chart.animation-group-exit {
|
|
108
|
+
animation-name: delayRemoveChart;
|
|
82
109
|
}
|
|
83
110
|
|
|
84
111
|
.link-drawer {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
112
|
+
.animation-group-enter {
|
|
113
|
+
animation-name: delayAddDrawer;
|
|
114
|
+
}
|
|
88
115
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
116
|
+
.animation-group-exit {
|
|
117
|
+
animation-name: delayRemoveDrawer;
|
|
118
|
+
}
|
|
92
119
|
}
|
|
93
120
|
|
|
94
121
|
.sidebar {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
.animation-flat {
|
|
123
|
+
width: 100%;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.closed {
|
|
127
|
+
transition-delay: 0.5s;
|
|
128
|
+
|
|
129
|
+
.animation-flat > nav > ul > li {
|
|
130
|
+
> a,
|
|
131
|
+
> .link-drawer > button {
|
|
132
|
+
transition: padding 0.7s ease-out 0.3s;
|
|
133
|
+
padding-left: 30px;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:not(.closed) {
|
|
139
|
+
transition-delay: 0s;
|
|
140
|
+
|
|
141
|
+
.animation-flat {
|
|
142
|
+
transition-delay: 0s;
|
|
143
|
+
|
|
144
|
+
nav > ul > li {
|
|
145
|
+
> a,
|
|
146
|
+
> .link-drawer > button {
|
|
147
|
+
transition: padding 0.7s ease-out 0s;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
125
152
|
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import FeatherIcon from 'feather-icons-react';
|
|
4
|
-
|
|
5
|
-
import Button from '../Button';
|
|
6
|
-
|
|
7
|
-
const getCtaButton = (button) => {
|
|
8
|
-
if (button) {
|
|
9
|
-
if (React.isValidElement(button)) {
|
|
10
|
-
return button;
|
|
11
|
-
}
|
|
12
|
-
if (button.href) {
|
|
13
|
-
const { href, text, ...restLink } = button;
|
|
14
|
-
return (
|
|
15
|
-
<a
|
|
16
|
-
className="qpp-c-button qpp-c-button--secondary qpp-c-button--icon-after"
|
|
17
|
-
href={href}
|
|
18
|
-
{...restLink}
|
|
19
|
-
>
|
|
20
|
-
{text}
|
|
21
|
-
<FeatherIcon icon="chevron-right" />
|
|
22
|
-
</a>
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
const { onClick, text, ...restButton } = button;
|
|
26
|
-
return (
|
|
27
|
-
<Button
|
|
28
|
-
variant="secondary"
|
|
29
|
-
className="qpp-c-button--icon-after"
|
|
30
|
-
onClick={onClick}
|
|
31
|
-
{...restButton}
|
|
32
|
-
>
|
|
33
|
-
{text}
|
|
34
|
-
<FeatherIcon icon="chevron-right" />
|
|
35
|
-
</Button>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
return null;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
const CalloutBox = ({
|
|
42
|
-
title,
|
|
43
|
-
description,
|
|
44
|
-
button,
|
|
45
|
-
input,
|
|
46
|
-
children,
|
|
47
|
-
headerLevel,
|
|
48
|
-
}) => {
|
|
49
|
-
const Header = `h${headerLevel}`;
|
|
50
|
-
return (
|
|
51
|
-
<aside className="qppds qpp-u-sm-padding--32 qpp-u-padding--24 qpp-u-fill--blue-70">
|
|
52
|
-
{title && (
|
|
53
|
-
<Header className="qpp-u-font-size--24 qpp-u-color--white qpp-u-margin-bottom--16 qpp-u-margin-top--0 qpp-u-font-weight--regular">
|
|
54
|
-
{title}
|
|
55
|
-
</Header>
|
|
56
|
-
)}
|
|
57
|
-
{description && (
|
|
58
|
-
<p className="qpp-u-color--white qpp-u-margin-bottom--0 qpp-u-font-size--18">
|
|
59
|
-
{description}
|
|
60
|
-
</p>
|
|
61
|
-
)}
|
|
62
|
-
{children && (
|
|
63
|
-
<div className="qpp-u-color--white qpp-u-margin-bottom--0 qpp-u-font-size--18">
|
|
64
|
-
{children}
|
|
65
|
-
</div>
|
|
66
|
-
)}
|
|
67
|
-
{(input || button) && (
|
|
68
|
-
<div className="qpp-u-display--flex qpp-u-align-items--center qpp-u-flex-wrap--wrap qpp-u-margin-top--24">
|
|
69
|
-
{input && (
|
|
70
|
-
<input
|
|
71
|
-
className="qpp-c-text-input qpp-u-sm-margin-right--16 qpp-u-margin-bottom--16 qpp-u-sm-margin-bottom--0 qpp-u-sm-width--auto qpp-u-width--100"
|
|
72
|
-
type="text"
|
|
73
|
-
{...input}
|
|
74
|
-
/>
|
|
75
|
-
)}
|
|
76
|
-
{getCtaButton(button)}
|
|
77
|
-
</div>
|
|
78
|
-
)}
|
|
79
|
-
</aside>
|
|
80
|
-
);
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
CalloutBox.propTypes = {
|
|
84
|
-
title: PropTypes.string,
|
|
85
|
-
description: PropTypes.string,
|
|
86
|
-
button: PropTypes.shape({
|
|
87
|
-
text: PropTypes.string,
|
|
88
|
-
onClick: PropTypes.func,
|
|
89
|
-
href: PropTypes.string,
|
|
90
|
-
}),
|
|
91
|
-
input: PropTypes.shape({
|
|
92
|
-
value: PropTypes.string,
|
|
93
|
-
name: PropTypes.string,
|
|
94
|
-
id: PropTypes.string,
|
|
95
|
-
}),
|
|
96
|
-
children: PropTypes.node,
|
|
97
|
-
headerLevel: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
CalloutBox.defaultProps = {
|
|
101
|
-
title: null,
|
|
102
|
-
description: null,
|
|
103
|
-
button: null,
|
|
104
|
-
input: null,
|
|
105
|
-
children: null,
|
|
106
|
-
headerLevel: 2,
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
export default CalloutBox;
|