dxw_govuk_frontend_rails 3.6.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/dxw_govuk_frontend_rails/version.rb +1 -1
  4. data/package-lock.json +3 -3
  5. data/package.json +1 -1
  6. data/vendor/assets/javascripts/govuk_frontend_rails.js +1 -1
  7. data/vendor/assets/stylesheets/_base.scss +3 -0
  8. data/vendor/assets/stylesheets/all.scss +1 -3
  9. data/vendor/assets/stylesheets/components/_all.scss +31 -29
  10. data/vendor/assets/stylesheets/components/accordion/_accordion.scss +2 -208
  11. data/vendor/assets/stylesheets/components/accordion/_index.scss +207 -0
  12. data/vendor/assets/stylesheets/components/back-link/_back-link.scss +2 -65
  13. data/vendor/assets/stylesheets/components/back-link/_index.scss +112 -0
  14. data/vendor/assets/stylesheets/components/breadcrumbs/_breadcrumbs.scss +2 -118
  15. data/vendor/assets/stylesheets/components/breadcrumbs/_index.scss +138 -0
  16. data/vendor/assets/stylesheets/components/button/_button.scss +2 -284
  17. data/vendor/assets/stylesheets/components/button/_index.scss +280 -0
  18. data/vendor/assets/stylesheets/components/character-count/_character-count.scss +2 -31
  19. data/vendor/assets/stylesheets/components/character-count/_index.scss +28 -0
  20. data/vendor/assets/stylesheets/components/checkboxes/_checkboxes.scss +2 -308
  21. data/vendor/assets/stylesheets/components/checkboxes/_index.scss +304 -0
  22. data/vendor/assets/stylesheets/components/date-input/_date-input.scss +2 -30
  23. data/vendor/assets/stylesheets/components/date-input/_index.scss +26 -0
  24. data/vendor/assets/stylesheets/components/details/_details.scss +2 -88
  25. data/vendor/assets/stylesheets/components/details/_index.scss +84 -0
  26. data/vendor/assets/stylesheets/components/error-message/_error-message.scss +2 -15
  27. data/vendor/assets/stylesheets/components/error-message/_index.scss +11 -0
  28. data/vendor/assets/stylesheets/components/error-summary/_error-summary.scss +2 -59
  29. data/vendor/assets/stylesheets/components/error-summary/_index.scss +55 -0
  30. data/vendor/assets/stylesheets/components/fieldset/_fieldset.scss +2 -68
  31. data/vendor/assets/stylesheets/components/fieldset/_index.scss +64 -0
  32. data/vendor/assets/stylesheets/components/file-upload/_file-upload.scss +2 -81
  33. data/vendor/assets/stylesheets/components/file-upload/_index.scss +77 -0
  34. data/vendor/assets/stylesheets/components/footer/_footer.scss +2 -244
  35. data/vendor/assets/stylesheets/components/footer/_index.scss +238 -0
  36. data/vendor/assets/stylesheets/components/header/_header.scss +2 -318
  37. data/vendor/assets/stylesheets/components/header/_index.scss +312 -0
  38. data/vendor/assets/stylesheets/components/hint/_hint.scss +2 -50
  39. data/vendor/assets/stylesheets/components/hint/_index.scss +46 -0
  40. data/vendor/assets/stylesheets/components/input/_index.scss +99 -0
  41. data/vendor/assets/stylesheets/components/input/_input.scss +2 -103
  42. data/vendor/assets/stylesheets/components/inset-text/_index.scss +24 -0
  43. data/vendor/assets/stylesheets/components/inset-text/_inset-text.scss +2 -28
  44. data/vendor/assets/stylesheets/components/label/_index.scss +41 -0
  45. data/vendor/assets/stylesheets/components/label/_label.scss +2 -45
  46. data/vendor/assets/stylesheets/components/panel/_index.scss +40 -0
  47. data/vendor/assets/stylesheets/components/panel/_panel.scss +2 -44
  48. data/vendor/assets/stylesheets/components/phase-banner/_index.scss +27 -0
  49. data/vendor/assets/stylesheets/components/phase-banner/_phase-banner.scss +2 -31
  50. data/vendor/assets/stylesheets/components/radios/_index.scss +342 -0
  51. data/vendor/assets/stylesheets/components/radios/_radios.scss +2 -346
  52. data/vendor/assets/stylesheets/components/select/_index.scss +53 -0
  53. data/vendor/assets/stylesheets/components/select/_select.scss +2 -57
  54. data/vendor/assets/stylesheets/components/skip-link/_index.scss +33 -0
  55. data/vendor/assets/stylesheets/components/skip-link/_skip-link.scss +2 -37
  56. data/vendor/assets/stylesheets/components/summary-list/_index.scss +153 -0
  57. data/vendor/assets/stylesheets/components/summary-list/_summary-list.scss +2 -157
  58. data/vendor/assets/stylesheets/components/table/_index.scss +50 -0
  59. data/vendor/assets/stylesheets/components/table/_table.scss +2 -54
  60. data/vendor/assets/stylesheets/components/tabs/_index.scss +138 -0
  61. data/vendor/assets/stylesheets/components/tabs/_tabs.scss +2 -142
  62. data/vendor/assets/stylesheets/components/tag/_index.scss +87 -0
  63. data/vendor/assets/stylesheets/components/tag/_tag.scss +2 -91
  64. data/vendor/assets/stylesheets/components/textarea/_index.scss +51 -0
  65. data/vendor/assets/stylesheets/components/textarea/_textarea.scss +2 -55
  66. data/vendor/assets/stylesheets/components/warning-text/_index.scss +56 -0
  67. data/vendor/assets/stylesheets/components/warning-text/_warning-text.scss +2 -60
  68. data/vendor/assets/stylesheets/core/_global-styles.scss +5 -3
  69. data/vendor/assets/stylesheets/core/_links.scss +5 -3
  70. data/vendor/assets/stylesheets/core/_lists.scss +17 -3
  71. data/vendor/assets/stylesheets/core/_section-break.scss +5 -3
  72. data/vendor/assets/stylesheets/core/_template.scss +5 -3
  73. data/vendor/assets/stylesheets/core/_typography.scss +5 -3
  74. data/vendor/assets/stylesheets/helpers/_clearfix.scss +1 -1
  75. data/vendor/assets/stylesheets/helpers/_focused.scss +1 -1
  76. data/vendor/assets/stylesheets/helpers/_grid.scss +2 -1
  77. data/vendor/assets/stylesheets/helpers/_links.scss +1 -1
  78. data/vendor/assets/stylesheets/helpers/_media-queries.scss +1 -1
  79. data/vendor/assets/stylesheets/helpers/_shape-arrow.scss +1 -1
  80. data/vendor/assets/stylesheets/helpers/_spacing.scss +1 -1
  81. data/vendor/assets/stylesheets/helpers/_typography.scss +1 -1
  82. data/vendor/assets/stylesheets/helpers/_visually-hidden.scss +1 -1
  83. data/vendor/assets/stylesheets/objects/_form-group.scss +1 -3
  84. data/vendor/assets/stylesheets/objects/_grid.scss +1 -3
  85. data/vendor/assets/stylesheets/objects/_main-wrapper.scss +5 -3
  86. data/vendor/assets/stylesheets/objects/_width-container.scss +2 -4
  87. data/vendor/assets/stylesheets/overrides/_display.scss +5 -3
  88. data/vendor/assets/stylesheets/overrides/_spacing.scss +5 -3
  89. data/vendor/assets/stylesheets/overrides/_typography.scss +5 -3
  90. data/vendor/assets/stylesheets/overrides/_width.scss +5 -3
  91. data/vendor/assets/stylesheets/settings/_ie8.scss +1 -1
  92. data/vendor/assets/stylesheets/tools/_compatibility.scss +1 -1
  93. data/vendor/assets/stylesheets/tools/_font-url.scss +1 -1
  94. data/vendor/assets/stylesheets/tools/_ie8.scss +1 -1
  95. data/vendor/assets/stylesheets/tools/_image-url.scss +1 -1
  96. data/vendor/assets/stylesheets/tools/_px-to-em.scss +1 -1
  97. data/vendor/assets/stylesheets/tools/_px-to-rem.scss +1 -1
  98. metadata +31 -1
@@ -1,6 +1,8 @@
1
- @import "../settings/all";
2
- @import "../tools/all";
3
- @import "../helpers/all";
1
+ @if not mixin-exists("govuk-exports") {
2
+ @warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
3
+ }
4
+
5
+ @import "../base";
4
6
 
5
7
  @include govuk-exports("govuk/overrides/display") {
6
8
 
@@ -1,6 +1,8 @@
1
- @import "../settings/all";
2
- @import "../tools/all";
3
- @import "../helpers/all";
1
+ @if not mixin-exists("govuk-exports") {
2
+ @warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
3
+ }
4
+
5
+ @import "../base";
4
6
 
5
7
  ////
6
8
  /// @group overrides
@@ -1,6 +1,8 @@
1
- @import "../settings/all";
2
- @import "../tools/all";
3
- @import "../helpers/all";
1
+ @if not mixin-exists("govuk-exports") {
2
+ @warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
3
+ }
4
+
5
+ @import "../base";
4
6
 
5
7
  @include govuk-exports("govuk/overrides/typography") {
6
8
  // Font size and line height
@@ -1,6 +1,8 @@
1
- @import "../settings/all";
2
- @import "../tools/all";
3
- @import "../helpers/all";
1
+ @if not mixin-exists("govuk-exports") {
2
+ @warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.UK Frontend v4.0.";
3
+ }
4
+
5
+ @import "../base";
4
6
 
5
7
  @include govuk-exports("govuk/overrides/width") {
6
8
  .govuk-\!-width-full {
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// @group settings/ie8
2
+ /// @group settings/internet-explorer-8
3
3
  ////
4
4
 
5
5
  /// Whether the stylesheet being built is targeting Internet Explorer 8.
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// @group tools
2
+ /// @group tools/compatibility-mode
3
3
  ////
4
4
 
5
5
  /// Conditional Compatibility Mixin
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// @group tools
2
+ /// @group tools/assets
3
3
  ////
4
4
 
5
5
  // Disable indentation linting in this file only
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// @group tools
2
+ /// @group tools/internet-explorer-8
3
3
  ////
4
4
 
5
5
  /// Conditionally include rules only for IE8
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// @group tools
2
+ /// @group tools/assets
3
3
  ////
4
4
 
5
5
  // Disable indentation linting in this file only
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// @group tools
2
+ /// @group tools/unit-conversion
3
3
  ////
4
4
 
5
5
  /// Convert pixels to em
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// @group tools
2
+ /// @group tools/unit-conversion
3
3
  ////
4
4
 
5
5
  /// Convert pixels to rem
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.6.0
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mec
@@ -76,37 +76,67 @@ files:
76
76
  - vendor/assets/images/govuk-mask-icon.svg
77
77
  - vendor/assets/images/govuk-opengraph-image.png
78
78
  - vendor/assets/javascripts/govuk_frontend_rails.js
79
+ - vendor/assets/stylesheets/_base.scss
79
80
  - vendor/assets/stylesheets/all-ie8.scss
80
81
  - vendor/assets/stylesheets/all.scss
81
82
  - vendor/assets/stylesheets/components/_all.scss
82
83
  - vendor/assets/stylesheets/components/accordion/_accordion.scss
84
+ - vendor/assets/stylesheets/components/accordion/_index.scss
83
85
  - vendor/assets/stylesheets/components/back-link/_back-link.scss
86
+ - vendor/assets/stylesheets/components/back-link/_index.scss
84
87
  - vendor/assets/stylesheets/components/breadcrumbs/_breadcrumbs.scss
88
+ - vendor/assets/stylesheets/components/breadcrumbs/_index.scss
85
89
  - vendor/assets/stylesheets/components/button/_button.scss
90
+ - vendor/assets/stylesheets/components/button/_index.scss
86
91
  - vendor/assets/stylesheets/components/character-count/_character-count.scss
92
+ - vendor/assets/stylesheets/components/character-count/_index.scss
87
93
  - vendor/assets/stylesheets/components/checkboxes/_checkboxes.scss
94
+ - vendor/assets/stylesheets/components/checkboxes/_index.scss
88
95
  - vendor/assets/stylesheets/components/date-input/_date-input.scss
96
+ - vendor/assets/stylesheets/components/date-input/_index.scss
89
97
  - vendor/assets/stylesheets/components/details/_details.scss
98
+ - vendor/assets/stylesheets/components/details/_index.scss
90
99
  - vendor/assets/stylesheets/components/error-message/_error-message.scss
100
+ - vendor/assets/stylesheets/components/error-message/_index.scss
91
101
  - vendor/assets/stylesheets/components/error-summary/_error-summary.scss
102
+ - vendor/assets/stylesheets/components/error-summary/_index.scss
92
103
  - vendor/assets/stylesheets/components/fieldset/_fieldset.scss
104
+ - vendor/assets/stylesheets/components/fieldset/_index.scss
93
105
  - vendor/assets/stylesheets/components/file-upload/_file-upload.scss
106
+ - vendor/assets/stylesheets/components/file-upload/_index.scss
94
107
  - vendor/assets/stylesheets/components/footer/_footer.scss
108
+ - vendor/assets/stylesheets/components/footer/_index.scss
95
109
  - vendor/assets/stylesheets/components/header/_header.scss
110
+ - vendor/assets/stylesheets/components/header/_index.scss
96
111
  - vendor/assets/stylesheets/components/hint/_hint.scss
112
+ - vendor/assets/stylesheets/components/hint/_index.scss
113
+ - vendor/assets/stylesheets/components/input/_index.scss
97
114
  - vendor/assets/stylesheets/components/input/_input.scss
115
+ - vendor/assets/stylesheets/components/inset-text/_index.scss
98
116
  - vendor/assets/stylesheets/components/inset-text/_inset-text.scss
117
+ - vendor/assets/stylesheets/components/label/_index.scss
99
118
  - vendor/assets/stylesheets/components/label/_label.scss
119
+ - vendor/assets/stylesheets/components/panel/_index.scss
100
120
  - vendor/assets/stylesheets/components/panel/_panel.scss
121
+ - vendor/assets/stylesheets/components/phase-banner/_index.scss
101
122
  - vendor/assets/stylesheets/components/phase-banner/_phase-banner.scss
123
+ - vendor/assets/stylesheets/components/radios/_index.scss
102
124
  - vendor/assets/stylesheets/components/radios/_radios.scss
125
+ - vendor/assets/stylesheets/components/select/_index.scss
103
126
  - vendor/assets/stylesheets/components/select/_select.scss
127
+ - vendor/assets/stylesheets/components/skip-link/_index.scss
104
128
  - vendor/assets/stylesheets/components/skip-link/_skip-link.scss
129
+ - vendor/assets/stylesheets/components/summary-list/_index.scss
105
130
  - vendor/assets/stylesheets/components/summary-list/_summary-list.scss
131
+ - vendor/assets/stylesheets/components/table/_index.scss
106
132
  - vendor/assets/stylesheets/components/table/_table.scss
133
+ - vendor/assets/stylesheets/components/tabs/_index.scss
107
134
  - vendor/assets/stylesheets/components/tabs/_tabs.scss
135
+ - vendor/assets/stylesheets/components/tag/_index.scss
108
136
  - vendor/assets/stylesheets/components/tag/_tag.scss
137
+ - vendor/assets/stylesheets/components/textarea/_index.scss
109
138
  - vendor/assets/stylesheets/components/textarea/_textarea.scss
139
+ - vendor/assets/stylesheets/components/warning-text/_index.scss
110
140
  - vendor/assets/stylesheets/components/warning-text/_warning-text.scss
111
141
  - vendor/assets/stylesheets/core/_all.scss
112
142
  - vendor/assets/stylesheets/core/_global-styles.scss