govuk_publishing_components 32.0.0 → 32.1.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/javascripts/component_guide/accessibility-test.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +13 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -6
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +7 -2
- data/config/locales/ar.yml +4 -1
- data/config/locales/az.yml +4 -1
- data/config/locales/be.yml +4 -1
- data/config/locales/bg.yml +4 -1
- data/config/locales/bn.yml +4 -1
- data/config/locales/cs.yml +4 -1
- data/config/locales/cy.yml +4 -1
- data/config/locales/da.yml +4 -1
- data/config/locales/de.yml +4 -1
- data/config/locales/dr.yml +4 -1
- data/config/locales/el.yml +4 -1
- data/config/locales/en.yml +20 -17
- data/config/locales/es-419.yml +4 -1
- data/config/locales/es.yml +4 -1
- data/config/locales/et.yml +4 -1
- data/config/locales/fa.yml +4 -1
- data/config/locales/fi.yml +4 -1
- data/config/locales/fr.yml +4 -1
- data/config/locales/gd.yml +4 -1
- data/config/locales/gu.yml +4 -1
- data/config/locales/he.yml +4 -1
- data/config/locales/hi.yml +4 -1
- data/config/locales/hr.yml +4 -1
- data/config/locales/hu.yml +4 -1
- data/config/locales/hy.yml +4 -1
- data/config/locales/id.yml +4 -1
- data/config/locales/is.yml +4 -1
- data/config/locales/it.yml +4 -1
- data/config/locales/ja.yml +4 -1
- data/config/locales/ka.yml +4 -1
- data/config/locales/kk.yml +4 -1
- data/config/locales/ko.yml +4 -1
- data/config/locales/lt.yml +4 -1
- data/config/locales/lv.yml +4 -1
- data/config/locales/ms.yml +4 -1
- data/config/locales/mt.yml +4 -1
- data/config/locales/nl.yml +4 -1
- data/config/locales/no.yml +4 -1
- data/config/locales/pa-pk.yml +4 -1
- data/config/locales/pa.yml +4 -1
- data/config/locales/pl.yml +4 -1
- data/config/locales/ps.yml +4 -1
- data/config/locales/pt.yml +4 -1
- data/config/locales/ro.yml +4 -1
- data/config/locales/ru.yml +4 -1
- data/config/locales/si.yml +4 -1
- data/config/locales/sk.yml +4 -1
- data/config/locales/sl.yml +4 -1
- data/config/locales/so.yml +4 -1
- data/config/locales/sq.yml +4 -1
- data/config/locales/sr.yml +4 -1
- data/config/locales/sv.yml +4 -1
- data/config/locales/sw.yml +4 -1
- data/config/locales/ta.yml +4 -1
- data/config/locales/th.yml +4 -1
- data/config/locales/tk.yml +4 -1
- data/config/locales/tr.yml +4 -1
- data/config/locales/uk.yml +4 -1
- data/config/locales/ur.yml +4 -1
- data/config/locales/uz.yml +4 -1
- data/config/locales/vi.yml +4 -1
- data/config/locales/zh-hk.yml +4 -1
- data/config/locales/zh-tw.yml +4 -1
- data/config/locales/zh.yml +4 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/axe.js +11 -8
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/package.json +1 -1
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +3 -3
data/config/locales/zh.yml
CHANGED
@@ -162,13 +162,16 @@ zh:
|
|
162
162
|
link_text: 检查您需要做的事情
|
163
163
|
title: 英国脱欧
|
164
164
|
ukraine:
|
165
|
-
title:
|
166
165
|
links:
|
166
|
+
title:
|
167
167
|
world_locations: 世界地点
|
168
168
|
search_box:
|
169
169
|
input_title: 搜索
|
170
170
|
label: 搜索GOV.UK
|
171
171
|
search_button: 搜索
|
172
|
+
share_links:
|
173
|
+
all_opens_in_new_tab:
|
174
|
+
opens_in_new_tab:
|
172
175
|
show_password:
|
173
176
|
announce_hide: 您的密码已隐藏
|
174
177
|
announce_show: 您的密码已显示
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! axe v4.5.
|
1
|
+
/*! axe v4.5.1
|
2
2
|
* Copyright (c) 2022 Deque Systems, Inc.
|
3
3
|
*
|
4
4
|
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
@@ -22,7 +22,7 @@
|
|
22
22
|
}, _typeof(obj);
|
23
23
|
}
|
24
24
|
var axe = axe || {};
|
25
|
-
axe.version = '4.5.
|
25
|
+
axe.version = '4.5.1';
|
26
26
|
if (typeof define === 'function' && define.amd) {
|
27
27
|
define('axe-core', [], function() {
|
28
28
|
return axe;
|
@@ -6116,8 +6116,8 @@
|
|
6116
6116
|
return '';
|
6117
6117
|
}
|
6118
6118
|
var source = element.outerHTML;
|
6119
|
-
if (!source && typeof XMLSerializer === 'function') {
|
6120
|
-
source = new XMLSerializer().serializeToString(element);
|
6119
|
+
if (!source && typeof window.XMLSerializer === 'function') {
|
6120
|
+
source = new window.XMLSerializer().serializeToString(element);
|
6121
6121
|
}
|
6122
6122
|
return truncate(source || '');
|
6123
6123
|
}
|
@@ -12074,7 +12074,7 @@
|
|
12074
12074
|
function parseCrossOriginStylesheet(url, options, priority, importedUrls, isCrossOrigin) {
|
12075
12075
|
importedUrls.push(url);
|
12076
12076
|
return new Promise(function(resolve, reject) {
|
12077
|
-
var request = new XMLHttpRequest();
|
12077
|
+
var request = new window.XMLHttpRequest();
|
12078
12078
|
request.open('GET', url);
|
12079
12079
|
request.timeout = constants_default.preload.timeout;
|
12080
12080
|
request.addEventListener('error', reject);
|
@@ -12410,8 +12410,8 @@
|
|
12410
12410
|
writable: true
|
12411
12411
|
});
|
12412
12412
|
}
|
12413
|
-
if (window.Node && !('isConnected' in Node.prototype)) {
|
12414
|
-
Object.defineProperty(Node.prototype, 'isConnected', {
|
12413
|
+
if (window.Node && !('isConnected' in window.Node.prototype)) {
|
12414
|
+
Object.defineProperty(window.Node.prototype, 'isConnected', {
|
12415
12415
|
get: function get() {
|
12416
12416
|
return !this.ownerDocument || !(this.ownerDocument.compareDocumentPosition(this) & this.DOCUMENT_POSITION_DISCONNECTED);
|
12417
12417
|
}
|
@@ -12574,6 +12574,9 @@
|
|
12574
12574
|
}
|
12575
12575
|
function getStylesheetsFromDocument(rootNode) {
|
12576
12576
|
return Array.from(rootNode.styleSheets).filter(function(sheet) {
|
12577
|
+
if (!sheet.media) {
|
12578
|
+
return false;
|
12579
|
+
}
|
12577
12580
|
return filterMediaIsPrint(sheet.media.mediaText);
|
12578
12581
|
});
|
12579
12582
|
}
|
@@ -17640,7 +17643,7 @@
|
|
17640
17643
|
}
|
17641
17644
|
var flatten_shadow_colors_default = flattenColors2;
|
17642
17645
|
function isInlineDescendant(node, descendant) {
|
17643
|
-
var CONTAINED_BY = Node.DOCUMENT_POSITION_CONTAINED_BY;
|
17646
|
+
var CONTAINED_BY = window.Node.DOCUMENT_POSITION_CONTAINED_BY;
|
17644
17647
|
if (!(node.compareDocumentPosition(descendant) & CONTAINED_BY)) {
|
17645
17648
|
return false;
|
17646
17649
|
}
|