dxw_govuk_frontend_rails 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gempush.yml +3 -3
- data/Gemfile.lock +1 -1
- data/lib/dxw_govuk_frontend_rails/version.rb +1 -1
- data/package-lock.json +3 -3
- data/package.json +1 -1
- data/vendor/assets/stylesheets/components/button/_button.scss +11 -0
- data/vendor/assets/stylesheets/components/fieldset/_fieldset.scss +0 -2
- data/vendor/assets/stylesheets/helpers/_font-faces.scss +20 -18
- 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: 61748f1e13e72d91ec0f332ab57f1aed6576a0aefd522c7c302778a8618f74e5
|
4
|
+
data.tar.gz: 2ba98295582b3a676de197ee93e0625542579925020a169c672802eee641be52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b59f87fef5d49b8519d8bf8f6fbd4899b8fb4c602fbe7ebf4a934f73e70e0addb429edc341c66ce94734716bee9637a70be02bb05be5f3d4b23407294d6bb97
|
7
|
+
data.tar.gz: 362e8387f34f0995a5d7bb00d03fcb0fb2f8a71f03219ae9b42df429cfd9a1e19a6ebdfae9e337a7d7dd6e3b7a1b33f94b75d3057d08535aa761dc601136218d
|
@@ -3,11 +3,11 @@ name: Ruby Gem
|
|
3
3
|
on:
|
4
4
|
push:
|
5
5
|
tags:
|
6
|
-
-
|
6
|
+
- "*"
|
7
7
|
|
8
8
|
jobs:
|
9
9
|
build:
|
10
|
-
name:
|
10
|
+
name: Publish to Rubygems
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
|
13
13
|
steps:
|
@@ -17,7 +17,7 @@ jobs:
|
|
17
17
|
with:
|
18
18
|
version: 2.6.x
|
19
19
|
|
20
|
-
- name:
|
20
|
+
- name: Check sass compiles
|
21
21
|
run: |
|
22
22
|
npx node-sass ./vendor/assets/stylesheets/govuk-frontend-rails.scss /tmp/govuk-frontend-rails.css
|
23
23
|
|
data/Gemfile.lock
CHANGED
data/package-lock.json
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
"requires": true,
|
6
6
|
"dependencies": {
|
7
7
|
"govuk-frontend": {
|
8
|
-
"version": "3.
|
9
|
-
"resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.
|
10
|
-
"integrity": "sha512-
|
8
|
+
"version": "3.2.0",
|
9
|
+
"resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-3.2.0.tgz",
|
10
|
+
"integrity": "sha512-OtJozAGMEKFu195fNVVrQHUX7+znCkA4cXDKs4lgFlRQOTzN1ogT9010GBARuoTwbeL0VqQ8nerZYjVxH/wafA=="
|
11
11
|
}
|
12
12
|
}
|
13
13
|
}
|
data/package.json
CHANGED
@@ -98,6 +98,17 @@
|
|
98
98
|
box-shadow: inset 0 0 0 1px $govuk-focus-colour;
|
99
99
|
}
|
100
100
|
|
101
|
+
// alphagov/govuk_template includes a specific a:link:focus selector
|
102
|
+
// designed to make unvisited links a slightly darker blue when focussed, so
|
103
|
+
// we need to override the text colour for that combination of selectors so
|
104
|
+
// so that unvisited links styled as buttons do not end up with dark blue
|
105
|
+
// text when focussed.
|
106
|
+
@include govuk-compatibility(govuk_template) {
|
107
|
+
&:link:focus {
|
108
|
+
color: $govuk-button-text-colour;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
101
112
|
&:focus:not(:active):not(:hover) {
|
102
113
|
border-color: $govuk-focus-colour;
|
103
114
|
color: $govuk-focus-text-colour;
|
@@ -15,26 +15,28 @@
|
|
15
15
|
/// @access private
|
16
16
|
|
17
17
|
@mixin _govuk-font-face-gds-transport {
|
18
|
-
@include govuk-
|
19
|
-
@
|
20
|
-
|
18
|
+
@include govuk-not-ie8 { // In IE8, which cannot render WOFF format, we fall back to system fonts
|
19
|
+
@include govuk-exports("govuk/helpers/font-faces") {
|
20
|
+
@at-root {
|
21
|
+
/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */
|
21
22
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
@font-face {
|
24
|
+
font-family: "GDS Transport";
|
25
|
+
src: govuk-font-url("light-94a07e06a1-v2.woff2") format("woff2"),
|
26
|
+
govuk-font-url("light-f591b13f7d-v2.woff") format("woff");
|
27
|
+
font-weight: normal;
|
28
|
+
font-style: normal;
|
29
|
+
font-display: fallback;
|
30
|
+
}
|
30
31
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
32
|
+
@font-face {
|
33
|
+
font-family: "GDS Transport";
|
34
|
+
src: govuk-font-url("bold-b542beb274-v2.woff2") format("woff2"),
|
35
|
+
govuk-font-url("bold-affa96571d-v2.woff") format("woff");
|
36
|
+
font-weight: bold;
|
37
|
+
font-style: normal;
|
38
|
+
font-display: fallback;
|
39
|
+
}
|
38
40
|
}
|
39
41
|
}
|
40
42
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dxw_govuk_frontend_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mec
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-09
|
12
|
+
date: 2019-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|