@govuk-pay/pay-js-commons 3.8.0 → 3.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/.github/workflows/run-tests.yml +3 -3
  2. package/.idea/codeStyles/Project.xml +4 -0
  3. package/.idea/jpa-buddy.xml +6 -0
  4. package/.idea/misc.xml +3 -0
  5. package/images/custom/neath_port_talbet_council.png +0 -0
  6. package/lib/analytics/cookies/validate.js +4 -26
  7. package/lib/analytics/dist/cookies.js +724 -27
  8. package/lib/analytics/index.js +0 -1
  9. package/lib/browsered/field-validation/field-validation.js +4 -22
  10. package/lib/constants/index.js +1 -1
  11. package/lib/index.js +2 -7
  12. package/lib/logging/format.js +1 -2
  13. package/lib/logging/index.js +1 -4
  14. package/lib/logging/keys.js +66 -33
  15. package/lib/logging/request-log-format.js +0 -2
  16. package/lib/nunjucks-filters/country-iso-to-name.js +1 -2
  17. package/lib/nunjucks-filters/datetime.js +0 -3
  18. package/lib/nunjucks-filters/remove-indefinite-articles.js +1 -0
  19. package/lib/nunjucks-filters/slugify.js +0 -1
  20. package/lib/utils/countries.js +8 -10
  21. package/lib/utils/currency-formatter.js +2 -10
  22. package/lib/utils/field-validation-checks.js +6 -22
  23. package/lib/utils/is-valid-email.js +2 -3
  24. package/package.json +6 -6
  25. package/sass/custom/neath_port_talbet_council.scss +56 -0
  26. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  27. package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  28. package/.idea/sonarlint/issuestore/a/1/a16ffce9c4014536b0d5997f1ff408f19a8510f7 +0 -0
  29. package/.idea/sonarlint/issuestore/b/9/b990dd75f097078d3650d1f96db34389de3006f0 +0 -0
  30. package/.idea/sonarlint/issuestore/f/7/f7a87ae0426cafc2323c6c7ea540fb129c638c87 +0 -0
  31. package/.idea/sonarlint/issuestore/index.pb +0 -11
@@ -0,0 +1,56 @@
1
+ $govuk-font-family: -apple-system,BlinkMacSystemFont,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; // Override font as so not to use New Transport
2
+ @import "application";
3
+
4
+ // CUSTOM BRANDING
5
+ // Use the variables below to control the style
6
+ // Make sure banner colours meet minimum colour contrast levels
7
+
8
+ $custom-banner-colour: #265571;
9
+ $custom-banner-border-colour: #ffffff;
10
+ $custom-text-colour: #007A7C;
11
+ $logo-image-height: 2em;
12
+
13
+ .custom-branding {
14
+ @if $logo-image-height != null {
15
+ .custom-branding-image {
16
+ max-height: $logo-image-height;
17
+ width: 100%;
18
+ }
19
+ }
20
+
21
+ .govuk-header {
22
+ background-color: $custom-banner-colour;
23
+ }
24
+
25
+ .govuk-header__logotype{
26
+ margin-top: 5px;
27
+ }
28
+
29
+ .govuk-header__link{
30
+ &:link,
31
+ &:visited {
32
+ color: $custom-text-colour;
33
+ }
34
+ }
35
+
36
+ .govuk-header__link--service-name {
37
+ display: none;
38
+ }
39
+
40
+ .govuk-header__container {
41
+ border-bottom-color: $custom-banner-border-colour;
42
+ }
43
+
44
+ @include govuk-media-query($from: tablet) {
45
+ .govuk-header__content {
46
+ width: 66%;
47
+ vertical-align: bottom;
48
+ margin-bottom: 7px;
49
+ }
50
+ }
51
+
52
+ .govuk-button {
53
+ padding: 7px 15px 6px;
54
+ padding: .368421053em .842105263em .315789474em;
55
+ }
56
+ }
@@ -1,11 +0,0 @@
1
-
2
- 9
3
- README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
4
- _
5
- /sass/custom/north-yorkshire-county-council.scss,a/1/a16ffce9c4014536b0d5997f1ff408f19a8510f7
6
- <
7
- package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
8
- ^
9
- .images/custom/scottish-government-planning.svg,b/9/b990dd75f097078d3650d1f96db34389de3006f0
10
- ]
11
- -sass/custom/scottish-government-planning.scss,f/7/f7a87ae0426cafc2323c6c7ea540fb129c638c87