govuk_publishing_components 27.8.0 → 27.9.1
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/google-analytics-universal-tracker.js +9 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics/init.js +12 -8
- data/app/assets/javascripts/govuk_publishing_components/components/intervention.js +1 -0
- data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +20 -40
- data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +13 -10
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +0 -12
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +434 -366
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +17 -10
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_organisation-logo.scss +3 -0
- data/app/views/govuk_publishing_components/components/_intervention.html.erb +39 -26
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -4
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +80 -74
- data/app/views/govuk_publishing_components/components/_search.html.erb +1 -0
- data/app/views/govuk_publishing_components/components/docs/intervention.yml +45 -6
- data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +0 -8
- data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +12 -3
- data/app/views/govuk_publishing_components/components/docs/title.yml +0 -11
- data/app/views/govuk_publishing_components/components/layout_for_public/_account-layout.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb +0 -9
- data/app/views/govuk_publishing_components/components/search/_search_icon.html.erb +28 -0
- data/config/locales/en.yml +3 -14
- data/lib/govuk_publishing_components/presenters/intervention_helper.rb +19 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/lib/govuk_publishing_components.rb +1 -0
- metadata +5 -3
- data/app/views/govuk_publishing_components/components/layout_for_public/_account-feedback-footer.html.erb +0 -18
@@ -30,6 +30,7 @@ require "govuk_publishing_components/presenters/schema_org"
|
|
30
30
|
require "govuk_publishing_components/presenters/heading_helper"
|
31
31
|
require "govuk_publishing_components/presenters/contents_list_helper"
|
32
32
|
require "govuk_publishing_components/presenters/image_card_helper"
|
33
|
+
require "govuk_publishing_components/presenters/intervention_helper"
|
33
34
|
require "govuk_publishing_components/presenters/organisation_logo_helper"
|
34
35
|
require "govuk_publishing_components/presenters/highlight_boxes_helper"
|
35
36
|
require "govuk_publishing_components/presenters/taxonomy_list_helper"
|
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: 27.
|
4
|
+
version: 27.9.1
|
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-10-
|
11
|
+
date: 2021-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -642,6 +642,7 @@ files:
|
|
642
642
|
- app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak-html-publication.scss
|
643
643
|
- app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss
|
644
644
|
- app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss
|
645
|
+
- app/assets/stylesheets/govuk_publishing_components/components/print/_organisation-logo.scss
|
645
646
|
- app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss
|
646
647
|
- app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss
|
647
648
|
- app/assets/stylesheets/govuk_publishing_components/components/print/_textarea.scss
|
@@ -835,7 +836,6 @@ files:
|
|
835
836
|
- app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
|
836
837
|
- app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
|
837
838
|
- app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb
|
838
|
-
- app/views/govuk_publishing_components/components/layout_for_public/_account-feedback-footer.html.erb
|
839
839
|
- app/views/govuk_publishing_components/components/layout_for_public/_account-layout.html.erb
|
840
840
|
- app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
|
841
841
|
- app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb
|
@@ -843,6 +843,7 @@ files:
|
|
843
843
|
- app/views/govuk_publishing_components/components/layout_header/_search.html.erb
|
844
844
|
- app/views/govuk_publishing_components/components/metadata/_sentence.html.erb
|
845
845
|
- app/views/govuk_publishing_components/components/related_navigation/_section.html.erb
|
846
|
+
- app/views/govuk_publishing_components/components/search/_search_icon.html.erb
|
846
847
|
- app/views/layouts/govuk_publishing_components/application.html.erb
|
847
848
|
- config/i18n-tasks.yml
|
848
849
|
- config/initializers/assets.rb
|
@@ -942,6 +943,7 @@ files:
|
|
942
943
|
- lib/govuk_publishing_components/presenters/heading_helper.rb
|
943
944
|
- lib/govuk_publishing_components/presenters/highlight_boxes_helper.rb
|
944
945
|
- lib/govuk_publishing_components/presenters/image_card_helper.rb
|
946
|
+
- lib/govuk_publishing_components/presenters/intervention_helper.rb
|
945
947
|
- lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb
|
946
948
|
- lib/govuk_publishing_components/presenters/machine_readable/creative_work_schema.rb
|
947
949
|
- lib/govuk_publishing_components/presenters/machine_readable/dataset_schema.rb
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<%= tag.div(class: "govuk-width-container") do %>
|
2
|
-
<%= tag.div(class: "gem-c-layout-for-public-account-feedback-footer") do %>
|
3
|
-
<%= render "govuk_publishing_components/components/heading", {
|
4
|
-
text: t("components.layout_for_public.account_layout.feedback.banners.title"),
|
5
|
-
heading_level: 2,
|
6
|
-
font_size: "m",
|
7
|
-
margin_bottom: 4,
|
8
|
-
} %>
|
9
|
-
|
10
|
-
<p class="govuk-body govuk-!-margin-bottom-0">
|
11
|
-
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_intro") %>
|
12
|
-
<a href="<%= GovukPersonalisation::Urls.feedback %>" class="govuk-link">
|
13
|
-
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_link") %>
|
14
|
-
</a>
|
15
|
-
<%= t("components.layout_for_public.account_layout.feedback.banners.footer_outro") %>
|
16
|
-
</p>
|
17
|
-
<% end %>
|
18
|
-
<% end %>
|