qpp-style 9.38.1 → 9.39.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/Header/HeaderContainer.jsx +7 -2
- package/components/index.js +1 -33
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/index.js +6 -11
- package/package.json +1 -1
- package/styles/qppds/settings/variables/_color.module.scss +46 -0
- package/styles/qppds/settings/variables/_layout.module.scss +23 -0
- package/styles/qppds/settings/variables/_type.module.scss +38 -0
- package/styles/qppds/settings/variables/_z-index.module.scss +8 -0
- package/components/Alert/index.js +0 -53
- package/components/Breadcrumb/Breadcrumb.md +0 -28
- package/components/Breadcrumb/index.js +0 -83
- package/components/Details/DetailsIcons.js +0 -50
- package/components/Details/index.js +0 -53
- package/components/DropdownButton/Menu.js +0 -25
- package/components/DropdownButton/MenuButton.js +0 -41
- package/components/DropdownButton/MenuItem.js +0 -25
- package/components/DropdownButton/MenuItemLink.js +0 -27
- package/components/Error/Collapsible.jsx +0 -88
- package/components/Error/ErrorUI.jsx +0 -31
- package/components/Error/error.js +0 -26
- package/components/FlashNotification/FlashNotificationUI.jsx +0 -91
- package/components/FlashNotification/index.js +0 -30
- package/components/Link/index.js +0 -61
- package/components/Search/index.js +0 -98
- package/components/Tabs/TabPanel.js +0 -5
- package/components/Tabs/Tabs.js +0 -73
- package/components/TextInput/index.js +0 -137
- package/test/components/Accordion.test.js +0 -12
- package/test/components/ErrorUI.test.js +0 -33
|
@@ -57,9 +57,14 @@ const HeaderContainer = ({
|
|
|
57
57
|
<GovBanner />
|
|
58
58
|
{!isIESupportPage && <NotificationBanner />}
|
|
59
59
|
<header id="top" className={headerClasses}>
|
|
60
|
-
{showSearch && windowWidth > 767 ?
|
|
60
|
+
{!showCancelButton && showSearch && windowWidth > 767 ? (
|
|
61
|
+
<HeaderSearchBar />
|
|
62
|
+
) : null}
|
|
61
63
|
<>
|
|
62
|
-
<HeaderLogo
|
|
64
|
+
<HeaderLogo
|
|
65
|
+
isDevPre={isDevPre}
|
|
66
|
+
hasSearchBar={showSearch && !showCancelButton}
|
|
67
|
+
/>
|
|
63
68
|
{children}
|
|
64
69
|
</>
|
|
65
70
|
</header>
|
package/components/index.js
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
import Accordion from "./Accordion";
|
|
2
|
-
import Alert from "./Alert";
|
|
3
|
-
import Breadcrumb from "./Breadcrumb";
|
|
4
1
|
import Button, { TextButton } from "./Button";
|
|
5
|
-
import FlashNotification from "./FlashNotification/FlashNotificationUI";
|
|
6
2
|
import Footer from "./Footer/FooterUI";
|
|
7
3
|
import Header from "./Header/HeaderUI";
|
|
8
|
-
import Modal from "./Modal";
|
|
9
4
|
import SideNav from "./SideNav/UI/SideNavUI";
|
|
10
|
-
import Tabs from "./Tabs/Tabs";
|
|
11
|
-
import TabPanel from "./Tabs/TabPanel";
|
|
12
5
|
import Infotip from "./Infotip";
|
|
13
|
-
import Search from "./Search";
|
|
14
|
-
import TextInput from "./TextInput";
|
|
15
|
-
import Dropdown from "./Dropdown";
|
|
16
|
-
import Details from "./Details/index";
|
|
17
|
-
import DSLink from "./Link";
|
|
18
6
|
import {
|
|
19
7
|
MyApplicationsIcon,
|
|
20
8
|
UserSignInIcon,
|
|
@@ -99,24 +87,4 @@ const Icons = {
|
|
|
99
87
|
WiManageGroupIcon,
|
|
100
88
|
};
|
|
101
89
|
|
|
102
|
-
export {
|
|
103
|
-
Accordion,
|
|
104
|
-
Alert,
|
|
105
|
-
Breadcrumb,
|
|
106
|
-
Button,
|
|
107
|
-
FlashNotification,
|
|
108
|
-
Footer,
|
|
109
|
-
Header,
|
|
110
|
-
Icons,
|
|
111
|
-
Infotip,
|
|
112
|
-
Modal,
|
|
113
|
-
Search,
|
|
114
|
-
SideNav,
|
|
115
|
-
Tabs,
|
|
116
|
-
TabPanel,
|
|
117
|
-
TextButton,
|
|
118
|
-
TextInput,
|
|
119
|
-
Dropdown,
|
|
120
|
-
Details,
|
|
121
|
-
DSLink,
|
|
122
|
-
};
|
|
90
|
+
export { Button, Footer, Header, Icons, Infotip, SideNav, TextButton };
|