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.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/component_guide/accessibility-test.js +0 -1
  3. data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +13 -4
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -6
  5. data/app/views/govuk_publishing_components/components/_share_links.html.erb +7 -2
  6. data/config/locales/ar.yml +4 -1
  7. data/config/locales/az.yml +4 -1
  8. data/config/locales/be.yml +4 -1
  9. data/config/locales/bg.yml +4 -1
  10. data/config/locales/bn.yml +4 -1
  11. data/config/locales/cs.yml +4 -1
  12. data/config/locales/cy.yml +4 -1
  13. data/config/locales/da.yml +4 -1
  14. data/config/locales/de.yml +4 -1
  15. data/config/locales/dr.yml +4 -1
  16. data/config/locales/el.yml +4 -1
  17. data/config/locales/en.yml +20 -17
  18. data/config/locales/es-419.yml +4 -1
  19. data/config/locales/es.yml +4 -1
  20. data/config/locales/et.yml +4 -1
  21. data/config/locales/fa.yml +4 -1
  22. data/config/locales/fi.yml +4 -1
  23. data/config/locales/fr.yml +4 -1
  24. data/config/locales/gd.yml +4 -1
  25. data/config/locales/gu.yml +4 -1
  26. data/config/locales/he.yml +4 -1
  27. data/config/locales/hi.yml +4 -1
  28. data/config/locales/hr.yml +4 -1
  29. data/config/locales/hu.yml +4 -1
  30. data/config/locales/hy.yml +4 -1
  31. data/config/locales/id.yml +4 -1
  32. data/config/locales/is.yml +4 -1
  33. data/config/locales/it.yml +4 -1
  34. data/config/locales/ja.yml +4 -1
  35. data/config/locales/ka.yml +4 -1
  36. data/config/locales/kk.yml +4 -1
  37. data/config/locales/ko.yml +4 -1
  38. data/config/locales/lt.yml +4 -1
  39. data/config/locales/lv.yml +4 -1
  40. data/config/locales/ms.yml +4 -1
  41. data/config/locales/mt.yml +4 -1
  42. data/config/locales/nl.yml +4 -1
  43. data/config/locales/no.yml +4 -1
  44. data/config/locales/pa-pk.yml +4 -1
  45. data/config/locales/pa.yml +4 -1
  46. data/config/locales/pl.yml +4 -1
  47. data/config/locales/ps.yml +4 -1
  48. data/config/locales/pt.yml +4 -1
  49. data/config/locales/ro.yml +4 -1
  50. data/config/locales/ru.yml +4 -1
  51. data/config/locales/si.yml +4 -1
  52. data/config/locales/sk.yml +4 -1
  53. data/config/locales/sl.yml +4 -1
  54. data/config/locales/so.yml +4 -1
  55. data/config/locales/sq.yml +4 -1
  56. data/config/locales/sr.yml +4 -1
  57. data/config/locales/sv.yml +4 -1
  58. data/config/locales/sw.yml +4 -1
  59. data/config/locales/ta.yml +4 -1
  60. data/config/locales/th.yml +4 -1
  61. data/config/locales/tk.yml +4 -1
  62. data/config/locales/tr.yml +4 -1
  63. data/config/locales/uk.yml +4 -1
  64. data/config/locales/ur.yml +4 -1
  65. data/config/locales/uz.yml +4 -1
  66. data/config/locales/vi.yml +4 -1
  67. data/config/locales/zh-hk.yml +4 -1
  68. data/config/locales/zh-tw.yml +4 -1
  69. data/config/locales/zh.yml +4 -1
  70. data/lib/govuk_publishing_components/version.rb +1 -1
  71. data/node_modules/axe-core/axe.js +11 -8
  72. data/node_modules/axe-core/axe.min.js +2 -2
  73. data/node_modules/axe-core/package.json +1 -1
  74. data/node_modules/axe-core/sri-history.json +4 -0
  75. metadata +3 -3
@@ -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,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "32.0.0".freeze
2
+ VERSION = "32.1.0".freeze
3
3
  end
@@ -1,4 +1,4 @@
1
- /*! axe v4.5.0
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.0';
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
  }