govuk_frontend_toolkit 4.18.1 → 4.18.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
  SHA1:
3
- metadata.gz: ecf9346cf0f092e1b0ba59783c3f6cb44300271c
4
- data.tar.gz: c96bef394f4a177ce2f6bef6d76bafb9e738646e
3
+ metadata.gz: 69f29797348ec404bd8eff1ab334c112ddcb9d97
4
+ data.tar.gz: ba0f6485cef046dfda13fad5a545061663c97f75
5
5
  SHA512:
6
- metadata.gz: 7a6ee536d2c4a02cc80b71781f90171760a2a759ef1b7f8025018806e2fcfde41689b8045b3a6a473de8f723fb397e378e8ccd2957928d0c3e912875b5e4f1dd
7
- data.tar.gz: 23469211cf831ebe46594297243034d33a6dc6ae4b940b112c9bcff21bd21dd8561abb7860fbb6f77175e33e5c21d33350b0b3fa36a7a7bd6a66d655da985380
6
+ metadata.gz: efd223fcb38ac707cdc3ad5c7a95c9f2748158479332e6a90985b7ecae3ab2b1743566138f71b290060c863e88bf759feebf1326a4eb24c24ee441f17aa895f6
7
+ data.tar.gz: ddb0056d66c87762147b11a4de3d77c3ca698b7d5fea3171bd44c293b2cd57264dd3b03b71258a1c88f620332b9333c095ff17d07a673508becb2fb58841c016
@@ -1,3 +1,8 @@
1
+ # 4.18.2
2
+
3
+ - Remove unnecessary print font fallback that causes regression downstream ([PR #328](https://github.com/alphagov/govuk_frontend_toolkit/pull/328))
4
+ - Update tooling to use npm script rather than grunt-shell ([PR #327](https://github.com/alphagov/govuk_frontend_toolkit/pull/327))
5
+
1
6
  # 4.18.1
2
7
 
3
8
  - Fix error in IE - remove trailing comma from shimLinksWithButtonRole JavaScript ([PR #323](https://github.com/alphagov/govuk_frontend_toolkit/pull/323)).
@@ -49,16 +49,8 @@ module.exports = function(grunt) {
49
49
  loadPath: [
50
50
  './stylesheets'
51
51
  ],
52
- style: 'nested',
52
+ style: 'nested'
53
53
  }
54
- },
55
- },
56
- shell: {
57
- multiple: {
58
- command: [
59
- 'bundle',
60
- 'bundle exec govuk-lint-sass stylesheets'
61
- ].join('&&')
62
54
  }
63
55
  }
64
56
  });
@@ -66,8 +58,7 @@ module.exports = function(grunt) {
66
58
  grunt.loadNpmTasks('grunt-contrib-clean');
67
59
  grunt.loadNpmTasks('grunt-contrib-jasmine');
68
60
  grunt.loadNpmTasks('grunt-contrib-sass');
69
- grunt.loadNpmTasks('grunt-shell');
70
61
 
71
- grunt.registerTask('test', ['sass', 'clean', 'jasmine', 'shell']);
62
+ grunt.registerTask('test', ['sass', 'clean', 'jasmine']);
72
63
  grunt.registerTask('default', ['test']);
73
64
  };
@@ -1 +1 @@
1
- 4.18.1
1
+ 4.18.2
@@ -8,10 +8,10 @@
8
8
  "grunt-contrib-clean":"~0.6.0",
9
9
  "grunt-contrib-jasmine": "^1.0.0",
10
10
  "grunt-contrib-sass": "0.7.4",
11
- "grunt-shell": "^1.1.2",
12
11
  "jquery": "~1.11.3"
13
12
  },
14
13
  "scripts": {
15
- "test": "node_modules/.bin/grunt test"
14
+ "test": "grunt test && npm run lint --silent",
15
+ "lint": "bundle && bundle exec govuk-lint-sass stylesheets"
16
16
  }
17
17
  }
@@ -35,18 +35,21 @@ $is-print: false !default;
35
35
  }
36
36
  }
37
37
  }
38
- font-size: $font-size-640;
39
- line-height: $line-height-640;
40
38
  font-weight: $font-weight;
41
39
  text-transform: none;
42
40
 
43
- @include media(tablet) {
44
- font-size: $font-size;
45
- line-height: $line-height;
46
- }
47
-
48
41
  @if $is-print {
49
42
  font-size: $font-size-print;
43
+ line-height: $line-height;
44
+
45
+ } @else {
46
+ font-size: $font-size-640;
47
+ line-height: $line-height-640;
48
+
49
+ @include media(tablet) {
50
+ font-size: $font-size;
51
+ line-height: $line-height;
52
+ }
50
53
  }
51
54
  }
52
55
  // scss-lint:enable NameFormat
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_frontend_toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.18.1
4
+ version: 4.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2016-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails