govuk_publishing_components 33.1.0 → 34.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +0 -1
  3. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +28 -0
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +11 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +19 -0
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +20 -0
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +6 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +6 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +8 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +83 -0
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +6 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +15 -0
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +6 -0
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +16 -0
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_title.scss +10 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_contents-list-helper.scss +0 -1
  17. data/app/controllers/govuk_publishing_components/component_guide_controller.rb +6 -9
  18. data/app/views/govuk_publishing_components/component_guide/_application_stylesheet.html.erb +0 -3
  19. data/app/views/govuk_publishing_components/component_guide/index.html.erb +0 -7
  20. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -2
  21. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +0 -1
  22. data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -2
  23. data/config/locales/ar.yml +0 -7
  24. data/config/locales/az.yml +1 -7
  25. data/config/locales/be.yml +0 -7
  26. data/config/locales/bg.yml +0 -7
  27. data/config/locales/bn.yml +0 -7
  28. data/config/locales/cs.yml +0 -7
  29. data/config/locales/cy.yml +0 -7
  30. data/config/locales/da.yml +0 -7
  31. data/config/locales/de.yml +0 -7
  32. data/config/locales/dr.yml +0 -7
  33. data/config/locales/el.yml +0 -7
  34. data/config/locales/en.yml +0 -7
  35. data/config/locales/es-419.yml +0 -7
  36. data/config/locales/es.yml +0 -7
  37. data/config/locales/et.yml +0 -7
  38. data/config/locales/fa.yml +1 -7
  39. data/config/locales/fi.yml +0 -7
  40. data/config/locales/fr.yml +0 -7
  41. data/config/locales/gd.yml +0 -7
  42. data/config/locales/gu.yml +0 -7
  43. data/config/locales/he.yml +0 -7
  44. data/config/locales/hi.yml +0 -7
  45. data/config/locales/hr.yml +0 -7
  46. data/config/locales/hu.yml +0 -7
  47. data/config/locales/hy.yml +0 -7
  48. data/config/locales/id.yml +0 -7
  49. data/config/locales/is.yml +0 -7
  50. data/config/locales/it.yml +0 -7
  51. data/config/locales/ja.yml +0 -7
  52. data/config/locales/ka.yml +0 -7
  53. data/config/locales/kk.yml +0 -7
  54. data/config/locales/ko.yml +0 -7
  55. data/config/locales/lt.yml +0 -7
  56. data/config/locales/lv.yml +0 -7
  57. data/config/locales/ms.yml +0 -7
  58. data/config/locales/mt.yml +0 -7
  59. data/config/locales/nl.yml +0 -7
  60. data/config/locales/no.yml +0 -7
  61. data/config/locales/pa-pk.yml +0 -7
  62. data/config/locales/pa.yml +0 -7
  63. data/config/locales/pl.yml +0 -7
  64. data/config/locales/ps.yml +0 -7
  65. data/config/locales/pt.yml +0 -7
  66. data/config/locales/ro.yml +0 -7
  67. data/config/locales/ru.yml +0 -7
  68. data/config/locales/si.yml +0 -7
  69. data/config/locales/sk.yml +0 -7
  70. data/config/locales/sl.yml +0 -7
  71. data/config/locales/so.yml +0 -7
  72. data/config/locales/sq.yml +0 -7
  73. data/config/locales/sr.yml +0 -7
  74. data/config/locales/sv.yml +0 -7
  75. data/config/locales/sw.yml +0 -7
  76. data/config/locales/ta.yml +0 -7
  77. data/config/locales/th.yml +0 -7
  78. data/config/locales/tk.yml +0 -7
  79. data/config/locales/tr.yml +0 -7
  80. data/config/locales/uk.yml +0 -7
  81. data/config/locales/ur.yml +0 -7
  82. data/config/locales/uz.yml +0 -7
  83. data/config/locales/vi.yml +0 -7
  84. data/config/locales/zh-hk.yml +0 -7
  85. data/config/locales/zh-tw.yml +0 -7
  86. data/config/locales/zh.yml +0 -7
  87. data/lib/govuk_publishing_components/config.rb +0 -3
  88. data/lib/govuk_publishing_components/version.rb +1 -1
  89. metadata +2 -17
  90. data/app/assets/stylesheets/component_guide/print.scss +0 -1
  91. data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +0 -18
  92. data/app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss +0 -28
  93. data/app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss +0 -8
  94. data/app/assets/stylesheets/govuk_publishing_components/components/print/_cards.scss +0 -4
  95. data/app/assets/stylesheets/govuk_publishing_components/components/print/_contents-list.scss +0 -19
  96. data/app/assets/stylesheets/govuk_publishing_components/components/print/_emergency-banner.scss +0 -3
  97. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak-html-publication.scss +0 -5
  98. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +0 -80
  99. data/app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss +0 -3
  100. data/app/assets/stylesheets/govuk_publishing_components/components/print/_organisation-logo.scss +0 -7
  101. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss +0 -7
  102. data/app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss +0 -116
  103. data/app/assets/stylesheets/govuk_publishing_components/components/print/_textarea.scss +0 -13
  104. data/app/assets/stylesheets/govuk_publishing_components/components/print/_title.scss +0 -7
@@ -163,13 +163,6 @@ uk:
163
163
  statistical_data_sets: Набір статистичних даних
164
164
  topical_events: Актуальна подія
165
165
  topics: Дослідити тему
166
- transition:
167
- hub_page_link_path: "/transition-check/questions"
168
- hub_page_link_text: Отримати персоналізований список дій
169
- hub_page_title: Інструмент перевірки Brexit
170
- link_path: "/brexit"
171
- link_text: Перевірте, що вам потрібно зробити
172
- title: Brexit
173
166
  ukraine:
174
167
  links:
175
168
  title:
@@ -153,13 +153,6 @@ ur:
153
153
  statistical_data_sets: شماریاتی ڈیٹا سیٹ
154
154
  topical_events: موضوعاتی ایونٹ
155
155
  topics: موضوع کے بارے میں مزید جانیں
156
- transition:
157
- hub_page_link_path: "/transition-check/questions"
158
- hub_page_link_text: کارروائیوں کی شخصی کردہ فہرست حاصل کریں
159
- hub_page_title: Brexit چیکر
160
- link_path: "/brexit"
161
- link_text: پڑتال کریں کہ آپ کو کیا کرنے کی ضرورت ہے
162
- title: Brexit
163
156
  ukraine:
164
157
  links:
165
158
  title:
@@ -158,13 +158,6 @@ uz:
158
158
  statistical_data_sets: Статистик маълумотлар жамланмаси
159
159
  topical_events: Долзарб воқеа
160
160
  topics: Мавзуни тадқиқот қилиш
161
- transition:
162
- hub_page_link_path: "/transition-check/questions"
163
- hub_page_link_text: Ҳаракатларнинг шахсий рўйхатини олиш
164
- hub_page_title: Брексит бўйича текширишлар дастури
165
- link_path: "/brexit"
166
- link_text: Нима қилиш зарурлигини текшириш
167
- title: Брексит
168
161
  ukraine:
169
162
  links:
170
163
  title:
@@ -155,13 +155,6 @@ vi:
155
155
  statistical_data_sets: Bộ dữ liệu thống kê
156
156
  topical_events: Sự kiện chuyên đề
157
157
  topics: Khám phá chủ đề
158
- transition:
159
- hub_page_link_path: "/transition-check/questions"
160
- hub_page_link_text: Nhận danh sách các hành động được cá nhân hóa
161
- hub_page_title: Công cụ kiểm tra Brexit
162
- link_path: "/brexit"
163
- link_text: Kiểm tra những gì bạn cần làm
164
- title: Brexit
165
158
  ukraine:
166
159
  links:
167
160
  title:
@@ -154,13 +154,6 @@ zh-hk:
154
154
  statistical_data_sets: 統計資料組
155
155
  topical_events: 專題活動
156
156
  topics: 了解專題
157
- transition:
158
- hub_page_link_path: "/transition-check/questions"
159
- hub_page_link_text: 獲得一份個人化行動列表
160
- hub_page_title: 英國脫歐核查
161
- link_path: "/brexit"
162
- link_text: 查看您需要做的事
163
- title: 英國脫歐
164
157
  ukraine:
165
158
  links:
166
159
  title:
@@ -154,13 +154,6 @@ zh-tw:
154
154
  statistical_data_sets: 統計數據組
155
155
  topical_events: 主題活動
156
156
  topics: 探索主題
157
- transition:
158
- hub_page_link_path: "/transition-check/questions"
159
- hub_page_link_text: 獲取個人化操作列表
160
- hub_page_title: 脫歐確認器
161
- link_path: "/brexit"
162
- link_text: 確認你需要:
163
- title: 脫歐
164
157
  ukraine:
165
158
  links:
166
159
  title:
@@ -154,13 +154,6 @@ zh:
154
154
  statistical_data_sets: 统计数据集
155
155
  topical_events: 局部事件
156
156
  topics: 探索本主题
157
- transition:
158
- hub_page_link_path: "/transition-check/questions"
159
- hub_page_link_text: 获得个性化的操作列表
160
- hub_page_title: 英国脱欧检查程序
161
- link_path: "/brexit"
162
- link_text: 检查您需要做的事情
163
- title: 英国脱欧
164
157
  ukraine:
165
158
  links:
166
159
  title:
@@ -12,9 +12,6 @@ module GovukPublishingComponents
12
12
  mattr_accessor :application_stylesheet
13
13
  self.application_stylesheet = "application"
14
14
 
15
- mattr_accessor :application_print_stylesheet
16
- self.application_print_stylesheet = "print"
17
-
18
15
  mattr_accessor :application_javascript
19
16
  self.application_javascript = "application"
20
17
 
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "33.1.0".freeze
2
+ VERSION = "34.0.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: 33.1.0
4
+ version: 34.0.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-12-02 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -515,9 +515,7 @@ files:
515
515
  - app/assets/javascripts/govuk_publishing_components/vendor/polyfills/common.js
516
516
  - app/assets/javascripts/govuk_publishing_components/vendor/polyfills/indexOf.js
517
517
  - app/assets/stylesheets/component_guide/application.scss
518
- - app/assets/stylesheets/component_guide/print.scss
519
518
  - app/assets/stylesheets/govuk_publishing_components/_all_components.scss
520
- - app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss
521
519
  - app/assets/stylesheets/govuk_publishing_components/component_support.scss
522
520
  - app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss
523
521
  - app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss
@@ -624,19 +622,6 @@ files:
624
622
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_margins.scss
625
623
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_media-down.scss
626
624
  - app/assets/stylesheets/govuk_publishing_components/components/mixins/_prefixed-transform.scss
627
- - app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss
628
- - app/assets/stylesheets/govuk_publishing_components/components/print/_button.scss
629
- - app/assets/stylesheets/govuk_publishing_components/components/print/_cards.scss
630
- - app/assets/stylesheets/govuk_publishing_components/components/print/_contents-list.scss
631
- - app/assets/stylesheets/govuk_publishing_components/components/print/_emergency-banner.scss
632
- - app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak-html-publication.scss
633
- - app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss
634
- - app/assets/stylesheets/govuk_publishing_components/components/print/_layout-super-navigation-header.scss
635
- - app/assets/stylesheets/govuk_publishing_components/components/print/_organisation-logo.scss
636
- - app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav-header.scss
637
- - app/assets/stylesheets/govuk_publishing_components/components/print/_step-by-step-nav.scss
638
- - app/assets/stylesheets/govuk_publishing_components/components/print/_textarea.scss
639
- - app/assets/stylesheets/govuk_publishing_components/components/print/_title.scss
640
625
  - app/assets/stylesheets/govuk_publishing_components/govuk_frontend_support.scss
641
626
  - app/controllers/govuk_publishing_components/application_controller.rb
642
627
  - app/controllers/govuk_publishing_components/audit_controller.rb
@@ -1 +0,0 @@
1
- @import "govuk_publishing_components/all_components_print";
@@ -1,18 +0,0 @@
1
- // This is the file that the application needs to include in order to use
2
- // the components.
3
-
4
- @import "govuk_frontend_support";
5
-
6
- @import "components/print/accordion";
7
- @import "components/print/button";
8
- @import "components/print/cards";
9
- @import "components/print/contents-list";
10
- @import "components/print/emergency-banner";
11
- @import "components/print/govspeak-html-publication";
12
- @import "components/print/govspeak";
13
- @import "components/print/layout-super-navigation-header";
14
- @import "components/print/organisation-logo";
15
- @import "components/print/step-by-step-nav-header";
16
- @import "components/print/step-by-step-nav";
17
- @import "components/print/textarea";
18
- @import "components/print/title";
@@ -1,28 +0,0 @@
1
- // This is in place until a proper fix comes through from GOV.UK Frontend.
2
- //
3
- // TODO: Replace with the print styles that will come from GOV.UK Frontend.
4
-
5
- @import "govuk_publishing_components/component_support";
6
- @import "../accordion";
7
-
8
- // Open all of the accordion sections.
9
- .govuk-accordion__section-content {
10
- display: block !important; // stylelint-disable-line declaration-no-important
11
- }
12
-
13
- // Change the colour from the blue link colour to black.
14
- .govuk-accordion__section-button {
15
- color: govuk-colour("black") !important; // stylelint-disable-line declaration-no-important
16
- }
17
-
18
- // Change the summary subheading size.
19
- .govuk-accordion__section-summary {
20
- @include govuk-typography-common;
21
- @include govuk-typography-responsive($size: 16, $important: true);
22
- }
23
-
24
- // Hide the unusable "Open all" button and the "+" icons.
25
- .govuk-accordion__open-all,
26
- .govuk-accordion__icon {
27
- display: none !important; // stylelint-disable-line declaration-no-important
28
- }
@@ -1,8 +0,0 @@
1
- .gem-c-button {
2
- @include govuk-font(14);
3
- display: inline-block;
4
- padding: govuk-spacing(1);
5
- border: solid 1px govuk-colour("black");
6
- color: $govuk-text-colour;
7
- text-decoration: none;
8
- }
@@ -1,4 +0,0 @@
1
- .gem-c-cards__sub-heading {
2
- margin-top: govuk-spacing(6);
3
- margin-bottom: govuk-spacing(1);
4
- }
@@ -1,19 +0,0 @@
1
- @import "../helpers/contents-list-helper";
2
-
3
- // Override default browser indentation
4
- .gem-c-contents-list__list,
5
- .gem-c-contents-list__nested-list {
6
- padding-left: 0;
7
- margin-left: 0;
8
- }
9
-
10
- // Put indentation back where we use list style types
11
- .gem-c-contents-list__list-item--dashed {
12
- margin-left: govuk-spacing(3);
13
- list-style-type: disc;
14
- }
15
-
16
- .gem-c-contents-list__list-item--numbered,
17
- .gem-c-contents-list__list-item--parent {
18
- list-style-type: none;
19
- }
@@ -1,3 +0,0 @@
1
- .gem-c-emergency-banner {
2
- display: none;
3
- }
@@ -1,5 +0,0 @@
1
- .gem-c-govspeak-html-publication {
2
- .govuk-sticky-element {
3
- display: none;
4
- }
5
- }
@@ -1,80 +0,0 @@
1
- // stylelint-disable max-nesting-depth
2
-
3
- .gem-c-govspeak {
4
- .media-player {
5
- display: none;
6
- }
7
-
8
- .info-notice,
9
- .help-notice,
10
- .call-to-action {
11
- margin: govuk-spacing(3) 0;
12
- }
13
-
14
- .call-to-action {
15
- background: none;
16
- border: 1pt solid $govuk-border-colour;
17
- padding: govuk-spacing(3);
18
- }
19
-
20
- .help-notice p {
21
- font-weight: 700;
22
- }
23
-
24
- .fraction {
25
- img {
26
- display: inline-block;
27
- margin-bottom: -7px;
28
- }
29
- }
30
-
31
- .attachment {
32
- margin: govuk-spacing(6) 0;
33
-
34
- &:first-child {
35
- margin-top: 0;
36
- }
37
-
38
- .attachment-thumb {
39
- display: none;
40
- }
41
-
42
- .attachment-details {
43
- .download {
44
- display: block;
45
- }
46
- }
47
-
48
- .accessibility-warning {
49
- h2 {
50
- @include govuk-font(14);
51
- }
52
-
53
- .toggler {
54
- display: none;
55
- }
56
- }
57
- }
58
-
59
- .footnotes {
60
- border-top: 1px solid $govuk-text-colour;
61
-
62
- a[role="doc-backlink"] {
63
- display: none;
64
- }
65
- }
66
-
67
- .legislative-list {
68
- padding-left: 0;
69
-
70
- &,
71
- ol {
72
- list-style: none;
73
- }
74
- }
75
-
76
- .mc-toggle-button,
77
- .mc-chart-container {
78
- display: none;
79
- }
80
- }
@@ -1,3 +0,0 @@
1
- .gem-c-layout-super-navigation-header__content {
2
- display: none;
3
- }
@@ -1,7 +0,0 @@
1
- .gem-c-organisation-logo {
2
- width: 25%;
3
- }
4
-
5
- .gem-c-organisation-logo__image {
6
- max-width: 100%;
7
- }
@@ -1,7 +0,0 @@
1
- .gem-c-step-nav-header__part-of {
2
- display: block;
3
- }
4
-
5
- .gem-c-step-nav-header__title {
6
- @include govuk-font(24, $weight: bold);
7
- }
@@ -1,116 +0,0 @@
1
- $grey-2: #bfc1c3;
2
- $white: #ffffff;
3
- $number-circle-size: 35px;
4
- $stroke-width: 1px;
5
-
6
- .gem-c-step-nav:not(.gem-c-step-nav--large),
7
- .gem-c-step-nav__controls,
8
- .gem-c-step-nav__toggle-link,
9
- .gem-c-step-nav__help {
10
- display: none;
11
- }
12
-
13
- .gem-c-step-nav {
14
- position: relative;
15
-
16
- &:before {
17
- content: "";
18
- position: absolute;
19
- top: 0;
20
- left: $number-circle-size / 2;
21
- width: 3px;
22
- height: 100%;
23
- margin-left: -1.5px;
24
- border-left: solid $stroke-width $grey-2;
25
- }
26
-
27
- &:after {
28
- content: "";
29
- position: absolute;
30
- z-index: 6;
31
- bottom: 0;
32
- left: 0;
33
- margin-left: $number-circle-size / 4;
34
- width: $number-circle-size / 2;
35
- height: 0;
36
- border-bottom: solid $stroke-width $grey-2;
37
- }
38
- }
39
-
40
- .gem-c-step-nav__step {
41
- padding-left: 60px;
42
- position: relative;
43
- }
44
-
45
- .gem-c-step-nav__steps {
46
- padding: 0;
47
- list-style: none;
48
- }
49
-
50
- .gem-c-step-nav__circle {
51
- box-sizing: border-box;
52
- position: absolute;
53
- top: 0;
54
- left: 0;
55
- width: $number-circle-size;
56
- height: $number-circle-size;
57
- background: govuk-colour("white");
58
- border-radius: 100px;
59
- text-align: center;
60
- font-size: 19px;
61
- font-weight: bold;
62
- line-height: 1.5;
63
- }
64
-
65
- .gem-c-step-nav__circle--number {
66
- border: solid 1px $grey-2;
67
- }
68
-
69
- .gem-c-step-nav__step,
70
- .gem-c-step-nav__paragraph,
71
- .gem-c-step-nav__links {
72
- @include govuk-font(16);
73
- padding-bottom: 1em;
74
- }
75
-
76
- .gem-c-step-nav__title {
77
- @include govuk-font(19, $weight: bold);
78
- margin: 0 0 .5em;
79
- padding: 0;
80
- }
81
-
82
- .gem-c-step-nav__button--title {
83
- @include govuk-font(19, $weight: bold);
84
- padding: 0;
85
- border: 0;
86
- background: none;
87
- }
88
-
89
- .gem-c-step-nav__context {
90
- &:before {
91
- content: " \2013 ";
92
- }
93
- }
94
-
95
- .gem-c-step-nav__panel-link--active {
96
- font-weight: bold;
97
- }
98
-
99
- .gem-c-step-nav__links {
100
- padding-left: 0;
101
- list-style: none;
102
- }
103
-
104
- .gem-c-step-nav__links--choice {
105
- padding-left: 30px;
106
- list-style: disc;
107
- }
108
-
109
- .gem-c-step-nav__link {
110
- margin-bottom: .3em;
111
- }
112
-
113
- .gem-c-step-nav__circle-step-label,
114
- .gem-c-step-nav__circle-step-colon {
115
- display: none;
116
- }
@@ -1,13 +0,0 @@
1
- .gem-c-textarea {
2
- .gem-c-label,
3
- .gem-c-error-message,
4
- .govuk-hint,
5
- .govuk-character-count__message {
6
- display: block;
7
- }
8
-
9
- .govuk-textarea {
10
- width: 400px;
11
- height: 40px;
12
- }
13
- }
@@ -1,7 +0,0 @@
1
- .gem-c-title__context {
2
- margin: 0;
3
- }
4
-
5
- .gem-c-title__text {
6
- margin-top: 0;
7
- }