govuk_publishing_components 37.2.1 → 37.2.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 +7 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +1 -1
- data/config/locales/en.yml +1 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +2 -3
- data/app/assets/javascripts/govuk_publishing_components/lib/current-location.js +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1dd71c47ab9d769b9dd6f691ccee6bbb78fad2e7354c9c2a1f78346e2aa9d93d
|
|
4
|
+
data.tar.gz: 63208f337846034a12a847f64047ca660a621caef8ac55038a05633194004542
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d216ad96144deb5dbb16a130d5e31546b2bb80dd15db040e92799be492e699ea8ae420eea90b8d41490002b0c089a3a98697715133bb97a7f63e00a9be6109ce
|
|
7
|
+
data.tar.gz: 9f32a50ce72e2512e2ac956f055b3c5abae822987736a6c2a2b672cb8faaca3c22c7eb9f121b04254e299705cee57d686827bb650bd53c98bb35841aea29dbc5
|
|
@@ -45,7 +45,7 @@ window.GOVUK.analyticsGa4.analyticsModules = window.GOVUK.analyticsGa4.analytics
|
|
|
45
45
|
first_published_at: this.stripTimeFrom(this.getMetaContent('first-published-at')),
|
|
46
46
|
updated_at: this.stripTimeFrom(this.getMetaContent('updated-at')),
|
|
47
47
|
public_updated_at: this.stripTimeFrom(this.getMetaContent('public-updated-at')),
|
|
48
|
-
publishing_government: this.getMetaContent('publishing-government') || this.getMetaContent('ga4-publishing-government'),
|
|
48
|
+
publishing_government: this.removeHyphensAndDowncase(this.getMetaContent('publishing-government') || this.getMetaContent('ga4-publishing-government')),
|
|
49
49
|
political_status: this.getMetaContent('political-status') || this.getMetaContent('ga4-political-status'),
|
|
50
50
|
primary_publishing_organisation: this.getMetaContent('primary-publishing-organisation'),
|
|
51
51
|
organisations: this.getMetaContent('analytics:organisations'),
|
|
@@ -69,6 +69,12 @@ window.GOVUK.analyticsGa4.analyticsModules = window.GOVUK.analyticsGa4.analytics
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
|
|
72
|
+
removeHyphensAndDowncase: function (text) {
|
|
73
|
+
if (text) {
|
|
74
|
+
return text.replace(/-/g, ' ').toLowerCase()
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
|
|
72
78
|
getLocation: function () {
|
|
73
79
|
return this.PIIRemover.stripPIIWithOverride(this.stripGaParam(document.location.href), true, true)
|
|
74
80
|
},
|
|
@@ -449,7 +449,7 @@ $top-border: solid 1px govuk-colour("mid-grey", $legacy: "grey-3");
|
|
|
449
449
|
|
|
450
450
|
.gem-c-step-nav--large & + .gem-c-step-nav__list {
|
|
451
451
|
@include govuk-media-query($from: tablet) {
|
|
452
|
-
margin-top: -govuk-spacing(3);
|
|
452
|
+
margin-top: -(govuk-spacing(3));
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
}
|
data/config/locales/en.yml
CHANGED
|
@@ -305,7 +305,7 @@ en:
|
|
|
305
305
|
label: Search on GOV.UK
|
|
306
306
|
search_button: Search
|
|
307
307
|
share_links:
|
|
308
|
-
all_opens_in_new_tab:
|
|
308
|
+
all_opens_in_new_tab: The following links open in a new tab
|
|
309
309
|
opens_in_new_tab: "(opens in new tab)"
|
|
310
310
|
show_password:
|
|
311
311
|
announce_hide: Your password is hidden
|
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: 37.2.
|
|
4
|
+
version: 37.2.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-01-
|
|
11
|
+
date: 2024-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: govuk_app_config
|
|
@@ -521,7 +521,6 @@ files:
|
|
|
521
521
|
- app/assets/javascripts/govuk_publishing_components/lib.js
|
|
522
522
|
- app/assets/javascripts/govuk_publishing_components/lib/cookie-functions.js
|
|
523
523
|
- app/assets/javascripts/govuk_publishing_components/lib/cookie-settings.js
|
|
524
|
-
- app/assets/javascripts/govuk_publishing_components/lib/current-location.js
|
|
525
524
|
- app/assets/javascripts/govuk_publishing_components/lib/extend-object.js
|
|
526
525
|
- app/assets/javascripts/govuk_publishing_components/lib/govspeak/all.js
|
|
527
526
|
- app/assets/javascripts/govuk_publishing_components/lib/govspeak/barchart-enhancement.js
|