govuk_publishing_components 27.8.1 → 27.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/intervention.js +1 -0
  3. data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +18 -40
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +13 -10
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +0 -12
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +431 -363
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +17 -10
  8. data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss +2 -2
  9. data/app/views/govuk_publishing_components/components/_intervention.html.erb +39 -26
  10. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -4
  11. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +80 -74
  12. data/app/views/govuk_publishing_components/components/_search.html.erb +1 -0
  13. data/app/views/govuk_publishing_components/components/docs/intervention.yml +45 -6
  14. data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +0 -8
  15. data/app/views/govuk_publishing_components/components/docs/layout_super_navigation_header.yml +12 -3
  16. data/app/views/govuk_publishing_components/components/docs/title.yml +0 -11
  17. data/app/views/govuk_publishing_components/components/layout_for_public/_account-layout.html.erb +1 -1
  18. data/app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb +0 -9
  19. data/app/views/govuk_publishing_components/components/search/_search_icon.html.erb +28 -0
  20. data/config/locales/en.yml +3 -14
  21. data/lib/govuk_publishing_components/presenters/intervention_helper.rb +19 -0
  22. data/lib/govuk_publishing_components/version.rb +1 -1
  23. data/lib/govuk_publishing_components.rb +1 -0
  24. metadata +4 -3
  25. 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.8.1
4
+ version: 27.9.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: 2021-10-22 00:00:00.000000000 Z
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
@@ -836,7 +836,6 @@ files:
836
836
  - app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb
837
837
  - app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb
838
838
  - app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb
839
- - app/views/govuk_publishing_components/components/layout_for_public/_account-feedback-footer.html.erb
840
839
  - app/views/govuk_publishing_components/components/layout_for_public/_account-layout.html.erb
841
840
  - app/views/govuk_publishing_components/components/layout_for_public/_account-navigation.html.erb
842
841
  - app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb
@@ -844,6 +843,7 @@ files:
844
843
  - app/views/govuk_publishing_components/components/layout_header/_search.html.erb
845
844
  - app/views/govuk_publishing_components/components/metadata/_sentence.html.erb
846
845
  - app/views/govuk_publishing_components/components/related_navigation/_section.html.erb
846
+ - app/views/govuk_publishing_components/components/search/_search_icon.html.erb
847
847
  - app/views/layouts/govuk_publishing_components/application.html.erb
848
848
  - config/i18n-tasks.yml
849
849
  - config/initializers/assets.rb
@@ -943,6 +943,7 @@ files:
943
943
  - lib/govuk_publishing_components/presenters/heading_helper.rb
944
944
  - lib/govuk_publishing_components/presenters/highlight_boxes_helper.rb
945
945
  - lib/govuk_publishing_components/presenters/image_card_helper.rb
946
+ - lib/govuk_publishing_components/presenters/intervention_helper.rb
946
947
  - lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb
947
948
  - lib/govuk_publishing_components/presenters/machine_readable/creative_work_schema.rb
948
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 %>