govuk_publishing_components 44.4.1 → 44.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03e23c3d08539cc78a6885528be7099e0b51ecb14cf07bbdbba63423efa7dab5
4
- data.tar.gz: 3c73f4b0792536700425c873c987154e63fd4effa58df6942c9906b0f19fdd81
3
+ metadata.gz: 4803eee7fd7b4da7c52b85a5bd2135e72325f2cb03daef3976d8202da94fc680
4
+ data.tar.gz: 5432d1393a928b31f814c4ab722fa01237d7fa35c75ef4a630f18bb57f15bbeb
5
5
  SHA512:
6
- metadata.gz: 370b141dcced2433adeaefa9a367e1f9d42c3b4df99893849fdbc5e99611bd57cde80aa23f81a6e0833336183239f26da717589c6eb864739bb58eb1beb7b833
7
- data.tar.gz: 1378a24ec8d2042c698857de2eed671348cb09b42d6a44fcad8bca34433295ff6cf2ad8e6da74468c4d5eedde925f75775a67ff99987eff4f79dabde3662a1d3
6
+ metadata.gz: f6e01b6696bf8ea81c75266bb8e3aee3229be116ff2abc779a3067e3108ead0d69f2e34cbfb46b14cfef3ff3f00799ceb556b9126887b2bc05be72b98dde5463
7
+ data.tar.gz: 7a31577527503f675bc2d07ce46f97e2e22b11e11bda80ee1ace30c09b56d644f58cfe489b7ad7103504a616e331409f6f2f6bc1d7c6827aad44f71cc163bc07
@@ -333,7 +333,7 @@ window.GOVUK.analyticsGa4 = window.GOVUK.analyticsGa4 || {};
333
333
  var element = data.element
334
334
  var resultsId = data.resultsId
335
335
  var isClickEvent = data.event !== undefined
336
- var isSearchResult = element.getAttribute('data-ga4-search-query')
336
+ var isSearchResult = element.getAttribute('data-ga4-search-query') !== null
337
337
 
338
338
  var ecommerceSchema = new window.GOVUK.analyticsGa4.Schemas().ecommerceSchema()
339
339
  var DEFAULT_LIST_TITLE = 'Smart answer results'
@@ -93,7 +93,7 @@
93
93
  <tr class="govuk-table__row">
94
94
  <td class="govuk-table__cell"></td>
95
95
  <% keys.each do |key| %>
96
- <th class="govuk-table__header scope="col">
96
+ <th class="govuk-table__header" scope="col">
97
97
  <%= key %>
98
98
  </th>
99
99
  <% end %>
@@ -125,7 +125,7 @@
125
125
  <tbody class="govuk-table__body">
126
126
  <% keys.each_with_index do |key, index| %>
127
127
  <tr>
128
- <th class="govuk-table__header scope="row">
128
+ <th class="govuk-table__header" scope="row">
129
129
  <%= key %>
130
130
  </th>
131
131
  <% rows.each do |row| %>
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "44.4.1".freeze
2
+ VERSION = "44.4.2".freeze
3
3
  end
@@ -1,10 +1,10 @@
1
1
  # axe-core
2
2
 
3
- [![License](https://img.shields.io/npm/l/axe-core.svg)](LICENSE)
3
+ [![License](https://img.shields.io/npm/l/axe-core.svg?color=c41)](LICENSE)
4
4
  [![Version](https://img.shields.io/npm/v/axe-core.svg)](https://www.npmjs.com/package/axe-core)
5
- [![Total npm downloads](https://img.shields.io/npm/dt/axe-core.svg)](https://www.npmjs.com/package/axe-core)
5
+ [![NPM downloads](https://img.shields.io/npm/dw/axe-core.svg?color=080)![](https://img.shields.io/npm/dy/axe-core.svg?color=080&label=)](https://npm-stat.com/charts.html?package=axe-core&from=2017-01-01)
6
6
  [![Commits](https://img.shields.io/github/commit-activity/y/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/commits/develop)
7
- [![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg)](https://github.com/dequelabs/axe-core/graphs/contributors)
7
+ [![GitHub contributors](https://img.shields.io/github/contributors/dequelabs/axe-core.svg?color=080)](https://github.com/dequelabs/axe-core/graphs/contributors)
8
8
  [![Join our Slack chat](https://img.shields.io/badge/slack-chat-purple.svg?logo=slack)](https://accessibility.deque.com/axe-community)
9
9
  [![Package Quality](https://npm.packagequality.com/shield/axe-core.svg)](https://packagequality.com/#?package=axe-core)
10
10
 
@@ -143,10 +143,14 @@ declare namespace axe {
143
143
  iframes?: boolean;
144
144
  elementRef?: boolean;
145
145
  frameWaitTime?: number;
146
- preload?: boolean;
146
+ preload?: boolean | PreloadOptions;
147
147
  performanceTimer?: boolean;
148
148
  pingWaitTime?: number;
149
149
  }
150
+ interface PreloadOptions {
151
+ assets: string[];
152
+ timeout?: number;
153
+ }
150
154
  interface AxeResults extends EnvironmentData {
151
155
  toolOptions: RunOptions;
152
156
  passes: Result[];