govuk_tech_docs 3.4.5 → 4.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 (327) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/publish.yaml +8 -4
  3. data/.github/workflows/test.yaml +11 -4
  4. data/.rubocop.yml +1 -1
  5. data/CHANGELOG.md +22 -1
  6. data/example/.ruby-version +1 -1
  7. data/example/source/javascripts/govuk_frontend.js +1 -0
  8. data/govuk_tech_docs.gemspec +17 -11
  9. data/lib/assets/javascripts/_modules/page-expiry.js +2 -2
  10. data/lib/assets/javascripts/_modules/table-of-contents.js +48 -2
  11. data/lib/assets/javascripts/govuk_frontend_all.js +3 -0
  12. data/lib/assets/javascripts/govuk_tech_docs.js +0 -2
  13. data/lib/assets/stylesheets/_govuk_tech_docs.scss +4 -10
  14. data/lib/assets/stylesheets/modules/_page-review.scss +0 -2
  15. data/lib/assets/stylesheets/modules/_search.scss +0 -4
  16. data/lib/govuk_tech_docs/meta_tags.rb +1 -1
  17. data/lib/govuk_tech_docs/redirects.rb +1 -1
  18. data/lib/govuk_tech_docs/table_of_contents/heading_tree_builder.rb +1 -1
  19. data/lib/govuk_tech_docs/table_of_contents/helpers.rb +2 -2
  20. data/lib/govuk_tech_docs/tech_docs_html_renderer.rb +6 -2
  21. data/lib/govuk_tech_docs/version.rb +1 -1
  22. data/lib/govuk_tech_docs.rb +20 -3
  23. data/lib/source/layouts/_header.erb +8 -12
  24. data/lib/source/layouts/_page_review.erb +1 -1
  25. data/lib/source/layouts/_search.erb +2 -2
  26. data/lib/source/layouts/core.erb +8 -2
  27. data/lib/source/stylesheets/manifest.css +1 -1
  28. data/node_modules/govuk-frontend/dist/govuk/_base.scss +5 -0
  29. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +2554 -0
  30. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +2529 -0
  31. data/node_modules/govuk-frontend/dist/govuk/all.mjs +18 -0
  32. data/node_modules/govuk-frontend/dist/govuk/all.scss +3 -0
  33. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -0
  34. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-crest.svg +1 -0
  35. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
  36. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
  37. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
  38. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-mask.svg +1 -0
  39. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
  40. data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs +7 -0
  41. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +4 -0
  42. data/node_modules/govuk-frontend/dist/govuk/common/index.mjs +159 -0
  43. data/node_modules/govuk-frontend/dist/govuk/common/normalise-dataset.mjs +18 -0
  44. data/node_modules/govuk-frontend/dist/govuk/common/normalise-string.mjs +31 -0
  45. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +10 -0
  46. data/node_modules/govuk-frontend/{govuk/components/_all.scss → dist/govuk/components/_index.scss} +8 -3
  47. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss +4 -0
  48. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/accordion/_index.scss +55 -77
  49. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +785 -0
  50. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +777 -0
  51. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs +349 -0
  52. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss +4 -0
  53. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/back-link/_index.scss +12 -36
  54. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss +4 -0
  55. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/breadcrumbs/_index.scss +11 -36
  56. data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss +4 -0
  57. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/button/_index.scss +30 -103
  58. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js +318 -0
  59. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs +310 -0
  60. data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs +73 -0
  61. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss +4 -0
  62. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/character-count/_index.scss +8 -6
  63. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +761 -0
  64. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +753 -0
  65. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +295 -0
  66. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss +4 -0
  67. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/checkboxes/_index.scss +108 -132
  68. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js +268 -0
  69. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs +260 -0
  70. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs +111 -0
  71. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss +4 -0
  72. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/cookie-banner/_index.scss +19 -15
  73. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss +4 -0
  74. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/date-input/_index.scss +3 -2
  75. data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss +4 -0
  76. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +139 -0
  77. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss +4 -0
  78. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/error-message/_index.scss +2 -0
  79. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss +4 -0
  80. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/error-summary/_index.scss +19 -6
  81. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js +378 -0
  82. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs +370 -0
  83. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs +103 -0
  84. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss +4 -0
  85. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/exit-this-page/_index.scss +5 -10
  86. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +662 -0
  87. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +654 -0
  88. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs +226 -0
  89. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss +4 -0
  90. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/fieldset/_index.scss +20 -15
  91. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss +4 -0
  92. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/file-upload/_index.scss +11 -15
  93. data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss +4 -0
  94. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/footer/_index.scss +25 -68
  95. data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss +4 -0
  96. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/header/_index.scss +84 -79
  97. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +252 -0
  98. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +244 -0
  99. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +88 -0
  100. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/hint/_hint.scss +2 -0
  101. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/hint/_index.scss +3 -0
  102. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/input/_index.scss +24 -49
  103. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/input/_input.scss +2 -0
  104. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/inset-text/_index.scss +2 -0
  105. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss +4 -0
  106. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/label/_index.scss +12 -7
  107. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/label/_label.scss +2 -0
  108. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/notification-banner/_index.scss +11 -7
  109. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss +4 -0
  110. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js +320 -0
  111. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs +312 -0
  112. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs +51 -0
  113. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/pagination/_index.scss +36 -55
  114. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss +4 -0
  115. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +58 -0
  116. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/panel/_panel.scss +2 -0
  117. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +57 -0
  118. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss +4 -0
  119. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +594 -0
  120. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs +586 -0
  121. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs +154 -0
  122. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/phase-banner/_index.scss +10 -1
  123. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss +4 -0
  124. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/radios/_index.scss +92 -113
  125. data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss +4 -0
  126. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js +245 -0
  127. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs +237 -0
  128. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs +88 -0
  129. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/select/_index.scss +9 -16
  130. data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss +4 -0
  131. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +168 -0
  132. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss +4 -0
  133. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +249 -0
  134. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +241 -0
  135. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs +85 -0
  136. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/skip-link/_index.scss +10 -5
  137. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss +4 -0
  138. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js +244 -0
  139. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs +236 -0
  140. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs +58 -0
  141. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/summary-list/_index.scss +22 -20
  142. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss +4 -0
  143. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/table/_index.scss +21 -17
  144. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/table/_table.scss +2 -0
  145. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/tabs/_index.scss +13 -9
  146. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/tabs/_tabs.scss +2 -0
  147. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +453 -0
  148. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs +445 -0
  149. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs +283 -0
  150. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +97 -0
  151. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/tag/_tag.scss +2 -0
  152. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +79 -0
  153. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss +4 -0
  154. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/textarea/_index.scss +6 -10
  155. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss +4 -0
  156. data/node_modules/govuk-frontend/{govuk → dist/govuk}/components/warning-text/_index.scss +13 -13
  157. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss +4 -0
  158. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +10 -0
  159. data/node_modules/govuk-frontend/{govuk → dist/govuk}/core/_global-styles.scss +2 -1
  160. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +12 -0
  161. data/node_modules/govuk-frontend/{govuk/core/_all.scss → dist/govuk/core/_index.scss} +3 -1
  162. data/node_modules/govuk-frontend/{govuk → dist/govuk}/core/_links.scss +8 -1
  163. data/node_modules/govuk-frontend/{govuk → dist/govuk}/core/_lists.scss +2 -1
  164. data/node_modules/govuk-frontend/{govuk → dist/govuk}/core/_section-break.scss +2 -7
  165. data/node_modules/govuk-frontend/{govuk → dist/govuk}/core/_typography.scss +8 -5
  166. data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs +57 -0
  167. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend-component.mjs +60 -0
  168. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -0
  169. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +10 -0
  170. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_clearfix.scss +3 -1
  171. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +127 -0
  172. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_device-pixels.scss +4 -3
  173. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_focused.scss +22 -6
  174. data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces.scss +41 -0
  175. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_grid.scss +3 -1
  176. data/node_modules/govuk-frontend/{govuk/helpers/_all.scss → dist/govuk/helpers/_index.scss} +2 -0
  177. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_links.scss +38 -76
  178. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_media-queries.scss +3 -12
  179. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_shape-arrow.scss +3 -1
  180. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_spacing.scss +12 -10
  181. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +288 -0
  182. data/node_modules/govuk-frontend/{govuk → dist/govuk}/helpers/_visually-hidden.scss +39 -50
  183. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +195 -0
  184. data/node_modules/govuk-frontend/dist/govuk/index.scss +11 -0
  185. data/node_modules/govuk-frontend/dist/govuk/init.mjs +162 -0
  186. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +10 -0
  187. data/node_modules/govuk-frontend/{govuk → dist/govuk}/objects/_button-group.scss +7 -12
  188. data/node_modules/govuk-frontend/{govuk → dist/govuk}/objects/_form-group.scss +2 -0
  189. data/node_modules/govuk-frontend/{govuk → dist/govuk}/objects/_grid.scss +4 -2
  190. data/node_modules/govuk-frontend/{govuk/objects/_all.scss → dist/govuk/objects/_index.scss} +2 -0
  191. data/node_modules/govuk-frontend/{govuk → dist/govuk}/objects/_main-wrapper.scss +2 -0
  192. data/node_modules/govuk-frontend/{govuk → dist/govuk}/objects/_template.scss +2 -1
  193. data/node_modules/govuk-frontend/{govuk → dist/govuk}/objects/_width-container.scss +2 -9
  194. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +9 -0
  195. data/node_modules/govuk-frontend/{govuk → dist/govuk}/overrides/_display.scss +2 -0
  196. data/node_modules/govuk-frontend/{govuk/overrides/_all.scss → dist/govuk/overrides/_index.scss} +2 -0
  197. data/node_modules/govuk-frontend/{govuk → dist/govuk}/overrides/_spacing.scss +3 -19
  198. data/node_modules/govuk-frontend/{govuk → dist/govuk}/overrides/_text-align.scss +2 -0
  199. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +42 -0
  200. data/node_modules/govuk-frontend/{govuk → dist/govuk}/overrides/_width.scss +2 -0
  201. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +10 -0
  202. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_assets.scss +2 -0
  203. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_colours-applied.scss +9 -7
  204. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +378 -0
  205. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +37 -0
  206. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_global-styles.scss +2 -0
  207. data/node_modules/govuk-frontend/{govuk/settings/_all.scss → dist/govuk/settings/_index.scss} +2 -3
  208. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_links.scss +3 -20
  209. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_measurements.scss +18 -6
  210. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_media-queries.scss +5 -3
  211. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_spacing.scss +2 -0
  212. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss +52 -0
  213. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +322 -0
  214. data/node_modules/govuk-frontend/{govuk → dist/govuk}/settings/_warnings.scss +33 -8
  215. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +10 -0
  216. data/node_modules/govuk-frontend/{govuk → dist/govuk}/tools/_exports.scss +2 -0
  217. data/node_modules/govuk-frontend/{govuk → dist/govuk}/tools/_font-url.scss +3 -0
  218. data/node_modules/govuk-frontend/{govuk → dist/govuk}/tools/_image-url.scss +3 -0
  219. data/node_modules/govuk-frontend/{govuk/tools/_all.scss → dist/govuk/tools/_index.scss} +2 -2
  220. data/node_modules/govuk-frontend/{govuk → dist/govuk}/tools/_px-to-em.scss +2 -0
  221. data/node_modules/govuk-frontend/{govuk → dist/govuk}/tools/_px-to-rem.scss +2 -0
  222. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +10 -0
  223. data/node_modules/govuk-frontend/{govuk → dist/govuk}/utilities/_clearfix.scss +2 -0
  224. data/node_modules/govuk-frontend/{govuk/utilities/_all.scss → dist/govuk/utilities/_index.scss} +2 -0
  225. data/node_modules/govuk-frontend/{govuk → dist/govuk}/utilities/_visually-hidden.scss +2 -0
  226. data/node_modules/govuk-frontend/{govuk → dist/govuk}/vendor/_sass-mq.scss +3 -1
  227. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.js +15 -0
  228. data/node_modules/govuk-frontend/{govuk-prototype-kit → dist/govuk-prototype-kit}/init.scss +3 -2
  229. data/package-lock.json +37 -37
  230. data/package.json +6 -1
  231. metadata +316 -206
  232. data/node_modules/govuk-frontend/govuk/_base.scss +0 -3
  233. data/node_modules/govuk-frontend/govuk/all-ie8.scss +0 -14
  234. data/node_modules/govuk-frontend/govuk/all.js +0 -5172
  235. data/node_modules/govuk-frontend/govuk/all.scss +0 -9
  236. data/node_modules/govuk-frontend/govuk/assets/images/favicon.ico +0 -0
  237. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png +0 -0
  238. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png +0 -0
  239. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png +0 -0
  240. data/node_modules/govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png +0 -0
  241. data/node_modules/govuk-frontend/govuk/assets/images/govuk-crest-2x.png +0 -0
  242. data/node_modules/govuk-frontend/govuk/assets/images/govuk-crest.png +0 -0
  243. data/node_modules/govuk-frontend/govuk/assets/images/govuk-logotype-crown.png +0 -0
  244. data/node_modules/govuk-frontend/govuk/assets/images/govuk-mask-icon.svg +0 -7
  245. data/node_modules/govuk-frontend/govuk/assets/images/govuk-opengraph-image.png +0 -0
  246. data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js +0 -75
  247. data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +0 -17
  248. data/node_modules/govuk-frontend/govuk/common/index.js +0 -192
  249. data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js +0 -386
  250. data/node_modules/govuk-frontend/govuk/common.js +0 -194
  251. data/node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss +0 -2
  252. data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +0 -2386
  253. data/node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss +0 -2
  254. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss +0 -2
  255. data/node_modules/govuk-frontend/govuk/components/button/_button.scss +0 -2
  256. data/node_modules/govuk-frontend/govuk/components/button/button.js +0 -1027
  257. data/node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss +0 -2
  258. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +0 -2281
  259. data/node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss +0 -2
  260. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +0 -1277
  261. data/node_modules/govuk-frontend/govuk/components/cookie-banner/_cookie-banner.scss +0 -2
  262. data/node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss +0 -2
  263. data/node_modules/govuk-frontend/govuk/components/details/_details.scss +0 -2
  264. data/node_modules/govuk-frontend/govuk/components/details/_index.scss +0 -88
  265. data/node_modules/govuk-frontend/govuk/components/details/details.js +0 -873
  266. data/node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss +0 -2
  267. data/node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss +0 -2
  268. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +0 -1189
  269. data/node_modules/govuk-frontend/govuk/components/exit-this-page/_exit-this-page.scss +0 -2
  270. data/node_modules/govuk-frontend/govuk/components/exit-this-page/exit-this-page.js +0 -2120
  271. data/node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss +0 -2
  272. data/node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss +0 -2
  273. data/node_modules/govuk-frontend/govuk/components/footer/_footer.scss +0 -2
  274. data/node_modules/govuk-frontend/govuk/components/header/_header.scss +0 -2
  275. data/node_modules/govuk-frontend/govuk/components/header/header.js +0 -794
  276. data/node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss +0 -2
  277. data/node_modules/govuk-frontend/govuk/components/notification-banner/_notification-banner.scss +0 -2
  278. data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +0 -843
  279. data/node_modules/govuk-frontend/govuk/components/pagination/_pagination.scss +0 -2
  280. data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +0 -56
  281. data/node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss +0 -2
  282. data/node_modules/govuk-frontend/govuk/components/radios/_radios.scss +0 -2
  283. data/node_modules/govuk-frontend/govuk/components/radios/radios.js +0 -1222
  284. data/node_modules/govuk-frontend/govuk/components/select/_select.scss +0 -2
  285. data/node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss +0 -2
  286. data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +0 -1145
  287. data/node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss +0 -2
  288. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +0 -1621
  289. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +0 -81
  290. data/node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss +0 -2
  291. data/node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss +0 -2
  292. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +0 -5
  293. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +0 -98
  294. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +0 -41
  295. data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +0 -214
  296. data/node_modules/govuk-frontend/govuk/i18n.js +0 -397
  297. data/node_modules/govuk-frontend/govuk/overrides/_typography.scss +0 -21
  298. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +0 -146
  299. data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +0 -120
  300. data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +0 -100
  301. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +0 -34
  302. data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +0 -32
  303. data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +0 -112
  304. data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +0 -195
  305. data/node_modules/govuk-frontend/govuk/tools/_compatibility.scss +0 -50
  306. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +0 -87
  307. data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js +0 -274
  308. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js +0 -23
  309. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js +0 -36
  310. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js +0 -597
  311. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js +0 -58
  312. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js +0 -307
  313. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js +0 -33
  314. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js +0 -261
  315. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js +0 -261
  316. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js +0 -151
  317. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js +0 -512
  318. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js +0 -256
  319. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js +0 -96
  320. data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js +0 -23
  321. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js +0 -30
  322. data/node_modules/govuk-frontend/govuk-prototype-kit/init.js +0 -8
  323. /data/node_modules/govuk-frontend/{govuk → dist/govuk}/assets/fonts/bold-affa96571d-v2.woff +0 -0
  324. /data/node_modules/govuk-frontend/{govuk → dist/govuk}/assets/fonts/bold-b542beb274-v2.woff2 +0 -0
  325. /data/node_modules/govuk-frontend/{govuk → dist/govuk}/assets/fonts/light-94a07e06a1-v2.woff2 +0 -0
  326. /data/node_modules/govuk-frontend/{govuk → dist/govuk}/assets/fonts/light-f591b13f7d-v2.woff +0 -0
  327. /data/{lib/source → node_modules/govuk-frontend/dist/govuk/assets/images}/favicon.ico +0 -0
@@ -9,12 +9,7 @@
9
9
  /// @type Map
10
10
  /// @access private
11
11
 
12
- $_spacing-directions: (
13
- "top",
14
- "right",
15
- "bottom",
16
- "left"
17
- ) !default;
12
+ $_spacing-directions: ("top", "right", "bottom", "left") !default;
18
13
 
19
14
  /// Generate responsive spacing override classes
20
15
  ///
@@ -40,15 +35,12 @@ $_spacing-directions: (
40
35
  // For each point in the spacing scale (defined in settings), create an
41
36
  // override that affects all directions...
42
37
  @each $scale-point, $scale-map in $govuk-spacing-responsive-scale {
43
-
44
38
  .govuk-\!-#{$property}-#{$scale-point} {
45
-
46
39
  @include _govuk-responsive-spacing($scale-point, $property, "all", true);
47
40
  }
48
41
 
49
42
  // ... and then an override for each individual direction
50
43
  @each $direction in $_spacing-directions {
51
-
52
44
  .govuk-\!-#{$property}-#{$direction}-#{$scale-point} {
53
45
  @include _govuk-responsive-spacing($scale-point, $property, $direction, true);
54
46
  }
@@ -61,14 +53,6 @@ $_spacing-directions: (
61
53
  /// Generate spacing override classes for the given property (e.g. margin)
62
54
  /// for each point in the non-responsive spacing scale.
63
55
  ///
64
- /// The classes in the format govuk-#{$property}-static-#{$spacing-point}
65
- /// and govuk-\!-#{$property}-#{$direction}-static-#{$spacing-point} are deprecated.
66
- /// For example: govuk-!-margin-static-2 or govuk-!-margin-top-static-2
67
- ///
68
- /// Use classes in the format .govuk-\!-static-#{$property}-#{$spacing-point}
69
- /// and .govuk-\!-static-#{$property}-#{$direction}-#{$spacing-point} instead.
70
- /// For example: govuk-!-static-margin-2 or govuk-!-static-margin-top-2
71
- ///
72
56
  /// @param {String} $property - Property to add spacing to (e.g. 'margin')
73
57
  ///
74
58
  /// @example css
@@ -79,13 +63,11 @@ $_spacing-directions: (
79
63
  /// @access private
80
64
  @mixin _govuk-generate-static-spacing-overrides($property) {
81
65
  @each $spacing-point in map-keys($govuk-spacing-points) {
82
- .govuk-\!-#{$property}-static-#{$spacing-point},
83
66
  .govuk-\!-static-#{$property}-#{$spacing-point} {
84
67
  #{$property}: govuk-spacing($spacing-point) !important;
85
68
  }
86
69
 
87
70
  @each $direction in $_spacing-directions {
88
- .govuk-\!-#{$property}-#{$direction}-static-#{$spacing-point},
89
71
  .govuk-\!-static-#{$property}-#{$direction}-#{$spacing-point} {
90
72
  #{$property}-#{$direction}: govuk-spacing($spacing-point) !important;
91
73
  }
@@ -100,3 +82,5 @@ $_spacing-directions: (
100
82
  @include _govuk-generate-static-spacing-overrides("margin");
101
83
  @include _govuk-generate-static-spacing-overrides("padding");
102
84
  }
85
+
86
+ /*# sourceMappingURL=_spacing.scss.map */
@@ -12,3 +12,5 @@
12
12
  text-align: right !important;
13
13
  }
14
14
  }
15
+
16
+ /*# sourceMappingURL=_text-align.scss.map */
@@ -0,0 +1,42 @@
1
+ @include govuk-exports("govuk/overrides/typography") {
2
+ // Font size and line height
3
+
4
+ // Generate typography override classes for each responsive font map in the
5
+ // typography scale eg .govuk-\!-font-size-80
6
+ //
7
+ // govuk-!-font-size-14 is deprecated
8
+ @each $size, $font-map in $govuk-typography-scale {
9
+ .govuk-\!-font-size-#{$size} {
10
+ $font-map: map-get($govuk-typography-scale, $size);
11
+
12
+ // Add underscore to deprecated typography scale keys
13
+ @if map-has-key($font-map, "deprecation") {
14
+ $size: _#{$size};
15
+ }
16
+
17
+ @include govuk-font-size($size, $important: true);
18
+ }
19
+ }
20
+
21
+ // Weights
22
+
23
+ .govuk-\!-font-weight-regular {
24
+ @include govuk-typography-weight-regular($important: true);
25
+ }
26
+
27
+ .govuk-\!-font-weight-bold {
28
+ @include govuk-typography-weight-bold($important: true);
29
+ }
30
+
31
+ // Typography helpers
32
+
33
+ .govuk-\!-font-tabular-numbers {
34
+ @include govuk-font-tabular-numbers($important: true);
35
+ }
36
+
37
+ .govuk-\!-text-break-word {
38
+ @include govuk-text-break-word($important: true);
39
+ }
40
+ }
41
+
42
+ /*# sourceMappingURL=_typography.scss.map */
@@ -44,3 +44,5 @@
44
44
  }
45
45
  }
46
46
  }
47
+
48
+ /*# sourceMappingURL=_width.scss.map */
@@ -0,0 +1,10 @@
1
+ @import "../settings/warnings";
2
+ @import "index";
3
+
4
+ @include _warning(
5
+ "import-using-all",
6
+ "Importing using 'govuk/settings/all' is deprecated. Update your import statement to import 'govuk/settings/index'.",
7
+ $silence-further-warnings: false
8
+ );
9
+
10
+ /*# 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 */
@@ -0,0 +1,378 @@
1
+ ////
2
+ /// @group settings/colours
3
+ ////
4
+
5
+ /// Feature flag for updated organisation list and colours
6
+ ///
7
+ /// When set to true, $govuk-colours-organisations will use the new
8
+ /// organisation list and colour selection.
9
+ ///
10
+ /// Should be removed in 6.0.
11
+ ///
12
+ /// @type Boolean
13
+ /// @access public
14
+
15
+ $govuk-new-organisation-colours: false !default;
16
+
17
+ /// Current organisation colours
18
+ ///
19
+ /// @type Map
20
+ ///
21
+ /// @prop $organisation.colour - Colour for the given `$organisation`
22
+ /// @prop $organisation.contrast-safe - 'Contrast safe' colour for the given
23
+ /// `$organisation`. This colour has at least a 4.5:1 contrast against
24
+ /// white, to be used for copy and meet the AAA (large text) and AA (smaller
25
+ /// copy) WCAG guidelines.
26
+ /// @prop $organisation.deprecation-message - Marks this organisation as
27
+ /// deprecated (usually because it has ceased to exist). Value is the
28
+ /// deprecation message output to the terminal when compiling.
29
+ ///
30
+ /// @access private
31
+
32
+ $_govuk-organisation-colours: (
33
+ "attorney-generals-office": (
34
+ colour: #a91c8e
35
+ ),
36
+ "cabinet-office": (
37
+ colour: #0056b8
38
+ ),
39
+ "civil-service": (
40
+ colour: #b2292e
41
+ ),
42
+ "department-for-business-trade": (
43
+ colour: #e52d13,
44
+ contrast-safe: #e02c13
45
+ ),
46
+ "department-for-business-energy-industrial-strategy": (
47
+ colour: #003479,
48
+ deprecation-message:
49
+ "`department-for-business-energy-industrial-strategy` was dissolved in 2023. It was replaced by `department-for-business-trade`, `department-for-energy-security-net-zero` and `department-science-innovation-technology`."
50
+ ),
51
+ "department-for-business-innovation-skills": (
52
+ colour: #003479,
53
+ deprecation-message:
54
+ "`department-for-business-innovation-skills` became `department-for-business-energy-industrial-strategy` in 2016. As of 2023, it is equivalent to `department-for-business-trade` or `department-science-innovation-technology`."
55
+ ),
56
+ "department-for-communities-local-government": (
57
+ colour: #009999,
58
+ contrast-safe: #008080,
59
+ deprecation-message:
60
+ "`department-for-communities-local-government` became `ministry-of-housing-communities-local-government` in 2018."
61
+ ),
62
+ "department-for-culture-media-sport": (
63
+ colour: #ed1588,
64
+ contrast-safe: #d6177a
65
+ ),
66
+ "department-for-digital-culture-media-sport": (
67
+ colour: #d40072,
68
+ deprecation-message:
69
+ "`department-for-digital-culture-media-sport` became `department-for-culture-media-sport` in 2023."
70
+ ),
71
+ "department-for-education": (
72
+ colour: #003764
73
+ ),
74
+ "department-for-energy-security-net-zero": (
75
+ colour: #00a33b,
76
+ contrast-safe: #00852f
77
+ ),
78
+ "department-for-environment-food-rural-affairs": (
79
+ colour: #00a33b,
80
+ contrast-safe: #008531
81
+ ),
82
+ "department-for-exiting-the-european-union": (
83
+ colour: #009fe3,
84
+ contrast-safe: #007db6,
85
+ deprecation-message: "`department-for-exiting-the-european-union` was dissolved in 2020."
86
+ ),
87
+ "department-for-international-development": (
88
+ colour: #002878,
89
+ deprecation-message:
90
+ "`department-for-international-development` was merged into `foreign-commonwealth-development-office` in 2020."
91
+ ),
92
+ "department-for-international-trade": (
93
+ colour: #cf102d,
94
+ deprecation-message: "`department-for-international-trade` was merged into `department-for-business-trade` in 2023."
95
+ ),
96
+ "department-for-levelling-up-housing-communities": (
97
+ colour: #012169,
98
+ deprecation-message:
99
+ "`department-for-levelling-up-housing-communities` was renamed to `ministry-of-housing-communities-local-government` in 2024."
100
+ ),
101
+ "department-for-science-innovation-technology": (
102
+ colour: #00f8f8,
103
+ contrast-safe: #008180
104
+ ),
105
+ "department-for-transport": (
106
+ colour: #006853
107
+ ),
108
+ "department-for-work-pensions": (
109
+ colour: #00bcb5,
110
+ contrast-safe: #00857e
111
+ ),
112
+ "department-of-energy-climate-change": (
113
+ colour: #009ddb,
114
+ contrast-safe: #007db3,
115
+ deprecation-message:
116
+ "`department-of-energy-climate-change` was merged into `department-for-business-energy-industrial-strategy` in 2016. As of 2023, it is equivalent to `department-for-energy-security-net-zero`."
117
+ ),
118
+ "department-of-health": (
119
+ colour: #00ad93,
120
+ contrast-safe: #008573,
121
+ deprecation-message: "`department-of-health` became `department-of-health-social-care` in 2018."
122
+ ),
123
+ "department-of-health-social-care": (
124
+ colour: #00a990,
125
+ contrast-safe: #008674
126
+ ),
127
+ "foreign-commonwealth-office": (
128
+ colour: #003e74,
129
+ deprecation-message: "`foreign-commonwealth-office` became `foreign-commonwealth-development-office` in 2018."
130
+ ),
131
+ "foreign-commonwealth-development-office": (
132
+ colour: #012069
133
+ ),
134
+ "government-equalities-office": (
135
+ colour: #0056b8,
136
+ deprecation-message: "`government-equalities-office` is deprecated. Use `cabinet-office` instead."
137
+ ),
138
+ "hm-government": (
139
+ colour: #266ebc
140
+ ),
141
+ "hm-revenue-customs": (
142
+ colour: #008476
143
+ ),
144
+ "hm-treasury": (
145
+ colour: #b2292e
146
+ ),
147
+ "home-office": (
148
+ colour: #732282
149
+ ),
150
+ "ministry-of-defence": (
151
+ colour: #532a45
152
+ ),
153
+ "ministry-of-housing-communities-local-government": (
154
+ colour: #00625e
155
+ ),
156
+ "ministry-of-justice": (
157
+ colour: #000000
158
+ ),
159
+ "northern-ireland-office": (
160
+ colour: #00205c
161
+ ),
162
+ "office-of-the-advocate-general-for-scotland": (
163
+ colour: #00205c
164
+ ),
165
+ "office-of-the-leader-of-the-house-of-commons": (
166
+ colour: #497629
167
+ ),
168
+ "office-of-the-leader-of-the-house-of-lords": (
169
+ colour: #9c182f
170
+ ),
171
+ "office-of-the-secretary-of-state-for-scotland": (
172
+ colour: #00205c,
173
+ deprecation-message: "`office-of-the-secretary-of-state-for-scotland` was renamed to `scotland-office` in 2024."
174
+ ),
175
+ "office-of-the-secretary-of-state-for-wales": (
176
+ colour: #a8353a,
177
+ deprecation-message: "`office-of-the-secretary-of-state-for-wales` was renamed to `wales-office` in 2024."
178
+ ),
179
+ "prime-ministers-office-10-downing-street": (
180
+ colour: #0b0c0c
181
+ ),
182
+ "scotland-office": (
183
+ colour: #00205c
184
+ ),
185
+ "serious-fraud-office": (
186
+ colour: #82368c
187
+ ),
188
+ "uk-export-finance": (
189
+ colour: #cf102d
190
+ ),
191
+ "uk-trade-investment": (
192
+ colour: #c80651,
193
+ deprecation-message:
194
+ "`uk-trade-investment` became `department-for-international-trade` in 2016. As of 2023, it is equivalent to `department-for-business-trade`."
195
+ ),
196
+ "wales-office": (
197
+ colour: #a33038
198
+ )
199
+ );
200
+
201
+ /// Legacy organisation colours
202
+ ///
203
+ /// These are the colours included with Frontend prior to 5.3.0. They will be
204
+ /// removed in a future major version of Frontend.
205
+ ///
206
+ /// @type Map
207
+ ///
208
+ /// @prop $organisation.colour - Colour for the given `$organisation`
209
+ /// @prop $organisation.colour-websafe - Optional alternative shade of the
210
+ /// organisation colour. Despite the name, is not guaranteed to be websafe
211
+ /// nor provide better contrast than the base colour.
212
+ ///
213
+ /// @access private
214
+
215
+ $_govuk-legacy-organisation-colours: (
216
+ "attorney-generals-office": (
217
+ colour: #9f1888,
218
+ colour-websafe: #a03a88
219
+ ),
220
+ "cabinet-office": (
221
+ colour: #005abb,
222
+ colour-websafe: #347da4
223
+ ),
224
+ "civil-service": (
225
+ colour: #af292e
226
+ ),
227
+ "department-for-business-innovation-skills": (
228
+ colour: #003479,
229
+ colour-websafe: #347da4
230
+ ),
231
+ "department-for-communities-local-government": (
232
+ colour: #009999,
233
+ colour-websafe: #37836e
234
+ ),
235
+ "department-for-culture-media-sport": (
236
+ colour: #d40072,
237
+ colour-websafe: #a03155
238
+ ),
239
+ "department-for-education": (
240
+ colour: #003a69,
241
+ colour-websafe: #347ca9
242
+ ),
243
+ "department-for-environment-food-rural-affairs": (
244
+ colour: #00a33b,
245
+ colour-websafe: #008938
246
+ ),
247
+ "department-for-international-development": (
248
+ colour: #002878,
249
+ colour-websafe: #405e9a
250
+ ),
251
+ "department-for-international-trade": (
252
+ colour: #cf102d,
253
+ colour-websafe: #005ea5
254
+ ),
255
+ "department-for-business-trade": (
256
+ colour: #cf102d,
257
+ colour-websafe: #005ea5
258
+ ),
259
+ "department-for-levelling-up-housing-communities": (
260
+ colour: #012169
261
+ ),
262
+ "department-for-transport": (
263
+ colour: #006c56,
264
+ colour-websafe: #398373
265
+ ),
266
+ "department-for-work-pensions": (
267
+ colour: #00beb7,
268
+ colour-websafe: #37807b
269
+ ),
270
+ "department-of-energy-climate-change": (
271
+ colour: #009ddb,
272
+ colour-websafe: #2b7cac
273
+ ),
274
+ "department-of-health": (
275
+ colour: #00ad93,
276
+ colour-websafe: #39836e
277
+ ),
278
+ "foreign-commonwealth-development-office": (
279
+ colour: #012169
280
+ ),
281
+ "foreign-commonwealth-office": (
282
+ colour: #003e74,
283
+ colour-websafe: #406e97
284
+ ),
285
+ "government-equalities-office": (
286
+ colour: #9325b2
287
+ ),
288
+ "hm-government": (
289
+ colour: #0076c0,
290
+ colour-websafe: #347da4
291
+ ),
292
+ "hm-revenue-customs": (
293
+ colour: #009390,
294
+ colour-websafe: #008670
295
+ ),
296
+ "hm-treasury": (
297
+ colour: #af292e,
298
+ colour-websafe: #832322
299
+ ),
300
+ "home-office": (
301
+ colour: #9325b2,
302
+ colour-websafe: #9440b2
303
+ ),
304
+ "ministry-of-defence": (
305
+ colour: #4d2942,
306
+ colour-websafe: #5a5c92
307
+ ),
308
+ "ministry-of-justice": (
309
+ colour: #231f20,
310
+ colour-websafe: #5a5c92
311
+ ),
312
+ "northern-ireland-office": (
313
+ colour: #002663,
314
+ colour-websafe: #3e598c
315
+ ),
316
+ "office-of-the-advocate-general-for-scotland": (
317
+ colour: #002663,
318
+ colour-websafe: #005ea5
319
+ ),
320
+ "office-of-the-leader-of-the-house-of-commons": (
321
+ colour: #317023,
322
+ colour-websafe: #005f8f
323
+ ),
324
+ "office-of-the-leader-of-the-house-of-lords": (
325
+ colour: #9c132e,
326
+ colour-websafe: #c2395d
327
+ ),
328
+ "scotland-office": (
329
+ colour: #002663,
330
+ colour-websafe: #405c8a
331
+ ),
332
+ "uk-export-finance": (
333
+ colour: #005747,
334
+ colour-websafe: #005ea5
335
+ ),
336
+ "uk-trade-investment": (
337
+ colour: #c80651,
338
+ colour-websafe: #005ea5
339
+ ),
340
+ "wales-office": (
341
+ colour: #a33038,
342
+ colour-websafe: #7a242a
343
+ )
344
+ );
345
+
346
+ /// Set public organisation colours variable to one of the two maps.
347
+ /// Users can also pass their own map to this to override it entirely.
348
+ ///
349
+ /// @type Map
350
+ /// @access public
351
+
352
+ $govuk-colours-organisations: if(
353
+ $govuk-new-organisation-colours,
354
+ $_govuk-organisation-colours,
355
+ $_govuk-legacy-organisation-colours
356
+ ) !default;
357
+
358
+ /// Organisation colour aliases
359
+ ///
360
+ /// Some organisations have been renamed within our code over time. Here we
361
+ /// map the prior key to the new equivalent key.
362
+ ///
363
+ /// Note: This is for internal renames only. If a department has changed name
364
+ /// or brand colour in a machinery of government change, it should be added to
365
+ /// $govuk-colours-organisations as a new entry with any superseded
366
+ /// organisations marked deprecated.
367
+ ///
368
+ /// @type Map
369
+ ///
370
+ /// @access private
371
+
372
+ $_govuk-colours-organisations-aliases: (
373
+ "department-for-business-and-trade": "department-for-business-trade",
374
+ "department-for-communities-and-local-government": "department-for-communities-local-government",
375
+ "department-for-levelling-up-housing-and-communities": "department-for-levelling-up-housing-communities"
376
+ );
377
+
378
+ /*# 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 */
@@ -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=_index.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 */