govuk_publishing_components 29.13.0 → 29.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/action-link-arrow--white.png +0 -0
- data/app/assets/images/govuk_publishing_components/action-link-arrow--white.svg +1 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/gtm-page-views.js +5 -3
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/pii-remover.js +135 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4.js +2 -0
- data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +10 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +7 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +1 -92
- data/app/views/govuk_publishing_components/components/_action_link.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +33 -36
- data/app/views/govuk_publishing_components/components/docs/accordion.yml +2 -1
- data/app/views/govuk_publishing_components/components/docs/action_link.yml +8 -0
- data/app/views/govuk_publishing_components/components/docs/previous_and_next_navigation.yml +1 -1
- data/config/locales/ar.yml +2 -0
- data/config/locales/az.yml +2 -0
- data/config/locales/be.yml +2 -0
- data/config/locales/bg.yml +2 -0
- data/config/locales/bn.yml +2 -0
- data/config/locales/cs.yml +2 -0
- data/config/locales/cy.yml +2 -0
- data/config/locales/da.yml +2 -0
- data/config/locales/de.yml +2 -0
- data/config/locales/dr.yml +2 -0
- data/config/locales/el.yml +2 -0
- data/config/locales/en.yml +2 -0
- data/config/locales/es-419.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/et.yml +2 -0
- data/config/locales/fa.yml +2 -0
- data/config/locales/fi.yml +2 -0
- data/config/locales/fr.yml +2 -0
- data/config/locales/gd.yml +2 -0
- data/config/locales/gu.yml +2 -0
- data/config/locales/he.yml +2 -0
- data/config/locales/hi.yml +2 -0
- data/config/locales/hr.yml +2 -0
- data/config/locales/hu.yml +2 -0
- data/config/locales/hy.yml +2 -0
- data/config/locales/id.yml +2 -0
- data/config/locales/is.yml +2 -0
- data/config/locales/it.yml +2 -0
- data/config/locales/ja.yml +2 -0
- data/config/locales/ka.yml +2 -0
- data/config/locales/kk.yml +2 -0
- data/config/locales/ko.yml +2 -0
- data/config/locales/lt.yml +2 -0
- data/config/locales/lv.yml +2 -0
- data/config/locales/ms.yml +2 -0
- data/config/locales/mt.yml +2 -0
- data/config/locales/nl.yml +2 -0
- data/config/locales/no.yml +2 -0
- data/config/locales/pa-pk.yml +2 -0
- data/config/locales/pa.yml +2 -0
- data/config/locales/pl.yml +2 -0
- data/config/locales/ps.yml +2 -0
- data/config/locales/pt.yml +2 -0
- data/config/locales/ro.yml +2 -0
- data/config/locales/ru.yml +2 -0
- data/config/locales/si.yml +2 -0
- data/config/locales/sk.yml +2 -0
- data/config/locales/sl.yml +2 -0
- data/config/locales/so.yml +2 -0
- data/config/locales/sq.yml +2 -0
- data/config/locales/sr.yml +2 -0
- data/config/locales/sv.yml +2 -0
- data/config/locales/sw.yml +2 -0
- data/config/locales/ta.yml +2 -0
- data/config/locales/th.yml +2 -0
- data/config/locales/tk.yml +2 -0
- data/config/locales/tr.yml +2 -0
- data/config/locales/uk.yml +2 -0
- data/config/locales/ur.yml +2 -0
- data/config/locales/uz.yml +2 -0
- data/config/locales/vi.yml +2 -0
- data/config/locales/zh-hk.yml +2 -0
- data/config/locales/zh-tw.yml +2 -0
- data/config/locales/zh.yml +2 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/govuk/components/_all.scss +1 -0
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +1 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +102 -44
- data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/checkboxes/template.njk +3 -2
- data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +10 -10
- data/node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json +92 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss +3 -0
- data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +14 -6
- data/node_modules/govuk-frontend/govuk/components/header/template.njk +9 -3
- data/node_modules/govuk-frontend/govuk/components/input/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/label/fixtures.json +76 -1
- data/node_modules/govuk-frontend/govuk/components/pagination/README.md +15 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_index.scss +244 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +2 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/fixtures.json +300 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/macro-options.json +128 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/macro.njk +3 -0
- data/node_modules/govuk-frontend/govuk/components/pagination/template.njk +62 -0
- data/node_modules/govuk-frontend/govuk/components/radios/fixtures.json +147 -43
- data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/radios/template.njk +3 -2
- data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +56 -2
- data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +7 -1
- data/node_modules/govuk-frontend/govuk/components/select/template.njk +1 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/fixtures.json +2 -1
- data/node_modules/govuk-frontend/govuk-esm/all.mjs +12 -12
- data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs +2 -2
- data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs +4 -4
- data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs +1 -1
- data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs +4 -4
- data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs +3 -3
- data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs +6 -6
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{DOMTokenList.js → DOMTokenList.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Document.js → Document.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{classList.js → classList.mjs} +4 -4
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{closest.js → closest.mjs} +1 -1
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{matches.js → matches.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{nextElementSibling.js → nextElementSibling.mjs} +2 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/{previousElementSibling.js → previousElementSibling.mjs} +2 -2
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Element.js → Element.mjs} +1 -1
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Event.js → Event.mjs} +3 -3
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/{bind.js → bind.mjs} +1 -1
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/{defineProperty.js → defineProperty.mjs} +0 -0
- data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/{Window.js → Window.mjs} +0 -0
- data/node_modules/govuk-frontend/package.json +8 -2
- metadata +24 -14
data/config/locales/fi.yml
CHANGED
@@ -134,7 +134,9 @@ fi:
|
|
134
134
|
organisation_schema:
|
135
135
|
all_content_search_description: Etsi kaikki sisältö alkaen %{organisation}
|
136
136
|
previous_and_next_navigation:
|
137
|
+
next:
|
137
138
|
pagination: Sivunumerointi
|
139
|
+
previous:
|
138
140
|
print_link:
|
139
141
|
text: Tulosta tämä sivu
|
140
142
|
radio:
|
data/config/locales/fr.yml
CHANGED
@@ -132,7 +132,9 @@ fr:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Rechercher tout le contenu de %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Pagination
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Imprimer cette page
|
138
140
|
radio:
|
data/config/locales/gd.yml
CHANGED
data/config/locales/gu.yml
CHANGED
@@ -132,7 +132,9 @@ gu:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: "%{organisation} થી તમામ સામગ્રી શોધો"
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: પૃષ્ઠ ક્રમાંકન
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: આ પૃષ્ઠ પ્રિન્ટ કરો
|
138
140
|
radio:
|
data/config/locales/he.yml
CHANGED
data/config/locales/hi.yml
CHANGED
data/config/locales/hr.yml
CHANGED
data/config/locales/hu.yml
CHANGED
@@ -135,7 +135,9 @@ hu:
|
|
135
135
|
organisation_schema:
|
136
136
|
all_content_search_description: Keresse meg a(z) %{organisation} szervezet minden tartalmát
|
137
137
|
previous_and_next_navigation:
|
138
|
+
next:
|
138
139
|
pagination: Lapszámozás
|
140
|
+
previous:
|
139
141
|
print_link:
|
140
142
|
text: Oldal kinyomtatása
|
141
143
|
radio:
|
data/config/locales/hy.yml
CHANGED
data/config/locales/id.yml
CHANGED
data/config/locales/is.yml
CHANGED
data/config/locales/it.yml
CHANGED
@@ -132,7 +132,9 @@ it:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Trova tutto il contenuto da %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Impaginazione
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Stampa questa pagina
|
138
140
|
radio:
|
data/config/locales/ja.yml
CHANGED
data/config/locales/ka.yml
CHANGED
data/config/locales/kk.yml
CHANGED
@@ -132,7 +132,9 @@ kk:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: "%{organisation} ішіндегі барлық мазмұнды табу"
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Беттеу
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Осы бетті басып шығару
|
138
140
|
radio:
|
data/config/locales/ko.yml
CHANGED
data/config/locales/lt.yml
CHANGED
@@ -137,7 +137,9 @@ lt:
|
|
137
137
|
organisation_schema:
|
138
138
|
all_content_search_description: Rasti visą turinį iš %{organisation}
|
139
139
|
previous_and_next_navigation:
|
140
|
+
next:
|
140
141
|
pagination: Suskirstymas puslapiais
|
142
|
+
previous:
|
141
143
|
print_link:
|
142
144
|
text: Spausdinti šį puslapį
|
143
145
|
radio:
|
data/config/locales/lv.yml
CHANGED
data/config/locales/ms.yml
CHANGED
data/config/locales/mt.yml
CHANGED
@@ -134,7 +134,9 @@ mt:
|
|
134
134
|
organisation_schema:
|
135
135
|
all_content_search_description: Sib il-kontenut kollu mingħand %{organisation}
|
136
136
|
previous_and_next_navigation:
|
137
|
+
next:
|
137
138
|
pagination: Paġinazzjoni
|
139
|
+
previous:
|
138
140
|
print_link:
|
139
141
|
text: Stampa din il-paġna
|
140
142
|
radio:
|
data/config/locales/nl.yml
CHANGED
data/config/locales/no.yml
CHANGED
data/config/locales/pa-pk.yml
CHANGED
@@ -128,7 +128,9 @@ pa-pk:
|
|
128
128
|
organisation_schema:
|
129
129
|
all_content_search_description: "%{organisation} توں سارا مواد تلاش کرو"
|
130
130
|
previous_and_next_navigation:
|
131
|
+
next:
|
131
132
|
pagination: ورقہ بندی
|
133
|
+
previous:
|
132
134
|
print_link:
|
133
135
|
text: ایس ورقے نوں پرنٹ کرو
|
134
136
|
radio:
|
data/config/locales/pa.yml
CHANGED
data/config/locales/pl.yml
CHANGED
@@ -136,7 +136,9 @@ pl:
|
|
136
136
|
organisation_schema:
|
137
137
|
all_content_search_description: Znajdź całą zawartość od %{organizacja}
|
138
138
|
previous_and_next_navigation:
|
139
|
+
next:
|
139
140
|
pagination: Numeracja stron
|
141
|
+
previous:
|
140
142
|
print_link:
|
141
143
|
text: Wydrukuj tę stronę
|
142
144
|
radio:
|
data/config/locales/ps.yml
CHANGED
data/config/locales/pt.yml
CHANGED
@@ -132,7 +132,9 @@ pt:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Encontrar todo o conteúdo de %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Paginação
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Imprimir esta página
|
138
140
|
radio:
|
data/config/locales/ro.yml
CHANGED
@@ -133,7 +133,9 @@ ro:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: Găsiți tot conținutul de la %{organisation}
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: Paginație
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: Imprimați această pagină
|
139
141
|
radio:
|
data/config/locales/ru.yml
CHANGED
data/config/locales/si.yml
CHANGED
@@ -132,7 +132,9 @@ si:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: "%{organisation} වෙතින් සියලුම අන්තර්ගතය සෝයන්න"
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: පිටු අංකය
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: මෙම පිටුව මුද්රණය කරන්න
|
138
140
|
radio:
|
data/config/locales/sk.yml
CHANGED
data/config/locales/sl.yml
CHANGED
data/config/locales/so.yml
CHANGED
@@ -132,7 +132,9 @@ so:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Raadi dhamaan waxyaabaha uu ka koobanyahay %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Lambar siinta boga
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Daabac bogan
|
138
140
|
radio:
|
data/config/locales/sq.yml
CHANGED
@@ -132,7 +132,9 @@ sq:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Gjeni të gjithë përmbajtjen nga %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Numërtimi
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Printo këtë faqe
|
138
140
|
radio:
|
data/config/locales/sr.yml
CHANGED
@@ -133,7 +133,9 @@ sr:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: Pronađite sav sadržaj organizacije %{organisation}
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: Broj stranice
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: Odštampaj ovu stranicu
|
139
141
|
radio:
|
data/config/locales/sv.yml
CHANGED
@@ -132,7 +132,9 @@ sv:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Hitta allt innehåll från %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Paginering
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Skriv ut den här sidan
|
138
140
|
radio:
|
data/config/locales/sw.yml
CHANGED
@@ -132,7 +132,9 @@ sw:
|
|
132
132
|
organisation_schema:
|
133
133
|
all_content_search_description: Tafuta maudhui yote kutoka %{organisation}
|
134
134
|
previous_and_next_navigation:
|
135
|
+
next:
|
135
136
|
pagination: Nambari za kurasa
|
137
|
+
previous:
|
136
138
|
print_link:
|
137
139
|
text: Chapisha ukurasa huu
|
138
140
|
radio:
|
data/config/locales/ta.yml
CHANGED
@@ -133,7 +133,9 @@ ta:
|
|
133
133
|
organisation_schema:
|
134
134
|
all_content_search_description: "%{organisation}-லிருந்து அனைத்து உள்ளடக்கத்தையும் கண்டறி"
|
135
135
|
previous_and_next_navigation:
|
136
|
+
next:
|
136
137
|
pagination: பக்கமிடுதல்
|
138
|
+
previous:
|
137
139
|
print_link:
|
138
140
|
text: இந்தப் பக்கத்தை அச்செடு
|
139
141
|
radio:
|
data/config/locales/th.yml
CHANGED
data/config/locales/tk.yml
CHANGED
data/config/locales/tr.yml
CHANGED
data/config/locales/uk.yml
CHANGED
@@ -139,7 +139,9 @@ uk:
|
|
139
139
|
organisation_schema:
|
140
140
|
all_content_search_description: Знайти весь вміст від %{organization}
|
141
141
|
previous_and_next_navigation:
|
142
|
+
next:
|
142
143
|
pagination: Поділ на сторінки
|
144
|
+
previous:
|
143
145
|
print_link:
|
144
146
|
text: Роздрукувати цю сторінку
|
145
147
|
radio:
|
data/config/locales/ur.yml
CHANGED
data/config/locales/uz.yml
CHANGED
@@ -134,7 +134,9 @@ uz:
|
|
134
134
|
organisation_schema:
|
135
135
|
all_content_search_description: "%{organization} дан бутун контентни топиш"
|
136
136
|
previous_and_next_navigation:
|
137
|
+
next:
|
137
138
|
pagination: Саҳифаларнинг рақамланиши
|
139
|
+
previous:
|
138
140
|
print_link:
|
139
141
|
text: Ушбу саҳифани чоп этиш
|
140
142
|
radio:
|
data/config/locales/vi.yml
CHANGED
data/config/locales/zh-hk.yml
CHANGED
data/config/locales/zh-tw.yml
CHANGED
data/config/locales/zh.yml
CHANGED
@@ -83,10 +83,11 @@
|
|
83
83
|
"maxlength": 10,
|
84
84
|
"label": {
|
85
85
|
"text": "Full address",
|
86
|
+
"classes": "govuk-label--l",
|
86
87
|
"isPageHeading": true
|
87
88
|
}
|
88
89
|
},
|
89
|
-
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n \n\n<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label\" for=\"textarea-with-page-heading\">\n Full address\n </label>\n </h1>\n\n\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"textarea-with-page-heading\" name=\"address\" rows=\"5\" aria-describedby=\"textarea-with-page-heading-info\"></textarea>\n</div>\n\n <div id=\"textarea-with-page-heading-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>",
|
90
|
+
"html": "<div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"10\">\n \n\n<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"textarea-with-page-heading\">\n Full address\n </label>\n </h1>\n\n\n <textarea class=\"govuk-textarea govuk-js-character-count\" id=\"textarea-with-page-heading\" name=\"address\" rows=\"5\" aria-describedby=\"textarea-with-page-heading-info\"></textarea>\n</div>\n\n <div id=\"textarea-with-page-heading-info\" class=\"govuk-hint govuk-character-count__message\">\n You can enter up to 10 characters\n</div>\n\n</div>",
|
90
91
|
"hidden": false
|
91
92
|
},
|
92
93
|
{
|