govuk_publishing_components 34.1.3 → 34.3.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/icon-search.svg +3 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +15 -19
- data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +0 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +26 -9
- data/app/controllers/govuk_publishing_components/application_controller.rb +0 -13
- data/app/views/govuk_publishing_components/components/_accordion.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_error_message.html.erb +2 -1
- data/app/views/govuk_publishing_components/components/_google_tag_manager_script.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_hint.html.erb +2 -1
- data/app/views/govuk_publishing_components/components/_input.html.erb +8 -2
- data/app/views/govuk_publishing_components/components/_label.html.erb +4 -3
- data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_textarea.html.erb +10 -2
- data/app/views/govuk_publishing_components/components/docs/error_message.yml +13 -0
- data/app/views/govuk_publishing_components/components/docs/hint.yml +6 -0
- data/app/views/govuk_publishing_components/components/docs/input.yml +32 -0
- data/app/views/govuk_publishing_components/components/docs/label.yml +11 -0
- data/app/views/govuk_publishing_components/components/docs/textarea.yml +31 -0
- data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/metadata/_sentence.html.erb +4 -2
- data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +4 -4
- data/app/views/layouts/govuk_publishing_components/application.html.erb +2 -2
- data/config/locales/ar.yml +4 -4
- data/config/locales/az.yml +4 -4
- data/config/locales/be.yml +4 -4
- data/config/locales/bg.yml +4 -4
- data/config/locales/bn.yml +4 -4
- data/config/locales/cs.yml +4 -4
- data/config/locales/cy.yml +4 -4
- data/config/locales/da.yml +4 -4
- data/config/locales/de.yml +4 -4
- data/config/locales/dr.yml +4 -4
- data/config/locales/el.yml +4 -4
- data/config/locales/en.yml +6 -6
- data/config/locales/es-419.yml +4 -4
- data/config/locales/es.yml +4 -4
- data/config/locales/et.yml +4 -4
- data/config/locales/fa.yml +4 -4
- data/config/locales/fi.yml +4 -4
- data/config/locales/fr.yml +4 -4
- data/config/locales/gd.yml +4 -4
- data/config/locales/gu.yml +4 -4
- data/config/locales/he.yml +4 -4
- data/config/locales/hi.yml +4 -4
- data/config/locales/hr.yml +4 -4
- data/config/locales/hu.yml +4 -4
- data/config/locales/hy.yml +4 -4
- data/config/locales/id.yml +4 -4
- data/config/locales/is.yml +4 -4
- data/config/locales/it.yml +4 -4
- data/config/locales/ja.yml +4 -4
- data/config/locales/ka.yml +4 -4
- data/config/locales/kk.yml +4 -4
- data/config/locales/ko.yml +4 -4
- data/config/locales/lt.yml +4 -4
- data/config/locales/lv.yml +4 -4
- data/config/locales/ms.yml +4 -4
- data/config/locales/mt.yml +4 -4
- data/config/locales/nl.yml +4 -4
- data/config/locales/no.yml +4 -4
- data/config/locales/pa-pk.yml +4 -4
- data/config/locales/pa.yml +4 -4
- data/config/locales/pl.yml +4 -4
- data/config/locales/ps.yml +4 -4
- data/config/locales/pt.yml +4 -4
- data/config/locales/ro.yml +4 -4
- data/config/locales/ru.yml +4 -4
- data/config/locales/si.yml +4 -4
- data/config/locales/sk.yml +4 -4
- data/config/locales/sl.yml +4 -4
- data/config/locales/so.yml +4 -4
- data/config/locales/sq.yml +4 -4
- data/config/locales/sr.yml +4 -4
- data/config/locales/sv.yml +4 -4
- data/config/locales/sw.yml +4 -4
- data/config/locales/ta.yml +4 -4
- data/config/locales/th.yml +4 -4
- data/config/locales/tk.yml +4 -4
- data/config/locales/tr.yml +4 -4
- data/config/locales/uk.yml +4 -4
- data/config/locales/ur.yml +4 -4
- data/config/locales/uz.yml +4 -4
- data/config/locales/vi.yml +4 -4
- data/config/locales/zh-hk.yml +4 -4
- data/config/locales/zh-tw.yml +4 -4
- data/config/locales/zh.yml +4 -4
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/axe.js +7 -8
- data/node_modules/axe-core/axe.min.js +3 -3
- data/node_modules/axe-core/package.json +1 -1
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +4 -3
data/config/locales/tk.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
tk:
|
3
3
|
common:
|
4
|
+
hide: Gizle
|
5
|
+
show: görkez
|
6
|
+
toggle_less: Azrak görkez
|
7
|
+
toggle_more: "%{show} %{number} köpeltmek üçin"
|
4
8
|
translations: Terjimeler
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: Gizle
|
8
11
|
hide_all: Ähli bölümleri gizle
|
9
|
-
show: görkez
|
10
12
|
show_all: Ähli bölümleri görkez
|
11
13
|
this_section_visually_hidden: " Bu bölüm"
|
12
14
|
article_schema:
|
@@ -127,8 +129,6 @@ tk:
|
|
127
129
|
part_of: Bir bölegi
|
128
130
|
published: Çap edilen
|
129
131
|
see_all_updates: Ähli täzelenmelere serediň
|
130
|
-
toggle_less: Azrak görkez
|
131
|
-
toggle_more: "+ %{number} köpeltmek üçin"
|
132
132
|
modal_dialogue:
|
133
133
|
close_modal: Modal gepleşikleri tamamlamak
|
134
134
|
notice:
|
data/config/locales/tr.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
tr:
|
3
3
|
common:
|
4
|
+
hide: Gizle
|
5
|
+
show: Göster
|
6
|
+
toggle_less: Daha az göster
|
7
|
+
toggle_more: "%{show} %{number} daha fazla"
|
4
8
|
translations: Tercümeler
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: Gizle
|
8
11
|
hide_all: Tüm bölümleri gizle
|
9
|
-
show: Göster
|
10
12
|
show_all: Tüm bölümleri göster
|
11
13
|
this_section_visually_hidden: " Bu bölüm"
|
12
14
|
article_schema:
|
@@ -127,8 +129,6 @@ tr:
|
|
127
129
|
part_of: Şunun kısmı
|
128
130
|
published: Yayınlanan
|
129
131
|
see_all_updates: Tüm güncellemeleri görün
|
130
|
-
toggle_less: Daha az göster
|
131
|
-
toggle_more: "+ %{number} daha fazla"
|
132
132
|
modal_dialogue:
|
133
133
|
close_modal: Model diyaloğu kapat
|
134
134
|
notice:
|
data/config/locales/uk.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
uk:
|
3
3
|
common:
|
4
|
+
hide: Приховати
|
5
|
+
show: Показати
|
6
|
+
toggle_less: Показати менше
|
7
|
+
toggle_more: "%{show} %{number} більше"
|
4
8
|
translations: Переклади
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: Приховати
|
8
11
|
hide_all: приховати всі розділи
|
9
|
-
show: Показати
|
10
12
|
show_all: Показати всі розділи
|
11
13
|
this_section_visually_hidden: " цей розділ"
|
12
14
|
article_schema:
|
@@ -133,8 +135,6 @@ uk:
|
|
133
135
|
part_of: Частина
|
134
136
|
published: Опубліковано
|
135
137
|
see_all_updates: Переглянути всі оновлення
|
136
|
-
toggle_less: Показати менше
|
137
|
-
toggle_more: "+ %{number} більше"
|
138
138
|
modal_dialogue:
|
139
139
|
close_modal: Закрити модальний діалог
|
140
140
|
notice:
|
data/config/locales/ur.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
ur:
|
3
3
|
common:
|
4
|
+
hide: پوشیدہ کریں
|
5
|
+
show: دکھائی
|
6
|
+
toggle_less: کم دکھائیں
|
7
|
+
toggle_more: "%{show} %{number} مزید"
|
4
8
|
translations: تراجم
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: پوشیدہ کریں
|
8
11
|
hide_all: تمام سیکشنز کو پوشیدہ کریں
|
9
|
-
show: دکھائی
|
10
12
|
show_all: تمام سیکشنز دکھائیں
|
11
13
|
this_section_visually_hidden: " یہ سیکشن"
|
12
14
|
article_schema:
|
@@ -123,8 +125,6 @@ ur:
|
|
123
125
|
part_of: حصہ از
|
124
126
|
published: شائع کردہ
|
125
127
|
see_all_updates: تمام اپ ڈیٹس دیکھیں
|
126
|
-
toggle_less: کم دکھائیں
|
127
|
-
toggle_more: "+ %{number} مزید"
|
128
128
|
modal_dialogue:
|
129
129
|
close_modal: محدود موڈل ڈائیلاگ
|
130
130
|
notice:
|
data/config/locales/uz.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
uz:
|
3
3
|
common:
|
4
|
+
hide: Яшириш
|
5
|
+
show: Кўрсатиш
|
6
|
+
toggle_less: Камроқ кўрсатиш
|
7
|
+
toggle_more: "%{show} %{number} кўпроқ"
|
4
8
|
translations: Таржималар
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: Яшириш
|
8
11
|
hide_all: Бўлимларни барчасини яшириш
|
9
|
-
show: Кўрсатиш
|
10
12
|
show_all: Бўлимларни барчасини кўрсатиш
|
11
13
|
this_section_visually_hidden: " ушбу бўлим"
|
12
14
|
article_schema:
|
@@ -128,8 +130,6 @@ uz:
|
|
128
130
|
part_of: Қисм
|
129
131
|
published: Нашр қилинган
|
130
132
|
see_all_updates: Барча янгиланишларни кўриш
|
131
|
-
toggle_less: Камроқ кўрсатиш
|
132
|
-
toggle_more: "+ %{number} кўпроқ"
|
133
133
|
modal_dialogue:
|
134
134
|
close_modal: Модал мулоқотни ёпиш
|
135
135
|
notice:
|
data/config/locales/vi.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
vi:
|
3
3
|
common:
|
4
|
+
hide: Ẩn
|
5
|
+
show: Hiển thị
|
6
|
+
toggle_less: Ẩn bớt
|
7
|
+
toggle_more: "%{show} thêm %{number}"
|
4
8
|
translations: Bản dịch
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: Ẩn
|
8
11
|
hide_all: Ẩn tất cả các phần
|
9
|
-
show: Hiển thị
|
10
12
|
show_all: Hiển thị tất cả các phần
|
11
13
|
this_section_visually_hidden: " phần này"
|
12
14
|
article_schema:
|
@@ -125,8 +127,6 @@ vi:
|
|
125
127
|
part_of: Một phần của
|
126
128
|
published: Đã xuất bản
|
127
129
|
see_all_updates: Xem tất cả nội dung cập nhật
|
128
|
-
toggle_less: Ẩn bớt
|
129
|
-
toggle_more: "+ thêm %{number}"
|
130
130
|
modal_dialogue:
|
131
131
|
close_modal: Đóng đối thoại phương thức
|
132
132
|
notice:
|
data/config/locales/zh-hk.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
zh-hk:
|
3
3
|
common:
|
4
|
+
hide: 隱藏
|
5
|
+
show: 顯示
|
6
|
+
toggle_less: 顯示更少內容
|
7
|
+
toggle_more: "%{show} %{number} more"
|
4
8
|
translations: 譯文
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: 隱藏
|
8
11
|
hide_all: 隱藏所有部份
|
9
|
-
show: 顯示
|
10
12
|
show_all: 顯示所有部份
|
11
13
|
this_section_visually_hidden: 此部份
|
12
14
|
article_schema:
|
@@ -124,8 +126,6 @@ zh-hk:
|
|
124
126
|
part_of: 部份
|
125
127
|
published: 已發佈
|
126
128
|
see_all_updates: 查閱所有更新項
|
127
|
-
toggle_less: 顯示更少內容
|
128
|
-
toggle_more: "+ %{number} more"
|
129
129
|
modal_dialogue:
|
130
130
|
close_modal: 關閉互動視窗對話
|
131
131
|
notice:
|
data/config/locales/zh-tw.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
zh-tw:
|
3
3
|
common:
|
4
|
+
hide: 隱藏
|
5
|
+
show: 展開
|
6
|
+
toggle_less: 顯示部分
|
7
|
+
toggle_more: "%{show} %{number}更多"
|
4
8
|
translations: 翻譯
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: 隱藏
|
8
11
|
hide_all: 隱藏所有區段
|
9
|
-
show: 展開
|
10
12
|
show_all: 展開所有區段
|
11
13
|
this_section_visually_hidden: " 這個區段"
|
12
14
|
article_schema:
|
@@ -124,8 +126,6 @@ zh-tw:
|
|
124
126
|
part_of: 部分
|
125
127
|
published: 發布
|
126
128
|
see_all_updates: 查看所有更新
|
127
|
-
toggle_less: 顯示部分
|
128
|
-
toggle_more: "+ %{number}更多"
|
129
129
|
modal_dialogue:
|
130
130
|
close_modal: 關閉模態對話
|
131
131
|
notice:
|
data/config/locales/zh.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
---
|
2
2
|
zh:
|
3
3
|
common:
|
4
|
+
hide: 隐藏
|
5
|
+
show: 显示
|
6
|
+
toggle_less: 显示更少
|
7
|
+
toggle_more: "%{show} %{number}更多"
|
4
8
|
translations: 翻译
|
5
9
|
components:
|
6
10
|
accordion:
|
7
|
-
hide: 隐藏
|
8
11
|
hide_all: 隐藏所有小节
|
9
|
-
show: 显示
|
10
12
|
show_all: 显示所有小节
|
11
13
|
this_section_visually_hidden: " 本小节"
|
12
14
|
article_schema:
|
@@ -124,8 +126,6 @@ zh:
|
|
124
126
|
part_of: 一部分
|
125
127
|
published: 已发布
|
126
128
|
see_all_updates: 查看全部更新
|
127
|
-
toggle_less: 显示更少
|
128
|
-
toggle_more: "+ %{number}更多"
|
129
129
|
modal_dialogue:
|
130
130
|
close_modal: 关闭模态对话
|
131
131
|
notice:
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/*! axe v4.6.
|
2
|
-
* Copyright (c)
|
1
|
+
/*! axe v4.6.2
|
2
|
+
* Copyright (c) 2023 Deque Systems, Inc.
|
3
3
|
*
|
4
4
|
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
5
5
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
@@ -22,7 +22,7 @@
|
|
22
22
|
}, _typeof(obj);
|
23
23
|
}
|
24
24
|
var axe = axe || {};
|
25
|
-
axe.version = '4.6.
|
25
|
+
axe.version = '4.6.2';
|
26
26
|
if (typeof define === 'function' && define.amd) {
|
27
27
|
define('axe-core', [], function() {
|
28
28
|
return axe;
|
@@ -18127,16 +18127,15 @@
|
|
18127
18127
|
function fullyEncompasses(node, rects) {
|
18128
18128
|
rects = Array.isArray(rects) ? rects : [ rects ];
|
18129
18129
|
var nodeRect = node.getBoundingClientRect();
|
18130
|
+
var right = nodeRect.right, bottom = nodeRect.bottom;
|
18130
18131
|
var style = window.getComputedStyle(node);
|
18131
18132
|
var overflow = style.getPropertyValue('overflow');
|
18132
18133
|
if ([ 'scroll', 'auto' ].includes(overflow) || node instanceof window.HTMLHtmlElement) {
|
18133
|
-
nodeRect.
|
18134
|
-
nodeRect.
|
18135
|
-
nodeRect.right = nodeRect.left + nodeRect.width;
|
18136
|
-
nodeRect.bottom = nodeRect.top + nodeRect.height;
|
18134
|
+
right = nodeRect.left + node.scrollWidth;
|
18135
|
+
bottom = nodeRect.top + node.scrollHeight;
|
18137
18136
|
}
|
18138
18137
|
return rects.every(function(rect) {
|
18139
|
-
return rect.top >= nodeRect.top && rect.bottom <=
|
18138
|
+
return rect.top >= nodeRect.top && rect.bottom <= bottom && rect.left >= nodeRect.left && rect.right <= right;
|
18140
18139
|
});
|
18141
18140
|
}
|
18142
18141
|
function normalizeBlendMode(blendmode) {
|