govuk_publishing_components 9.5.2 → 9.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/favicon-development.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-integration.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-production.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-staging.png +0 -0
- data/app/assets/images/govuk_publishing_components/favicon-test.png +0 -0
- data/app/assets/stylesheets/govuk_publishing_components/admin_styles.scss +1 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +11 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +2 -1
- data/app/views/govuk_publishing_components/components/_feedback.html.erb +7 -4
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +7 -1
- data/app/views/govuk_publishing_components/components/docs/document_list.yml +19 -0
- data/app/views/govuk_publishing_components/components/docs/layout_for_admin.yml +1 -0
- data/config/initializers/assets.rb +5 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/all.js +1 -1
- data/node_modules/govuk-frontend/components/date-input/README.md +32 -20
- data/node_modules/govuk-frontend/components/date-input/template.njk +19 -3
- data/node_modules/govuk-frontend/components/details/_details.scss +1 -1
- data/node_modules/govuk-frontend/components/details/details.js +1 -1
- data/node_modules/govuk-frontend/components/tabs/_tabs.scss +11 -2
- data/node_modules/govuk-frontend/package.json +10 -10
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51687893e007b2b8670406ccda7045a8afe684cc91997683752b01b1ed830a96
|
4
|
+
data.tar.gz: ebce78f938ed96d8553bef568dab8f8b7bf00c366e85458ffb1178b330ba188d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed685a583720028754d1428b2a4c68f5e5baf6be94fb705c0f188b9e537e59bd8997694c1bc5302da868567076ffc0d30892d6f9e0fb07989fad1169efbd4ac7
|
7
|
+
data.tar.gz: e32489b5857c458ba38d7d595a43c049aa5885e2529c1021e992e732afb9cfec658a5296596af14f0c872ac7e84b134155c72143b786d38110db9f08b0302255
|
Binary file
|
Binary file
|
@@ -1,6 +1,4 @@
|
|
1
|
-
// Include all of the GOV.UK Frontend styles. This includes
|
2
|
-
// and individual components.
|
3
|
-
$govuk-global-styles: true;
|
1
|
+
// Include all of the GOV.UK Frontend styles. This includes fonts, and individual components.
|
4
2
|
$govuk-image-url-function: "image-url";
|
5
3
|
$govuk-font-url-function: "font-url";
|
6
4
|
|
@@ -17,6 +17,11 @@
|
|
17
17
|
|
18
18
|
.gem-c-document-list__item-title--context {
|
19
19
|
margin-right: $gutter-one-third;
|
20
|
+
|
21
|
+
.direction-rtl & {
|
22
|
+
margin-right: 0;
|
23
|
+
margin-left: $gutter-one-third;
|
24
|
+
}
|
20
25
|
}
|
21
26
|
|
22
27
|
.gem-c-document-list__item-context {
|
@@ -29,9 +34,14 @@
|
|
29
34
|
|
30
35
|
.gem-c-document-list__attribute {
|
31
36
|
@include core-14;
|
32
|
-
|
37
|
+
display: inline-block;
|
33
38
|
list-style: none;
|
34
39
|
padding-right: $gutter-two-thirds;
|
40
|
+
|
41
|
+
.direction-rtl & {
|
42
|
+
padding-right: 0;
|
43
|
+
padding-left: $gutter-two-thirds;
|
44
|
+
}
|
35
45
|
}
|
36
46
|
|
37
47
|
.gem-c-document-list--bottom-margin {
|
@@ -5,7 +5,8 @@
|
|
5
5
|
border-bottom-color: govuk-colour("yellow");
|
6
6
|
}
|
7
7
|
|
8
|
-
.gem-c-layout-header--development .govuk-header__container
|
8
|
+
.gem-c-layout-header--development .govuk-header__container,
|
9
|
+
.gem-c-layout-header--test .govuk-header__container {
|
9
10
|
border-bottom-color: govuk-colour("grey-1");
|
10
11
|
}
|
11
12
|
|
@@ -2,6 +2,9 @@
|
|
2
2
|
contact_govuk_path = "/contact/govuk"
|
3
3
|
margin_top ||= 1
|
4
4
|
margin_top_class = "gem-c-feedback--top-margin" if margin_top == 1
|
5
|
+
email_regex = /[^\s=\/?&]+(?:@|%40)[^\s=\/?&]+/
|
6
|
+
stripped_path = request.original_url.gsub(email_regex, '[email]')
|
7
|
+
stripped_url = request.fullpath.gsub(email_regex, '[email]')
|
5
8
|
%>
|
6
9
|
|
7
10
|
<div class="gem-c-feedback <%= margin_top_class %>" data-module="feedback">
|
@@ -69,7 +72,7 @@
|
|
69
72
|
<div class="gem-c-feedback__column-two-thirds">
|
70
73
|
<div class="gem-c-feedback__error-summary gem-c-feedback__js-show js-hidden js-errors" tabindex="-1"></div>
|
71
74
|
|
72
|
-
<input type="hidden" name="url" value="<%=
|
75
|
+
<input type="hidden" name="url" value="<%= stripped_path -%>">
|
73
76
|
<input type="hidden" name="user_agent" value="<%= request.user_agent -%>">
|
74
77
|
|
75
78
|
<h3 class="gem-c-feedback__form-heading">Help us improve GOV.UK</h3>
|
@@ -114,11 +117,11 @@
|
|
114
117
|
<div class="gem-c-feedback__column-two-thirds">
|
115
118
|
<div class="gem-c-feedback__error-summary js-hidden js-errors" tabindex="-1"></div>
|
116
119
|
|
117
|
-
<input type="hidden" name="url" value="<%=
|
120
|
+
<input type="hidden" name="url" value="<%= stripped_path -%>">
|
118
121
|
<input type="hidden" name="user_agent" value="<%= request.user_agent -%>">
|
119
122
|
|
120
123
|
<input name="email_survey_signup[survey_id]" type="hidden" value="footer_satisfaction_survey">
|
121
|
-
<input name="email_survey_signup[survey_source]" type="hidden" value="<%=
|
124
|
+
<input name="email_survey_signup[survey_source]" type="hidden" value="<%= stripped_path -%>">
|
122
125
|
<input name="email_survey_signup[ga_client_id]" type="hidden" value="1627485790.1515403243">
|
123
126
|
|
124
127
|
<h3 class="gem-c-feedback__form-heading">Help us improve GOV.UK</h3>
|
@@ -135,7 +138,7 @@
|
|
135
138
|
|
136
139
|
<%# TODO: use button component once available in gem %>
|
137
140
|
<input class="gem-c-feedback__submit" type="submit" value="Send me the survey">
|
138
|
-
<a href="https://www.smartsurvey.co.uk/s/gov-uk-banner/?c=<%=
|
141
|
+
<a href="https://www.smartsurvey.co.uk/s/gov-uk-banner/?c=<%= stripped_url -%>&gcl=1627485790.1515403243" class="gem-c-feedback__email-link" id="take-survey" target="_blank" rel="noopener noreferrer">Don’t have an email address?</a>
|
139
142
|
</div>
|
140
143
|
</div>
|
141
144
|
</form>
|
@@ -1,9 +1,12 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="en" class="govuk-template">
|
3
3
|
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<title><%= browser_title %></title>
|
4
6
|
<meta name="robots" content="noindex,nofollow,noimageindex">
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
8
|
<%= csrf_meta_tags %>
|
6
|
-
|
9
|
+
<%= favicon_link_tag "govuk_publishing_components/favicon-#{environment}.png" %>
|
7
10
|
<!--[if !IE 8]><!-->
|
8
11
|
<%= stylesheet_link_tag "govuk_publishing_components/admin_styles" %>
|
9
12
|
<!--<![endif]-->
|
@@ -13,6 +16,9 @@
|
|
13
16
|
<%= javascript_include_tag "govuk_publishing_components/vendor/modernizr" %>
|
14
17
|
</head>
|
15
18
|
<body class="govuk-template__body">
|
19
|
+
<script>
|
20
|
+
document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');
|
21
|
+
</script>
|
16
22
|
<%= yield %>
|
17
23
|
<%= javascript_include_tag "govuk_publishing_components/admin_scripts" %>
|
18
24
|
</body>
|
@@ -116,3 +116,22 @@ examples:
|
|
116
116
|
path: '/government/organisations/advisory-committee-on-the-microbiological-safety-of-food'
|
117
117
|
context: 'moving to GOV.UK'
|
118
118
|
description: "Works with 4 agencies and public bodies"
|
119
|
+
right_to_left:
|
120
|
+
data:
|
121
|
+
items:
|
122
|
+
- link:
|
123
|
+
text: 'School behaviour and attendance: parental responsibility measures'
|
124
|
+
path: '/government/publications/parental-responsibility-measures-for-behaviour-and-attendance'
|
125
|
+
description: "Statutory guidance for schools, local authorities and the police on dealing with poor attendance and behaviour in school"
|
126
|
+
metadata:
|
127
|
+
public_updated_at: 2017-01-05 14:50:33
|
128
|
+
document_type: 'Statutory guidance'
|
129
|
+
- link:
|
130
|
+
text: 'Forestry Commission'
|
131
|
+
path: '/government/organisations/forestry-commission'
|
132
|
+
context: 'separate website'
|
133
|
+
metadata:
|
134
|
+
public_updated_at: 2017-07-19 15:01:48
|
135
|
+
document_type: 'Organisation'
|
136
|
+
context:
|
137
|
+
right_to_left: true
|
@@ -7,6 +7,11 @@ Rails.application.config.assets.precompile += %w(
|
|
7
7
|
component_guide/all_components.css
|
8
8
|
component_guide/all_components_print.css
|
9
9
|
govuk_publishing_components/search-button.png
|
10
|
+
govuk_publishing_components/favicon-development.png
|
11
|
+
govuk_publishing_components/favicon-integration.png
|
12
|
+
govuk_publishing_components/favicon-production.png
|
13
|
+
govuk_publishing_components/favicon-staging.png
|
14
|
+
govuk_publishing_components/favicon-test.png
|
10
15
|
govuk_publishing_components/feed-icon-black.png
|
11
16
|
govuk_publishing_components/mail-icon-x2.png
|
12
17
|
govuk_publishing_components/mail-icon.png
|
@@ -35,7 +35,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
35
35
|
Day
|
36
36
|
</label>
|
37
37
|
|
38
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
38
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-day" name="dob-day" type="number" pattern="[0-9]*">
|
39
39
|
</div>
|
40
40
|
</div>
|
41
41
|
|
@@ -45,7 +45,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
45
45
|
Month
|
46
46
|
</label>
|
47
47
|
|
48
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
48
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-month" name="dob-month" type="number" pattern="[0-9]*">
|
49
49
|
</div>
|
50
50
|
</div>
|
51
51
|
|
@@ -55,7 +55,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
55
55
|
Year
|
56
56
|
</label>
|
57
57
|
|
58
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-4
|
58
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-year" name="dob-year" type="number" pattern="[0-9]*">
|
59
59
|
</div>
|
60
60
|
</div>
|
61
61
|
|
@@ -124,7 +124,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
124
124
|
Day
|
125
125
|
</label>
|
126
126
|
|
127
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--
|
127
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-errors-day" name="day" type="number" pattern="[0-9]*">
|
128
128
|
</div>
|
129
129
|
</div>
|
130
130
|
|
@@ -134,7 +134,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
134
134
|
Month
|
135
135
|
</label>
|
136
136
|
|
137
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--
|
137
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-errors-month" name="month" type="number" pattern="[0-9]*">
|
138
138
|
</div>
|
139
139
|
</div>
|
140
140
|
|
@@ -144,7 +144,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
144
144
|
Year
|
145
145
|
</label>
|
146
146
|
|
147
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--
|
147
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--error" id="dob-errors-year" name="year" type="number" pattern="[0-9]*">
|
148
148
|
</div>
|
149
149
|
</div>
|
150
150
|
|
@@ -215,7 +215,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
215
215
|
Day
|
216
216
|
</label>
|
217
217
|
|
218
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--
|
218
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-day-error-day" name="dob-day-error-day" type="number" pattern="[0-9]*">
|
219
219
|
</div>
|
220
220
|
</div>
|
221
221
|
|
@@ -225,7 +225,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
225
225
|
Month
|
226
226
|
</label>
|
227
227
|
|
228
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
228
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-day-error-month" name="dob-day-error-month" type="number" pattern="[0-9]*">
|
229
229
|
</div>
|
230
230
|
</div>
|
231
231
|
|
@@ -235,7 +235,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
235
235
|
Year
|
236
236
|
</label>
|
237
237
|
|
238
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-4
|
238
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-day-error-year" name="dob-day-error-year" type="number" pattern="[0-9]*">
|
239
239
|
</div>
|
240
240
|
</div>
|
241
241
|
|
@@ -307,7 +307,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
307
307
|
Day
|
308
308
|
</label>
|
309
309
|
|
310
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
310
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-month-error-day" name="dob-month-error-day" type="number" pattern="[0-9]*">
|
311
311
|
</div>
|
312
312
|
</div>
|
313
313
|
|
@@ -317,7 +317,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
317
317
|
Month
|
318
318
|
</label>
|
319
319
|
|
320
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--
|
320
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-month-error-month" name="dob-month-error-month" type="number" pattern="[0-9]*">
|
321
321
|
</div>
|
322
322
|
</div>
|
323
323
|
|
@@ -327,7 +327,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
327
327
|
Year
|
328
328
|
</label>
|
329
329
|
|
330
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-4
|
330
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-month-error-year" name="dob-month-error-year" type="number" pattern="[0-9]*">
|
331
331
|
</div>
|
332
332
|
</div>
|
333
333
|
|
@@ -399,7 +399,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
399
399
|
Day
|
400
400
|
</label>
|
401
401
|
|
402
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
402
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-year-error-day" name="dob-year-error-day" type="number" pattern="[0-9]*">
|
403
403
|
</div>
|
404
404
|
</div>
|
405
405
|
|
@@ -409,7 +409,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
409
409
|
Month
|
410
410
|
</label>
|
411
411
|
|
412
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
412
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-year-error-month" name="dob-year-error-month" type="number" pattern="[0-9]*">
|
413
413
|
</div>
|
414
414
|
</div>
|
415
415
|
|
@@ -419,7 +419,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
419
419
|
Year
|
420
420
|
</label>
|
421
421
|
|
422
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--
|
422
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--error" id="dob-year-error-year" name="dob-year-error-year" type="number" pattern="[0-9]*">
|
423
423
|
</div>
|
424
424
|
</div>
|
425
425
|
|
@@ -487,7 +487,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
487
487
|
Day
|
488
488
|
</label>
|
489
489
|
|
490
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
490
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-day" name="dob-day" type="number" pattern="[0-9]*">
|
491
491
|
</div>
|
492
492
|
</div>
|
493
493
|
|
@@ -497,7 +497,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
497
497
|
Month
|
498
498
|
</label>
|
499
499
|
|
500
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-2
|
500
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-month" name="dob-month" type="number" pattern="[0-9]*">
|
501
501
|
</div>
|
502
502
|
</div>
|
503
503
|
|
@@ -507,7 +507,7 @@ Find out when to use the date input component in your service in the [GOV.UK Des
|
|
507
507
|
Year
|
508
508
|
</label>
|
509
509
|
|
510
|
-
<input class="govuk-input govuk-date-input__input govuk-input--width-4
|
510
|
+
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-year" name="dob-year" type="number" pattern="[0-9]*">
|
511
511
|
</div>
|
512
512
|
</div>
|
513
513
|
|
@@ -619,7 +619,7 @@ If you are using Nunjucks,then macros take the following arguments
|
|
619
619
|
|
620
620
|
<td class="govuk-table__cell ">No</td>
|
621
621
|
|
622
|
-
<td class="govuk-table__cell ">Optional item-specific id. If provided, it will be used instead of the generated.</td>
|
622
|
+
<td class="govuk-table__cell ">Optional item-specific id. If provided, it will be used instead of the generated id.</td>
|
623
623
|
|
624
624
|
</tr>
|
625
625
|
|
@@ -631,7 +631,19 @@ If you are using Nunjucks,then macros take the following arguments
|
|
631
631
|
|
632
632
|
<td class="govuk-table__cell ">Yes</td>
|
633
633
|
|
634
|
-
<td class="govuk-table__cell ">
|
634
|
+
<td class="govuk-table__cell ">Item-specific name attribute.</td>
|
635
|
+
|
636
|
+
</tr>
|
637
|
+
|
638
|
+
<tr class="govuk-table__row">
|
639
|
+
|
640
|
+
<th class="govuk-table__header" scope="row">items.{}.value</th>
|
641
|
+
|
642
|
+
<td class="govuk-table__cell ">string</td>
|
643
|
+
|
644
|
+
<td class="govuk-table__cell ">No</td>
|
645
|
+
|
646
|
+
<td class="govuk-table__cell ">Optional item-specific value attribute. If provided, it will be used as the initial value of the input.</td>
|
635
647
|
|
636
648
|
</tr>
|
637
649
|
|
@@ -54,8 +54,24 @@
|
|
54
54
|
{%- if params.id %} id="{{ params.id }}"{% endif %}>
|
55
55
|
{% for item in dateInputItems %}
|
56
56
|
|
57
|
-
{#
|
58
|
-
|
57
|
+
{# Maintain backwards compatibility by automatically adding input width
|
58
|
+
classes based on the input name:
|
59
|
+
|
60
|
+
- If there is a width class set on this item, do nothing.
|
61
|
+
- Otherwise, if the input's name is 'year', add a 4 char width class
|
62
|
+
- Otherwise, if the input's name is 'month' or 'day', add a 2 char width class
|
63
|
+
- Otherwise, do nothing.
|
64
|
+
|
65
|
+
@todo Remove this behaviour in the next breaking release:
|
66
|
+
https://github.com/alphagov/govuk-frontend/issues/905 #}
|
67
|
+
{% set inputWidthClass = '' %}
|
68
|
+
{% if not item.classes or not 'govuk-input--width-' in item.classes %}
|
69
|
+
{% if item.name == 'year' %}
|
70
|
+
{% set inputWidthClass = 'govuk-input--width-4 ' %}
|
71
|
+
{% elseif item.name == 'month' or item.name == 'day' %}
|
72
|
+
{% set inputWidthClass = 'govuk-input--width-2 ' %}
|
73
|
+
{% endif %}
|
74
|
+
{% endif %}
|
59
75
|
|
60
76
|
<div class="govuk-date-input__item">
|
61
77
|
{{ govukInput({
|
@@ -64,7 +80,7 @@
|
|
64
80
|
classes: "govuk-date-input__label"
|
65
81
|
},
|
66
82
|
id: item.id if item.id else (params.id + "-" + item.name),
|
67
|
-
classes: "govuk-date-input__input " + inputWidthClass + item.classes,
|
83
|
+
classes: "govuk-date-input__input " + inputWidthClass + (item.classes if item.classes),
|
68
84
|
name: (params.name + "-" + item.name) if params.name else item.name,
|
69
85
|
value: item.value,
|
70
86
|
type: "number",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
padding: 0;
|
22
22
|
list-style: none;
|
23
23
|
@include mq($until: tablet) {
|
24
|
-
@include govuk-responsive-margin(
|
24
|
+
@include govuk-responsive-margin(6, "bottom");
|
25
25
|
}
|
26
26
|
}
|
27
27
|
|
@@ -50,6 +50,10 @@
|
|
50
50
|
}
|
51
51
|
}
|
52
52
|
|
53
|
+
.govuk-tabs__panel {
|
54
|
+
@include govuk-responsive-margin(8, "bottom");
|
55
|
+
}
|
56
|
+
|
53
57
|
// JavaScript enabled
|
54
58
|
.js-enabled {
|
55
59
|
|
@@ -104,12 +108,17 @@
|
|
104
108
|
}
|
105
109
|
|
106
110
|
.govuk-tabs__panel {
|
111
|
+
@include govuk-responsive-margin(0, "bottom");
|
107
112
|
padding-top: govuk-spacing(6);
|
108
113
|
padding-right: govuk-spacing(4);
|
109
|
-
padding-bottom: govuk-spacing(
|
114
|
+
padding-bottom: govuk-spacing(6);
|
110
115
|
padding-left: govuk-spacing(4);
|
111
116
|
border: 1px solid $govuk-border-colour;
|
112
117
|
border-top: 0;
|
118
|
+
|
119
|
+
& > :last-child {
|
120
|
+
margin-bottom: 0;
|
121
|
+
}
|
113
122
|
}
|
114
123
|
}
|
115
124
|
|
@@ -14,13 +14,13 @@
|
|
14
14
|
]
|
15
15
|
],
|
16
16
|
"_from": "govuk-frontend@>=1.0.0 <2.0.0",
|
17
|
-
"_id": "govuk-frontend@1.1.
|
17
|
+
"_id": "govuk-frontend@1.1.1",
|
18
18
|
"_inCache": true,
|
19
19
|
"_location": "/govuk-frontend",
|
20
20
|
"_nodeVersion": "8.9.4",
|
21
21
|
"_npmOperationalInternal": {
|
22
22
|
"host": "s3://npm-registry-packages",
|
23
|
-
"tmp": "tmp/govuk-frontend_1.1.
|
23
|
+
"tmp": "tmp/govuk-frontend_1.1.1_1531834275118_0.9190371433091173"
|
24
24
|
},
|
25
25
|
"_npmUser": {
|
26
26
|
"name": "govuk-patterns-and-tools",
|
@@ -40,8 +40,8 @@
|
|
40
40
|
"_requiredBy": [
|
41
41
|
"/"
|
42
42
|
],
|
43
|
-
"_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.1.
|
44
|
-
"_shasum": "
|
43
|
+
"_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.1.1.tgz",
|
44
|
+
"_shasum": "170a0e94067c323e610054bb73ce9ee76479ea4c",
|
45
45
|
"_shrinkwrap": null,
|
46
46
|
"_spec": "govuk-frontend@^1.0.0",
|
47
47
|
"_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
|
@@ -58,12 +58,12 @@
|
|
58
58
|
"devDependencies": {},
|
59
59
|
"directories": {},
|
60
60
|
"dist": {
|
61
|
-
"integrity": "sha512-
|
62
|
-
"shasum": "
|
63
|
-
"tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.1.
|
61
|
+
"integrity": "sha512-Ut4BWcW4LZrHMe5E+0+Py6yScoguDnZ17GohA2okbTw/nzhp4st2p1AK9N9dvqaLYS1yw0pcfgRP5jzyCZ14QQ==",
|
62
|
+
"shasum": "170a0e94067c323e610054bb73ce9ee76479ea4c",
|
63
|
+
"tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-1.1.1.tgz",
|
64
64
|
"fileCount": 211,
|
65
|
-
"unpackedSize":
|
66
|
-
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\
|
65
|
+
"unpackedSize": 1336523,
|
66
|
+
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTe+jCRA9TVsSAnZWagAAppIQAIHVL9QSFqyadrK3sloR\nYWLw7471L5kWgjJNXToK/XpyYOxwD2aOYhdGs1MOyVRcxvlyjaZYvtsKx1Mi\n8FjILLeys7rG4/fWbOYfko2ybaVEjyKO8Pk01FBFz1IIGHRPHuMBi3u0hJgM\n9K6FdiosQfbq3MCkPaPZ7OIh4zeabS+pVbFzHvkLj67nrlRYZpo6xHH5EMu8\nWU+bQyX5jbyJztyioGVwY6W0/kVWO92+nXW29QEPem8NRlIMpbBA/DKZ+he0\nit3YvtWQHEvilwTGgsK0AyQr0Tseya8T1nNrwhGiHFVhSLy/y760Rtjcbv/d\nvP0StTKVXCq3hSPCFInQJrJTgyZZptVaG4HhL8a2w5kZeFPU3p1rWk3Gqsto\nMLevaP8LT4FQxjpKQPklCTvqBJSriep/mh5psSDy8Qop0mCuHrQuDBAifTtZ\nB0f2uplYSXDTjGshDm05FnuXiYLzjdj7T2BRft4v1E1obPTZAmKT0RKX9xKa\n7CZ68YFNWITLrJx0dvnEII7ASEThhTMbu0Cic+oTrDnwNLKyvIk2ZBSrUwKW\nNdIx1tJZrU6b447hhWvUii506UbEFDw3nYLN6CBXyCRxbdUcqZ4lsiaXHuU9\n5kqPN3P4ZXBmwezS2UqVIRNi2nmSlqH3+xJxSgfzHV5Z40xadc5e5hQ2GugS\nTpG1\r\n=gCga\r\n-----END PGP SIGNATURE-----\r\n"
|
67
67
|
},
|
68
68
|
"engines": {
|
69
69
|
"node": ">= 4.2.0"
|
@@ -91,5 +91,5 @@
|
|
91
91
|
"url": "git+https://github.com/alphagov/govuk-frontend.git"
|
92
92
|
},
|
93
93
|
"sass": "all.scss",
|
94
|
-
"version": "1.1.
|
94
|
+
"version": "1.1.1"
|
95
95
|
}
|
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: 9.5.
|
4
|
+
version: 9.5.3
|
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-07-
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -301,6 +301,11 @@ files:
|
|
301
301
|
- README.md
|
302
302
|
- Rakefile
|
303
303
|
- app/assets/config/govuk_publishing_components_manifest.js
|
304
|
+
- app/assets/images/govuk_publishing_components/favicon-development.png
|
305
|
+
- app/assets/images/govuk_publishing_components/favicon-integration.png
|
306
|
+
- app/assets/images/govuk_publishing_components/favicon-production.png
|
307
|
+
- app/assets/images/govuk_publishing_components/favicon-staging.png
|
308
|
+
- app/assets/images/govuk_publishing_components/favicon-test.png
|
304
309
|
- app/assets/images/govuk_publishing_components/feed-icon-black.png
|
305
310
|
- app/assets/images/govuk_publishing_components/govuk-logo.png
|
306
311
|
- app/assets/images/govuk_publishing_components/govuk-schema-placeholder-16x9.png
|