govuk_publishing_components 24.1.0 → 24.1.1
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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +2 -6
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +21 -5
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +4 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss +1 -11
- data/app/models/govuk_publishing_components/audit_applications.rb +1 -1
- data/app/views/govuk_publishing_components/components/_attachment.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/attachment/{_thumbnail_document.svg → _thumbnail_document.html.erb} +0 -0
- data/app/views/govuk_publishing_components/components/attachment/{_thumbnail_generic.svg → _thumbnail_generic.html.erb} +0 -0
- data/app/views/govuk_publishing_components/components/attachment/{_thumbnail_spreadsheet.svg → _thumbnail_spreadsheet.html.erb} +0 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 664f19b71a4b1ec65f49a7a14fa21d4a2a64465b2f593a3c75e2de132474417a
|
4
|
+
data.tar.gz: 8e734701d0d66817548de5855938a6cdad1f9b2ce2fa96437075e9058331785a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9073c4b0254a544f3a0f6da89889550786a3f0e7cc5611b6c89768be9c8d66ff27b8364d54525e677013c439e73acb7dd618289f2d72787d56b6f833d89df910
|
7
|
+
data.tar.gz: 2ed858269eee93ae2212110fd2aa4b4cee21106e5028a36508d3242982a8e60be387b1f31e8b7694f1b66b401707049865f4fda1338639d3b9ce5e702db99b05
|
@@ -1,5 +1,3 @@
|
|
1
|
-
@import "govuk_publishing_components/component_support";
|
2
|
-
|
3
1
|
$gem-c-accordion-border-width: 3px;
|
4
2
|
$gem-c-accordion-bottom-border-width: 1px;
|
5
3
|
|
@@ -16,8 +14,7 @@ $gem-c-accordion-bottom-border-width: 1px;
|
|
16
14
|
padding-top: govuk-spacing(2) 0;
|
17
15
|
}
|
18
16
|
|
19
|
-
.gem-c-accordion__section-heading
|
20
|
-
.gem-c-accordion__section-summary {
|
17
|
+
.gem-c-accordion__section-heading {
|
21
18
|
margin: govuk-spacing(1) 0;
|
22
19
|
}
|
23
20
|
|
@@ -242,7 +239,7 @@ $gem-c-accordion-bottom-border-width: 1px;
|
|
242
239
|
|
243
240
|
// Change the summary subheading size.
|
244
241
|
.gem-c-accordion__section-summary {
|
245
|
-
@include govuk-responsive-margin(
|
242
|
+
@include govuk-responsive-margin(1, "top");
|
246
243
|
@include govuk-responsive-margin(2, "bottom");
|
247
244
|
@include govuk-typography-common;
|
248
245
|
@include govuk-typography-responsive($size: 19);
|
@@ -303,7 +300,6 @@ $gem-c-accordion-bottom-border-width: 1px;
|
|
303
300
|
|
304
301
|
.gem-c-accordion__section-summary {
|
305
302
|
@include govuk-typography-responsive($size: 16, $important: true);
|
306
|
-
margin: govuk-spacing(1) 0;
|
307
303
|
}
|
308
304
|
|
309
305
|
.gem-c-accordion__toggle-link {
|
@@ -31,7 +31,7 @@
|
|
31
31
|
}
|
32
32
|
|
33
33
|
.gem-c-layout-header--search-left {
|
34
|
-
.gem-c-header__menu-button {
|
34
|
+
.gem-c-header__menu-button.govuk-header__menu-button {
|
35
35
|
margin-top: - govuk-spacing(7);
|
36
36
|
left: 0;
|
37
37
|
}
|
@@ -70,7 +70,7 @@
|
|
70
70
|
margin-top: 0;
|
71
71
|
}
|
72
72
|
|
73
|
-
.gem-c-header__content {
|
73
|
+
.gem-c-header__content.govuk-header__content {
|
74
74
|
@include govuk-grid-column(two-thirds);
|
75
75
|
padding-left: govuk-spacing(6);
|
76
76
|
padding-right: govuk-spacing(1);
|
@@ -78,10 +78,16 @@
|
|
78
78
|
}
|
79
79
|
}
|
80
80
|
|
81
|
+
.gem-c-layout-header__search.govuk-grid-column-one-third-from-desktop,
|
82
|
+
.gem-c-layout-header__logo.govuk-grid-column-one-third-from-desktop,
|
83
|
+
.gem-c-layout-header__search.govuk-grid-column-one-third,
|
84
|
+
.gem-c-layout-header__logo.govuk-grid-column-two-thirds {
|
85
|
+
padding-right: 0;
|
86
|
+
padding-left: 0;
|
87
|
+
}
|
88
|
+
|
81
89
|
.gem-c-layout-header__logo,
|
82
90
|
.gem-c-layout-header__search {
|
83
|
-
padding: 0;
|
84
|
-
|
85
91
|
@include govuk-media-query($until: "tablet") {
|
86
92
|
margin-bottom: govuk-spacing(3);
|
87
93
|
}
|
@@ -96,8 +102,9 @@
|
|
96
102
|
}
|
97
103
|
}
|
98
104
|
|
99
|
-
.gem-c-header__content {
|
105
|
+
.gem-c-header__content.govuk-header__content {
|
100
106
|
width: auto;
|
107
|
+
padding-left: 0;
|
101
108
|
|
102
109
|
@include govuk-media-query($from: desktop) {
|
103
110
|
float: right;
|
@@ -159,3 +166,12 @@
|
|
159
166
|
display: block;
|
160
167
|
}
|
161
168
|
}
|
169
|
+
|
170
|
+
.govuk-header__menu-button.gem-c-header__menu-button {
|
171
|
+
top: govuk-spacing(4);
|
172
|
+
right: 0;
|
173
|
+
}
|
174
|
+
|
175
|
+
.gem-c-header__nav {
|
176
|
+
clear: both;
|
177
|
+
}
|
@@ -1,14 +1,4 @@
|
|
1
1
|
// This file should be included in an application prior to specific components
|
2
2
|
// It provides govuk-frontend but adds no weight to the compiled CSS
|
3
3
|
@import "components/helpers/govuk-frontend-settings";
|
4
|
-
@import "govuk/
|
5
|
-
@import "govuk/tools/all";
|
6
|
-
@import "govuk/helpers/all";
|
7
|
-
$govuk-colours-organisations: map-merge(
|
8
|
-
$govuk-colours-organisations,
|
9
|
-
(
|
10
|
-
"foreign-commonwealth-development-office": (
|
11
|
-
colour: #012169
|
12
|
-
)
|
13
|
-
)
|
14
|
-
);
|
4
|
+
@import "govuk/base";
|
@@ -14,7 +14,7 @@ module GovukPublishingComponents
|
|
14
14
|
stylesheets = Dir["#{path}/app/assets/stylesheets/**/*.scss"]
|
15
15
|
javascripts = Dir["#{path}/app/assets/javascripts/**/*.js"]
|
16
16
|
|
17
|
-
find_components = /(?<=govuk_publishing_components\/components\/)[
|
17
|
+
find_components = /(?<=govuk_publishing_components\/components\/)[a-zA-Z_-]+(?=['"])/
|
18
18
|
|
19
19
|
@find_all_stylesheets = /@import ["']{1}govuk_publishing_components\/all_components/
|
20
20
|
find_stylesheets = /(?<=@import ["']{1}govuk_publishing_components\/components\/)(?!print\/)+[a-zA-Z_-]+(?=['"])/
|
@@ -41,11 +41,11 @@
|
|
41
41
|
"aria-hidden": true,
|
42
42
|
data: data_attributes do %>
|
43
43
|
<% if attachment.document? %>
|
44
|
-
<%= render "govuk_publishing_components/components/attachment/thumbnail_document
|
44
|
+
<%= render "govuk_publishing_components/components/attachment/thumbnail_document" %>
|
45
45
|
<% elsif attachment.spreadsheet? %>
|
46
|
-
<%= render "govuk_publishing_components/components/attachment/thumbnail_spreadsheet
|
46
|
+
<%= render "govuk_publishing_components/components/attachment/thumbnail_spreadsheet" %>
|
47
47
|
<% else %>
|
48
|
-
<%= render "govuk_publishing_components/components/attachment/thumbnail_generic
|
48
|
+
<%= render "govuk_publishing_components/components/attachment/thumbnail_generic" %>
|
49
49
|
<% end %>
|
50
50
|
<% end %>
|
51
51
|
<% end %>
|
File without changes
|
File without changes
|
File without changes
|
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: 24.1.
|
4
|
+
version: 24.1.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: 2021-02-
|
11
|
+
date: 2021-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -674,9 +674,9 @@ files:
|
|
674
674
|
- app/views/govuk_publishing_components/components/_title.html.erb
|
675
675
|
- app/views/govuk_publishing_components/components/_translation_nav.html.erb
|
676
676
|
- app/views/govuk_publishing_components/components/_warning_text.html.erb
|
677
|
-
- app/views/govuk_publishing_components/components/attachment/_thumbnail_document.
|
678
|
-
- app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.
|
679
|
-
- app/views/govuk_publishing_components/components/attachment/_thumbnail_spreadsheet.
|
677
|
+
- app/views/govuk_publishing_components/components/attachment/_thumbnail_document.html.erb
|
678
|
+
- app/views/govuk_publishing_components/components/attachment/_thumbnail_generic.html.erb
|
679
|
+
- app/views/govuk_publishing_components/components/attachment/_thumbnail_spreadsheet.html.erb
|
680
680
|
- app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb
|
681
681
|
- app/views/govuk_publishing_components/components/docs/accordion.yml
|
682
682
|
- app/views/govuk_publishing_components/components/docs/action_link.yml
|