govuk_publishing_components 16.7.0 → 16.8.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05db8bb85d36f1e4dee27a17188474dc6b62ee9bb0bd9de8136bae957bab969a
4
- data.tar.gz: 92bdbba459fdbde8eab6e6a0dcdfeca551d41986e7054165cd9f72da78f954d0
3
+ metadata.gz: 1b81e308990c82671b9449aa6b5631f6a1b6b6ed8b7b7e9cd2d44480f47d9d3b
4
+ data.tar.gz: 3c5707c0af3c161cd38273c81c8c10e1903e77a6c892c4f6bb6b8d0e4d9ad459
5
5
  SHA512:
6
- metadata.gz: b5fcf822378d70648ed342954d5eb023c1eeefe62d6f1a8900579e29adb501eadb2897e16c8eaa72d2a151bcda1346fa0776639fe38d33eb16b83c89100fe476
7
- data.tar.gz: 0a23caa4a7a4610548df7251dde6182c590221b2094d666f4b606a5d94f56c6afe8d85fbd7e9433d3cc099db494a5e758ce67931a52fa6d1c11973787baac6db
6
+ metadata.gz: 8a393e4807db795ad0c9afe3c6d726e928d351a296a5918f92234393d0c5114d94432da3eac59a722ef80b2813b5a070bcd0ece4952260b543337ecf57c7e045
7
+ data.tar.gz: 86bf57bf0feb0cf2eae7630be1d23da91c6aa37307d0d4bd4bf0f9fa8f293a258f0d33dfde08b6d64626f4435999460d876c7da6043e018885cd97f35bd14021
@@ -0,0 +1,47 @@
1
+ window.GOVUK = window.GOVUK || {}
2
+ window.GOVUK.Modules = window.GOVUK.Modules || {};
3
+
4
+ (function (Modules) {
5
+ function CookieBanner () { }
6
+
7
+ CookieBanner.prototype.start = function ($module) {
8
+ this.$module = $module[0]
9
+
10
+ this.$module.hideCookieMessage = this.hideCookieMessage.bind(this)
11
+ this.$hideLink = this.$module.querySelector('a[data-hide-cookie-banner]')
12
+ if (this.$hideLink) {
13
+ this.$hideLink.addEventListener('click', this.$module.hideCookieMessage)
14
+ }
15
+
16
+ this.showCookieMessage()
17
+ }
18
+
19
+ CookieBanner.prototype.showCookieMessage = function () {
20
+ var hasCookieMessage = (this.$module && window.GOVUK.cookie('seen_cookie_message') !== 'true')
21
+
22
+ if (hasCookieMessage) {
23
+ this.$module.style.display = 'block'
24
+ document.addEventListener('DOMContentLoaded', function (event) {
25
+ if (window.GOVUK.analytics && typeof window.GOVUK.analytics.trackEvent === 'function') {
26
+ window.GOVUK.analytics.trackEvent('cookieBanner', 'Cookie banner shown', {
27
+ value: 1,
28
+ nonInteraction: true
29
+ })
30
+ }
31
+ })
32
+ }
33
+ }
34
+
35
+ CookieBanner.prototype.hideCookieMessage = function (event) {
36
+ if (this.$module) {
37
+ this.$module.style.display = 'none'
38
+ window.GOVUK.cookie('seen_cookie_message', 'true', { days: 365 })
39
+ }
40
+
41
+ if (event.target) {
42
+ event.preventDefault()
43
+ }
44
+ }
45
+
46
+ Modules.CookieBanner = CookieBanner
47
+ })(window.GOVUK.Modules)
@@ -0,0 +1,65 @@
1
+ // used by the cookie banner component
2
+
3
+ (function () {
4
+ 'use strict'
5
+ var root = this
6
+ if (typeof root.GOVUK === 'undefined') { root.GOVUK = {} }
7
+
8
+ /*
9
+ Cookie methods
10
+ ==============
11
+
12
+ Usage:
13
+
14
+ Setting a cookie:
15
+ GOVUK.cookie('hobnob', 'tasty', { days: 30 });
16
+
17
+ Reading a cookie:
18
+ GOVUK.cookie('hobnob');
19
+
20
+ Deleting a cookie:
21
+ GOVUK.cookie('hobnob', null);
22
+ */
23
+ window.GOVUK.cookie = function (name, value, options) {
24
+ if (typeof value !== 'undefined') {
25
+ if (value === false || value === null) {
26
+ return window.GOVUK.setCookie(name, '', { days: -1 })
27
+ } else {
28
+ return window.GOVUK.setCookie(name, value, options)
29
+ }
30
+ } else {
31
+ return window.GOVUK.getCookie(name)
32
+ }
33
+ }
34
+
35
+ window.GOVUK.setCookie = function (name, value, options) {
36
+ if (typeof options === 'undefined') {
37
+ options = {}
38
+ }
39
+ var cookieString = name + '=' + value + '; path=/'
40
+ if (options.days) {
41
+ var date = new Date()
42
+ date.setTime(date.getTime() + (options.days * 24 * 60 * 60 * 1000))
43
+ cookieString = cookieString + '; expires=' + date.toGMTString()
44
+ }
45
+ if (document.location.protocol === 'https:') {
46
+ cookieString = cookieString + '; Secure'
47
+ }
48
+ document.cookie = cookieString
49
+ }
50
+
51
+ window.GOVUK.getCookie = function (name) {
52
+ var nameEQ = name + '='
53
+ var cookies = document.cookie.split(';')
54
+ for (var i = 0, len = cookies.length; i < len; i++) {
55
+ var cookie = cookies[i]
56
+ while (cookie.charAt(0) === ' ') {
57
+ cookie = cookie.substring(1, cookie.length)
58
+ }
59
+ if (cookie.indexOf(nameEQ) === 0) {
60
+ return decodeURIComponent(cookie.substring(nameEQ.length))
61
+ }
62
+ }
63
+ return null
64
+ }
65
+ }).call(this)
@@ -0,0 +1,32 @@
1
+ // used by the header navigation from govuk_template
2
+
3
+ (function () {
4
+ 'use strict'
5
+
6
+ if (document.querySelectorAll && document.addEventListener) {
7
+ var els = document.querySelectorAll('.js-header-toggle')
8
+ var i
9
+ var _i
10
+ for (i = 0, _i = els.length; i < _i; i++) {
11
+ els[i].addEventListener('click', function (e) {
12
+ e.preventDefault()
13
+ var target = document.getElementById(this.getAttribute('href').substr(1))
14
+ var targetClass = target.getAttribute('class') || ''
15
+ var sourceClass = this.getAttribute('class') || ''
16
+
17
+ if (targetClass.indexOf('js-visible') !== -1) {
18
+ target.setAttribute('class', targetClass.replace(/(^|\s)js-visible(\s|$)/, ''))
19
+ } else {
20
+ target.setAttribute('class', targetClass + ' js-visible')
21
+ }
22
+ if (sourceClass.indexOf('js-visible') !== -1) {
23
+ this.setAttribute('class', sourceClass.replace(/(^|\s)js-visible(\s|$)/, ''))
24
+ } else {
25
+ this.setAttribute('class', sourceClass + ' js-visible')
26
+ }
27
+ this.setAttribute('aria-expanded', this.getAttribute('aria-expanded') !== 'true')
28
+ target.setAttribute('aria-hidden', target.getAttribute('aria-hidden') === 'false')
29
+ })
30
+ }
31
+ }
32
+ }).call(this)
@@ -268,7 +268,7 @@ html {
268
268
  // scss-lint:disable IdSelector
269
269
  #user-satisfaction-survey-container,
270
270
  #global-cookie-message {
271
- display: none !important;
271
+ display: none;
272
272
  }
273
273
  // scss-lint:enable IdSelector
274
274
 
@@ -30,7 +30,9 @@
30
30
  @import "components/character-count";
31
31
  @import "components/checkboxes";
32
32
  @import "components/contents-list";
33
+ @import "components/cookie-banner";
33
34
  @import "components/copy-to-clipboard";
35
+ @import "components/date-input";
34
36
  @import "components/details";
35
37
  @import "components/document-list";
36
38
  @import "components/error-alert";
@@ -0,0 +1,18 @@
1
+ $govuk-cookie-banner-background: #d5e8f3;
2
+
3
+ .js-enabled {
4
+ .gem-c-cookie-banner {
5
+ display: none; // shown with JS, always on for non-JS
6
+ }
7
+ }
8
+
9
+ .gem-c-cookie-banner {
10
+ @include govuk-font($size: 16);
11
+ padding: 10px 0;
12
+ background-color: $govuk-cookie-banner-background;
13
+ }
14
+
15
+ .gem-c-cookie-banner__message {
16
+ margin-top: 0;
17
+ margin-bottom: 0;
18
+ }
@@ -0,0 +1,15 @@
1
+ @import "govuk-frontend/components/date-input/date-input";
2
+
3
+ // Add spacing between input items on narrow containers when they collapse under each other
4
+ .govuk-date-input {
5
+ margin-top: - govuk-spacing(2);
6
+ }
7
+
8
+ .govuk-date-input__item {
9
+ margin-top: govuk-spacing(2);
10
+ }
11
+
12
+ // Remove spacing for the last input item to make the most of space when in narrow containers
13
+ .govuk-date-input__item:last-child {
14
+ margin-right: 0;
15
+ }
@@ -0,0 +1,9 @@
1
+ <%
2
+ id ||= 'global-cookie-message'
3
+ message ||= capture do %>
4
+ GOV.UK uses cookies to make the site simpler. <a class="govuk-link" href="https://www.gov.uk/help/cookies" data-module="track-click" data-track-category="cookieBanner" data-track-action="Cookie banner clicked">Find out more about cookies</a> or <a class="govuk-link" href="#" data-hide-cookie-banner="true" data-module="track-click" data-track-category="cookieBanner" data-track-action="Cookie banner hidden">hide this message</a>
5
+ <% end %>
6
+
7
+ <div id="<%= id %>" class="gem-c-cookie-banner" data-module="cookie-banner">
8
+ <p class="gem-c-cookie-banner__message govuk-width-container"><%= message %></p>
9
+ </div>
@@ -0,0 +1,82 @@
1
+ <%
2
+ id ||= "input-#{SecureRandom.hex(4)}"
3
+ name ||= nil
4
+ items ||= [
5
+ { :name => "day", :width => 2 },
6
+ { :name => "month", :width => 2 },
7
+ { :name => "year", :width => 4 }
8
+ ]
9
+
10
+ legend_text ||= nil
11
+ hint ||= nil
12
+ error_message ||= nil
13
+ describedby ||= nil
14
+
15
+ css_classes = %w(gem-c-date-input govuk-date-input)
16
+ form_group_css_classes = %w(govuk-form-group)
17
+ form_group_css_classes << "govuk-form-group--error" if error_message
18
+
19
+ hint_id = "hint-#{SecureRandom.hex(4)}"
20
+ error_id = "error-#{SecureRandom.hex(4)}"
21
+
22
+ aria_described_by ||= nil
23
+ if hint || error_message || describedby
24
+ aria_described_by = []
25
+ aria_described_by << hint_id if hint
26
+ aria_described_by << error_id if error_message
27
+ aria_described_by << describedby if describedby
28
+ aria_described_by = aria_described_by.join(" ")
29
+ end
30
+
31
+ %>
32
+
33
+ <%= content_tag :div, class: form_group_css_classes do %>
34
+ <% fieldset_content = capture do %>
35
+ <% if hint %>
36
+ <%= render "govuk_publishing_components/components/hint", {
37
+ id: hint_id,
38
+ text: hint,
39
+ margin_bottom: 2
40
+ } %>
41
+ <% end %>
42
+
43
+ <% if error_message %>
44
+ <%= render "govuk_publishing_components/components/error_message", {
45
+ id: error_id,
46
+ text: error_message
47
+ } %>
48
+ <% end %>
49
+
50
+ <%= tag.div class: css_classes, id: id do %>
51
+ <% items.each do |item| %>
52
+ <%= tag.div class: "govuk-date-input__item" do %>
53
+ <%= render "govuk_publishing_components/components/input", {
54
+ label: {
55
+ text: item[:label] || item[:name].capitalize
56
+ },
57
+ grouped: true,
58
+ has_error: error_message,
59
+ name: name ? (name + "[" + item[:name] + "]") : item[:name],
60
+ value: item[:value],
61
+ width: item[:width],
62
+ id: item[:id],
63
+ type: "number",
64
+ data: item[:data],
65
+ autocomplete: item[:autocomplete]
66
+ } %>
67
+ <% end %>
68
+ <% end %>
69
+ <% end %>
70
+ <% end %>
71
+
72
+ <% if legend_text %>
73
+ <%= render "govuk_publishing_components/components/fieldset", {
74
+ describedby: aria_described_by,
75
+ legend_text: legend_text,
76
+ text: fieldset_content,
77
+ role: "group"
78
+ } %>
79
+ <% else %>
80
+ <%= fieldset_content %>
81
+ <% end %>
82
+ <% end %>
@@ -1,7 +1,9 @@
1
1
  <% text = text || yield %>
2
- <fieldset class="gem-c-fieldset govuk-fieldset">
3
- <legend class="govuk-fieldset__legend">
2
+ <% describedby ||= nil %>
3
+ <% role ||= nil %>
4
+ <%= tag.fieldset class: "gem-c-fieldset govuk-fieldset", aria: { describedby: describedby }, role: role do %>
5
+ <%= tag.legend class: "govuk-fieldset__legend" do %>
4
6
  <%= legend_text %>
5
- </legend>
7
+ <% end %>
6
8
  <%= text %>
7
- </fieldset>
9
+ <% end %>
@@ -11,12 +11,13 @@
11
11
  hint ||= nil
12
12
  error_message ||= nil
13
13
  error_items ||= nil
14
+ grouped ||= nil
14
15
  autofocus ||= nil
15
16
  tabindex ||= nil
16
17
  readonly ||= nil
17
18
  maxlength ||= nil
18
19
  width ||= nil
19
- has_error = error_message || error_items&.any?
20
+ has_error ||= error_message || error_items&.any?
20
21
  hint_id = "hint-#{SecureRandom.hex(4)}"
21
22
  error_id = "error-#{SecureRandom.hex(4)}"
22
23
 
@@ -24,13 +25,13 @@
24
25
  css_classes << "govuk-input--error" if has_error
25
26
  css_classes << "govuk-input--width-#{width}" if [2, 3, 4, 5, 10, 20, 30].include?(width)
26
27
  form_group_css_classes = %w(govuk-form-group)
27
- form_group_css_classes << "govuk-form-group--error" if has_error
28
+ form_group_css_classes << "govuk-form-group--error" if has_error && !grouped
28
29
 
29
30
  aria_described_by ||= nil
30
31
  if hint || has_error || describedby
31
32
  aria_described_by = []
32
33
  aria_described_by << hint_id if hint
33
- aria_described_by << error_id if has_error
34
+ aria_described_by << error_id if has_error && !grouped
34
35
  aria_described_by << describedby if describedby
35
36
  aria_described_by = aria_described_by.join(" ")
36
37
  end
@@ -0,0 +1,19 @@
1
+ name: Cookie banner
2
+ description: Help users manage their personal data by telling them when you store cookies on their device.
3
+ body: |
4
+ Setting `data-hide-cookie-banner="true"` on any link inside the banner will overwrite the default action and when clicked will dismiss the cookie banner for a period of 365 days (approx. 1 year).
5
+ accessibility_criteria: |
6
+ Text in the cookie banner must be clear and unambiguous and should provide a way to dismiss the message.
7
+
8
+ Links in the component must:
9
+
10
+ - accept focus
11
+ - be focusable with a keyboard
12
+ - indicate when they have focus
13
+ examples:
14
+ default:
15
+ data: {}
16
+ custom_message:
17
+ data:
18
+ id: custom-message
19
+ message: GOV.UK uses cookies to make the site simpler. <a class="govuk-link" href="https://www.gov.uk/help/cookies">Find out more about cookies</a>
@@ -0,0 +1,57 @@
1
+ name: Form date input
2
+ description: Use the date input component to help users enter a memorable date or one they can easily look up.
3
+ accessibility_criteria: |
4
+ Inputs in the component must:
5
+
6
+ * accept focus
7
+ * be focusable with a keyboard
8
+ * be usable with a keyboard
9
+ * be usable with touch
10
+ * indicate when they have focus
11
+ * be recognisable as form input elements
12
+ * have correctly associated labels
13
+ * be of the appropriate type for their use, in this case 'number'
14
+
15
+ Labels use the [label component](/component-guide/label).
16
+
17
+ Avoid using autofocus and tabindex unless you have user research to support this behaviour.
18
+ govuk_frontend_components:
19
+ - date-input
20
+ examples:
21
+ default:
22
+ data: {}
23
+ with_name:
24
+ description: |
25
+ Settting a name at the component level helps generating the name for each individual input within the
26
+ component as follows: `custom-name[day]`, `custom-name[month]`, `custom-name[year]`
27
+ data:
28
+ name: "dob"
29
+ with_legend:
30
+ data:
31
+ legend_text: "What is your date of birth?"
32
+ with_hint:
33
+ data:
34
+ legend_text: "What is your date of birth?"
35
+ hint: "For example, 31 3 1980"
36
+ with_error:
37
+ data:
38
+ legend_text: "What is your date of birth?"
39
+ hint: "For example, 31 3 1980"
40
+ error_message: "Error message goes here"
41
+ with_custom_items:
42
+ data:
43
+ legend_text: "Beth yw eich dyddiad geni?"
44
+ hint: "Er enghraifft, 31 3 1980"
45
+ items:
46
+ - label: Dydd
47
+ name: dob-dydd
48
+ width: 2
49
+ value: 31
50
+ - label: Mis
51
+ name: dob-mis
52
+ width: 2
53
+ value: 3
54
+ - label: Blwyddyn
55
+ name: dob-blwyddyn
56
+ width: 4
57
+ value: 1980
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '16.7.0'.freeze
2
+ VERSION = '16.8.0'.freeze
3
3
  end
@@ -49,7 +49,7 @@
49
49
  "/"
50
50
  ],
51
51
  "_resolved": "git://github.com/alphagov/accessible-autocomplete.git#0c518b4fa79b9a95b544410858486ed9e6403c84",
52
- "_shasum": "1e3e4aa764d72e003e7263cfc22b42af5e05507f",
52
+ "_shasum": "5a4193d96fc09bcd97b5641b903aa0f0ec6340d0",
53
53
  "_shrinkwrap": null,
54
54
  "_spec": "accessible-autocomplete@git://github.com/alphagov/accessible-autocomplete.git#add-multiselect-support",
55
55
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
@@ -2,18 +2,18 @@
2
2
  "_args": [
3
3
  [
4
4
  {
5
- "raw": "axe-core@^3.1.2",
5
+ "raw": "axe-core@^3.2.2",
6
6
  "scope": null,
7
7
  "escapedName": "axe-core",
8
8
  "name": "axe-core",
9
- "rawSpec": "^3.1.2",
10
- "spec": ">=3.1.2 <4.0.0",
9
+ "rawSpec": "^3.2.2",
10
+ "spec": ">=3.2.2 <4.0.0",
11
11
  "type": "range"
12
12
  },
13
13
  "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ"
14
14
  ]
15
15
  ],
16
- "_from": "axe-core@>=3.1.2 <4.0.0",
16
+ "_from": "axe-core@>=3.2.2 <4.0.0",
17
17
  "_hasShrinkwrap": false,
18
18
  "_id": "axe-core@3.2.2",
19
19
  "_inCache": true,
@@ -30,12 +30,12 @@
30
30
  "_npmVersion": "6.4.1",
31
31
  "_phantomChildren": {},
32
32
  "_requested": {
33
- "raw": "axe-core@^3.1.2",
33
+ "raw": "axe-core@^3.2.2",
34
34
  "scope": null,
35
35
  "escapedName": "axe-core",
36
36
  "name": "axe-core",
37
- "rawSpec": "^3.1.2",
38
- "spec": ">=3.1.2 <4.0.0",
37
+ "rawSpec": "^3.2.2",
38
+ "spec": ">=3.2.2 <4.0.0",
39
39
  "type": "range"
40
40
  },
41
41
  "_requiredBy": [
@@ -44,7 +44,7 @@
44
44
  "_resolved": "https://registry.npmjs.org/axe-core/-/axe-core-3.2.2.tgz",
45
45
  "_shasum": "b06d6e9ae4636d706068843272bfaeed3fe97362",
46
46
  "_shrinkwrap": null,
47
- "_spec": "axe-core@^3.1.2",
47
+ "_spec": "axe-core@^3.2.2",
48
48
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
49
49
  "bugs": {
50
50
  "url": "https://github.com/dequelabs/axe-core/issues"
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: 16.7.0
4
+ version: 16.8.0
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: 2019-03-22 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govspeak
@@ -313,6 +313,7 @@ files:
313
313
  - app/assets/javascripts/govuk_publishing_components/components/accordion.js
314
314
  - app/assets/javascripts/govuk_publishing_components/components/character-count.js
315
315
  - app/assets/javascripts/govuk_publishing_components/components/checkboxes.js
316
+ - app/assets/javascripts/govuk_publishing_components/components/cookie-banner.js
316
317
  - app/assets/javascripts/govuk_publishing_components/components/copy-to-clipboard.js
317
318
  - app/assets/javascripts/govuk_publishing_components/components/error-summary.js
318
319
  - app/assets/javascripts/govuk_publishing_components/components/feedback.js
@@ -322,9 +323,11 @@ files:
322
323
  - app/assets/javascripts/govuk_publishing_components/components/radio.js
323
324
  - app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js
324
325
  - app/assets/javascripts/govuk_publishing_components/dependencies.js
326
+ - app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
325
327
  - app/assets/javascripts/govuk_publishing_components/lib/current-location.js
326
328
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js
327
329
  - app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js
330
+ - app/assets/javascripts/govuk_publishing_components/lib/header-navigation.js
328
331
  - app/assets/javascripts/govuk_publishing_components/lib/select.js
329
332
  - app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js
330
333
  - app/assets/javascripts/govuk_publishing_components/lib/toggle.js
@@ -343,7 +346,9 @@ files:
343
346
  - app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss
344
347
  - app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss
345
348
  - app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss
349
+ - app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss
346
350
  - app/assets/stylesheets/govuk_publishing_components/components/_copy-to-clipboard.scss
351
+ - app/assets/stylesheets/govuk_publishing_components/components/_date-input.scss
347
352
  - app/assets/stylesheets/govuk_publishing_components/components/_details.scss
348
353
  - app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss
349
354
  - app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss
@@ -459,7 +464,9 @@ files:
459
464
  - app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
460
465
  - app/views/govuk_publishing_components/components/_contextual_footer.html.erb
461
466
  - app/views/govuk_publishing_components/components/_contextual_sidebar.html.erb
467
+ - app/views/govuk_publishing_components/components/_cookie_banner.html.erb
462
468
  - app/views/govuk_publishing_components/components/_copy_to_clipboard.html.erb
469
+ - app/views/govuk_publishing_components/components/_date_input.html.erb
463
470
  - app/views/govuk_publishing_components/components/_details.html.erb
464
471
  - app/views/govuk_publishing_components/components/_document_list.html.erb
465
472
  - app/views/govuk_publishing_components/components/_error_alert.html.erb
@@ -523,7 +530,9 @@ files:
523
530
  - app/views/govuk_publishing_components/components/docs/contextual_breadcrumbs.yml
524
531
  - app/views/govuk_publishing_components/components/docs/contextual_footer.yml
525
532
  - app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml
533
+ - app/views/govuk_publishing_components/components/docs/cookie_banner.yml
526
534
  - app/views/govuk_publishing_components/components/docs/copy_to_clipboard.yml
535
+ - app/views/govuk_publishing_components/components/docs/date_input.yml
527
536
  - app/views/govuk_publishing_components/components/docs/details.yml
528
537
  - app/views/govuk_publishing_components/components/docs/document_list.yml
529
538
  - app/views/govuk_publishing_components/components/docs/error_alert.yml