govuk_publishing_components 12.7.0 → 12.7.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfdd3079ae3a6f82e937daabce31c39802425c6aacb5a43058c790cf014f3aaa
|
4
|
+
data.tar.gz: 9cd7474fb49eb06f86aed091092f94d86955c949a7d1b49a277a1c84bcf81bfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fd65bf35f92694de070420bf166f0b56981f87898960c6e5c2b7aff92b0874b5f61d5808a7a7036b7dfa60d19aafe8624b5db3f08fb59bf3f061cf1c3b2120d
|
7
|
+
data.tar.gz: 1bba4aeca78d0bf298999d7ebbc8bb8b0d0d8d9baaf1ed820cb5d40508b0a9702f02c68a966b3727b42a824b473a7e838e21f81e515356dad98091ea31a7ebca
|
@@ -1,10 +1,15 @@
|
|
1
1
|
<%
|
2
|
+
full_width ||= false
|
2
3
|
product_name ||= "Publishing"
|
3
4
|
navigation_items ||= []
|
5
|
+
if full_width
|
6
|
+
width_class = "govuk-header__container--full-width"
|
7
|
+
else
|
8
|
+
width_class = "govuk-width-container"
|
9
|
+
end
|
4
10
|
%>
|
5
11
|
<header class="gem-c-layout-header govuk-header gem-c-layout-header--<%= environment %>" role="banner" data-module="header">
|
6
|
-
<div class="govuk-header__container
|
7
|
-
|
12
|
+
<div class="govuk-header__container <%= width_class %>">
|
8
13
|
<div class="govuk-header__logo">
|
9
14
|
<a href="/" class="govuk-header__link govuk-header__link--homepage">
|
10
15
|
<span class="govuk-header__logotype">
|
@@ -31,6 +31,12 @@ examples:
|
|
31
31
|
active: true
|
32
32
|
- text: Navigation item 2
|
33
33
|
href: "#2"
|
34
|
+
full_width:
|
35
|
+
description: |
|
36
|
+
This is difficult to preview because the preview windows are constrained, but the header will stretch to the size of its container.
|
37
|
+
data:
|
38
|
+
environment: production
|
39
|
+
full_width: true
|
34
40
|
|
35
41
|
accessibility_criteria: |
|
36
42
|
The component must:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.7.
|
4
|
+
version: 12.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|