govuk_frontend_toolkit 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -1
- data/app/assets/CHANGELOG.md +4 -0
- data/app/assets/README.md +7 -0
- data/app/assets/VERSION.txt +1 -1
- data/app/assets/stylesheets/_font_stack.scss +4 -0
- data/app/assets/stylesheets/_typography.scss +2 -0
- metadata +12 -12
data/Gemfile
CHANGED
data/app/assets/CHANGELOG.md
CHANGED
data/app/assets/README.md
CHANGED
@@ -853,6 +853,13 @@ var $buttons = $("label input[type='radio'], label input[type='checkbox']");
|
|
853
853
|
GOVUK.selectionButtons($buttons);
|
854
854
|
```
|
855
855
|
|
856
|
+
The classes that get added can be passed in as options:
|
857
|
+
|
858
|
+
```
|
859
|
+
var $buttons = $("label input[type='radio'], label input[type='checkbox']");
|
860
|
+
GOVUK.selectionButtons($buttons, { focusedClass : 'selectable-focused', selectedClass : 'selectable-selected' });
|
861
|
+
```
|
862
|
+
|
856
863
|
Note that `GOVUK.selectionButtons` and the constructors it wraps, `GOVUK.RadioButtons` and `GOVUK.CheckboxButtons` use the `bind.js` polyfill.
|
857
864
|
|
858
865
|
## Licence
|
data/app/assets/VERSION.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.2
|
@@ -20,6 +20,8 @@ $is-print: false !default;
|
|
20
20
|
@mixin _core-font-generator($font-size: 19px, $font-size-640: 16px, $font-size-print: 14pt, $line-height: (25 / 19), $line-height-640: (20 / 16), $tabular-numbers: false, $font-weight: 400) {
|
21
21
|
@if $tabular-numbers == true {
|
22
22
|
font-family: $NTA-Light-Tabular;
|
23
|
+
} @else if $is-print {
|
24
|
+
font-family: $Print-reset;
|
23
25
|
} @else {
|
24
26
|
font-family: $NTA-Light;
|
25
27
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_frontend_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-09-
|
12
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &6425400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *6425400
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sass
|
27
|
-
requirement: &
|
27
|
+
requirement: &6424820 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 3.2.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *6424820
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: gem_publisher
|
38
|
-
requirement: &
|
38
|
+
requirement: &6424300 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - =
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.3.1
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *6424300
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
|
-
requirement: &
|
49
|
+
requirement: &6423720 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - =
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: 0.9.2.2
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *6423720
|
58
58
|
description:
|
59
59
|
email: bradley.wright@digital.cabinet-office.gov.uk
|
60
60
|
executables: []
|
@@ -254,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
254
254
|
version: '0'
|
255
255
|
segments:
|
256
256
|
- 0
|
257
|
-
hash:
|
257
|
+
hash: 3672654523895780324
|
258
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
259
259
|
none: false
|
260
260
|
requirements:
|
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
263
|
version: '0'
|
264
264
|
segments:
|
265
265
|
- 0
|
266
|
-
hash:
|
266
|
+
hash: 3672654523895780324
|
267
267
|
requirements: []
|
268
268
|
rubyforge_project:
|
269
269
|
rubygems_version: 1.8.11
|