katalyst-govuk-formbuilder 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/builds/katalyst/govuk/formbuilder.css +534 -453
  3. data/app/assets/builds/katalyst/govuk/formbuilder.js +1865 -1379
  4. data/app/assets/builds/katalyst/govuk/formbuilder.min.js +85 -1
  5. data/app/assets/stylesheets/katalyst/govuk/components/richtextarea/_index.scss +5 -5
  6. data/app/assets/stylesheets/katalyst/govuk/components/richtextarea/_richtextarea.scss +1 -1
  7. data/app/assets/stylesheets/katalyst/govuk/formbuilder.scss +18 -18
  8. data/lib/katalyst/govuk/formbuilder/frontend.rb +2 -1
  9. data/lib/katalyst/govuk/formbuilder.rb +0 -1
  10. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/_base.scss +2 -0
  11. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/all.scss +2 -0
  12. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/_all.scss +8 -4
  13. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/accordion/_accordion.scss +4 -0
  14. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/accordion/_index.scss +19 -45
  15. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/back-link/_back-link.scss +4 -0
  16. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/back-link/_index.scss +18 -34
  17. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss +4 -0
  18. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/breadcrumbs/_index.scss +22 -35
  19. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/button/_button.scss +4 -0
  20. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/button/_index.scss +56 -91
  21. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/character-count/_character-count.scss +4 -0
  22. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/character-count/_index.scss +3 -1
  23. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss +4 -0
  24. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/checkboxes/_index.scss +69 -91
  25. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss +4 -0
  26. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/cookie-banner/_index.scss +3 -2
  27. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/date-input/_date-input.scss +4 -0
  28. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/date-input/_index.scss +2 -0
  29. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/details/_details.scss +4 -0
  30. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/details/_index.scss +134 -0
  31. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/error-message/_error-message.scss +4 -0
  32. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/error-message/_index.scss +2 -0
  33. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss +4 -0
  34. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/error-summary/_index.scss +5 -3
  35. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss +4 -0
  36. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +92 -0
  37. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss +4 -0
  38. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/fieldset/_index.scss +18 -11
  39. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss +4 -0
  40. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/file-upload/_index.scss +3 -6
  41. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/footer/_footer.scss +4 -0
  42. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/footer/_index.scss +16 -57
  43. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/header/_header.scss +4 -0
  44. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/header/_index.scss +55 -75
  45. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/hint/_hint.scss +2 -0
  46. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/hint/_index.scss +3 -0
  47. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/input/_index.scss +12 -35
  48. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/input/_input.scss +2 -0
  49. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/inset-text/_index.scss +2 -0
  50. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss +4 -0
  51. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/label/_index.scss +12 -7
  52. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/label/_label.scss +2 -0
  53. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/notification-banner/_index.scss +8 -5
  54. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss +4 -0
  55. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/pagination/_index.scss +12 -18
  56. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/pagination/_pagination.scss +4 -0
  57. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/panel/_index.scss +6 -8
  58. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/panel/_panel.scss +2 -0
  59. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/phase-banner/_index.scss +11 -0
  60. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss +4 -0
  61. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/radios/_index.scss +38 -54
  62. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/radios/_radios.scss +4 -0
  63. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/select/_index.scss +4 -11
  64. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/select/_select.scss +4 -0
  65. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/skip-link/_index.scss +2 -0
  66. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss +4 -0
  67. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/summary-list/_index.scss +20 -19
  68. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss +4 -0
  69. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/table/_index.scss +10 -16
  70. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/table/_table.scss +2 -0
  71. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/tabs/_index.scss +13 -9
  72. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/tabs/_tabs.scss +2 -0
  73. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/tag/_index.scss +94 -0
  74. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/tag/_tag.scss +2 -0
  75. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/task-list/_index.scss +77 -0
  76. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/task-list/_task-list.scss +4 -0
  77. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/textarea/_index.scss +3 -7
  78. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/textarea/_textarea.scss +4 -0
  79. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/components/warning-text/_index.scss +7 -8
  80. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss +4 -0
  81. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/core/_all.scss +2 -0
  82. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/core/_global-styles.scss +2 -1
  83. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/core/_govuk-frontend-version.scss +3 -1
  84. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/core/_links.scss +8 -1
  85. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/core/_lists.scss +2 -1
  86. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/core/_section-break.scss +2 -7
  87. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/core/_typography.scss +5 -4
  88. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_all.scss +2 -0
  89. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_clearfix.scss +3 -1
  90. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_colour.scss +12 -19
  91. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_device-pixels.scss +4 -3
  92. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_focused.scss +22 -6
  93. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/helpers/_font-faces.scss +41 -0
  94. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_grid.scss +2 -0
  95. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_links.scss +36 -74
  96. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_media-queries.scss +3 -12
  97. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_shape-arrow.scss +2 -0
  98. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_spacing.scss +12 -10
  99. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_typography.scss +12 -33
  100. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/helpers/_visually-hidden.scss +33 -0
  101. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/objects/_all.scss +2 -0
  102. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/objects/_button-group.scss +7 -12
  103. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/objects/_form-group.scss +2 -0
  104. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/objects/_grid.scss +4 -2
  105. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/objects/_main-wrapper.scss +2 -0
  106. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/objects/_template.scss +22 -1
  107. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/objects/_width-container.scss +2 -9
  108. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/overrides/_all.scss +2 -0
  109. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/overrides/_display.scss +2 -0
  110. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/overrides/_spacing.scss +3 -19
  111. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/overrides/_text-align.scss +2 -0
  112. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/overrides/_typography.scss +2 -0
  113. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/overrides/_width.scss +2 -0
  114. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_all.scss +2 -3
  115. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_assets.scss +2 -0
  116. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_colours-applied.scss +9 -7
  117. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_colours-organisations.scss +4 -2
  118. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/settings/_colours-palette.scss +37 -0
  119. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_global-styles.scss +2 -0
  120. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_links.scss +3 -20
  121. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_measurements.scss +17 -5
  122. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_media-queries.scss +4 -2
  123. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_spacing.scss +2 -0
  124. data/vendor/assets/stylesheets/govuk-frontend/dist/govuk/settings/_typography-font.scss +52 -0
  125. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_typography-responsive.scss +2 -39
  126. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/settings/_warnings.scss +25 -5
  127. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/tools/_all.scss +2 -2
  128. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/tools/_exports.scss +2 -0
  129. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/tools/_font-url.scss +3 -0
  130. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/tools/_image-url.scss +3 -0
  131. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/tools/_px-to-em.scss +2 -0
  132. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/tools/_px-to-rem.scss +2 -0
  133. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/utilities/_all.scss +2 -0
  134. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/utilities/_clearfix.scss +2 -0
  135. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/utilities/_visually-hidden.scss +2 -0
  136. data/vendor/assets/stylesheets/govuk-frontend/{govuk → dist/govuk}/vendor/_sass-mq.scss +3 -1
  137. metadata +130 -133
  138. data/lib/katalyst/govuk/formbuilder/version.rb +0 -9
  139. data/vendor/assets/stylesheets/govuk-frontend/govuk/all-ie8.scss +0 -14
  140. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/accordion/_accordion.scss +0 -2
  141. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/back-link/_back-link.scss +0 -2
  142. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss +0 -2
  143. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/button/_button.scss +0 -2
  144. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/character-count/_character-count.scss +0 -2
  145. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss +0 -2
  146. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss +0 -2
  147. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/date-input/_date-input.scss +0 -2
  148. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/details/_details.scss +0 -2
  149. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/details/_index.scss +0 -88
  150. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/error-message/_error-message.scss +0 -2
  151. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/error-summary/_error-summary.scss +0 -2
  152. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/fieldset/_fieldset.scss +0 -2
  153. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/file-upload/_file-upload.scss +0 -2
  154. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/footer/_footer.scss +0 -2
  155. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/header/_header.scss +0 -2
  156. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/inset-text/_inset-text.scss +0 -2
  157. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss +0 -2
  158. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/pagination/_pagination.scss +0 -2
  159. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss +0 -2
  160. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/radios/_radios.scss +0 -2
  161. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/select/_select.scss +0 -2
  162. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/skip-link/_skip-link.scss +0 -2
  163. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/summary-list/_summary-list.scss +0 -2
  164. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/tag/_index.scss +0 -81
  165. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/textarea/_textarea.scss +0 -2
  166. data/vendor/assets/stylesheets/govuk-frontend/govuk/components/warning-text/_warning-text.scss +0 -2
  167. data/vendor/assets/stylesheets/govuk-frontend/govuk/helpers/_font-faces.scss +0 -41
  168. data/vendor/assets/stylesheets/govuk-frontend/govuk/settings/_colours-palette.scss +0 -120
  169. data/vendor/assets/stylesheets/govuk-frontend/govuk/settings/_compatibility.scss +0 -100
  170. data/vendor/assets/stylesheets/govuk-frontend/govuk/settings/_ie8.scss +0 -34
  171. data/vendor/assets/stylesheets/govuk-frontend/govuk/settings/_typography-font-families.scss +0 -32
  172. data/vendor/assets/stylesheets/govuk-frontend/govuk/settings/_typography-font.scss +0 -112
  173. data/vendor/assets/stylesheets/govuk-frontend/govuk/tools/_compatibility.scss +0 -50
  174. data/vendor/assets/stylesheets/govuk-frontend/govuk/tools/_ie8.scss +0 -87
@@ -12,3 +12,5 @@
12
12
  text-align: right !important;
13
13
  }
14
14
  }
15
+
16
+ /*# sourceMappingURL=_text-align.scss.map */
@@ -19,3 +19,5 @@
19
19
  @include govuk-typography-weight-bold($important: true);
20
20
  }
21
21
  }
22
+
23
+ /*# sourceMappingURL=_typography.scss.map */
@@ -44,3 +44,5 @@
44
44
  }
45
45
  }
46
46
  }
47
+
48
+ /*# sourceMappingURL=_width.scss.map */
@@ -4,9 +4,7 @@
4
4
  @import "assets";
5
5
 
6
6
  @import "warnings";
7
- @import "compatibility";
8
7
  @import "global-styles";
9
- @import "ie8";
10
8
 
11
9
  @import "media-queries";
12
10
 
@@ -17,8 +15,9 @@
17
15
  @import "spacing";
18
16
  @import "measurements";
19
17
 
20
- @import "typography-font-families";
21
18
  @import "typography-font";
22
19
  @import "typography-responsive";
23
20
 
24
21
  @import "links";
22
+
23
+ /*# sourceMappingURL=_all.scss.map */
@@ -80,3 +80,5 @@ $govuk-image-url-function: false !default;
80
80
  /// @access public
81
81
 
82
82
  $govuk-font-url-function: false !default;
83
+
84
+ /*# sourceMappingURL=_assets.scss.map */
@@ -30,7 +30,7 @@ $govuk-text-colour: govuk-colour("black") !default;
30
30
  /// @type Colour
31
31
  /// @access public
32
32
 
33
- $govuk-canvas-background-colour: govuk-colour("light-grey", $legacy: "grey-3") !default;
33
+ $govuk-canvas-background-colour: govuk-colour("light-grey") !default;
34
34
 
35
35
  /// Body background colour
36
36
  ///
@@ -55,7 +55,7 @@ $govuk-print-text-colour: #000000 !default;
55
55
  /// @type Colour
56
56
  /// @access public
57
57
 
58
- $govuk-secondary-text-colour: govuk-colour("dark-grey", $legacy: "grey-1") !default;
58
+ $govuk-secondary-text-colour: govuk-colour("dark-grey") !default;
59
59
 
60
60
  /// Focus colour
61
61
  ///
@@ -102,7 +102,7 @@ $govuk-success-colour: govuk-colour("green") !default;
102
102
  /// @type Colour
103
103
  /// @access public
104
104
 
105
- $govuk-border-colour: govuk-colour("mid-grey", $legacy: "grey-2");
105
+ $govuk-border-colour: govuk-colour("mid-grey") !default;
106
106
 
107
107
  /// Input border colour
108
108
  ///
@@ -120,7 +120,7 @@ $govuk-input-border-colour: govuk-colour("black") !default;
120
120
  /// @type Colour
121
121
  /// @access public
122
122
 
123
- $govuk-hover-colour: govuk-colour("mid-grey", $legacy: "grey-3");
123
+ $govuk-hover-colour: govuk-colour("mid-grey") !default;
124
124
 
125
125
  // =============================================================================
126
126
  // Links
@@ -138,18 +138,20 @@ $govuk-link-colour: govuk-colour("blue") !default;
138
138
  /// @type Colour
139
139
  /// @access public
140
140
 
141
- $govuk-link-visited-colour: govuk-colour("purple", $legacy: #4c2c92) !default;
141
+ $govuk-link-visited-colour: govuk-colour("purple") !default;
142
142
 
143
143
  /// Link hover colour
144
144
  ///
145
145
  /// @type Colour
146
146
  /// @access public
147
147
 
148
- $govuk-link-hover-colour: govuk-colour("dark-blue", $legacy: "light-blue") !default;
148
+ $govuk-link-hover-colour: govuk-colour("dark-blue") !default;
149
149
 
150
150
  /// Active link colour
151
151
  ///
152
152
  /// @type Colour
153
153
  /// @access public
154
154
 
155
- $govuk-link-active-colour: govuk-colour("black", $legacy: "light-blue") !default;
155
+ $govuk-link-active-colour: govuk-colour("black") !default;
156
+
157
+ /*# sourceMappingURL=_colours-applied.scss.map */
@@ -59,7 +59,7 @@ $govuk-colours-organisations: (
59
59
  colour-websafe: #005ea5
60
60
  ),
61
61
  "department-for-levelling-up-housing-and-communities": (
62
- colour: #012169,
62
+ colour: #012169
63
63
  ),
64
64
  "department-for-transport": (
65
65
  colour: #006c56,
@@ -85,7 +85,7 @@ $govuk-colours-organisations: (
85
85
  colour-websafe: #406e97
86
86
  ),
87
87
  "government-equalities-office": (
88
- colour: #9325b2
88
+ colour: #9325b2
89
89
  ),
90
90
  "hm-government": (
91
91
  colour: #0076c0,
@@ -144,3 +144,5 @@ $govuk-colours-organisations: (
144
144
  colour-websafe: #7a242a
145
145
  )
146
146
  ) !default;
147
+
148
+ /*# sourceMappingURL=_colours-organisations.scss.map */
@@ -0,0 +1,37 @@
1
+ ////
2
+ /// @group settings/colours
3
+ ////
4
+
5
+ /// Colour palette
6
+ ///
7
+ /// @type Map
8
+ ///
9
+ /// @prop $colour - Representation for the given $colour, where $colour is the
10
+ /// friendly name for the colour (e.g. "red": #ff0000);
11
+ ///
12
+ /// @access public
13
+
14
+ $govuk-colours: (
15
+ "red": #d4351c,
16
+ "yellow": #ffdd00,
17
+ "green": #00703c,
18
+ "blue": #1d70b8,
19
+ "dark-blue": #003078,
20
+ "light-blue": #5694ca,
21
+ "purple": #4c2c92,
22
+ "black": #0b0c0c,
23
+ "dark-grey": #505a5f,
24
+ "mid-grey": #b1b4b6,
25
+ "light-grey": #f3f2f1,
26
+ "white": #ffffff,
27
+ "light-purple": #6f72af,
28
+ "bright-purple": #912b88,
29
+ "pink": #d53880,
30
+ "light-pink": #f499be,
31
+ "orange": #f47738,
32
+ "brown": #b58840,
33
+ "light-green": #85994b,
34
+ "turquoise": #28a197
35
+ ) !default;
36
+
37
+ /*# sourceMappingURL=_colours-palette.scss.map */
@@ -11,3 +11,5 @@
11
11
  /// @access public
12
12
 
13
13
  $govuk-global-styles: false !default;
14
+
15
+ /*# sourceMappingURL=_global-styles.scss.map */
@@ -2,25 +2,6 @@
2
2
  /// @group settings/links
3
3
  ////
4
4
 
5
- /// Enable new link styles
6
- ///
7
- /// If enabled, the link styles will change. Underlines will:
8
- ///
9
- /// - be consistently thinner and a bit further away from the link text
10
- /// - have a clearer hover state, where the underline gets thicker to make the
11
- /// link stand out to users
12
- ///
13
- /// You should only enable the new link styles if both:
14
- ///
15
- /// - you've made sure your whole service will use the new style consistently
16
- /// - you do not have links in a multi-column CSS layout - there's [a Chromium
17
- /// bug that affects links](https://github.com/alphagov/govuk-frontend/issues/2204)
18
- ///
19
- /// @type Boolean
20
- /// @access public
21
-
22
- $govuk-new-link-styles: false !default;
23
-
24
5
  /// Thickness of link underlines
25
6
  ///
26
7
  /// The default will be either:
@@ -47,7 +28,7 @@ $govuk-link-underline-thickness: unquote("max(1px, .0625rem)") !default;
47
28
  /// @type Number
48
29
  /// @access public
49
30
 
50
- $govuk-link-underline-offset: .1578em !default;
31
+ $govuk-link-underline-offset: 0.1578em !default;
51
32
 
52
33
  /// Thickness of link underlines in hover state
53
34
  ///
@@ -64,3 +45,5 @@ $govuk-link-underline-offset: .1578em !default;
64
45
  /// @access public
65
46
 
66
47
  $govuk-link-hover-underline-thickness: unquote("max(3px, .1875rem, .12em)") !default;
48
+
49
+ /*# sourceMappingURL=_links.scss.map */
@@ -19,11 +19,21 @@ $govuk-page-width: 960px !default;
19
19
  /// @access public
20
20
 
21
21
  $govuk-grid-widths: (
22
- one-quarter: (100% / 4),
23
- one-third: (100% / 3),
24
- one-half: (100% / 2),
25
- two-thirds: (200% / 3),
26
- three-quarters: (300% / 4),
22
+ one-quarter: (
23
+ 100% / 4
24
+ ),
25
+ one-third: (
26
+ 100% / 3
27
+ ),
28
+ one-half: (
29
+ 100% / 2
30
+ ),
31
+ two-thirds: (
32
+ 200% / 3
33
+ ),
34
+ three-quarters: (
35
+ 300% / 4
36
+ ),
27
37
  full: 100%
28
38
  ) !default;
29
39
 
@@ -93,3 +103,5 @@ $govuk-focus-width: 3px !default;
93
103
  /// @access public
94
104
 
95
105
  $govuk-hover-width: 10px !default;
106
+
107
+ /*# sourceMappingURL=_measurements.scss.map */
@@ -8,8 +8,8 @@
8
8
  /// @access public
9
9
 
10
10
  $govuk-breakpoints: (
11
- mobile: 320px,
12
- tablet: 641px,
11
+ mobile: 320px,
12
+ tablet: 641px,
13
13
  desktop: 769px
14
14
  ) !default;
15
15
 
@@ -21,3 +21,5 @@ $govuk-breakpoints: (
21
21
  /// @access public
22
22
 
23
23
  $govuk-show-breakpoints: false !default;
24
+
25
+ /*# sourceMappingURL=_media-queries.scss.map */
@@ -74,3 +74,5 @@ $govuk-spacing-responsive-scale: (
74
74
  tablet: 60px
75
75
  )
76
76
  ) !default;
77
+
78
+ /*# sourceMappingURL=_spacing.scss.map */
@@ -0,0 +1,52 @@
1
+ ////
2
+ /// @group settings/typography
3
+ ////
4
+
5
+ // =========================================================
6
+ // Font families
7
+ // =========================================================
8
+
9
+ /// Font families to use for all typography on screen media
10
+ ///
11
+ /// @type List
12
+ /// @access public
13
+
14
+ $govuk-font-family: "GDS Transport", arial, sans-serif !default;
15
+
16
+ /// Font families to use for print media
17
+ ///
18
+ /// We recommend that you use system fonts when printing. This will avoid issues
19
+ /// with some printer drivers and operating systems.
20
+ ///
21
+ /// @type List
22
+ /// @access public
23
+
24
+ $govuk-font-family-print: sans-serif !default;
25
+
26
+ /// Include the default @font-face declarations
27
+ ///
28
+ /// Defaults to true if "GDS Transport" appears in the $govuk-font-family
29
+ /// setting.
30
+ ///
31
+ /// @type Boolean
32
+ /// @access public
33
+
34
+ $govuk-include-default-font-face: if(index($govuk-font-family, "GDS Transport"), true, false) !default;
35
+
36
+ // =========================================================
37
+ // Font weights
38
+ // =========================================================
39
+
40
+ /// Font weight for regular typography
41
+ ///
42
+ /// @type Number
43
+ /// @access public
44
+ $govuk-font-weight-regular: 400 !default;
45
+
46
+ /// Font weight for bold typography
47
+ ///
48
+ /// @type Number
49
+ /// @access public
50
+ $govuk-font-weight-bold: 700 !default;
51
+
52
+ /*# sourceMappingURL=_typography-font.scss.map */
@@ -1,41 +1,7 @@
1
- @import "compatibility";
2
-
3
1
  ////
4
2
  /// @group settings/typography
5
3
  ////
6
4
 
7
- /// Whether or not to define font sizes in rem, improving accessibility by
8
- /// allowing users to adjust the base font-size. This is enabled by default,
9
- /// unless any of the compatibility mode settings are enabled.
10
- ///
11
- /// You should make sure that $govuk-root-font-size is set correctly for your
12
- /// project.
13
- ///
14
- /// @type Boolean
15
- /// @access public
16
- /// @deprecated Will be removed in v5.0 with the rest of the compatibility mode
17
- /// suite of tools and settings
18
-
19
- $govuk-typography-use-rem: if(
20
- (
21
- $govuk-compatibility-govukfrontendtoolkit or
22
- $govuk-compatibility-govuktemplate or
23
- $govuk-compatibility-govukelements
24
- ),
25
- false,
26
- true
27
- ) !default;
28
-
29
- // Only show the deprecation warning if user is setting $govuk-typography-use-rem
30
- // manually instead of automatically via compatibility variables
31
- @if $govuk-typography-use-rem == false and
32
- $govuk-compatibility-govukfrontendtoolkit == false and
33
- $govuk-compatibility-govuktemplate == false and
34
- $govuk-compatibility-govukelements == false {
35
- @include _warning(allow-not-using-rem, "$govuk-typography-use-rem is deprecated. " +
36
- "From version 5.0, GOV.UK Frontend will not support disabling rem font sizes.");
37
- }
38
-
39
5
  /// Root font size
40
6
  ///
41
7
  /// This is used to calculate rem sizes for the typography, and should match the
@@ -45,11 +11,6 @@ $govuk-typography-use-rem: if(
45
11
  /// in order to allow it to scale with user-preference, in which case this
46
12
  /// should be set to 16px.
47
13
  ///
48
- /// If you are integrating Frontend into an existing project that also uses
49
- /// alphagov/govuk_template and you wish to enable `$govuk-typography-use-rem`
50
- /// then you should set this to 10px to match the 62.5% (10px) base font size
51
- /// that govuk_template sets on the <html> element.
52
- ///
53
14
  /// @type Number
54
15
  /// @access public
55
16
 
@@ -193,3 +154,5 @@ $govuk-typography-scale: (
193
154
  )
194
155
  )
195
156
  ) !default;
157
+
158
+ /*# sourceMappingURL=_typography-responsive.scss.map */
@@ -7,8 +7,8 @@
7
7
  /// This map is used to determine which deprecation warnings to **not** show
8
8
  /// to users when compiling sass. This is in place for codebases that do not
9
9
  /// have the necessary capacity to upgrade and remove the deprecation,
10
- /// particularly if the deprecation is significant. For example, removal of
11
- /// compatibility with legacy libraries such as govuk_elements.
10
+ /// particularly if the deprecation is significant. For example, the removal of
11
+ /// mixins and functions that were previously available to users of Frontend.
12
12
  ///
13
13
  /// You can add to this map and define which warnings to suppress by appending to
14
14
  /// it using the warning key, found in the warning message. For example:
@@ -45,9 +45,29 @@ $govuk-suppressed-warnings: () !default;
45
45
  /// @access private
46
46
 
47
47
  @mixin _warning($key, $message) {
48
- @if not index($govuk-suppressed-warnings, $key) {
49
- @warn $message + " To silence this warning, update $govuk-suppressed-warnings " +
50
- "with key: \"#{$key}\"";
48
+ @if _should-warn($key) {
49
+ @warn _warning-text($key, $message);
51
50
  $govuk-suppressed-warnings: append($govuk-suppressed-warnings, $key) !global;
52
51
  }
53
52
  }
53
+
54
+ /// Check whether a key is present in the suppressed warnings list.
55
+ ///
56
+ /// @param {String} $key - The key to be checked against `$govuk-suppressed-warnings`.
57
+ /// @access private
58
+
59
+ @function _should-warn($key) {
60
+ @return index($govuk-suppressed-warnings, $key) == null;
61
+ }
62
+
63
+ /// Format a warning by appending information on how to suppress it.
64
+ ///
65
+ /// @param {String} $key - The key needed to suppress the warning.
66
+ /// @param {String} $message - The warning text.
67
+ /// @access private
68
+
69
+ @function _warning-text($key, $message) {
70
+ @return $message + " To silence this warning, update $govuk-suppressed-warnings " + 'with key: "#{$key}"';
71
+ }
72
+
73
+ /*# sourceMappingURL=_warnings.scss.map */
@@ -1,7 +1,7 @@
1
- @import "compatibility";
2
1
  @import "exports";
3
2
  @import "font-url";
4
- @import "ie8";
5
3
  @import "image-url";
6
4
  @import "px-to-em";
7
5
  @import "px-to-rem";
6
+
7
+ /*# sourceMappingURL=_all.scss.map */
@@ -31,3 +31,5 @@ $_govuk-imported-modules: () !default;
31
31
  // The next time exports is called for the module of the same name, it will be
32
32
  // found in the list and so nothing will be outputted.
33
33
  }
34
+
35
+ /*# sourceMappingURL=_exports.scss.map */
@@ -13,6 +13,7 @@
13
13
  /// @access public
14
14
 
15
15
  @function govuk-font-url($filename) {
16
+ // prettier-ignore
16
17
  $use-custom-function: variable-exists("govuk-font-url-function")
17
18
  and $govuk-font-url-function
18
19
  and function-exists($govuk-font-url-function);
@@ -23,3 +24,5 @@
23
24
  @return url($govuk-fonts-path + $filename);
24
25
  }
25
26
  }
27
+
28
+ /*# sourceMappingURL=_font-url.scss.map */
@@ -13,6 +13,7 @@
13
13
  /// @access public
14
14
 
15
15
  @function govuk-image-url($filename) {
16
+ // prettier-ignore
16
17
  $use-custom-function: variable-exists("govuk-image-url-function")
17
18
  and $govuk-image-url-function
18
19
  and function-exists($govuk-image-url-function);
@@ -23,3 +24,5 @@
23
24
  @return url($govuk-images-path + $filename);
24
25
  }
25
26
  }
27
+
28
+ /*# sourceMappingURL=_image-url.scss.map */
@@ -18,3 +18,5 @@
18
18
  }
19
19
  @return $value / $context-font-size * 1em;
20
20
  }
21
+
22
+ /*# sourceMappingURL=_px-to-em.scss.map */
@@ -18,3 +18,5 @@
18
18
 
19
19
  @return $value / $govuk-root-font-size * 1rem;
20
20
  }
21
+
22
+ /*# sourceMappingURL=_px-to-rem.scss.map */
@@ -1,2 +1,4 @@
1
1
  @import "clearfix";
2
2
  @import "visually-hidden";
3
+
4
+ /*# sourceMappingURL=_all.scss.map */
@@ -3,3 +3,5 @@
3
3
  @include govuk-clearfix;
4
4
  }
5
5
  }
6
+
7
+ /*# sourceMappingURL=_clearfix.scss.map */
@@ -7,3 +7,5 @@
7
7
  @include govuk-visually-hidden-focusable;
8
8
  }
9
9
  }
10
+
11
+ /*# sourceMappingURL=_visually-hidden.scss.map */
@@ -319,7 +319,7 @@ $mq-media-type: all !default;
319
319
  /// // Show breakpoints using custom settings
320
320
  /// @include mq-show-breakpoints((L, XL), (S: 300px, L: 800px, XL: 1200px));
321
321
  @mixin mq-show-breakpoints($show-breakpoints: $mq-show-breakpoints, $breakpoints: $mq-breakpoints) {
322
- body:before {
322
+ body::before {
323
323
  background-color: #FCF8E3;
324
324
  border-bottom: 1px solid #FBEED5;
325
325
  border-left: 1px solid #FBEED5;
@@ -345,3 +345,5 @@ $mq-media-type: all !default;
345
345
  @if length($mq-show-breakpoints) > 0 {
346
346
  @include mq-show-breakpoints;
347
347
  }
348
+
349
+ /*# sourceMappingURL=_sass-mq.scss.map */