dxw_govuk_frontend_rails 2.13.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -9
  3. data/Rakefile +8 -8
  4. data/dxw_govuk_frontend_rails.gemspec +3 -3
  5. data/lib/dxw_govuk_frontend_rails/version.rb +1 -1
  6. data/package-lock.json +3 -3
  7. data/package.json +1 -1
  8. data/vendor/assets/fonts/bold-affa96571d-v2.woff +0 -0
  9. data/vendor/assets/fonts/bold-b542beb274-v2.woff2 +0 -0
  10. data/vendor/assets/fonts/light-94a07e06a1-v2.woff2 +0 -0
  11. data/vendor/assets/fonts/light-f591b13f7d-v2.woff +0 -0
  12. data/vendor/assets/javascripts/govuk_frontend_rails.js +116 -63
  13. data/vendor/assets/stylesheets/components/accordion/_accordion.scss +48 -28
  14. data/vendor/assets/stylesheets/components/back-link/_back-link.scss +17 -9
  15. data/vendor/assets/stylesheets/components/breadcrumbs/_breadcrumbs.scss +10 -11
  16. data/vendor/assets/stylesheets/components/button/_button.scss +70 -47
  17. data/vendor/assets/stylesheets/components/checkboxes/_checkboxes.scss +4 -6
  18. data/vendor/assets/stylesheets/components/details/_details.scss +12 -13
  19. data/vendor/assets/stylesheets/components/error-summary/_error-summary.scss +4 -17
  20. data/vendor/assets/stylesheets/components/file-upload/_file-upload.scss +63 -1
  21. data/vendor/assets/stylesheets/components/footer/_footer.scss +47 -16
  22. data/vendor/assets/stylesheets/components/header/_header.scss +34 -20
  23. data/vendor/assets/stylesheets/components/input/_input.scss +24 -1
  24. data/vendor/assets/stylesheets/components/panel/_panel.scss +1 -1
  25. data/vendor/assets/stylesheets/components/radios/_radios.scss +7 -9
  26. data/vendor/assets/stylesheets/components/select/_select.scss +23 -1
  27. data/vendor/assets/stylesheets/components/skip-link/_skip-link.scss +6 -1
  28. data/vendor/assets/stylesheets/components/table/_table.scss +1 -0
  29. data/vendor/assets/stylesheets/components/tabs/_tabs.scss +63 -51
  30. data/vendor/assets/stylesheets/components/tag/_tag.scss +18 -7
  31. data/vendor/assets/stylesheets/components/textarea/_textarea.scss +24 -1
  32. data/vendor/assets/stylesheets/helpers/_all.scss +1 -1
  33. data/vendor/assets/stylesheets/helpers/_colour.scss +23 -1
  34. data/vendor/assets/stylesheets/helpers/_focused.scss +28 -0
  35. data/vendor/assets/stylesheets/helpers/_font-faces.scss +10 -36
  36. data/vendor/assets/stylesheets/helpers/_grid.scss +11 -58
  37. data/vendor/assets/stylesheets/helpers/_links.scss +15 -1
  38. data/vendor/assets/stylesheets/helpers/_typography.scss +22 -4
  39. data/vendor/assets/stylesheets/helpers/_visually-hidden.scss +4 -2
  40. data/vendor/assets/stylesheets/objects/_grid.scss +2 -2
  41. data/vendor/assets/stylesheets/objects/_main-wrapper.scss +15 -1
  42. data/vendor/assets/stylesheets/settings/_colours-applied.scss +9 -8
  43. data/vendor/assets/stylesheets/settings/_colours-palette.scss +70 -6
  44. data/vendor/assets/stylesheets/settings/_compatibility.scss +31 -7
  45. data/vendor/assets/stylesheets/settings/_measurements.scss +2 -2
  46. data/vendor/assets/stylesheets/settings/_typography-font-families.scss +11 -1
  47. data/vendor/assets/stylesheets/settings/_typography-font.scss +27 -7
  48. data/vendor/assets/stylesheets/settings/_typography-responsive.scss +9 -10
  49. metadata +10 -22
  50. data/vendor/assets/fonts/bold-a2452cb66f-v1.woff2 +0 -0
  51. data/vendor/assets/fonts/bold-f38c792ac2-v1.woff +0 -0
  52. data/vendor/assets/fonts/bold-fb2676462a-v1.eot +0 -0
  53. data/vendor/assets/fonts/bold-tabular-357fdfbcc3-v1.eot +0 -0
  54. data/vendor/assets/fonts/bold-tabular-784c21afb8-v1.woff +0 -0
  55. data/vendor/assets/fonts/bold-tabular-b89238d840-v1.woff2 +0 -0
  56. data/vendor/assets/fonts/light-2c037cf7e1-v1.eot +0 -0
  57. data/vendor/assets/fonts/light-458f8ea81c-v1.woff +0 -0
  58. data/vendor/assets/fonts/light-f38ad40456-v1.woff2 +0 -0
  59. data/vendor/assets/fonts/light-tabular-498ea8ffe2-v1.eot +0 -0
  60. data/vendor/assets/fonts/light-tabular-62cc6f0a28-v1.woff +0 -0
  61. data/vendor/assets/fonts/light-tabular-851b10ccdd-v1.woff2 +0 -0
  62. data/vendor/assets/images/icon-arrow-left.png +0 -0
  63. data/vendor/assets/images/icon-important.png +0 -0
  64. data/vendor/assets/images/icon-pointer-2x.png +0 -0
  65. data/vendor/assets/images/icon-pointer.png +0 -0
  66. data/vendor/assets/stylesheets/helpers/_focusable.scss +0 -34
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: 2.13.0
4
+ version: 3.0.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-07-22 00:00:00.000000000 Z
12
+ date: 2019-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -39,7 +39,7 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '10.0'
42
- description: Adds the GOVUK frontend to a Rails application.
42
+ description: Adds the GOVUK frontend to a Rails application that uses the Asset Pipeline.
43
43
  email:
44
44
  executables: []
45
45
  extensions: []
@@ -61,18 +61,10 @@ files:
61
61
  - lib/dxw_govuk_frontend_rails/version.rb
62
62
  - package-lock.json
63
63
  - package.json
64
- - vendor/assets/fonts/bold-a2452cb66f-v1.woff2
65
- - vendor/assets/fonts/bold-f38c792ac2-v1.woff
66
- - vendor/assets/fonts/bold-fb2676462a-v1.eot
67
- - vendor/assets/fonts/bold-tabular-357fdfbcc3-v1.eot
68
- - vendor/assets/fonts/bold-tabular-784c21afb8-v1.woff
69
- - vendor/assets/fonts/bold-tabular-b89238d840-v1.woff2
70
- - vendor/assets/fonts/light-2c037cf7e1-v1.eot
71
- - vendor/assets/fonts/light-458f8ea81c-v1.woff
72
- - vendor/assets/fonts/light-f38ad40456-v1.woff2
73
- - vendor/assets/fonts/light-tabular-498ea8ffe2-v1.eot
74
- - vendor/assets/fonts/light-tabular-62cc6f0a28-v1.woff
75
- - vendor/assets/fonts/light-tabular-851b10ccdd-v1.woff2
64
+ - vendor/assets/fonts/bold-affa96571d-v2.woff
65
+ - vendor/assets/fonts/bold-b542beb274-v2.woff2
66
+ - vendor/assets/fonts/light-94a07e06a1-v2.woff2
67
+ - vendor/assets/fonts/light-f591b13f7d-v2.woff
76
68
  - vendor/assets/images/favicon.ico
77
69
  - vendor/assets/images/govuk-apple-touch-icon-152x152.png
78
70
  - vendor/assets/images/govuk-apple-touch-icon-167x167.png
@@ -83,10 +75,6 @@ files:
83
75
  - vendor/assets/images/govuk-logotype-crown.png
84
76
  - vendor/assets/images/govuk-mask-icon.svg
85
77
  - vendor/assets/images/govuk-opengraph-image.png
86
- - vendor/assets/images/icon-arrow-left.png
87
- - vendor/assets/images/icon-important.png
88
- - vendor/assets/images/icon-pointer-2x.png
89
- - vendor/assets/images/icon-pointer.png
90
78
  - vendor/assets/javascripts/govuk_frontend_rails.js
91
79
  - vendor/assets/stylesheets/all-ie8.scss
92
80
  - vendor/assets/stylesheets/all.scss
@@ -132,7 +120,7 @@ files:
132
120
  - vendor/assets/stylesheets/helpers/_clearfix.scss
133
121
  - vendor/assets/stylesheets/helpers/_colour.scss
134
122
  - vendor/assets/stylesheets/helpers/_device-pixels.scss
135
- - vendor/assets/stylesheets/helpers/_focusable.scss
123
+ - vendor/assets/stylesheets/helpers/_focused.scss
136
124
  - vendor/assets/stylesheets/helpers/_font-faces.scss
137
125
  - vendor/assets/stylesheets/helpers/_grid.scss
138
126
  - vendor/assets/stylesheets/helpers/_links.scss
@@ -178,7 +166,7 @@ files:
178
166
  - vendor/assets/stylesheets/utilities/_clearfix.scss
179
167
  - vendor/assets/stylesheets/utilities/_visually-hidden.scss
180
168
  - vendor/assets/stylesheets/vendor/_sass-mq.scss
181
- homepage: https://github.com/mec/dxw_govuk_frontend_rails
169
+ homepage: https://github.com/dxw/dxw_govuk_frontend_rails
182
170
  licenses:
183
171
  - MIT
184
172
  metadata: {}
@@ -200,5 +188,5 @@ requirements: []
200
188
  rubygems_version: 3.0.3
201
189
  signing_key:
202
190
  specification_version: 4
203
- summary: Adds the GOVUK frontend to a Rails application.
191
+ summary: Adds the GOVUK frontend to a Rails application that uses the Asset Pipeline.
204
192
  test_files: []
Binary file
@@ -1,34 +0,0 @@
1
- ////
2
- /// @group helpers
3
- ////
4
-
5
- /// Focusable helper
6
- ///
7
- /// Provides an additional outline to clearly indicate when the target element is
8
- /// focussed. Used for interactive elements which themselves have some background
9
- /// or border, such as most form elements.
10
- ///
11
- /// @access public
12
-
13
- @mixin govuk-focusable {
14
- &:focus {
15
- outline: $govuk-focus-width solid $govuk-focus-colour;
16
- outline-offset: 0;
17
- }
18
- }
19
-
20
- /// Focusable with fill helper
21
- ///
22
- /// Provides an additional outline and background colour to clearly indicate when
23
- /// the target element is focussed. Used for interactive text-based elements such
24
- /// as links.
25
- ///
26
- /// @access public
27
-
28
- @mixin govuk-focusable-fill {
29
- &:focus {
30
- outline: $govuk-focus-width solid $govuk-focus-colour;
31
- outline-offset: 0;
32
- background-color: $govuk-focus-colour;
33
- }
34
- }