govuk_publishing_components 38.4.0 → 38.4.2
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/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +1 -0
- data/app/models/govuk_publishing_components/component_docs.rb +1 -1
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -0
- data/config/locales/cy.yml +2 -2
- data/lib/govuk_publishing_components/presenters/button_helper.rb +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef32d3030ffa13a219217e5da812a2c8f60f4974dfae056b780dba0c2934ae89
|
|
4
|
+
data.tar.gz: 2d3a31d7520cd943e1c79e7054945574f7e36929604d35017372d5444deccdfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c5e9467f9824143658930724739780947e76fa6df8a3e13621305956332e6073f46e9bde4aba41c6a9e4098efc57884437d1e03a4208e29284ca19722f3901f
|
|
7
|
+
data.tar.gz: de095dfa1e550f4f0fce76ddecf9861a0b468e000df4190f92a916e82347e4f3cd5e587f40d6de94077bc732140009f5f9081ba5639dc9f98336e157145e5350
|
|
@@ -60,6 +60,7 @@ window.GOVUK.analyticsGa4.analyticsModules = window.GOVUK.analyticsGa4.analytics
|
|
|
60
60
|
devolved_nations_banner: this.getElementAttribute('data-ga4-devolved-nations-banner') || undefined,
|
|
61
61
|
cookie_banner: this.getBannerPresence('[data-ga4-cookie-banner]'),
|
|
62
62
|
intervention: this.getBannerPresence('[data-ga4-intervention-banner]'),
|
|
63
|
+
global_bar: this.getBannerPresence('[data-ga4-global-bar]'),
|
|
63
64
|
query_string: this.getQueryString(),
|
|
64
65
|
search_term: this.getSearchTerm(),
|
|
65
66
|
spelling_suggestion: this.getMetaContent('spelling-suggestion'),
|
|
@@ -45,7 +45,7 @@ module GovukPublishingComponents
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
def parse_documentation(file)
|
|
48
|
-
yaml = YAML.load_file(file, aliases: true, permitted_classes: [Symbol, Time])
|
|
48
|
+
yaml = YAML.load_file(file, aliases: true, permitted_classes: [Symbol, Time, Date])
|
|
49
49
|
{ id: File.basename(file, ".yml") }.merge(yaml).with_indifferent_access
|
|
50
50
|
end
|
|
51
51
|
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
blue_bar_dedupe = !full_width && global_bar.present?
|
|
52
52
|
body_css_classes = %w(gem-c-layout-for-public govuk-template__body)
|
|
53
53
|
body_css_classes << "draft" if draft_watermark
|
|
54
|
+
body_css_classes << "global-bar-present" if global_bar.present?
|
|
54
55
|
|
|
55
56
|
blue_bar_wrapper_classes = %w()
|
|
56
57
|
blue_bar_wrapper_classes << "gem-c-layout-for-public__blue-bar-wrapper--#{blue_bar_background_colour}" if blue_bar_background_colour
|
data/config/locales/cy.yml
CHANGED
|
@@ -60,7 +60,7 @@ cy:
|
|
|
60
60
|
- Rydyn ni hefyd yn defnyddio cwcis sy'n cael eu gosod gan wefannau eraill i'n helpu i gyflwyno cynnwys o'u gwasanaethau nhw.
|
|
61
61
|
title: Cwcis ar GOV.UK
|
|
62
62
|
devolved_nations:
|
|
63
|
-
applies_to:
|
|
63
|
+
applies_to: Yn berthnasol i
|
|
64
64
|
connectors:
|
|
65
65
|
last_word:
|
|
66
66
|
two_words:
|
|
@@ -72,7 +72,7 @@ cy:
|
|
|
72
72
|
detailed_guide:
|
|
73
73
|
guidance:
|
|
74
74
|
publication:
|
|
75
|
-
wales:
|
|
75
|
+
wales: Gymru
|
|
76
76
|
feedback:
|
|
77
77
|
close: Cau
|
|
78
78
|
dont_include_personal_info: Peidiwch â chynnwys gwybodaeth bersonol neu ariannol fel eich rhif Yswiriant Gwladol neu rif cerdyn credyd.
|
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: 38.4.
|
|
4
|
+
version: 38.4.2
|
|
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: 2024-
|
|
11
|
+
date: 2024-06-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: govuk_app_config
|
|
@@ -1605,7 +1605,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1605
1605
|
- !ruby/object:Gem::Version
|
|
1606
1606
|
version: '0'
|
|
1607
1607
|
requirements: []
|
|
1608
|
-
rubygems_version: 3.5.
|
|
1608
|
+
rubygems_version: 3.5.11
|
|
1609
1609
|
signing_key:
|
|
1610
1610
|
specification_version: 4
|
|
1611
1611
|
summary: A gem to document components in GOV.UK frontend applications
|