govuk_publishing_components 23.7.2 → 23.7.3
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/govuk_publishing_components/lib/govspeak/magna-charta.js +1 -2
- data/app/assets/stylesheets/govuk_publishing_components/component_support.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_govuk-template-link-focus-override.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_accordion.scss +3 -3
- 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: 75f61bf34f923cb81dd2f54ac1d0b13e57654e901f8e82823adb6752c0bf3039
|
4
|
+
data.tar.gz: 7237262c7552db55b7f73861ec5f81e4c30b7806b9f409e7bbda73ca02ee6cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c4ff693cf242a5f6d5bb23d5d95a426bd097ad2e94af4519756b9b91e2af61db15e6ebb9a79de9bb3f569ca77762b052cd07aeeab2e2ca257d5084bc0baaf11
|
7
|
+
data.tar.gz: c0a26d3c76e16881fc348ab176e3cf6c65702b942214435d64e9af22a51cb82cf9e123711e164bd96e1f93f5e4135448f23d033a7560008333638de4661f17a7
|
@@ -215,8 +215,7 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
|
|
215
215
|
return !isNaN(parseFloat(val))
|
216
216
|
},
|
217
217
|
stripValue: function (val) {
|
218
|
-
|
219
|
-
return val.replace(re, '')
|
218
|
+
return val.replace(/,|£|%|[a-z]/gi, '')
|
220
219
|
},
|
221
220
|
returnMax: function (values) {
|
222
221
|
var max = 0
|
@@ -9,6 +9,7 @@
|
|
9
9
|
@import "govuk_publishing_components/components/helpers/variables";
|
10
10
|
@import "govuk_publishing_components/components/helpers/brand-colours";
|
11
11
|
@import "govuk_publishing_components/components/helpers/link";
|
12
|
+
@import "govuk_publishing_components/components/helpers/px-to-em";
|
12
13
|
@import "govuk_publishing_components/components/mixins/govuk-template-link-focus-override";
|
13
14
|
@import "govuk_publishing_components/components/mixins/media-down";
|
14
15
|
@import "govuk_publishing_components/components/mixins/margins";
|
@@ -39,7 +39,7 @@ $large-input-size: 50px;
|
|
39
39
|
padding: 6px;
|
40
40
|
margin: 0;
|
41
41
|
width: 100%;
|
42
|
-
height:
|
42
|
+
height: em(34, 16);
|
43
43
|
border: $govuk-border-width-form-element solid $govuk-input-border-colour;
|
44
44
|
background: govuk-colour("white");
|
45
45
|
border-radius: 0; //otherwise iphones apply an automatic border radius
|
@@ -152,7 +152,7 @@
|
|
152
152
|
}
|
153
153
|
|
154
154
|
.mc-value-overflow {
|
155
|
-
text-indent: -99999px !important;
|
155
|
+
text-indent: -99999px !important; // stylelint-disable-line declaration-no-important
|
156
156
|
}
|
157
157
|
|
158
158
|
// Bar labels
|
@@ -178,7 +178,7 @@
|
|
178
178
|
|
179
179
|
.mc-stacked-total {
|
180
180
|
padding: $bar-padding 0;
|
181
|
-
background-color: transparent !important;
|
181
|
+
background-color: transparent !important; // stylelint-disable-line declaration-no-important
|
182
182
|
color: govuk-colour("black");
|
183
183
|
display: inline-block;
|
184
184
|
text-indent: 5px;
|
@@ -6,12 +6,12 @@
|
|
6
6
|
|
7
7
|
// Open all of the accordion sections.
|
8
8
|
.govuk-accordion__section-content {
|
9
|
-
display: block !important;
|
9
|
+
display: block !important; // stylelint-disable-line declaration-no-important
|
10
10
|
}
|
11
11
|
|
12
12
|
// Change the colour from the blue link colour to black.
|
13
13
|
.govuk-accordion__section-button {
|
14
|
-
color: govuk-colour("black") !important;
|
14
|
+
color: govuk-colour("black") !important; // stylelint-disable-line declaration-no-important
|
15
15
|
}
|
16
16
|
|
17
17
|
// Change the summary subheading size.
|
@@ -27,5 +27,5 @@
|
|
27
27
|
// Hide the unusable "Open all" button and the "+" icons.
|
28
28
|
.govuk-accordion__open-all,
|
29
29
|
.govuk-accordion__icon {
|
30
|
-
display: none !important;
|
30
|
+
display: none !important; // stylelint-disable-line declaration-no-important
|
31
31
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_publishing_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 23.7.
|
4
|
+
version: 23.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|