govuk_publishing_components 29.3.0 → 29.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics/custom-dimensions.js +1 -0
- data/app/assets/stylesheets/component_guide/application.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss +3 -3
- data/app/views/govuk_publishing_components/components/_intervention.html.erb +0 -2
- data/config/locales/ar.yml +1 -0
- data/config/locales/az.yml +1 -0
- data/config/locales/be.yml +1 -0
- data/config/locales/bg.yml +1 -0
- data/config/locales/bn.yml +1 -0
- data/config/locales/cs.yml +1 -0
- data/config/locales/cy.yml +1 -0
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +1 -0
- data/config/locales/dr.yml +1 -0
- data/config/locales/el.yml +1 -0
- data/config/locales/en.yml +56 -3
- data/config/locales/es-419.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/et.yml +1 -0
- data/config/locales/fa.yml +1 -0
- data/config/locales/fi.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/gd.yml +1 -0
- data/config/locales/gu.yml +1 -0
- data/config/locales/he.yml +1 -0
- data/config/locales/hi.yml +1 -0
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +1 -0
- data/config/locales/hy.yml +1 -0
- data/config/locales/id.yml +1 -0
- data/config/locales/is.yml +1 -0
- data/config/locales/it.yml +1 -0
- data/config/locales/ja.yml +1 -0
- data/config/locales/ka.yml +1 -0
- data/config/locales/kk.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/lt.yml +1 -0
- data/config/locales/lv.yml +1 -0
- data/config/locales/ms.yml +1 -0
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +1 -0
- data/config/locales/no.yml +1 -0
- data/config/locales/pa-pk.yml +1 -0
- data/config/locales/pa.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/ps.yml +1 -0
- data/config/locales/pt.yml +1 -0
- data/config/locales/ro.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/config/locales/si.yml +1 -0
- data/config/locales/sk.yml +1 -0
- data/config/locales/sl.yml +1 -0
- data/config/locales/so.yml +1 -0
- data/config/locales/sq.yml +1 -0
- data/config/locales/sr.yml +1 -0
- data/config/locales/sv.yml +1 -0
- data/config/locales/sw.yml +1 -0
- data/config/locales/ta.yml +1 -0
- data/config/locales/th.yml +1 -0
- data/config/locales/tk.yml +1 -0
- data/config/locales/tr.yml +1 -0
- data/config/locales/uk.yml +1 -0
- data/config/locales/ur.yml +1 -0
- data/config/locales/uz.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-hk.yml +1 -0
- data/config/locales/zh-tw.yml +1 -0
- data/config/locales/zh.yml +1 -0
- data/lib/govuk_publishing_components/presenters/attachment.rb +5 -2
- data/lib/govuk_publishing_components/presenters/meta_tags.rb +4 -2
- data/lib/govuk_publishing_components/presenters/public_layout_helper.rb +18 -289
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +3 -4
- data/app/assets/javascripts/govuk_publishing_components/components/intervention.js +0 -17
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: 29.
|
4
|
+
version: 29.6.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: 2022-04-
|
11
|
+
date: 2022-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -464,7 +464,6 @@ files:
|
|
464
464
|
- app/assets/javascripts/govuk_publishing_components/components/error-summary.js
|
465
465
|
- app/assets/javascripts/govuk_publishing_components/components/feedback.js
|
466
466
|
- app/assets/javascripts/govuk_publishing_components/components/govspeak.js
|
467
|
-
- app/assets/javascripts/govuk_publishing_components/components/intervention.js
|
468
467
|
- app/assets/javascripts/govuk_publishing_components/components/layout-header.js
|
469
468
|
- app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js
|
470
469
|
- app/assets/javascripts/govuk_publishing_components/components/metadata.js
|
@@ -1891,7 +1890,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1891
1890
|
- !ruby/object:Gem::Version
|
1892
1891
|
version: '0'
|
1893
1892
|
requirements: []
|
1894
|
-
rubygems_version: 3.3.
|
1893
|
+
rubygems_version: 3.3.12
|
1895
1894
|
signing_key:
|
1896
1895
|
specification_version: 4
|
1897
1896
|
summary: A gem to document components in GOV.UK frontend applications
|
@@ -1,17 +0,0 @@
|
|
1
|
-
window.GOVUK = window.GOVUK || {}
|
2
|
-
window.GOVUK.Modules = window.GOVUK.Modules || {};
|
3
|
-
|
4
|
-
(function (Modules) {
|
5
|
-
function Intervention ($module) {
|
6
|
-
this.$module = $module
|
7
|
-
}
|
8
|
-
|
9
|
-
Intervention.prototype.init = function () {
|
10
|
-
if (window.GOVUK.analytics && window.GOVUK.analytics.trackEvent) {
|
11
|
-
// Send a tracking event when this component is shown
|
12
|
-
window.GOVUK.analytics.trackEvent('interventionBanner', 'interventionShown')
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
Modules.Intervention = Intervention
|
17
|
-
})(window.GOVUK.Modules)
|