govuk_publishing_components 68.2.0 → 69.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-form-tracker.js +44 -17
  3. data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +98 -139
  4. data/app/assets/javascripts/govuk_publishing_components/components/option-select.js +26 -16
  5. data/app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js +12 -11
  6. data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/youtube-link-enhancement.js +3 -1
  7. data/app/assets/javascripts/govuk_publishing_components/lib/trigger-event.js +14 -11
  8. data/app/assets/stylesheets/component_guide/application.scss +7 -7
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_accordion.scss +1 -1
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_add-another.scss +2 -2
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +1 -1
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +5 -5
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_back-link.scss +1 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_big-number.scss +1 -1
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +6 -5
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_character-count.scss +1 -1
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +1 -1
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +2 -2
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +1 -1
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +1 -0
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_date-input.scss +1 -1
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_details.scss +1 -1
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +6 -6
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_error-message.scss +1 -1
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -1
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +8 -8
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_fieldset.scss +1 -1
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +1 -1
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_file-upload.scss +1 -1
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_hint.scss +1 -1
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +6 -7
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +1 -1
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_inset-text.scss +1 -1
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +1 -1
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +1 -1
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_label.scss +1 -1
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -1
  40. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +1 -1
  41. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +1 -1
  42. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +15 -11
  43. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +1 -1
  44. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +3 -3
  45. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +1 -1
  46. data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +2 -2
  47. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +3 -3
  48. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +1 -7
  49. data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +1 -1
  50. data/app/assets/stylesheets/govuk_publishing_components/components/_panel.scss +1 -1
  51. data/app/assets/stylesheets/govuk_publishing_components/components/_password-input.scss +1 -1
  52. data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +1 -1
  53. data/app/assets/stylesheets/govuk_publishing_components/components/_radio.scss +2 -2
  54. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +1 -1
  55. data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +1 -1
  56. data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +1 -1
  57. data/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +1 -1
  58. data/app/assets/stylesheets/govuk_publishing_components/components/_service-navigation.scss +1 -1
  59. data/app/assets/stylesheets/govuk_publishing_components/components/_skip-link.scss +1 -1
  60. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +2 -2
  61. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -1
  62. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +3 -3
  63. data/app/assets/stylesheets/govuk_publishing_components/components/_sub-navigation-menu.scss +1 -1
  64. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +1 -1
  65. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +1 -1
  66. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +1 -1
  67. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-card.scss +1 -1
  68. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +1 -1
  69. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +1 -1
  70. data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +1 -1
  71. data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +1 -1
  72. data/app/assets/stylesheets/govuk_publishing_components/components/_textarea.scss +1 -1
  73. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +1 -1
  74. data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +1 -1
  75. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +7 -7
  76. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +1 -1
  77. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +1 -1
  78. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +9 -8
  79. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +2 -2
  80. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -1
  81. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +1 -1
  82. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_form-download.scss +1 -1
  83. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +2 -2
  84. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -1
  85. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss +1 -1
  86. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +1 -1
  87. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
  88. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss +1 -1
  89. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +2 -2
  90. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +3 -2
  91. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +2 -2
  92. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +5 -4
  93. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_index.scss +0 -1
  94. data/app/views/govuk_publishing_components/components/_date_input.html.erb +16 -10
  95. data/app/views/govuk_publishing_components/components/_metadata.html.erb +81 -74
  96. data/app/views/govuk_publishing_components/components/_option_select.html.erb +9 -20
  97. data/app/views/govuk_publishing_components/components/docs/date_input.yml +23 -0
  98. data/lib/govuk_publishing_components/version.rb +1 -1
  99. data/node_modules/choices.js/README.md +1 -1
  100. data/node_modules/choices.js/package.json +5 -9
  101. data/node_modules/choices.js/public/assets/scripts/choices.js +32 -23
  102. data/node_modules/choices.js/public/assets/scripts/choices.min.js +2 -2
  103. data/node_modules/choices.js/public/assets/scripts/choices.mjs +32 -23
  104. data/node_modules/choices.js/public/assets/scripts/choices.search-basic.js +31 -22
  105. data/node_modules/choices.js/public/assets/scripts/choices.search-basic.min.js +2 -2
  106. data/node_modules/choices.js/public/assets/scripts/choices.search-basic.mjs +31 -22
  107. data/node_modules/choices.js/public/assets/scripts/choices.search-kmp.js +30 -21
  108. data/node_modules/choices.js/public/assets/scripts/choices.search-kmp.min.js +2 -2
  109. data/node_modules/choices.js/public/assets/scripts/choices.search-kmp.mjs +30 -21
  110. data/node_modules/choices.js/public/assets/scripts/choices.search-prefix.js +30 -21
  111. data/node_modules/choices.js/public/assets/scripts/choices.search-prefix.min.js +2 -2
  112. data/node_modules/choices.js/public/assets/scripts/choices.search-prefix.mjs +30 -21
  113. data/node_modules/choices.js/public/types/src/scripts/choices.d.ts +3 -3
  114. data/node_modules/choices.js/public/types/src/scripts/interfaces/templates.d.ts +1 -1
  115. data/node_modules/choices.js/src/scripts/choices.ts +30 -25
  116. data/node_modules/choices.js/src/scripts/components/dropdown.ts +7 -3
  117. data/node_modules/choices.js/src/scripts/interfaces/templates.ts +1 -1
  118. data/node_modules/choices.js/src/scripts/templates.ts +8 -3
  119. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +1 -1
  120. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +1 -1
  121. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  122. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss +4 -1
  123. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss.map +1 -1
  124. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +3 -1
  125. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  126. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss +4 -1
  127. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss.map +1 -1
  128. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +7 -3
  129. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -1
  130. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss +4 -1
  131. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -1
  132. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +8 -4
  133. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
  134. data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss +4 -1
  135. data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss.map +1 -1
  136. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +3 -1
  137. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
  138. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss +4 -1
  139. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss.map +1 -1
  140. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +2 -0
  141. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
  142. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss +4 -1
  143. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss.map +1 -1
  144. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +10 -6
  145. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
  146. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss +4 -1
  147. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -1
  148. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +2 -0
  149. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
  150. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss +4 -1
  151. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss.map +1 -1
  152. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +2 -0
  153. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -1
  154. data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss +4 -1
  155. data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss.map +1 -1
  156. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +3 -1
  157. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
  158. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss +4 -1
  159. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss.map +1 -1
  160. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +2 -0
  161. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -1
  162. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss +4 -1
  163. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss.map +1 -1
  164. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +3 -1
  165. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -1
  166. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss +4 -1
  167. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -1
  168. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +3 -1
  169. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss.map +1 -1
  170. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss +4 -1
  171. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss.map +1 -1
  172. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss +3 -1
  173. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss.map +1 -1
  174. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss +4 -1
  175. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss.map +1 -1
  176. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +4 -1
  177. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  178. data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss +4 -1
  179. data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss.map +1 -1
  180. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +2 -0
  181. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  182. data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss +4 -1
  183. data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss.map +1 -1
  184. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +2 -0
  185. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  186. data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss +4 -1
  187. data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss.map +1 -1
  188. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +2 -0
  189. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -1
  190. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +2 -0
  191. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  192. data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss +4 -1
  193. data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss.map +1 -1
  194. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +5 -1
  195. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -1
  196. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss +4 -1
  197. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss.map +1 -1
  198. data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss +3 -1
  199. data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map +1 -1
  200. data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss +4 -1
  201. data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss.map +1 -1
  202. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +6 -2
  203. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  204. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss +4 -1
  205. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss.map +1 -1
  206. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +2 -0
  207. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  208. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss +4 -1
  209. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss.map +1 -1
  210. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +3 -1
  211. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  212. data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss +4 -1
  213. data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss.map +1 -1
  214. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +2 -0
  215. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +1 -1
  216. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss +4 -1
  217. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss.map +1 -1
  218. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +3 -1
  219. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  220. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss +4 -1
  221. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss.map +1 -1
  222. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +14 -10
  223. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  224. data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss +4 -1
  225. data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss.map +1 -1
  226. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +2 -0
  227. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  228. data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss +4 -1
  229. data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss.map +1 -1
  230. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +5 -1
  231. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
  232. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss +4 -1
  233. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss.map +1 -1
  234. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +7 -3
  235. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  236. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss +4 -1
  237. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss.map +1 -1
  238. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +15 -2
  239. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  240. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss +4 -1
  241. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss.map +1 -1
  242. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +4 -1
  243. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  244. data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss +4 -1
  245. data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss.map +1 -1
  246. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +5 -2
  247. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
  248. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss +4 -1
  249. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss.map +1 -1
  250. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +4 -1
  251. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
  252. data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss +4 -1
  253. data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss.map +1 -1
  254. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +6 -2
  255. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
  256. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss +4 -1
  257. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss.map +1 -1
  258. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +2 -0
  259. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  260. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss +4 -1
  261. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss.map +1 -1
  262. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +3 -1
  263. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  264. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss +4 -1
  265. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss.map +1 -1
  266. data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss +4 -0
  267. data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss.map +1 -1
  268. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +4 -0
  269. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -1
  270. data/node_modules/govuk-frontend/dist/govuk/core/_links.scss +8 -0
  271. data/node_modules/govuk-frontend/dist/govuk/core/_links.scss.map +1 -1
  272. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +10 -1
  273. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss.map +1 -1
  274. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +5 -0
  275. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -1
  276. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +14 -13
  277. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
  278. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +1 -1
  279. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +5 -0
  280. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss.map +1 -1
  281. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  282. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  283. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  284. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +38 -70
  285. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
  286. data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss +2 -0
  287. data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss.map +1 -1
  288. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +1 -1
  289. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
  290. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +3 -2
  291. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -1
  292. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +4 -4
  293. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  294. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +17 -15
  295. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss.map +1 -1
  296. data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss +2 -2
  297. data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss.map +1 -1
  298. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +19 -13
  299. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss.map +1 -1
  300. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +48 -26
  301. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  302. data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +13 -11
  303. data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +1 -1
  304. data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss +4 -2
  305. data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss.map +1 -1
  306. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +10 -9
  307. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss.map +1 -1
  308. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +2 -0
  309. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss.map +1 -1
  310. data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss +3 -0
  311. data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss.map +1 -1
  312. data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss +5 -1
  313. data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss.map +1 -1
  314. data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss +2 -0
  315. data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss.map +1 -1
  316. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +7 -2
  317. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
  318. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +3 -0
  319. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss.map +1 -1
  320. data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss +18 -0
  321. data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss.map +1 -1
  322. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +28 -4
  323. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss.map +1 -1
  324. data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss +3 -2
  325. data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss.map +1 -1
  326. data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss +8 -16
  327. data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss.map +1 -1
  328. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss +4 -1
  329. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss.map +1 -1
  330. data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss +15 -2
  331. data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss.map +1 -1
  332. data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss +3 -2
  333. data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss.map +1 -1
  334. data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss +13 -5
  335. data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map +1 -1
  336. data/node_modules/govuk-frontend/dist/govuk/tools/_if.scss +24 -0
  337. data/node_modules/govuk-frontend/dist/govuk/tools/_if.scss.map +1 -0
  338. data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss +13 -5
  339. data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss.map +1 -1
  340. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +1 -0
  341. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -1
  342. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +5 -3
  343. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss.map +1 -1
  344. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +4 -2
  345. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -1
  346. data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss +3 -0
  347. data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss.map +1 -1
  348. data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss +1 -0
  349. data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss.map +1 -1
  350. data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss +3 -0
  351. data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss.map +1 -1
  352. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss +3 -1
  353. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss.map +1 -1
  354. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -1
  355. data/node_modules/govuk-frontend/package.json +7 -7
  356. metadata +4 -3
  357. data/app/assets/stylesheets/govuk_publishing_components/components/mixins/_grid-helper.scss +0 -145
@@ -1,5 +1,5 @@
1
- @import "govuk/components/button/button";
2
- @import "govuk/components/fieldset/fieldset";
1
+ @import "govuk/components/button";
2
+ @import "govuk/components/fieldset";
3
3
 
4
4
  .gem-c-add-another {
5
5
  .gem-c-add-another__remove-button {
@@ -3,7 +3,7 @@
3
3
  padding: govuk-spacing(5) 0;
4
4
  border-top: 4px solid govuk-functional-colour(brand);
5
5
  background-color: $govuk-blue-tint-95;
6
- @include govuk-text-colour;
6
+ color: govuk-functional-colour(text);
7
7
  }
8
8
 
9
9
  .gem-c-app-promo-banner--visible {
@@ -44,8 +44,8 @@ $thumbnail-border-width: 5px;
44
44
 
45
45
  .gem-c-details {
46
46
  margin-top: govuk-spacing(3);
47
- word-break: break-word;
48
- word-wrap: break-word;
47
+ word-break: break-word; // stylelint-disable-line declaration-property-value-keyword-no-deprecated
48
+ overflow-wrap: break-word;
49
49
  }
50
50
  }
51
51
 
@@ -68,12 +68,12 @@ $thumbnail-border-width: 5px;
68
68
  .govspeak,
69
69
  .gem-c-govspeak {
70
70
  .gem-c-attachment__title {
71
- margin: 0 0 govuk-spacing(3) 0;
71
+ margin: 0 0 govuk-spacing(3);
72
72
  @include govuk-font($size: 27, $weight: regular);
73
73
  }
74
74
 
75
75
  .gem-c-attachment__metadata {
76
- margin: 0 0 govuk-spacing(3) 0;
76
+ margin: 0 0 govuk-spacing(3);
77
77
  }
78
78
  }
79
79
 
@@ -101,7 +101,7 @@ $thumbnail-border-width: 5px;
101
101
  }
102
102
 
103
103
  .gem-c-attachment__link.govuk-link {
104
- word-break: break-word;
104
+ word-break: break-word; // stylelint-disable-line declaration-property-value-keyword-no-deprecated
105
105
 
106
106
  &::after {
107
107
  font-size: 12pt;
@@ -1 +1 @@
1
- @import "govuk/components/back-link/back-link";
1
+ @import "govuk/components/back-link";
@@ -1,6 +1,6 @@
1
1
  .gem-c-big-number {
2
2
  margin-bottom: govuk-spacing(3);
3
- @include govuk-text-colour;
3
+ color: govuk-functional-colour(text);
4
4
  }
5
5
 
6
6
  .gem-c-big-number__value {
@@ -1,4 +1,4 @@
1
- @import "govuk/components/breadcrumbs/breadcrumbs";
1
+ @import "govuk/components/breadcrumbs";
2
2
 
3
3
  .gem-c-breadcrumbs--border-bottom {
4
4
  border-bottom: 1px solid govuk-functional-colour(border);
@@ -1,4 +1,4 @@
1
- @import "govuk/components/button/button";
1
+ @import "govuk/components/button";
2
2
 
3
3
  // Because govuk-frontend adds a responsive bottom margin by default for each component
4
4
  // we reset it to zero so we can set it separately using `gem-c-button--bottom-margin`
@@ -33,7 +33,7 @@
33
33
  display: block;
34
34
  max-width: 14em;
35
35
  margin-top: .5em;
36
- @include govuk-text-colour;
36
+ color: govuk-functional-colour(text);
37
37
  @include govuk-font($size: 16);
38
38
  }
39
39
 
@@ -7,6 +7,7 @@
7
7
  padding: 0;
8
8
  margin: 0;
9
9
  display: grid;
10
+ // stylelint-disable-next-line property-no-deprecated
10
11
  grid-column-gap: govuk-spacing(6); // Use deprecated grid-column-gap for Grade C browser support
11
12
  column-gap: govuk-spacing(6);
12
13
 
@@ -48,15 +49,15 @@
48
49
 
49
50
  .gem-c-cards__list--two-column-desktop {
50
51
  @include govuk-media-query($from: "tablet") {
51
- grid-auto-rows: fractions(1); // Set all rows to same fractional height of the complete grid
52
- grid-template-columns: fractions(2); // Note that browsers that don't support CSS grid display the component as one column on all breakpoints
52
+ grid-auto-rows: 1fr;
53
+ grid-template-columns: repeat(2, 1fr);
53
54
  }
54
55
  }
55
56
 
56
57
  .gem-c-cards__list--three-column-desktop {
57
58
  @include govuk-media-query($from: "desktop") {
58
- grid-auto-rows: fractions(1); // Set all rows to same fractional height of the complete grid
59
- grid-template-columns: fractions(3); // Note that browsers that don't support CSS grid display the component as one column on all breakpoints
59
+ grid-auto-rows: 1fr;
60
+ grid-template-columns: repeat(3, 1fr);
60
61
  }
61
62
  }
62
63
 
@@ -145,7 +146,7 @@
145
146
 
146
147
  .gem-c-cards__list-item {
147
148
  border-top: 1px solid govuk-functional-colour(border);
148
- padding: govuk-spacing(1) 0 govuk-spacing(4) 0;
149
+ padding: govuk-spacing(1) 0 govuk-spacing(4);
149
150
  }
150
151
 
151
152
  .gem-c-cards__list-item-wrapper {
@@ -1 +1 @@
1
- @import "govuk/components/character-count/character-count";
1
+ @import "govuk/components/character-count";
@@ -1,4 +1,4 @@
1
- @import "govuk/components/checkboxes/checkboxes";
1
+ @import "govuk/components/checkboxes";
2
2
 
3
3
  .govuk-checkboxes--nested {
4
4
  width: 100%;
@@ -9,7 +9,7 @@
9
9
 
10
10
  .gem-c-contents-list__title {
11
11
  margin: 0;
12
- @include govuk-text-colour;
12
+ color: govuk-functional-colour(text);
13
13
  @include govuk-font($size: 16, $weight: regular, $line-height: 1.5);
14
14
  }
15
15
 
@@ -18,7 +18,7 @@
18
18
  margin: 0;
19
19
  padding: 0;
20
20
  list-style-type: none;
21
- @include govuk-text-colour;
21
+ color: govuk-functional-colour(text);
22
22
  @include govuk-font($size: 16);
23
23
  }
24
24
 
@@ -1,4 +1,4 @@
1
- @import "govuk/components/cookie-banner/cookie-banner";
1
+ @import "govuk/components/cookie-banner";
2
2
 
3
3
  .gem-c-cookie-banner {
4
4
  [hidden],
@@ -305,6 +305,7 @@ $toggle-border-height: 3px;
305
305
  &-visible {
306
306
  @include toggle-button-focus;
307
307
 
308
+ // stylelint-disable-next-line selector-no-qualifying-type
308
309
  &.gem-c-rebranded-cross-service-header__toggle--open {
309
310
  @include toggle-button-focus;
310
311
  }
@@ -1,4 +1,4 @@
1
- @import "govuk/components/date-input/date-input";
1
+ @import "govuk/components/date-input";
2
2
 
3
3
  // Add spacing between input items on narrow containers when they collapse under each other
4
4
  .govuk-date-input {
@@ -1,4 +1,4 @@
1
- @import "govuk/components/details/details";
1
+ @import "govuk/components/details";
2
2
 
3
3
  [dir="rtl"] .gem-c-details,
4
4
  .direction-rtl .gem-c-details,
@@ -1,7 +1,7 @@
1
1
  .gem-c-document-list {
2
2
  margin: 0;
3
3
  padding: 0;
4
- @include govuk-text-colour;
4
+ color: govuk-functional-colour(text);
5
5
  @include govuk-font(19);
6
6
  }
7
7
 
@@ -55,7 +55,7 @@
55
55
 
56
56
  .gem-c-document-list__item-description {
57
57
  margin: govuk-spacing(1) 0;
58
- @include govuk-text-colour;
58
+ color: govuk-functional-colour(text);
59
59
  }
60
60
 
61
61
  .gem-c-document-list__subtext {
@@ -79,10 +79,10 @@
79
79
  display: inline-block;
80
80
  list-style: none;
81
81
  padding-right: govuk-spacing(4);
82
- @include govuk-text-colour;
82
+ color: govuk-functional-colour(text);
83
83
  @include govuk-font(16);
84
84
 
85
- & { // stylelint-disable-line no-duplicate-selectors
85
+ & { // stylelint-disable-line no-duplicate-selectors, block-no-redundant-nested-style-rules
86
86
  // overriding govuk-text-colour mixin
87
87
  color: govuk-functional-colour(secondary-text);
88
88
  }
@@ -104,7 +104,7 @@
104
104
  }
105
105
 
106
106
  .gem-c-document-list__highlight-text {
107
- margin: 0 0 govuk-spacing(3) 0;
107
+ margin: 0 0 govuk-spacing(3);
108
108
  @include govuk-font(16, bold);
109
109
  }
110
110
 
@@ -160,7 +160,7 @@
160
160
  .gem-c-document-list-child__description {
161
161
  margin-top: govuk-spacing(1);
162
162
  margin-bottom: govuk-spacing(1);
163
- @include govuk-text-colour;
163
+ color: govuk-functional-colour(text);
164
164
 
165
165
  @include govuk-media-query($until: tablet) {
166
166
  display: none;
@@ -1 +1 @@
1
- @import "govuk/components/error-message/error-message";
1
+ @import "govuk/components/error-message";
@@ -1,4 +1,4 @@
1
- @import "govuk/components/error-summary/error-summary";
1
+ @import "govuk/components/error-summary";
2
2
 
3
3
  .gem-c-error-summary__list-item {
4
4
  color: govuk-functional-colour(error);
@@ -175,14 +175,14 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
175
175
 
176
176
  // this comes from the backend so we can't put a class on it
177
177
  h2 {
178
- margin: 0 0 govuk-spacing(3) 0;
179
- @include govuk-text-colour;
178
+ margin: 0 0 govuk-spacing(3);
179
+ color: govuk-functional-colour(text);
180
180
  @include govuk-font($size: 24, $weight: bold);
181
181
  }
182
182
 
183
183
  p {
184
- margin: 0 0 govuk-spacing(3) 0;
185
- @include govuk-text-colour;
184
+ margin: 0 0 govuk-spacing(3);
185
+ color: govuk-functional-colour(text);
186
186
  @include govuk-font($size: 19);
187
187
  }
188
188
 
@@ -210,14 +210,14 @@ $feedback-prompt-border-top-colour: $govuk-blue-tint-50;
210
210
  }
211
211
 
212
212
  .gem-c-feedback__form-heading {
213
- margin: 0 0 govuk-spacing(3) 0;
214
- @include govuk-text-colour;
213
+ margin: 0 0 govuk-spacing(3);
214
+ color: govuk-functional-colour(text);
215
215
  @include govuk-font(24, $weight: bold);
216
216
  }
217
217
 
218
218
  .gem-c-feedback__form-paragraph {
219
- margin: 0 0 govuk-spacing(6) 0;
220
- @include govuk-text-colour;
219
+ margin: 0 0 govuk-spacing(6);
220
+ color: govuk-functional-colour(text);
221
221
  @include govuk-font(19);
222
222
  }
223
223
 
@@ -1 +1 @@
1
- @import "govuk/components/fieldset/fieldset";
1
+ @import "govuk/components/fieldset";
@@ -20,7 +20,7 @@ $gap: govuk-spacing(1);
20
20
  }
21
21
 
22
22
  .gem-c-figure__figcaption-text {
23
- margin: govuk-spacing(2) 0 0 0;
23
+ margin: govuk-spacing(2) 0 0;
24
24
  color: govuk-functional-colour(secondary-text);
25
25
  @include govuk-font(19);
26
26
  }
@@ -1 +1 @@
1
- @import "govuk/components/file-upload/file-upload";
1
+ @import "govuk/components/file-upload";
@@ -1 +1 @@
1
- @import "govuk/components/hint/hint";
1
+ @import "govuk/components/hint";
@@ -8,10 +8,9 @@
8
8
  gap: govuk-spacing(2);
9
9
  justify-content: space-between;
10
10
  align-items: stretch;
11
- @include govuk-text-colour;
11
+ color: govuk-functional-colour(text);
12
12
 
13
13
  @include govuk-media-query($until: tablet) {
14
- flex-direction: column-reverse;
15
14
  gap: govuk-spacing(3);
16
15
  }
17
16
  }
@@ -36,7 +35,7 @@
36
35
  height: auto;
37
36
  width: 100%;
38
37
  border: 0;
39
- border-top: 1px solid govuk-functional-colour(border);
38
+ border-top: 1px solid govuk-functional-colour("border");
40
39
  }
41
40
 
42
41
  .gem-c-image-card__title {
@@ -73,7 +72,7 @@
73
72
  .gem-c-image-card__context,
74
73
  .gem-c-image-card__metadata {
75
74
  font-size: govuk-px-to-rem(16px);
76
- margin: 0 0 calc(govuk-spacing(3) / 2);
75
+ margin: 0 0 govuk-spacing(2);
77
76
  color: govuk-functional-colour("secondary-text");
78
77
  @include govuk-font($size: false);
79
78
 
@@ -83,15 +82,15 @@
83
82
  }
84
83
 
85
84
  .gem-c-image-card__description {
86
- padding-top: calc(govuk-spacing(3) / 2);
87
- word-wrap: break-word;
85
+ padding-top: govuk-spacing(2);
86
+ overflow-wrap: break-word;
88
87
  @include govuk-font($size: 19);
89
88
  }
90
89
 
91
90
  .gem-c-image-card__list {
92
91
  position: relative;
93
92
  z-index: 2;
94
- padding: calc(govuk-spacing(3) / 2) 0 0 0;
93
+ padding: govuk-spacing(2) 0 0;
95
94
  margin: 0;
96
95
  list-style: none;
97
96
  @include govuk-font($size: 19);
@@ -1,4 +1,4 @@
1
- @import "govuk/components/input/input";
1
+ @import "govuk/components/input";
2
2
 
3
3
  $search-icon-size: 40px;
4
4
 
@@ -1,4 +1,4 @@
1
- @import "govuk/components/inset-text/inset-text";
1
+ @import "govuk/components/inset-text";
2
2
 
3
3
  @include govuk-media-query($media-type: print) {
4
4
  .gem-c-inset-text {
@@ -1,7 +1,7 @@
1
1
  .gem-c-intervention {
2
2
  background-color: govuk-colour("black", $variant: "tint-95");
3
3
  border-left: 10px solid govuk-functional-colour(success);
4
- @include govuk-text-colour;
4
+ color: govuk-functional-colour(text);
5
5
  @include govuk-responsive-padding(3);
6
6
  @include govuk-responsive-margin(6, "bottom");
7
7
 
@@ -2,7 +2,7 @@
2
2
  width: 100%;
3
3
  background-color: $govuk-blue-tint-80;
4
4
  margin-bottom: govuk-spacing(6);
5
- padding: govuk-spacing(3) govuk-spacing(6) govuk-spacing(6) govuk-spacing(6);
5
+ padding: govuk-spacing(3) govuk-spacing(6) govuk-spacing(6);
6
6
  box-sizing: border-box;
7
7
 
8
8
  @include govuk-media-query($until: desktop) {
@@ -1 +1 @@
1
- @import "govuk/components/label/label";
1
+ @import "govuk/components/label";
@@ -1,4 +1,4 @@
1
- @import "govuk/components/footer/footer";
1
+ @import "govuk/components/footer";
2
2
 
3
3
  .govuk-footer__list-item {
4
4
  display: inline-block;
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .gem-c-layout-for-public-account-menu {
13
- margin: 0 0 govuk-spacing(6) 0;
13
+ margin: 0 0 govuk-spacing(6);
14
14
  padding: 0;
15
15
 
16
16
  @include govuk-media-query($from: desktop) {
@@ -1,4 +1,4 @@
1
- @import "govuk/components/header/header";
1
+ @import "govuk/components/header";
2
2
 
3
3
  .gem-c-layout-header.gem-c-layout-header--no-bottom-border,
4
4
  .gem-c-layout-header.gem-c-layout-header--no-bottom-border .govuk-header__container {
@@ -1,4 +1,4 @@
1
- @import "govuk/components/header/header";
1
+ @import "govuk/components/header";
2
2
 
3
3
  $chevron-breakpoint: 360px;
4
4
  $chevron-indent-spacing: 7px;
@@ -26,13 +26,13 @@ $search-icon-height: 20px;
26
26
  border-bottom-color: $colour;
27
27
  border-right-color: $colour;
28
28
  } @else {
29
- @include prefixed-transform($rotate: 45deg, $translateY: -35%);
30
29
  border-bottom: 2px solid $colour;
31
30
  border-right: 2px solid $colour;
32
31
  content: "";
33
32
  display: inline-block;
34
33
  height: 8px;
35
34
  margin: 0 10px 0 2px;
35
+ transform: translateY(-35%) rotate(45deg) scale(1);
36
36
  vertical-align: middle;
37
37
  width: 8px;
38
38
  }
@@ -81,6 +81,7 @@ $search-icon-height: 20px;
81
81
  // Undoes the :focus styles *only* for browsers that support :focus-visible.
82
82
  // See https://www.tpgi.com/focus-visible-and-backwards-compatibility/
83
83
  @mixin focus-not-focus-visible {
84
+ // stylelint-disable-next-line block-no-redundant-nested-style-rules
84
85
  & {
85
86
  @content;
86
87
  }
@@ -372,7 +373,7 @@ $search-icon-height: 20px;
372
373
 
373
374
  &::before {
374
375
  @include chevron(govuk-colour("black"), true);
375
- @include prefixed-transform($rotate: 225deg, $translateY: 1px);
376
+ transform: translateY(1px) rotate(225deg) scale(1);
376
377
  }
377
378
  }
378
379
  }
@@ -391,7 +392,7 @@ $search-icon-height: 20px;
391
392
  @include govuk-media-query($from: $chevron-breakpoint) {
392
393
  &::before {
393
394
  @include chevron(govuk-functional-colour(link), true);
394
- @include prefixed-transform($rotate: 225deg, $translateY: 1px);
395
+ transform: translateY(1px) rotate(225deg) scale(1);
395
396
  }
396
397
  }
397
398
  }
@@ -571,12 +572,12 @@ $search-icon-height: 20px;
571
572
  // JS available - styles the links in the dropdown menu
572
573
  .gem-c-layout-super-navigation-header__dropdown-list-item {
573
574
  box-sizing: border-box;
574
- padding: 0 0 govuk-spacing(3) 0;
575
+ padding: 0 0 govuk-spacing(3);
575
576
  position: relative;
576
- margin: 0 0 govuk-spacing(2) 0;
577
+ margin: 0 0 govuk-spacing(2);
577
578
  @include govuk-media-query($from: "desktop") {
578
- padding: 0 0 govuk-spacing(3) 0;
579
- margin: 0 govuk-spacing(3) govuk-spacing(1) govuk-spacing(3);
579
+ padding: 0 0 govuk-spacing(3);
580
+ margin: 0 govuk-spacing(3) govuk-spacing(1);
580
581
  }
581
582
  }
582
583
 
@@ -588,7 +589,7 @@ $search-icon-height: 20px;
588
589
 
589
590
  @include govuk-media-query($from: "desktop") {
590
591
  margin: 0 (0 - govuk-spacing(3)) govuk-spacing(9);
591
- padding: govuk-spacing(2) 0 0 0;
592
+ padding: govuk-spacing(2) 0 0;
592
593
  }
593
594
  }
594
595
 
@@ -608,7 +609,10 @@ $search-icon-height: 20px;
608
609
  }
609
610
 
610
611
  @include govuk-media-query($from: "desktop") {
611
- @include columns($items: 16, $columns: 2, $selector: "li", $flow: column);
612
+ display: grid;
613
+ grid-auto-flow: column;
614
+ grid-template-columns: repeat(2, 1fr);
615
+ grid-template-rows: repeat(8, auto);
612
616
  }
613
617
  }
614
618
 
@@ -642,7 +646,7 @@ $search-icon-height: 20px;
642
646
  .gem-c-layout-super-navigation-header__navigation-second-item-description {
643
647
  font-size: govuk-px-to-rem(16px);
644
648
  font-weight: normal;
645
- margin: govuk-spacing(1) 0 0 0;
649
+ margin: govuk-spacing(1) 0 0;
646
650
  @include govuk-typography-common;
647
651
  }
648
652
 
@@ -2,7 +2,7 @@
2
2
  margin-top: 0;
3
3
  // Ensure the text has a line-length of around 60 characters
4
4
  max-width: 30em;
5
- @include govuk-text-colour;
5
+ color: govuk-functional-colour(text);
6
6
  @include responsive-bottom-margin;
7
7
  @include govuk-font(24);
8
8
  }
@@ -1,5 +1,5 @@
1
1
  .gem-c-metadata {
2
- @include govuk-text-colour;
2
+ color: govuk-functional-colour(text);
3
3
  @include govuk-font(16);
4
4
  @include responsive-bottom-margin;
5
5
 
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  .gem-c-metadata--border-top {
94
- padding-top: govuk-spacing(2);
94
+ padding-top: govuk-spacing(3);
95
95
  border-top: 1px solid $govuk-border-colour;
96
96
  }
97
97
 
@@ -130,7 +130,7 @@
130
130
 
131
131
  .gem-c-metadata__change-date {
132
132
  display: block;
133
- margin: 0 0 govuk-spacing(3) 0;
133
+ margin: 0 0 govuk-spacing(3);
134
134
  @include govuk-font(16, $weight: bold);
135
135
  }
136
136
 
@@ -36,7 +36,7 @@ $govuk-modal-wide-breakpoint: $govuk-page-width + $govuk-modal-margin * 2 + $gov
36
36
  }
37
37
 
38
38
  @include govuk-font($size: 19);
39
- @include govuk-text-colour;
39
+ color: govuk-functional-colour(text);
40
40
  @include govuk-media-query($from: tablet) {
41
41
  position: relative;
42
42
  top: inherit;
@@ -1,4 +1,4 @@
1
- @import "govuk/components/notification-banner/notification-banner";
1
+ @import "govuk/components/notification-banner";
2
2
 
3
3
  .gem-c-notice {
4
4
  .gem-c-govspeak {
@@ -21,5 +21,5 @@
21
21
  }
22
22
 
23
23
  .gem-c-notice__description {
24
- word-wrap: break-word;
24
+ overflow-wrap: break-word;
25
25
  }
@@ -15,8 +15,8 @@
15
15
  ::-webkit-scrollbar-thumb {
16
16
  border-radius: 4px;
17
17
 
18
- background-color: rgba(0, 0, 0, .5);
19
- -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .87);
18
+ background-color: rgb(0, 0, 0, .5);
19
+ -webkit-box-shadow: 0 0 1px rgb(255, 255, 255, .87);
20
20
  }
21
21
  }
22
22
 
@@ -104,7 +104,7 @@
104
104
  .gem-c-option-select__filter {
105
105
  position: relative;
106
106
  background: govuk-colour("white");
107
- padding: 13px 13px govuk-spacing(2) 13px;
107
+ padding: 13px 13px govuk-spacing(2);
108
108
  }
109
109
 
110
110
  .gem-c-option-select__filter-input {
@@ -6,12 +6,6 @@
6
6
  margin: 0;
7
7
  @include govuk-typography-common;
8
8
  @include govuk-font-size(19);
9
-
10
- @include govuk-media-query($until: tablet) {
11
- // only override line-height on small screens otherwise use govuk-font-size
12
- // line-height
13
- line-height: 1.35;
14
- }
15
9
  }
16
10
 
17
11
  .gem-c-organisation-logo__container {
@@ -59,7 +53,7 @@
59
53
  @include govuk-link-common;
60
54
  @include govuk-link-style-text;
61
55
 
62
- & { // stylelint-disable-line no-duplicate-selectors
56
+ & { // stylelint-disable-line no-duplicate-selectors, block-no-redundant-nested-style-rules
63
57
  // overriding the govuk-link font
64
58
  font-family: HelveticaNeue, "Helvetica Neue", Arial, Helvetica, sans-serif;
65
59
  }
@@ -1,4 +1,4 @@
1
- @import "govuk/components/pagination/pagination";
1
+ @import "govuk/components/pagination";
2
2
 
3
3
  // stylelint-disable declaration-no-important
4
4
  @include govuk-media-query($media-type: print) {
@@ -1,4 +1,4 @@
1
- @import "govuk/components/panel/panel";
1
+ @import "govuk/components/panel";
2
2
 
3
3
  .gem-c-panel__prepend {
4
4
  margin-bottom: govuk-spacing(3);
@@ -1 +1 @@
1
- @import "govuk/components/password-input/password-input";
1
+ @import "govuk/components/password-input";
@@ -1,4 +1,4 @@
1
- @import "govuk/components/phase-banner/phase-banner";
1
+ @import "govuk/components/phase-banner";
2
2
 
3
3
  .gem-c-phase-banner--inverse {
4
4
  .govuk-phase-banner__content__tag {
@@ -1,5 +1,5 @@
1
- @import "govuk/components/radios/radios";
1
+ @import "govuk/components/radios";
2
2
 
3
3
  .gem-c-radio__heading-text {
4
- margin: 0 0 govuk-spacing(4) 0;
4
+ margin: 0 0 govuk-spacing(4);
5
5
  }