govuk_publishing_components 44.4.0 → 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: acaaebc230d315ddd2b5247622c5b98dccef59074721ca8f33c338360b55ddc4
4
- data.tar.gz: 4662cc43523ed060f3d57044179501e2623f9ac93574a38fdfb5c1c8f069e928
3
+ metadata.gz: 4803eee7fd7b4da7c52b85a5bd2135e72325f2cb03daef3976d8202da94fc680
4
+ data.tar.gz: 5432d1393a928b31f814c4ab722fa01237d7fa35c75ef4a630f18bb57f15bbeb
5
5
  SHA512:
6
- metadata.gz: 3b14547627345313b4f75687ab9565fe1bf959d3245b833c2fc959b6b5dc5bbb14d8bce0e15826ea4ecef4475b99384c04251125539ef1e8576102424e7309e7
7
- data.tar.gz: 5a99542a48114c6a2fe965b06ec669e10d2d8b66877190f042f6df02c8135d717f63864c5ff3732d0ba1d5bada1ba34ed4373626f55c2d117effe91889c28c2d
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.0".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[];