govuk_publishing_components 13.8.1 → 14.0.0

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: 935e9dfcd4eb2601b445f953a0fcbfe3858aa25b9a9a6c23c741f908fb041edd
4
- data.tar.gz: 36cee7a76d1479ad1a04945ff4f7f0798de07585eaa4ec9a6dbe18c20d41beca
3
+ metadata.gz: e30d0cf4decdb2a30acb643fd344d2c838e1b95dfd2de61fa50b09c6ab445af3
4
+ data.tar.gz: 7b30092265431a6b3f3af79ca0dec674d84f9330025b157c92aed3e3a85e915e
5
5
  SHA512:
6
- metadata.gz: 8dbd777c08df541b871be4916f199993537b3c52ccbafdf25bed302083d1aef04631fa688a4ece15435b1f38bf810f675a9f0d6902fb29afa705e367e085c8ba
7
- data.tar.gz: eded35362e217f9925fc3d27b55b9a1840da88bc7681278b5aaa9172a5bd7a57396e9de440f804a35ec74aadd597653d5eac5501652e2aebbb8a437cfffd42a3
6
+ metadata.gz: 719b37c68fce9e3975c95d7aad65d65eb2c7095f0737854fbc215e83ee6add078cc819d08d7094b04bbc1dcc9a6f5926ab390b844ba0a1d97454021a5df86845
7
+ data.tar.gz: 2b0cc16fb9a17120f29f30c66e92ad5db85cb04161ead518ebe057570c76eb6401a9e42f555f31078b0a42ea01d13e9776336dc3607fd973d17d26fbe442055e
@@ -84,7 +84,7 @@
84
84
  color: $white;
85
85
 
86
86
  &:focus {
87
- color: $link-colour;
87
+ color: $govuk-focus-text-colour;
88
88
  }
89
89
  }
90
90
 
@@ -1,8 +1,9 @@
1
1
  <%
2
2
  id ||= "hint-#{SecureRandom.hex(4)}"
3
- classes ||= ''
3
+ margin_bottom ||= 3
4
+
4
5
  css_classes = %w( gem-c-hint govuk-hint )
5
- css_classes << classes if classes
6
+ css_classes << ([*0..9].include?(margin_bottom) ? "govuk-!-margin-bottom-#{margin_bottom}" : "govuk-!-margin-bottom-3")
6
7
  %>
7
8
 
8
9
  <%= tag.span id: id, class: css_classes do %>
@@ -14,3 +14,8 @@ examples:
14
14
  default:
15
15
  data:
16
16
  text: "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
17
+ with_margin_bottom:
18
+ description: The component accepts a number for margin bottom from 0 to 9 (0px to 60px) using the [GOV.UK Frontend spacing scale](http://govuk-frontend-review.herokuapp.com/docs/#settings/spacing-variable-govuk-spacing-points). It defaults to a margin bottom of 3 (15px).
19
+ data:
20
+ text: "You qualify if you were born in the UK before June 1960."
21
+ margin_bottom: 9
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = '13.8.1'.freeze
2
+ VERSION = '14.0.0'.freeze
3
3
  end
@@ -54,10 +54,17 @@
54
54
  }
55
55
  }
56
56
 
57
+ .govuk-summary-list__key,
58
+ .govuk-summary-list__value {
59
+ // sass-lint:disable no-duplicate-properties
60
+ // Automatic wrapping for unbreakable text (e.g. URLs)
61
+ word-break: break-word; // WebKit/Blink only
62
+ word-break: break-all; // Standards
63
+ }
64
+
57
65
  .govuk-summary-list__key {
58
66
  margin-bottom: govuk-spacing(1);
59
67
  @include govuk-typography-weight-bold;
60
- word-break: break-word;
61
68
  @include govuk-media-query($from: tablet) {
62
69
  width: 30%;
63
70
  }
@@ -7,6 +7,13 @@
7
7
  // Set the overall page background colour to the same colour as used by the
8
8
  // footer to give the illusion of a long footer.
9
9
  background-color: $govuk-canvas-background-colour;
10
+
11
+ // Prevent automatic text sizing, as we already cater for small devices and
12
+ // would like the browser to stay on 100% text zoom by default.
13
+ -webkit-text-size-adjust: 100%;
14
+ -moz-text-size-adjust: 100%;
15
+ -ms-text-size-adjust: 100%;
16
+ text-size-adjust: 100%;
10
17
  }
11
18
 
12
19
  // Applied to the <body> element
@@ -0,0 +1,15 @@
1
+ {
2
+ "nunjucksPaths": [
3
+ "/",
4
+ "/components"
5
+ ],
6
+ "scripts": [
7
+ "/all.js"
8
+ ],
9
+ "assets": [
10
+ "/assets"
11
+ ],
12
+ "sass": [
13
+ "/all.scss"
14
+ ]
15
+ }
@@ -23,7 +23,7 @@
23
23
  /// @example scss
24
24
  /// .govuk-component__link {
25
25
  /// @include govuk-link-common;
26
- /// @include govuk-link-style-muted;
26
+ /// @include govuk-link-style-default;
27
27
  /// }
28
28
  ///
29
29
  /// @access public
@@ -15,13 +15,13 @@
15
15
  ],
16
16
  "_from": "govuk-frontend@>=2.5.1 <3.0.0",
17
17
  "_hasShrinkwrap": false,
18
- "_id": "govuk-frontend@2.6.0",
18
+ "_id": "govuk-frontend@2.7.0",
19
19
  "_inCache": true,
20
20
  "_location": "/govuk-frontend",
21
21
  "_nodeVersion": "8.9.4",
22
22
  "_npmOperationalInternal": {
23
23
  "host": "s3://npm-registry-packages",
24
- "tmp": "tmp/govuk-frontend_2.6.0_1548932459296_0.8612397921795296"
24
+ "tmp": "tmp/govuk-frontend_2.7.0_1549642536744_0.35250151507621896"
25
25
  },
26
26
  "_npmUser": {
27
27
  "name": "govuk-patterns-and-tools",
@@ -41,8 +41,8 @@
41
41
  "_requiredBy": [
42
42
  "/"
43
43
  ],
44
- "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.6.0.tgz",
45
- "_shasum": "373153a14868b39fe19372c3fb9c3ca9c946e6e1",
44
+ "_resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.7.0.tgz",
45
+ "_shasum": "6a12baf514426653220dd3cdef55b1e1d97f52a6",
46
46
  "_shrinkwrap": null,
47
47
  "_spec": "govuk-frontend@^2.5.1",
48
48
  "_where": "/var/lib/jenkins/workspace/ublishing_components_master-N4FWJIUY4CIFHKGZOAAEVVXODRY3YBORQOPIBBXWX72VUPSGJRRQ",
@@ -59,12 +59,12 @@
59
59
  "devDependencies": {},
60
60
  "directories": {},
61
61
  "dist": {
62
- "integrity": "sha512-JA1tk0MpkxJzoVjJ367JaoRIDHxUK9QqpG11aLlXlhEVcgCX3WBAxsVpx/dC7SwKBmM+F1C4yao0PLQzDFvmkg==",
63
- "shasum": "373153a14868b39fe19372c3fb9c3ca9c946e6e1",
64
- "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.6.0.tgz",
65
- "fileCount": 256,
66
- "unpackedSize": 1343673,
67
- "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUtVrCRA9TVsSAnZWagAAeXgP/1N3FnFujvMRL44cyUqC\nGA2HmIA2xb+RjM1CJlTqCLbHGZciDp5TYDTp/43ktUrkupZNT/LDynCd+Ofg\nYeZzP0Q29rn+dUveLAoeNxAW7ZJZL7Dvpe6I4FY1FCDg8iIOatgKRS3sJcDW\nResPuDaidCzmV5sSOsFiRTcyvpHiTYC1X9vbDvqc6HHTmezjWXKMxi4cKaJp\n8R6A016xFjk94cknL5VHOAFE6Zz1RG5OQ63UUl30PRHIhahOqb2FaI4GI1hO\nFCAuGBX+2GC2baVtNmoXA0aL9ceo8sIn/l27jpjEyWV7okHARH8wrR/TUm3P\nfCQyW90HTTbvXdfvIxnR41olt74JLuamjNSGkgH7J9xOiEprqbxaDBFWlsdn\nKfvHUDa6o8eCHZu4qq91ByT0ipm7SJpVVpnAcyqY0uK2I2v9nGobmpyLgTQL\nbzbGQywQjlkN7Npzt1FSF599iY7C3wzuuDJ2f+vTa2xrgPBSzj/pf5Z3q5c/\nX0OZ0qm4Fb8iVCW9Oq3QK0juZtu3556MfLPyr7oD+9l8b0vF3j6nmHik3HzB\nGiYsyjFysf4zQrKx/m0GEJi42OM4nxMH2IDTBdXpFhk0J9DA2EuTXJpbPzYr\njRY5BlDUapuHftvb1Jot0fv7Hd2cTWVNp/a9/Bz/YaQI93WGqAm3u+LMmZER\nDcOW\r\n=dN/T\r\n-----END PGP SIGNATURE-----\r\n"
62
+ "integrity": "sha512-IZvho72ExUAOmMOZHbE7s//HdtpSoO1aLn3fcXTnuIUi20UTsz6j+5i1Ztyqr4KUEb8OB/jNMYt4kuYyJnEMRQ==",
63
+ "shasum": "6a12baf514426653220dd3cdef55b1e1d97f52a6",
64
+ "tarball": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-2.7.0.tgz",
65
+ "fileCount": 257,
66
+ "unpackedSize": 1344357,
67
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXaspCRA9TVsSAnZWagAAGswP/0VVAW+w1NPRCdX5CUko\nce0A4cwcWSW8zRdhF5hzloEv+MF8plnXcvKKbuY3iCjEr78jMMSUvTbA6o7w\nIdOF2NwZuQTV6lvr4y5FRlVsE/hdn9bMOb3z5jggIEjlaCFZHF1rq6qvrwIs\nlN6nUSbme3Q+OW9cJKqAM3/7Z8nAdG5sidRXBObbQ/a4tnfXp4BKIJyRhqln\njp7wCadA4V03AJyPsvXju2EOBnHooAtivS2cLlz0nZh4Sar040JSSLSYd07l\nEcS+Bl88UBIi1Q30CUv2Qnz8UyKZI22D4GHxoxby1PkWENszxTXzfn8eRjr/\nADKTV84tL1mlNPnqbqc6mu93mxdr5kllcfzZ4u5xFKXYs568+r1cBaw77i1h\nCJul2kJ3ycpDQ2JqdE2Ngzhm2FmQo2rSewbdFJuMVB9Toet64QhB87hbiFoU\ngyV/KT5RHTdD8hh9Bck/KwuKezaY9k3AjzfyLjQgkCLX2MAx1M3FVUWbRjqo\nGuWStU/o2LuEdbkl3HloLf0r/gDjw86TSgYFa5tgWOiD1nGL6JZ9Mw1IuqVf\n5tN0uj9p0zel/ecaRBIL94K+WXyzii0wWPtLxTELyG507OQ4Gd21uUZnw+Zq\nVUlMmrGy81TIMPwkrVTLTlpVe9sZBN2McscEqbEsag9LbaxPn+HeMr3xdIVe\nVKbh\r\n=GlSb\r\n-----END PGP SIGNATURE-----\r\n"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">= 4.2.0"
@@ -92,5 +92,5 @@
92
92
  "url": "git+https://github.com/alphagov/govuk-frontend.git"
93
93
  },
94
94
  "sass": "all.scss",
95
- "version": "2.6.0"
95
+ "version": "2.7.0"
96
96
  }
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: 13.8.1
4
+ version: 14.0.0
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: 2019-02-06 00:00:00.000000000 Z
11
+ date: 2019-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govspeak
@@ -850,6 +850,7 @@ files:
850
850
  - node_modules/govuk-frontend/core/_section-break.scss
851
851
  - node_modules/govuk-frontend/core/_template.scss
852
852
  - node_modules/govuk-frontend/core/_typography.scss
853
+ - node_modules/govuk-frontend/govuk-prototype-kit.config.json
853
854
  - node_modules/govuk-frontend/helpers/_all.scss
854
855
  - node_modules/govuk-frontend/helpers/_clearfix.scss
855
856
  - node_modules/govuk-frontend/helpers/_colour.scss