govuk_publishing_components 39.2.0 → 39.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/vendor/lux/lux-reporter.js +637 -328
- data/app/controllers/govuk_publishing_components/audit_controller.rb +16 -0
- data/app/views/govuk_publishing_components/audit/_applications.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/_contents_list.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/contents_list.yml +1 -1
- data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +14 -7
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df7fbf03f91c150608c1ff35b2aa7334ece94615df55235111abe06a85cf68f2
|
4
|
+
data.tar.gz: 1694a3f8918b05ad9b53d0790be258b802ea2d516e0e28539c46410c3529308c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6039fe4d93d1739878680bb30734d51d0cb87fc2f4daacbac67c45e0c725d2ba8e149a860f89df943668a88464b5a91e054dcd66c754bc8c92a0538d68a5eac1
|
7
|
+
data.tar.gz: 2d30d358877b81f7d0a91d5fc2ac42d053eb1b77b3f48463f30f672a85133ecc42466bef0caf03814804296328a292c27544439fa158864497dffcd93c59f8aa
|
data/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# GOV.UK Publishing Components
|
2
|
-
|
3
|
-
[![status](https://badgen.net/github/status/alphagov/govuk_publishing_components/main)](https://github.com/alphagov/govuk_publishing_components/actions?query=branch%3Amain)
|
2
|
+
[![status](https://github.com/alphagov/govuk_publishing_components/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/alphagov/govuk_publishing_components/actions/workflows/ci.yml?query=branch%3Amain)
|
4
3
|
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
|
5
4
|
[![Stylelint Style Guide](https://img.shields.io/badge/code_style-stylelint-brightgreen.svg)](https://github.com/alphagov/stylelint-config-gds/)
|
6
5
|
|
@@ -447,7 +447,7 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
|
|
447
447
|
var $cell = cells[i]
|
448
448
|
var cellVal = parseFloat(this.utils.stripValue($cell.innerText), 10)
|
449
449
|
var $cellSpan = $cell.querySelector('span')
|
450
|
-
var spanWidth = $cell.querySelector('span').offsetWidth +
|
450
|
+
var spanWidth = $cell.querySelector('span').offsetWidth + 10 // +10 just for extra padding
|
451
451
|
var cellWidth = $cell.offsetWidth
|
452
452
|
|
453
453
|
if (!this.options.stacked) {
|