govuk_publishing_components 24.9.0 → 24.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +7 -0
  3. data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +36 -6
  4. data/app/assets/javascripts/govuk_publishing_components/components/show-password.js +12 -0
  5. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +1 -1
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +34 -34
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +0 -2
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +0 -8
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +0 -37
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_highlight-boxes.scss +1 -2
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +1 -11
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +4 -2
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +0 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +0 -1
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +0 -1
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +4 -4
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -1
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +0 -4
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +20 -20
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +0 -1
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +0 -4
  22. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +16 -2
  23. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +0 -1
  24. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_px-to-em.scss +2 -0
  25. data/app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss +15 -0
  26. data/app/views/govuk_publishing_components/component_guide/index.html.erb +2 -2
  27. data/app/views/govuk_publishing_components/component_guide/show.html.erb +1 -1
  28. data/app/views/govuk_publishing_components/components/_accordion.html.erb +25 -0
  29. data/app/views/govuk_publishing_components/components/_highlight_boxes.html.erb +1 -1
  30. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +2 -2
  31. data/app/views/govuk_publishing_components/components/_notice.html.erb +1 -1
  32. data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +2 -2
  33. data/app/views/govuk_publishing_components/components/_print_link.html.erb +2 -2
  34. data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
  35. data/app/views/govuk_publishing_components/components/_show_password.html.erb +2 -0
  36. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +4 -4
  37. data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +3 -3
  38. data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +1 -1
  39. data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +9 -27
  40. data/app/views/govuk_publishing_components/components/docs/accordion.yml +73 -73
  41. data/app/views/govuk_publishing_components/components/docs/show_password.yml +10 -0
  42. data/app/views/govuk_publishing_components/components/docs/success_alert.yml +5 -0
  43. data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +1 -1
  44. data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +2 -1
  45. data/config/locales/cy.yml +0 -5
  46. data/config/locales/en.yml +10 -6
  47. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +0 -4
  48. data/lib/govuk_publishing_components/version.rb +1 -1
  49. metadata +22 -3
  50. data/app/assets/javascripts/component_guide/visual-regression.js +0 -71
@@ -40,21 +40,21 @@ examples:
40
40
  data:
41
41
  items:
42
42
  - heading:
43
- text: "Writing well for the web"
43
+ text: Writing well for the web
44
44
  content:
45
- html: "<p class='govuk-body'>This is the content for Writing well for the web.</p>"
45
+ html: <p class="govuk-body">This is the content for Writing well for the web.</p>
46
46
  - heading:
47
- text: "Writing well for specialists"
47
+ text: Writing well for specialists
48
48
  content:
49
- html: "<p class='govuk-body'>This is the content for Writing well for specialists.</p>"
49
+ html: <p class="govuk-body">This is the content for Writing well for specialists.</p>
50
50
  - heading:
51
- text: "Know your audience"
51
+ text: Know your audience
52
52
  content:
53
- html: "<p class='govuk-body'>This is the content for Know your audience.</p>"
53
+ html: <p class="govuk-body">This is the content for Know your audience.</p>
54
54
  - heading:
55
- text: "How people read"
55
+ text: How people read
56
56
  content:
57
- html: "<p class='govuk-body'>This is the content for How people read.</p>"
57
+ html: <p class="govuk-body">This is the content for How people read.</p>
58
58
  with_supplied_identification:
59
59
  description: |
60
60
  An `id` is optional as it's automatically generated, but it can be supplied if a specific `id` is required.
@@ -66,29 +66,29 @@ examples:
66
66
  id: with-supplied-id-thats-unique-across-the-domain
67
67
  items:
68
68
  - heading:
69
- text: "Writing well for the web"
69
+ text: Writing well for the web
70
70
  content:
71
- html: "<p class='govuk-body'>This is the content for Writing well for the web.</p>"
71
+ html: <p class="govuk-body">This is the content for Writing well for the web.</p>
72
72
  - heading:
73
- text: "Writing well for specialists"
73
+ text: Writing well for specialists
74
74
  content:
75
- html: "<p class='govuk-body'>This is the content for Writing well for specialists.</p>"
75
+ html: <p class="govuk-body">This is the content for Writing well for specialists.</p>
76
76
  - heading:
77
- text: "Know your audience"
77
+ text: Know your audience
78
78
  content:
79
- html: "<p class='govuk-body'>This is the content for Know your audience.</p>"
79
+ html: <p class="govuk-body">This is the content for Know your audience.</p>
80
80
  - heading:
81
- text: "How people read"
81
+ text: How people read
82
82
  content:
83
- html: "<p class='govuk-body'>This is the content for How people read.</p>"
83
+ html: <p class="govuk-body">This is the content for How people read.</p>
84
84
  with_summary:
85
85
  description: Adds a subheading below each section heading.
86
86
  data:
87
87
  items:
88
88
  - heading:
89
- text: "Understanding agile project management"
89
+ text: Understanding agile project management
90
90
  summary:
91
- text: "Introductions, methods, core features."
91
+ text: Introductions, methods, core features.
92
92
  content:
93
93
  html:
94
94
  '<ul class="govuk-list">
@@ -103,9 +103,9 @@ examples:
103
103
  </li>
104
104
  </ul>'
105
105
  - heading:
106
- text: "Working with agile methods"
106
+ text: Working with agile methods
107
107
  summary:
108
- text: "Workspaces, tools and techniques, user stories, planning."
108
+ text: Workspaces, tools and techniques, user stories, planning.
109
109
  content:
110
110
  html:
111
111
  '<ul class="govuk-list">
@@ -132,9 +132,9 @@ examples:
132
132
  </li>
133
133
  </ul>'
134
134
  - heading:
135
- text: "Governing agile services"
135
+ text: Governing agile services
136
136
  summary:
137
- text: "Principles, measuring progress, spending money."
137
+ text: Principles, measuring progress, spending money.
138
138
  content:
139
139
  html:
140
140
  '<ul class="govuk-list">
@@ -158,9 +158,9 @@ examples:
158
158
  </li>
159
159
  </ul>'
160
160
  - heading:
161
- text: "Phases of an agile project"
161
+ text: Phases of an agile project
162
162
  summary:
163
- text: "Discovery, alpha, beta, live and retirement."
163
+ text: Discovery, alpha, beta, live and retirement.
164
164
  content:
165
165
  html:
166
166
  '<ul class="govuk-list">
@@ -190,54 +190,54 @@ examples:
190
190
 
191
191
  data:
192
192
  data_attributes:
193
- gtm: 'gtm-accordion'
194
- ga: 'ga-accordion'
193
+ gtm: gtm-accordion
194
+ ga: ga-accordion
195
195
  items:
196
196
  - heading:
197
- text: "Writing well for the web"
197
+ text: Writing well for the web
198
198
  content:
199
- html: "<p class='govuk-body'>This is the content for Writing well for the web.</p>"
199
+ html: <p class="govuk-body">This is the content for Writing well for the web.</p>
200
200
  data_attributes:
201
- gtm: 'gtm-accordion-item-1'
201
+ gtm: gtm-accordion-item-1
202
202
  - heading:
203
- text: "Writing well for specialists"
203
+ text: Writing well for specialists
204
204
  content:
205
- html: "<p class='govuk-body'>This is the content for Writing well for specialists.</p>"
205
+ html: <p class="govuk-body">This is the content for Writing well for specialists.</p>
206
206
  data_attributes:
207
- gtm: 'gtm-accordion-item-2'
207
+ gtm: gtm-accordion-item-2
208
208
  - heading:
209
- text: "Know your audience"
209
+ text: Know your audience
210
210
  content:
211
- html: "<p class='govuk-body'>This is the content for Know your audience.</p>"
211
+ html: <p class="govuk-body">This is the content for Know your audience.</p>
212
212
  data_attributes:
213
- gtm: 'gtm-accordion-item-3'
213
+ gtm: gtm-accordion-item-3
214
214
  - heading:
215
- text: "How people read"
215
+ text: How people read
216
216
  content:
217
- html: "<p class='govuk-body'>This is the content for How people read.</p>"
217
+ html: <p class="govuk-body">This is the content for How people read.</p>
218
218
  data_attributes:
219
- gtm: 'gtm-accordion-item-4'
219
+ gtm: gtm-accordion-item-4
220
220
  different_heading_level:
221
221
  description: This will alter the level of the heading, not the appearance of the heading.
222
222
  data:
223
223
  heading_level: 3
224
224
  items:
225
225
  - heading:
226
- text: "Writing well for the web"
226
+ text: Writing well for the web
227
227
  content:
228
- html: "<p class='govuk-body'>This is the content for Writing well for the web.</p>"
228
+ html: <p class="govuk-body">This is the content for Writing well for the web.</p>
229
229
  - heading:
230
- text: "Writing well for specialists"
230
+ text: Writing well for specialists
231
231
  content:
232
- html: "<p class='govuk-body'>This is the content for Writing well for specialists.</p>"
232
+ html: <p class="govuk-body">This is the content for Writing well for specialists.</p>
233
233
  - heading:
234
- text: "Know your audience"
234
+ text: Know your audience
235
235
  content:
236
- html: "<p class='govuk-body'>This is the content for Know your audience.</p>"
236
+ html: <p class="govuk-body">This is the content for Know your audience.</p>
237
237
  - heading:
238
- text: "How people read"
238
+ text: How people read
239
239
  content:
240
- html: "<p class='govuk-body'>This is the content for How people read.</p>"
240
+ html: <p class="govuk-body">This is the content for How people read.</p>
241
241
  with_margin_bottom:
242
242
  description: |
243
243
  The component accepts a number for margin bottom from 0 to 9 (0px to 60px) using the [GOV.UK Frontend spacing scale](https://design-system.service.gov.uk/styles/spacing/#the-responsive-spacing-scale). It defaults to having a margin bottom of 30px.
@@ -245,35 +245,35 @@ examples:
245
245
  margin_bottom: 0
246
246
  items:
247
247
  - heading:
248
- text: "Writing well for the web"
248
+ text: Writing well for the web
249
249
  content:
250
- html: "<p class='govuk-body'>This is the content for Writing well for the web.</p>"
250
+ html: <p class="govuk-body">This is the content for Writing well for the web.</p>
251
251
  - heading:
252
- text: "Writing well for specialists"
252
+ text: Writing well for specialists
253
253
  content:
254
- html: "<p class='govuk-body'>This is the content for Writing well for specialists.</p>"
254
+ html: <p class="govuk-body">This is the content for Writing well for specialists.</p>
255
255
  with_section_open:
256
256
  description: |
257
257
  Adding `expanded: true` to the item will mean the section will default to being open, rather than closed. Once a user has opened or closed a section, the state of each section will be remembered - this can override a section's default.
258
258
  data:
259
259
  items:
260
260
  - heading:
261
- text: "Writing well for the web"
261
+ text: Writing well for the web
262
262
  content:
263
- html: "<p class='govuk-body'>This is the content for Writing well for the web.</p>"
263
+ html: <p class="govuk-body">This is the content for Writing well for the web.</p>
264
264
  expanded: true
265
265
  - heading:
266
- text: "Writing well for specialists"
266
+ text: Writing well for specialists
267
267
  content:
268
- html: "<p class='govuk-body'>This is the content for Writing well for specialists.</p>"
268
+ html: <p class="govuk-body">This is the content for Writing well for specialists.</p>
269
269
  - heading:
270
- text: "Know your audience"
270
+ text: Know your audience
271
271
  content:
272
- html: "<p class='govuk-body'>This is the content for Know your audience.</p>"
272
+ html: <p class="govuk-body">This is the content for Know your audience.</p>
273
273
  - heading:
274
- text: "How people read"
274
+ text: How people read
275
275
  content:
276
- html: "<p class='govuk-body'>This is the content for How people read.</p>"
276
+ html: <p class="govuk-body">This is the content for How people read.</p>
277
277
  with_the_anchor_link_navigation:
278
278
  description: |
279
279
  Some apps require custom ids per accordion section heading for linking between those specific sections, sometimes across multiple pages. An example of this is on manuals pages where multiple manuals will each include large sets of accordions and will reference between specific sections for ease of access to that content. [Live example](https://www.gov.uk/guidance/how-to-publish-on-gov-uk/creating-and-updating-pages#associations).
@@ -287,22 +287,22 @@ examples:
287
287
  anchor_navigation: true
288
288
  items:
289
289
  - heading:
290
- text: "Writing well for the web"
291
- id: "writing-well-for-the-web"
290
+ text: Writing well for the web
291
+ id: writing-well-for-the-web
292
292
  content:
293
- html: "<p class='govuk-body'>This is the content for Writing well for the web.</p>"
293
+ html: <p class="govuk-body">This is the content for Writing well for the web.</p>
294
294
  - heading:
295
- text: "Writing well for specialists"
295
+ text: Writing well for specialists
296
296
  content:
297
- html: "<p class='govuk-body'>This is the content for Writing well for specialists.</p>"
297
+ html: <p class="govuk-body">This is the content for Writing well for specialists.</p>
298
298
  - heading:
299
- text: "Know your audience"
299
+ text: Know your audience
300
300
  content:
301
- html: "<p class='govuk-body'>This is the content for Know your audience.</p>"
301
+ html: <p class="govuk-body">This is the content for Know your audience.</p>
302
302
  - heading:
303
- text: "How people read"
303
+ text: How people read
304
304
  content:
305
- html: "<p class='govuk-body'>This is the content for How people read.</p>"
305
+ html: <p class="govuk-body">This is the content for How people read.</p>
306
306
  condensed_layout:
307
307
  description: |
308
308
  This is for when a smaller accordion is required. Since smaller screens trigger a single column layout, this modifier only makes the accordion smaller when viewed on large screens.
@@ -310,7 +310,7 @@ examples:
310
310
  condensed: true
311
311
  items:
312
312
  - heading:
313
- text: "Understanding agile project management"
313
+ text: Understanding agile project management
314
314
  content:
315
315
  html:
316
316
  '<ul class="govuk-list">
@@ -325,9 +325,9 @@ examples:
325
325
  </li>
326
326
  </ul>'
327
327
  - heading:
328
- text: "Working with agile methods"
328
+ text: Working with agile methods
329
329
  summary:
330
- text: "Workspaces, tools and techniques, user stories, planning."
330
+ text: Workspaces, tools and techniques, user stories, planning.
331
331
  content:
332
332
  html:
333
333
  '<ul class="govuk-list">
@@ -354,7 +354,7 @@ examples:
354
354
  </li>
355
355
  </ul>'
356
356
  - heading:
357
- text: "Governing agile services"
357
+ text: Governing agile services
358
358
  content:
359
359
  html:
360
360
  '<ul class="govuk-list">
@@ -378,7 +378,7 @@ examples:
378
378
  </li>
379
379
  </ul>'
380
380
  - heading:
381
- text: "Phases of an agile project"
381
+ text: Phases of an agile project
382
382
  content:
383
383
  html:
384
384
  '<ul class="govuk-list">
@@ -397,4 +397,4 @@ examples:
397
397
  <li>
398
398
  <a class="govuk-link govuk-body-s" href="#">Retiring your service</a>
399
399
  </li>
400
- </ul>'
400
+ </ul>'
@@ -79,3 +79,13 @@ examples:
79
79
  error_items:
80
80
  - text: Look I keep telling you
81
81
  - text: This isn't your password
82
+ with_data_attributes:
83
+ description: Data attributes can be passed to add to the input element. If the data attribute starts with `data-button-` this attribute will be applied to the show/hide button, instead of the input. Note that if JS is disabled, all attributes are added to the input.
84
+ data:
85
+ label:
86
+ text: Your password
87
+ data:
88
+ example_1: value
89
+ example_2: thing
90
+ button_example_1: wotsit
91
+ button_example_2: doodad
@@ -24,6 +24,11 @@ examples:
24
24
  data:
25
25
  message: Message to alert the user to a successful action goes here
26
26
  title_id: my-custom-success-id
27
+ with_styled_link:
28
+ description: If you need to include a link in your success alert, you need to specify the `govuk-link` and `govuk-notification-banner__link` classes on that link element. This is in line with Design System guidance that the colour of the link in success notification banners can look jarring if any links are a different colour to the principal colour used by the success banner.
29
+ data:
30
+ message: Message to alert the user to a successful action goes here
31
+ description: <p class="govuk-body">A further description with <a href="/a-cool-page" class="govuk-link govuk-notification-banner__link">a link</a></p>
27
32
  long_example:
28
33
  data:
29
34
  message: |
@@ -28,7 +28,7 @@
28
28
  </div>
29
29
  <div class="gem-c-feedback__prompt-questions gem-c-feedback__prompt-questions--something-is-wrong js-prompt-questions">
30
30
  <button class="govuk-button gem-c-feedback__prompt-link js-toggle-form js-something-is-wrong" data-track-category="Onsite Feedback" data-track-action="GOV-UK Open Form" aria-controls="something-is-wrong" aria-expanded="false">
31
- <%= t("components.feedback.something_wrong", default: "There is something wrong with this page") %>
31
+ <%= t("components.feedback.something_wrong", default: "Report a problem with this page") %>
32
32
  </button>
33
33
  </div>
34
34
  </div>
@@ -23,10 +23,11 @@
23
23
 
24
24
  <% links.each.with_index(1) do |link, index| %>
25
25
  <%
26
+ link_class = "govuk-link #{related_nav_helper.section_css_class("govuk-link gem-c-related-navigation__section-link", section_title, link: link, link_is_inline: (index >= section_link_limit))}"
26
27
  link_element = link_to(
27
28
  link[:text],
28
29
  link[:path],
29
- class: related_nav_helper.section_css_class("gem-c-related-navigation__section-link", section_title, link: link, link_is_inline: (index >= section_link_limit)),
30
+ class: link_class,
30
31
  rel: link[:rel],
31
32
  lang: shared_helper.t_locale_check(link[:locale]),
32
33
  data: {
@@ -13,8 +13,3 @@ cy:
13
13
  title: "Brexit"
14
14
  link_path: "/transition.cy"
15
15
  link_text: "Gwiriwch beth sydd angen i chi ei wneud"
16
- take_action_list:
17
- red: Gwiriwch
18
- amber: Newidiwch
19
- green: Ewch
20
- aria_label: Ymgyrch slogan Brexit, Gwiriwch, Newidiwch, Ewch.
@@ -23,6 +23,12 @@ en:
23
23
  common:
24
24
  translations: "Translations"
25
25
  components:
26
+ accordion:
27
+ show: "Show"
28
+ hide: "Hide"
29
+ show_all: "Show all sections"
30
+ hide_all: "Hide all sections"
31
+ this_section_visually_hidden: " this section"
26
32
  attachment:
27
33
  opendocument_html: "This file is in an <a href='https://www.gov.uk/guidance/using-open-document-formats-odf-in-your-organisation' target=%{target} class='govuk-link'>OpenDocument</a> format"
28
34
  request_format_text: "This file may not be suitable for users of assistive technology."
@@ -44,7 +50,7 @@ en:
44
50
  is_useful: "this page is useful"
45
51
  is_not_useful: "this page is not useful"
46
52
  thank_you_for_feedback: "Thank you for your feedback"
47
- something_wrong: "There is something wrong with this page"
53
+ something_wrong: "Report a problem with this page"
48
54
  close: "Close"
49
55
  help_us_improve_govuk: "Help us improve GOV.UK"
50
56
  more_about_visit: "To help us improve GOV.UK, we’d like to know more about your visit today. We’ll send you a link to a feedback form. It will take only 2 minutes to fill in. Don’t worry we won’t send you spam or share your email address with anyone."
@@ -58,6 +64,9 @@ en:
58
64
  search_button: "Search GOV.UK"
59
65
  show_button: "Show search"
60
66
  hide_button: "Hide search"
67
+ top_level: "Top level"
68
+ nav_items_aria_label: "Show or hide Top Level Navigation"
69
+ menu: "Menu"
61
70
  organisation_schema:
62
71
  all_content_search_description: "Find all content from %{organisation}"
63
72
  radio:
@@ -79,11 +88,6 @@ en:
79
88
  title: "Brexit"
80
89
  link_path: "/transition"
81
90
  link_text: "Check what you need to do"
82
- take_action_list:
83
- red: "Check"
84
- amber: "Change"
85
- green: "Go"
86
- aria_label: "Brexit campaign slogan, Check, Change, Go."
87
91
  related_footer_navigation:
88
92
  collections: "Collections"
89
93
  policies: "Policies"
@@ -206,8 +206,6 @@ module GovukPublishingComponents
206
206
  # Environment
207
207
  # International
208
208
  # Defence and armed forces
209
- # Society and culture
210
- # Government
211
209
  # Work
212
210
  # Welfare
213
211
  # Money
@@ -225,8 +223,6 @@ module GovukPublishingComponents
225
223
  3cf97f69-84de-41ae-bc7b-7e2cc238fa58
226
224
  37d0fa26-abed-4c74-8835-b3b51ae1c8b2
227
225
  e491505c-77ae-45b2-84be-8c94b94f6a2b
228
- e2ca2f1a-0ff3-43ce-b813-16645ff27904
229
- e48ab80a-de80-4e83-bf59-26316856a5f9
230
226
  d0f1e5a3-c8f4-4780-8678-994f19104b21
231
227
  dded88e2-f92e-424f-b73e-6ad24a839c51
232
228
  6acc9db4-780e-4a46-92b4-1812e3c2c48a
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "24.9.0".freeze
2
+ VERSION = "24.10.0".freeze
3
3
  end
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.9.0
4
+ version: 24.10.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: 2021-04-07 00:00:00.000000000 Z
11
+ date: 2021-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -192,6 +192,26 @@ dependencies:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: 3.0.0
195
+ - !ruby/object:Gem::Dependency
196
+ name: percy-capybara
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '4.0'
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: 4.0.2
205
+ type: :development
206
+ prerelease: false
207
+ version_requirements: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - "~>"
210
+ - !ruby/object:Gem::Version
211
+ version: '4.0'
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: 4.0.2
195
215
  - !ruby/object:Gem::Dependency
196
216
  name: pry-byebug
197
217
  requirement: !ruby/object:Gem::Requirement
@@ -396,7 +416,6 @@ files:
396
416
  - app/assets/javascripts/component_guide/filter-components.js
397
417
  - app/assets/javascripts/component_guide/vendor/bind-polyfill.js
398
418
  - app/assets/javascripts/component_guide/vendor/matches-polyfill.min.js
399
- - app/assets/javascripts/component_guide/visual-regression.js
400
419
  - app/assets/javascripts/govuk_publishing_components/all_components.js
401
420
  - app/assets/javascripts/govuk_publishing_components/analytics.js
402
421
  - app/assets/javascripts/govuk_publishing_components/analytics/analytics.js