govuk_publishing_components 27.8.2 → 27.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3763a55d9466b65e17b6d352fcbc6a646aebe57cb22dfca0918a8732244af04b
4
- data.tar.gz: 1cd543455e2a9881bb70efff661206cb6869ff7608f782429d767c8cf6287893
3
+ metadata.gz: 716757ceb3c2638a8c67e577bd15a1b62f9b65127ba98252084695f65ae961e9
4
+ data.tar.gz: 50c813732192c2f8a95a65f29cee6ad2ee9fceaa43f766f46d27c5b132db2fbc
5
5
  SHA512:
6
- metadata.gz: 0e50da185727b17d9440a957019e0231de4947251bfe3a06273f19e4a0d4fa60bc1b67c9a937877c6dd09f3ac494bc80fb287c767d6541bb4399b1ef194828e7
7
- data.tar.gz: 59f7ef7156937d87460beebe6c798c9307ef7472a84fa44eaaa9795e7d41adfb6510833ee16af03b54911c13a834b2514a0b026ad2a3fa2e62aa08dd0ef9be2e
6
+ metadata.gz: 1c7293c79a3baf87072f3994cb5b8eaee52838bf94b539681bc8cf3719e4e2df1a0fe22c3683c1da9df0d0abb88cad4c57a7aa75e267274db3f2bad90b3606a3
7
+ data.tar.gz: 4bcca70d40ad1f482bcc1b1bc7497ec43e1561262125f9009f6d5b119104c1684fe47f527a67ee56f49452e0861c60a6a8db083f8ad66333dde9f5b57c2d4847
@@ -52,15 +52,3 @@ $current-indicator-width: 4px;
52
52
  color: $govuk-link-colour;
53
53
  }
54
54
  }
55
-
56
- .gem-c-layout-for-public-account-feedback-footer {
57
- margin-bottom: govuk-spacing(4);
58
- padding: govuk-spacing(3);
59
- background: govuk-colour("light-grey");
60
-
61
- @include govuk-media-query($from: tablet) {
62
- padding: govuk-spacing(6);
63
- margin-top: govuk-spacing(2);
64
- margin-bottom: govuk-spacing(8);
65
- }
66
- }
@@ -17,7 +17,6 @@
17
17
 
18
18
  show_account_layout ||= false
19
19
  account_nav_location ||= nil
20
- omit_account_feedback_footer ||= false
21
20
  omit_account_navigation ||= false
22
21
  omit_account_phase_banner ||= false
23
22
 
@@ -136,9 +135,7 @@
136
135
  </div>
137
136
  <% end %>
138
137
 
139
- <% if show_account_layout && !omit_account_feedback_footer %>
140
- <%= render "govuk_publishing_components/components/layout_for_public/account-feedback-footer" %>
141
- <% elsif !omit_feedback_form %>
138
+ <% unless omit_feedback_form %>
142
139
  <div class="govuk-width-container">
143
140
  <%= render "govuk_publishing_components/components/feedback" %>
144
141
  </div>
@@ -68,14 +68,6 @@ examples:
68
68
  block: |
69
69
  <h2 class="govuk-heading-l">This is a title</h2>
70
70
  <p class="govuk-body">This is some body text with <a href="https://example.com">a link</a>.
71
- with_account_layout_but_without_account_feedback_footer:
72
- description: The account layout renders with an account-specific feedback banner by default. This flag allows this banner to be omitted.
73
- data:
74
- show_account_layout: true
75
- omit_account_feedback_footer: true
76
- block: |
77
- <h2 class="govuk-heading-l">This is a title</h2>
78
- <p class="govuk-body">This is some body text with <a href="https://example.com">a link</a>.</p>
79
71
  with_current_account_navigation:
80
72
  description: "The account layout renders with an account-specific nav to help users navigate different areas of their account. This flag is here to allow control over which option in the nav is highlighted as `current`. Valid options are currently `your-account`, `manage`, and `security`."
81
73
  data:
@@ -8,7 +8,7 @@
8
8
  <% end %>
9
9
 
10
10
  <%= render "govuk_publishing_components/components/phase_banner", {
11
- phase: "alpha",
11
+ phase: "beta",
12
12
  message: message
13
13
  } unless omit_account_phase_banner %>
14
14
 
@@ -19,14 +19,5 @@
19
19
  data: { module: "explicit-cross-domain-links" },
20
20
  ) %>
21
21
  </li>
22
- <li class="gem-c-layout-for-public-account-menu__item <%= "gem-c-layout-for-public-account-menu__item--current" if page_is == "security" %>">
23
- <%= link_to(
24
- t("components.layout_for_public.account_layout.navigation.menu_bar.security.link_text"),
25
- GovukPersonalisation::Urls.security,
26
- class: 'gem-c-layout-for-public-account-menu__link govuk-link govuk-link--no-visited-state',
27
- 'aria-current': page_is == "security" ? "page" : nil,
28
- data: { module: "explicit-cross-domain-links" },
29
- ) %>
30
- </li>
31
22
  </ul>
32
23
  </nav>
@@ -53,7 +53,7 @@ en:
53
53
  two_words: " and "
54
54
  type:
55
55
  consultation: Consultation for %{nation}
56
- detailed_guide: Guidance for %{nation}
56
+ detailed_guide: Guidance for %{nation}
57
57
  guidance: Guidance for %{nation}
58
58
  publication: Publication for %{nation}
59
59
  england: England
@@ -94,13 +94,9 @@ en:
94
94
  account_layout:
95
95
  feedback:
96
96
  banners:
97
- footer_intro: We’re trialling GOV.UK accounts.
98
- footer_link: Give feedback
99
- footer_outro: on your experience so we can make them better.
100
97
  phase_intro: We’re trialling GOV.UK accounts - your
101
98
  phase_link: feedback
102
99
  phase_outro: will help us improve them.
103
- title: Help improve GOV.UK accounts
104
100
  navigation:
105
101
  destroy_user_session: Sign out
106
102
  menu_bar:
@@ -108,8 +104,6 @@ en:
108
104
  link_text: Your account
109
105
  manage:
110
106
  link_text: Manage your account
111
- security:
112
- link_text: Security and privacy
113
107
  user_root_path: Account
114
108
  layout_header:
115
109
  hide_button: Hide search
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "27.8.2".freeze
2
+ VERSION = "27.9.0".freeze
3
3
  end
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.2
4
+ version: 27.9.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: 2021-10-25 00:00:00.000000000 Z
11
+ date: 2021-10-27 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
@@ -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 %>