govuk_publishing_components 54.0.1 → 55.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/lib/sticky-element-container.js +117 -0
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +5 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +6 -12
- data/app/assets/stylesheets/govuk_publishing_components/components/_back-to-top-link.scss +15 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss +58 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +46 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +1 -21
- data/app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss +57 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +0 -74
- data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +33 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_sticky-element-container.scss +23 -0
- data/app/models/govuk_publishing_components/component_doc.rb +1 -1
- data/app/views/govuk_publishing_components/components/_back_to_top_link.html.erb +19 -0
- data/app/views/govuk_publishing_components/components/_contents_list_with_body.html.erb +27 -0
- data/app/views/govuk_publishing_components/components/_figure.html.erb +28 -0
- data/app/views/govuk_publishing_components/components/_layout_header.html.erb +0 -6
- data/app/views/govuk_publishing_components/components/_published_dates.html.erb +50 -0
- data/app/views/govuk_publishing_components/components/_search.html.erb +1 -4
- data/app/views/govuk_publishing_components/components/_summary_banner.html.erb +27 -0
- data/app/views/govuk_publishing_components/components/docs/back_to_top_link.yml +19 -0
- data/app/views/govuk_publishing_components/components/docs/contents_list_with_body.yml +90 -0
- data/app/views/govuk_publishing_components/components/docs/figure.yml +43 -0
- data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -3
- data/app/views/govuk_publishing_components/components/docs/published_dates.yml +43 -0
- data/app/views/govuk_publishing_components/components/docs/search.yml +0 -9
- data/app/views/govuk_publishing_components/components/docs/summary_banner.yml +28 -0
- data/config/locales/ar.yml +11 -3
- data/config/locales/az.yml +11 -3
- data/config/locales/be.yml +11 -3
- data/config/locales/bg.yml +11 -3
- data/config/locales/bn.yml +11 -3
- data/config/locales/cs.yml +11 -3
- data/config/locales/cy.yml +11 -3
- data/config/locales/da.yml +11 -3
- data/config/locales/de.yml +11 -3
- data/config/locales/dr.yml +11 -3
- data/config/locales/el.yml +11 -3
- data/config/locales/en.yml +11 -3
- data/config/locales/es-419.yml +11 -3
- data/config/locales/es.yml +11 -3
- data/config/locales/et.yml +11 -3
- data/config/locales/fa.yml +11 -3
- data/config/locales/fi.yml +11 -3
- data/config/locales/fr.yml +11 -3
- data/config/locales/gd.yml +11 -3
- data/config/locales/gu.yml +11 -3
- data/config/locales/he.yml +11 -3
- data/config/locales/hi.yml +11 -3
- data/config/locales/hr.yml +11 -3
- data/config/locales/hu.yml +11 -3
- data/config/locales/hy.yml +11 -3
- data/config/locales/id.yml +11 -3
- data/config/locales/is.yml +11 -3
- data/config/locales/it.yml +11 -3
- data/config/locales/ja.yml +11 -3
- data/config/locales/ka.yml +11 -3
- data/config/locales/kk.yml +11 -3
- data/config/locales/ko.yml +11 -3
- data/config/locales/lt.yml +11 -3
- data/config/locales/lv.yml +11 -3
- data/config/locales/ms.yml +11 -3
- data/config/locales/mt.yml +11 -3
- data/config/locales/ne.yml +224 -0
- data/config/locales/nl.yml +11 -3
- data/config/locales/no.yml +11 -3
- data/config/locales/pa-pk.yml +11 -3
- data/config/locales/pa.yml +11 -3
- data/config/locales/pl.yml +11 -3
- data/config/locales/ps.yml +11 -3
- data/config/locales/pt.yml +11 -3
- data/config/locales/ro.yml +11 -3
- data/config/locales/ru.yml +11 -3
- data/config/locales/si.yml +11 -3
- data/config/locales/sk.yml +11 -3
- data/config/locales/sl.yml +11 -3
- data/config/locales/so.yml +11 -3
- data/config/locales/sq.yml +11 -3
- data/config/locales/sr.yml +11 -3
- data/config/locales/sv.yml +11 -3
- data/config/locales/sw.yml +11 -3
- data/config/locales/ta.yml +11 -3
- data/config/locales/th.yml +11 -3
- data/config/locales/tk.yml +11 -3
- data/config/locales/tr.yml +11 -3
- data/config/locales/uk.yml +11 -3
- data/config/locales/ur.yml +11 -3
- data/config/locales/uz.yml +11 -3
- data/config/locales/vi.yml +11 -3
- data/config/locales/zh-hk.yml +11 -3
- data/config/locales/zh-tw.yml +11 -3
- data/config/locales/zh.yml +11 -3
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +2 -2
- data/node_modules/axe-core/axe.js +63 -46
- data/node_modules/axe-core/axe.min.js +3 -3
- data/node_modules/axe-core/locales/_template.json +1 -1
- data/node_modules/axe-core/locales/de.json +19 -19
- data/node_modules/axe-core/locales/ko.json +4 -4
- data/node_modules/axe-core/package.json +4 -3
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +20 -9
- data/app/assets/images/govuk_publishing_components/action-link-arrow--dark.png +0 -0
- data/app/assets/images/govuk_publishing_components/action-link-arrow--light.png +0 -0
- data/app/assets/images/govuk_publishing_components/action-link-arrow--simple-light.png +0 -0
- data/app/assets/images/govuk_publishing_components/action-link-arrow--simple.png +0 -0
- data/app/assets/images/govuk_publishing_components/action-link-arrow.png +0 -0
- data/app/assets/images/govuk_publishing_components/search-button.png +0 -0
- data/app/views/govuk_publishing_components/components/layout_header/_search.html.erb +0 -29
@@ -845,7 +845,7 @@
|
|
845
845
|
},
|
846
846
|
"caption": {
|
847
847
|
"pass": "The multimedia element has a captions track",
|
848
|
-
"incomplete": "Check that captions
|
848
|
+
"incomplete": "Check that captions are available for the element"
|
849
849
|
},
|
850
850
|
"frame-tested": {
|
851
851
|
"pass": "The iframe was tested with axe-core",
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"help": "Erforderliche ARIA-Attribute müssen bereitgestellt werden."
|
67
67
|
},
|
68
68
|
"aria-required-children": {
|
69
|
-
"description": "Stellt sicher, dass Elemente mit einer ARIA-Rolle, welche bestimmte untergeordnete Rollen voraussetzten auch
|
69
|
+
"description": "Stellt sicher, dass Elemente mit einer ARIA-Rolle, welche bestimmte untergeordnete Rollen voraussetzten diese auch enthalten.",
|
70
70
|
"help": "Bestimmte ARIA-Rollen müssen spezifische, untergeordnete Kind-Rollen enthalten."
|
71
71
|
},
|
72
72
|
"aria-required-parent": {
|
@@ -167,7 +167,7 @@
|
|
167
167
|
},
|
168
168
|
"empty-heading": {
|
169
169
|
"description": "Stellt sicher, dass Überschriften einen wahrnehmbaren Text beinhalten.",
|
170
|
-
"help": "Überschriften dürfen
|
170
|
+
"help": "Überschriften dürfen nicht leer sein."
|
171
171
|
},
|
172
172
|
"empty-table-header": {
|
173
173
|
"description": "Stellt sicher, dass Tabellenkopfzeilen einen wahrnehmbaren Text beinhalten.",
|
@@ -342,8 +342,8 @@
|
|
342
342
|
"help": "Die Seite muss eine Überschrift der ersten Ebene enthalten."
|
343
343
|
},
|
344
344
|
"presentation-role-conflict": {
|
345
|
-
"description": "
|
346
|
-
"help": "Elemente mit
|
345
|
+
"description": "Elemente mit role=\"none\" oder role=\"presentation\" sollten kein globales ARIA-Attribute besitzen oder fokussierbar sein, damit sie von Screenreadern ignoriert werden.",
|
346
|
+
"help": "Elemente mit \"role=none\" oder \"role=presentation\" sollen von Screenreadern ignoriert werden."
|
347
347
|
},
|
348
348
|
"region": {
|
349
349
|
"description": "Stellt sicher, dass jeglicher Inhalt in einer landmark region enthalten ist.",
|
@@ -465,7 +465,7 @@
|
|
465
465
|
"hidden": "aria-errormessage Wert `${data.values}` kann nicht auf ein verstecktes Element verweisen."
|
466
466
|
},
|
467
467
|
"incomplete": {
|
468
|
-
"singular": "Stellt sicher, dass aria-errormessage Wert `${data.values}`
|
468
|
+
"singular": "Stellt sicher, dass aria-errormessage Wert `${data.values}` auf ein existierendes Element verweist.",
|
469
469
|
"plural": "Stellt sicher, dass aria-errormessage Werte `${data.values}` zu existierenden Elementen verweisen.",
|
470
470
|
"idrefs": "Es konnte nicht festgestellt werden, ob das Element aria-errormessage auf der Seite existiert: ${data.values}"
|
471
471
|
}
|
@@ -529,7 +529,7 @@
|
|
529
529
|
},
|
530
530
|
"aria-unsupported-attr": {
|
531
531
|
"pass": "ARIA Attribut wird unterstützt",
|
532
|
-
"fail": "ARIA Attribut ist nicht
|
532
|
+
"fail": "ARIA Attribut ist nicht allgemein in Screenreadern und anderen assistiven Technologien unterstützt: ${data.values}"
|
533
533
|
},
|
534
534
|
"aria-valid-attr-value": {
|
535
535
|
"pass": "ARIA Attributwerte sind gültig.",
|
@@ -602,7 +602,7 @@
|
|
602
602
|
},
|
603
603
|
"unsupportedrole": {
|
604
604
|
"pass": "ARIA Rolle wird unterstützt.",
|
605
|
-
"fail": "Folgende Rollen werden nicht
|
605
|
+
"fail": "Folgende Rollen werden nicht allgemein in Screenreadern und assistiven Technologien unterstützt: ${data.values}"
|
606
606
|
},
|
607
607
|
"valid-scrollable-semantics": {
|
608
608
|
"pass": "Das Element hat eine gültige Semantik für ein Element in der Fokusreihenfolge.",
|
@@ -634,7 +634,7 @@
|
|
634
634
|
"color-contrast": {
|
635
635
|
"pass": {
|
636
636
|
"default": "Das Element hat einen ausreichenden Kontrast von ${data.contrastRatio}.",
|
637
|
-
"hidden": "Das Element ist
|
637
|
+
"hidden": "Das Element ist versteckt."
|
638
638
|
},
|
639
639
|
"fail": {
|
640
640
|
"default": "Das Element hat einen unzureichenden Kontrast von ${data.contrastRatio} (Vordergrundfarbe: ${data.fgColor}, Hintergrundfarbe: ${data.bgColor}, Schriftgröße: ${data.fontSize}, Schriftstärke: ${data.fontWeight}). Erwartetes Kontrastverhältnis von ${data.expectedContrastRatio}",
|
@@ -709,7 +709,7 @@
|
|
709
709
|
},
|
710
710
|
"focusable-modal-open": {
|
711
711
|
"pass": "Keine fokussierbaren Elemente während ein modaler Dialog offen ist.",
|
712
|
-
"incomplete": "
|
712
|
+
"incomplete": "Überprüfe ob Elemente während des derzeitigen Status fokussierbar sind."
|
713
713
|
},
|
714
714
|
"focusable-no-name": {
|
715
715
|
"pass": "Das Element befindet sich nicht in der Tabreihenfolge und enthält keinen zugänglichen Text.",
|
@@ -795,15 +795,15 @@
|
|
795
795
|
},
|
796
796
|
"multiple-label": {
|
797
797
|
"pass": "Das <form>-Element besitzt keine multiplen <label>-Elemente.",
|
798
|
-
"incomplete": "
|
798
|
+
"incomplete": "Elemente mit mehreren Labeln werden in assistiven Technologien nicht allgemein unterstützt. Es sollte sichergestellt werden, dass alle relevanten Informationen im ersten Label enthalten sind."
|
799
799
|
},
|
800
800
|
"title-only": {
|
801
801
|
"pass": "Das <form>-Element ist nicht nur lediglich durch ein title-Attribut beschriftet.",
|
802
802
|
"fail": "Das <form>-Element ist lediglich durch ein title-Attribut beschriftet."
|
803
803
|
},
|
804
804
|
"landmark-is-unique": {
|
805
|
-
"pass": "Landmarks
|
806
|
-
"fail": "Landmark muss ein einzigartiges aria-label, aria-labelledby oder Titel besitzen um es von anderen zu unterscheiden."
|
805
|
+
"pass": "Landmarks besitzen eine einzigartige Rolle oder Rollen/Label/Titel (zugänglicher Name / accessible name) Kombination.",
|
806
|
+
"fail": "Landmark muss ein einzigartiges aria-label, aria-labelledby oder einen Titel besitzen, um es von anderen zu unterscheiden."
|
807
807
|
},
|
808
808
|
"has-lang": {
|
809
809
|
"pass": "Das <html>-Element besitzt ein lang-Attribut.",
|
@@ -840,7 +840,7 @@
|
|
840
840
|
"fail": "Das Aufzählungselement besitzt Kinder, die nicht erlaubt sind: ${data.values}"
|
841
841
|
},
|
842
842
|
"structured-dlitems": {
|
843
|
-
"pass": "Das Definitionslisten-Element enthält sowohl <dt> als auch <dd>-Elemente, falls es
|
843
|
+
"pass": "Das Definitionslisten-Element enthält sowohl <dt> als auch <dd>-Elemente, falls es nicht leer sein sollte.",
|
844
844
|
"fail": "Das Definitionslisten-Element enthält kein <dt>-Element, welches von keinem <dd>-Element gefolgt wird."
|
845
845
|
},
|
846
846
|
"caption": {
|
@@ -960,7 +960,7 @@
|
|
960
960
|
"fail": "Das Dokument besitzt mehrere Elemente mit demselben id-Attributwert: ${data}."
|
961
961
|
},
|
962
962
|
"aria-label": {
|
963
|
-
"pass": "Das aria-label-Attribut existiert und ist
|
963
|
+
"pass": "Das aria-label-Attribut existiert und ist nicht leer.",
|
964
964
|
"fail": "Es existiert kein aria-label-Attribut oder das Attribut ist leer."
|
965
965
|
},
|
966
966
|
"aria-labelledby": {
|
@@ -981,7 +981,7 @@
|
|
981
981
|
"incomplete": "Ob das Element über Kindelemente bzw. textuelle Inhalte verfügt, kann nicht ermittelt werden."
|
982
982
|
},
|
983
983
|
"doc-has-title": {
|
984
|
-
"pass": "
|
984
|
+
"pass": "Das Dokument besitzt ein nichtleeres <title>-Element.",
|
985
985
|
"fail": "Das Dokument besitzt kein <title>-Element oder das <title>-Element ist leer."
|
986
986
|
},
|
987
987
|
"exists": {
|
@@ -1096,9 +1096,9 @@
|
|
1096
1096
|
"fail": "Nicht alle (nichtleeren) Datenzellen haben eine Tabellenkopfzelle."
|
1097
1097
|
},
|
1098
1098
|
"td-headers-attr": {
|
1099
|
-
"pass": "Das headers-Attribut wird ausschließlich dafür verwendet, um auf andere
|
1099
|
+
"pass": "Das headers-Attribut wird ausschließlich dafür verwendet, um auf andere Kopfzellen in der Tabelle zu verweisen.",
|
1100
1100
|
"incomplete": "Das headers-Attribut ist leer.",
|
1101
|
-
"fail": "Das headers-Attribut wird nicht ausschließlich dafür verwendet, um auf andere
|
1101
|
+
"fail": "Das headers-Attribut wird nicht ausschließlich dafür verwendet, um auf andere Kopfzellen in der Tabelle zu verweisen."
|
1102
1102
|
},
|
1103
1103
|
"th-has-data-cells": {
|
1104
1104
|
"pass": "Alle Tabellenkopfzellen beziehen sich auf Datenzellen.",
|
@@ -1108,7 +1108,7 @@
|
|
1108
1108
|
"hidden-content": {
|
1109
1109
|
"pass": "Jeglicher Inhalt der Seite wurde analysiert.",
|
1110
1110
|
"fail": "Beim Analysieren der Inhalte auf dieser Seite sind Probleme aufgetreten.",
|
1111
|
-
"incomplete": "Auf der Seite befinden sich versteckte Inhalte, die nicht analysiert werden konnten. Um den Inhalt analysieren zu können, müssen Sie die Anzeige auslösen."
|
1111
|
+
"incomplete": "Auf der Seite befinden sich versteckte Inhalte, die nicht analysiert werden konnten. Um den Inhalt analysieren zu können, müssen Sie die Anzeige dieser Inhalte auslösen."
|
1112
1112
|
}
|
1113
1113
|
},
|
1114
1114
|
"failureSummaries": {
|
@@ -1119,5 +1119,5 @@
|
|
1119
1119
|
"failureMessage": "Korrigiere alle der folgenden Punkte:{{~it:value}}\n {{=value.split('\\n').join('\\n ')}}{{~}}"
|
1120
1120
|
}
|
1121
1121
|
},
|
1122
|
-
"incompleteFallbackMessage": ""
|
1122
|
+
"incompleteFallbackMessage": "axe konnte den Grund nicht ermitteln. Versuchen Sie es mit dem Element Inspector."
|
1123
1123
|
}
|
@@ -166,7 +166,7 @@
|
|
166
166
|
"help": "form 필드는 반드시 여러 개의 레이블 엘리먼트를 가지지 않아야 합니다."
|
167
167
|
},
|
168
168
|
"frame-focusable-content": {
|
169
|
-
"description": "초점을 얻을 수 있는(focusable) 콘텐츠를 가진 <frame>과 <iframe> 엘리먼트에 tabindex=-1이 없게
|
169
|
+
"description": "초점을 얻을 수 있는(focusable) 콘텐츠를 가진 <frame>과 <iframe> 엘리먼트에 tabindex=-1이 없게 하세요.",
|
170
170
|
"help": "초점을 얻을 수 있는(focusable) 콘텐츠를 가진 프레임에는 반드시 tabindex=-1 이 없어야 합니다."
|
171
171
|
},
|
172
172
|
"frame-tested": {
|
@@ -262,7 +262,7 @@
|
|
262
262
|
"help": "문서는 하나를 초과하는 main 랜드마크를 가지지 않아야 합니다."
|
263
263
|
},
|
264
264
|
"landmark-one-main": {
|
265
|
-
"description": "문서가 main 랜드마크를 가지고 있는지
|
265
|
+
"description": "문서가 main 랜드마크를 가지고 있는지 확인하세요.",
|
266
266
|
"help": "문서는 하나의 main 랜드마크를 가져야 합니다."
|
267
267
|
},
|
268
268
|
"landmark-unique": {
|
@@ -610,7 +610,7 @@
|
|
610
610
|
}
|
611
611
|
},
|
612
612
|
"autocomplete-appropriate": {
|
613
|
-
"pass": "autocomplete 값이 적절한 엘리먼트에
|
613
|
+
"pass": "autocomplete 값이 적절한 엘리먼트에 있습니다.",
|
614
614
|
"fail": "autocomplete 값은 이 유형의 입력에는 적절하지 않습니다."
|
615
615
|
},
|
616
616
|
"autocomplete-valid": {
|
@@ -635,7 +635,7 @@
|
|
635
635
|
},
|
636
636
|
"focusable-modal-open": {
|
637
637
|
"pass": "modal이 열려 있는 동안 초점을 얻을 수 있는(focusable) 엘리먼트가 없습니다.",
|
638
|
-
"incomplete": "현재 상태에서 초점을 얻을 수 있는(focusable) 엘리먼트가 키보드로 초점을 얻을 수(tabbable) 없는지
|
638
|
+
"incomplete": "현재 상태에서 초점을 얻을 수 있는(focusable) 엘리먼트가 키보드로 초점을 얻을 수(tabbable) 없는지 확인하세요."
|
639
639
|
},
|
640
640
|
"focusable-no-name": {
|
641
641
|
"pass": "엘리먼트가 탭 순서(tab order)에 없거나 접근 가능한 텍스트를 가지고 있습니다.",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "axe-core",
|
3
3
|
"description": "Accessibility engine for automated Web UI testing",
|
4
|
-
"version": "4.10.
|
4
|
+
"version": "4.10.3",
|
5
5
|
"license": "MPL-2.0",
|
6
6
|
"engines": {
|
7
7
|
"node": ">=4"
|
@@ -125,6 +125,7 @@
|
|
125
125
|
"@babel/preset-env": "^7.20.2",
|
126
126
|
"@babel/runtime-corejs3": "^7.20.7",
|
127
127
|
"@deque/dot": "^1.1.5",
|
128
|
+
"@types/node": "^4.9.5",
|
128
129
|
"aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
|
129
130
|
"aria-query": "^5.1.3",
|
130
131
|
"browser-driver-manager": "1.0.4",
|
@@ -159,7 +160,7 @@
|
|
159
160
|
"inquirer": "^8.2.5",
|
160
161
|
"jquery": "^3.6.3",
|
161
162
|
"jsdoc": "^4.0.2",
|
162
|
-
"jsdom": "^
|
163
|
+
"jsdom": "^25.0.1",
|
163
164
|
"karma": "^6.4.1",
|
164
165
|
"karma-chai": "^0.1.0",
|
165
166
|
"karma-chrome-launcher": "^3.1.1",
|
@@ -179,7 +180,7 @@
|
|
179
180
|
"revalidator": "^0.3.1",
|
180
181
|
"selenium-webdriver": "^4.7.1",
|
181
182
|
"serve-handler": "^6.1.5",
|
182
|
-
"sinon": "^
|
183
|
+
"sinon": "^19.0.2",
|
183
184
|
"sri-toolbox": "^0.2.0",
|
184
185
|
"standard-version": "^9.5.0",
|
185
186
|
"start-server-and-test": "^2.0.1",
|
@@ -390,5 +390,9 @@
|
|
390
390
|
"4.10.2": {
|
391
391
|
"axe.js": "sha256-+gZL/deLqt1La/rK9St/UzNzWa4co71yGT5I07FuZuE=",
|
392
392
|
"axe.min.js": "sha256-tRHNnewBx29LKtFyO2a22zfUwutO0ZkHbhgp2e57deM="
|
393
|
+
},
|
394
|
+
"4.10.3": {
|
395
|
+
"axe.js": "sha256-vurbjUBDRYSCqEMt0ievkm0brzeP+81jiI6R7AyoU10=",
|
396
|
+
"axe.min.js": "sha256-iAlwwIFwc2DmTzTOol/5GJL1vJVnWwd2kluXCd2KaLs="
|
393
397
|
}
|
394
398
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 55.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-12 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: govuk_app_config
|
@@ -397,15 +397,10 @@ files:
|
|
397
397
|
- LICENCE.md
|
398
398
|
- README.md
|
399
399
|
- app/assets/config/govuk_publishing_components_manifest.js
|
400
|
-
- app/assets/images/govuk_publishing_components/action-link-arrow--dark.png
|
401
400
|
- app/assets/images/govuk_publishing_components/action-link-arrow--dark.svg
|
402
|
-
- app/assets/images/govuk_publishing_components/action-link-arrow--light.png
|
403
401
|
- app/assets/images/govuk_publishing_components/action-link-arrow--light.svg
|
404
|
-
- app/assets/images/govuk_publishing_components/action-link-arrow--simple-light.png
|
405
402
|
- app/assets/images/govuk_publishing_components/action-link-arrow--simple-light.svg
|
406
|
-
- app/assets/images/govuk_publishing_components/action-link-arrow--simple.png
|
407
403
|
- app/assets/images/govuk_publishing_components/action-link-arrow--simple.svg
|
408
|
-
- app/assets/images/govuk_publishing_components/action-link-arrow.png
|
409
404
|
- app/assets/images/govuk_publishing_components/action-link-arrow.svg
|
410
405
|
- app/assets/images/govuk_publishing_components/crests/bis_crest_18px_x2.png
|
411
406
|
- app/assets/images/govuk_publishing_components/crests/coastguard_18px_x2.png
|
@@ -442,7 +437,6 @@ files:
|
|
442
437
|
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26-320.jpg
|
443
438
|
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26-480.jpg
|
444
439
|
- app/assets/images/govuk_publishing_components/image-card-srcset/cop26.jpg
|
445
|
-
- app/assets/images/govuk_publishing_components/search-button.png
|
446
440
|
- app/assets/images/govuk_publishing_components/take-action-amber.svg
|
447
441
|
- app/assets/images/govuk_publishing_components/take-action-green.svg
|
448
442
|
- app/assets/images/govuk_publishing_components/take-action-red.svg
|
@@ -516,6 +510,7 @@ files:
|
|
516
510
|
- app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js
|
517
511
|
- app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js
|
518
512
|
- app/assets/javascripts/govuk_publishing_components/lib/initial-focus.js
|
513
|
+
- app/assets/javascripts/govuk_publishing_components/lib/sticky-element-container.js
|
519
514
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle-input-class-on-focus.js
|
520
515
|
- app/assets/javascripts/govuk_publishing_components/lib/toggle.js
|
521
516
|
- app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js
|
@@ -536,12 +531,14 @@ files:
|
|
536
531
|
- app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss
|
537
532
|
- app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss
|
538
533
|
- app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss
|
534
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_back-to-top-link.scss
|
539
535
|
- app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss
|
540
536
|
- app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss
|
541
537
|
- app/assets/stylesheets/govuk_publishing_components/components/_button.scss
|
542
538
|
- app/assets/stylesheets/govuk_publishing_components/components/_cards.scss
|
543
539
|
- app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss
|
544
540
|
- app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss
|
541
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss
|
545
542
|
- app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss
|
546
543
|
- app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss
|
547
544
|
- app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss
|
@@ -558,6 +555,7 @@ files:
|
|
558
555
|
- app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss
|
559
556
|
- app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss
|
560
557
|
- app/assets/stylesheets/govuk_publishing_components/components/_fieldset.scss
|
558
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_figure.scss
|
561
559
|
- app/assets/stylesheets/govuk_publishing_components/components/_file-upload.scss
|
562
560
|
- app/assets/stylesheets/govuk_publishing_components/components/_glance-metric.scss
|
563
561
|
- app/assets/stylesheets/govuk_publishing_components/components/_global-banner.scss
|
@@ -587,6 +585,7 @@ files:
|
|
587
585
|
- app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss
|
588
586
|
- app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss
|
589
587
|
- app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss
|
588
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss
|
590
589
|
- app/assets/stylesheets/govuk_publishing_components/components/_radio.scss
|
591
590
|
- app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss
|
592
591
|
- app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss
|
@@ -603,6 +602,7 @@ files:
|
|
603
602
|
- app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss
|
604
603
|
- app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss
|
605
604
|
- app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss
|
605
|
+
- app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss
|
606
606
|
- app/assets/stylesheets/govuk_publishing_components/components/_summary-card.scss
|
607
607
|
- app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss
|
608
608
|
- app/assets/stylesheets/govuk_publishing_components/components/_table.scss
|
@@ -635,6 +635,7 @@ files:
|
|
635
635
|
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss
|
636
636
|
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_link.scss
|
637
637
|
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss
|
638
|
+
- app/assets/stylesheets/govuk_publishing_components/components/helpers/_sticky-element-container.scss
|
638
639
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_css3.scss
|
639
640
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss
|
640
641
|
- app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss
|
@@ -675,6 +676,7 @@ files:
|
|
675
676
|
- app/views/govuk_publishing_components/components/_attachment.html.erb
|
676
677
|
- app/views/govuk_publishing_components/components/_attachment_link.html.erb
|
677
678
|
- app/views/govuk_publishing_components/components/_back_link.html.erb
|
679
|
+
- app/views/govuk_publishing_components/components/_back_to_top_link.html.erb
|
678
680
|
- app/views/govuk_publishing_components/components/_big_number.html.erb
|
679
681
|
- app/views/govuk_publishing_components/components/_breadcrumbs.html.erb
|
680
682
|
- app/views/govuk_publishing_components/components/_button.html.erb
|
@@ -682,6 +684,7 @@ files:
|
|
682
684
|
- app/views/govuk_publishing_components/components/_character_count.html.erb
|
683
685
|
- app/views/govuk_publishing_components/components/_checkboxes.html.erb
|
684
686
|
- app/views/govuk_publishing_components/components/_contents_list.html.erb
|
687
|
+
- app/views/govuk_publishing_components/components/_contents_list_with_body.html.erb
|
685
688
|
- app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb
|
686
689
|
- app/views/govuk_publishing_components/components/_contextual_footer.html.erb
|
687
690
|
- app/views/govuk_publishing_components/components/_contextual_guidance.html.erb
|
@@ -699,6 +702,7 @@ files:
|
|
699
702
|
- app/views/govuk_publishing_components/components/_error_summary.html.erb
|
700
703
|
- app/views/govuk_publishing_components/components/_feedback.html.erb
|
701
704
|
- app/views/govuk_publishing_components/components/_fieldset.html.erb
|
705
|
+
- app/views/govuk_publishing_components/components/_figure.html.erb
|
702
706
|
- app/views/govuk_publishing_components/components/_file_upload.html.erb
|
703
707
|
- app/views/govuk_publishing_components/components/_glance_metric.html.erb
|
704
708
|
- app/views/govuk_publishing_components/components/_global_banner.html.erb
|
@@ -732,6 +736,7 @@ files:
|
|
732
736
|
- app/views/govuk_publishing_components/components/_phase_banner.html.erb
|
733
737
|
- app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb
|
734
738
|
- app/views/govuk_publishing_components/components/_print_link.html.erb
|
739
|
+
- app/views/govuk_publishing_components/components/_published_dates.html.erb
|
735
740
|
- app/views/govuk_publishing_components/components/_radio.html.erb
|
736
741
|
- app/views/govuk_publishing_components/components/_related_navigation.html.erb
|
737
742
|
- app/views/govuk_publishing_components/components/_reorderable_list.html.erb
|
@@ -748,6 +753,7 @@ files:
|
|
748
753
|
- app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb
|
749
754
|
- app/views/govuk_publishing_components/components/_subscription_links.html.erb
|
750
755
|
- app/views/govuk_publishing_components/components/_success_alert.html.erb
|
756
|
+
- app/views/govuk_publishing_components/components/_summary_banner.html.erb
|
751
757
|
- app/views/govuk_publishing_components/components/_summary_card.html.erb
|
752
758
|
- app/views/govuk_publishing_components/components/_summary_list.html.erb
|
753
759
|
- app/views/govuk_publishing_components/components/_table.html.erb
|
@@ -770,6 +776,7 @@ files:
|
|
770
776
|
- app/views/govuk_publishing_components/components/docs/attachment.yml
|
771
777
|
- app/views/govuk_publishing_components/components/docs/attachment_link.yml
|
772
778
|
- app/views/govuk_publishing_components/components/docs/back_link.yml
|
779
|
+
- app/views/govuk_publishing_components/components/docs/back_to_top_link.yml
|
773
780
|
- app/views/govuk_publishing_components/components/docs/big_number.yml
|
774
781
|
- app/views/govuk_publishing_components/components/docs/breadcrumbs.yml
|
775
782
|
- app/views/govuk_publishing_components/components/docs/button.yml
|
@@ -777,6 +784,7 @@ files:
|
|
777
784
|
- app/views/govuk_publishing_components/components/docs/character_count.yml
|
778
785
|
- app/views/govuk_publishing_components/components/docs/checkboxes.yml
|
779
786
|
- app/views/govuk_publishing_components/components/docs/contents_list.yml
|
787
|
+
- app/views/govuk_publishing_components/components/docs/contents_list_with_body.yml
|
780
788
|
- app/views/govuk_publishing_components/components/docs/contextual_breadcrumbs.yml
|
781
789
|
- app/views/govuk_publishing_components/components/docs/contextual_footer.yml
|
782
790
|
- app/views/govuk_publishing_components/components/docs/contextual_guidance.yml
|
@@ -794,6 +802,7 @@ files:
|
|
794
802
|
- app/views/govuk_publishing_components/components/docs/error_summary.yml
|
795
803
|
- app/views/govuk_publishing_components/components/docs/feedback.yml
|
796
804
|
- app/views/govuk_publishing_components/components/docs/fieldset.yml
|
805
|
+
- app/views/govuk_publishing_components/components/docs/figure.yml
|
797
806
|
- app/views/govuk_publishing_components/components/docs/file_upload.yml
|
798
807
|
- app/views/govuk_publishing_components/components/docs/glance_metric.yml
|
799
808
|
- app/views/govuk_publishing_components/components/docs/global_banner.yml
|
@@ -827,6 +836,7 @@ files:
|
|
827
836
|
- app/views/govuk_publishing_components/components/docs/phase_banner.yml
|
828
837
|
- app/views/govuk_publishing_components/components/docs/previous_and_next_navigation.yml
|
829
838
|
- app/views/govuk_publishing_components/components/docs/print_link.yml
|
839
|
+
- app/views/govuk_publishing_components/components/docs/published_dates.yml
|
830
840
|
- app/views/govuk_publishing_components/components/docs/radio.yml
|
831
841
|
- app/views/govuk_publishing_components/components/docs/related_navigation.yml
|
832
842
|
- app/views/govuk_publishing_components/components/docs/reorderable_list.yml
|
@@ -843,6 +853,7 @@ files:
|
|
843
853
|
- app/views/govuk_publishing_components/components/docs/step_by_step_nav_related.yml
|
844
854
|
- app/views/govuk_publishing_components/components/docs/subscription_links.yml
|
845
855
|
- app/views/govuk_publishing_components/components/docs/success_alert.yml
|
856
|
+
- app/views/govuk_publishing_components/components/docs/summary_banner.yml
|
846
857
|
- app/views/govuk_publishing_components/components/docs/summary_card.yml
|
847
858
|
- app/views/govuk_publishing_components/components/docs/summary_list.yml
|
848
859
|
- app/views/govuk_publishing_components/components/docs/table.yml
|
@@ -861,7 +872,6 @@ files:
|
|
861
872
|
- app/views/govuk_publishing_components/components/layout_for_public/_layout_super_navigation_header_homepage.html.erb
|
862
873
|
- app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb
|
863
874
|
- app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb
|
864
|
-
- app/views/govuk_publishing_components/components/layout_header/_search.html.erb
|
865
875
|
- app/views/govuk_publishing_components/components/metadata/_sentence.html.erb
|
866
876
|
- app/views/govuk_publishing_components/components/related_navigation/_section.html.erb
|
867
877
|
- app/views/govuk_publishing_components/components/search/_search_icon.html.erb
|
@@ -904,6 +914,7 @@ files:
|
|
904
914
|
- config/locales/lv.yml
|
905
915
|
- config/locales/ms.yml
|
906
916
|
- config/locales/mt.yml
|
917
|
+
- config/locales/ne.yml
|
907
918
|
- config/locales/nl.yml
|
908
919
|
- config/locales/no.yml
|
909
920
|
- config/locales/pa-pk.yml
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
search_form_id = "search-#{SecureRandom.hex(4)}"
|
3
|
-
%>
|
4
|
-
|
5
|
-
<button
|
6
|
-
class="search-toggle govuk-js-header-toggle"
|
7
|
-
data-search-toggle-for="search"
|
8
|
-
data-button-name="search"
|
9
|
-
data-show-text="<%= t("components.layout_header.show_button") %>"
|
10
|
-
data-hide-text="<%= t("components.layout_header.hide_button") %>"
|
11
|
-
aria-controls="<%= search_form_id %>"
|
12
|
-
>
|
13
|
-
<%= t("components.layout_header.show_button") %>
|
14
|
-
</button>
|
15
|
-
<form
|
16
|
-
action="/search"
|
17
|
-
class="gem-c-layout-header__search-form govuk-clearfix govuk-!-display-none-print"
|
18
|
-
id="<%= search_form_id %>"
|
19
|
-
method="get"
|
20
|
-
role="search"
|
21
|
-
>
|
22
|
-
<%= render "govuk_publishing_components/components/search", {
|
23
|
-
button_text: t("components.layout_header.search_button"),
|
24
|
-
label_id: "site-search-text",
|
25
|
-
margin_bottom: 0,
|
26
|
-
no_border: true,
|
27
|
-
disable_corrections: true,
|
28
|
-
} %>
|
29
|
-
</form>
|