govuk_publishing_components 67.1.0 → 68.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 (343) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +1 -1
  3. data/app/assets/stylesheets/component_guide/application.scss +12 -18
  4. data/app/assets/stylesheets/govuk_publishing_components/all-components.scss +2 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_action-link.scss +6 -2
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_app-promo-banner.scss +3 -3
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment-link.scss +1 -1
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +5 -5
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_cards.scss +6 -6
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_checkboxes.scss +1 -1
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list-with-body.scss +1 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-guidance.scss +2 -2
  15. data/app/assets/stylesheets/govuk_publishing_components/components/_contextual-sidebar.scss +4 -4
  16. data/app/assets/stylesheets/govuk_publishing_components/components/_cross-service-header.scss +14 -14
  17. data/app/assets/stylesheets/govuk_publishing_components/components/_devolved-nations.scss +3 -3
  18. data/app/assets/stylesheets/govuk_publishing_components/components/_document-list.scss +6 -6
  19. data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +3 -6
  20. data/app/assets/stylesheets/govuk_publishing_components/components/_error-alert.scss +3 -3
  21. data/app/assets/stylesheets/govuk_publishing_components/components/_error-summary.scss +1 -1
  22. data/app/assets/stylesheets/govuk_publishing_components/components/_feedback.scss +7 -7
  23. data/app/assets/stylesheets/govuk_publishing_components/components/_figure.scss +1 -1
  24. data/app/assets/stylesheets/govuk_publishing_components/components/_glance-metric.scss +3 -3
  25. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +3 -3
  26. data/app/assets/stylesheets/govuk_publishing_components/components/_heading.scss +3 -3
  27. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +3 -3
  28. data/app/assets/stylesheets/govuk_publishing_components/components/_intervention.scss +3 -3
  29. data/app/assets/stylesheets/govuk_publishing_components/components/_inverse-header.scss +2 -2
  30. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-footer.scss +1 -1
  31. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +1 -1
  32. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +30 -51
  33. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +23 -23
  34. data/app/assets/stylesheets/govuk_publishing_components/components/_lead-paragraph.scss +1 -1
  35. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +2 -2
  36. data/app/assets/stylesheets/govuk_publishing_components/components/_modal-dialogue.scss +3 -3
  37. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +3 -3
  38. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
  39. data/app/assets/stylesheets/govuk_publishing_components/components/_pagination.scss +1 -1
  40. data/app/assets/stylesheets/govuk_publishing_components/components/_phase-banner.scss +3 -3
  41. data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +6 -6
  42. data/app/assets/stylesheets/govuk_publishing_components/components/_published-dates.scss +1 -1
  43. data/app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss +1 -1
  44. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +3 -3
  45. data/app/assets/stylesheets/govuk_publishing_components/components/_search-with-autocomplete.scss +7 -7
  46. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +8 -8
  47. data/app/assets/stylesheets/govuk_publishing_components/components/_secondary-navigation.scss +6 -6
  48. data/app/assets/stylesheets/govuk_publishing_components/components/_select-with-search.scss +15 -15
  49. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +2 -2
  50. data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +2 -2
  51. data/app/assets/stylesheets/govuk_publishing_components/components/_single-page-notification-button.scss +6 -6
  52. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-header.scss +2 -2
  53. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav-related.scss +1 -1
  54. data/app/assets/stylesheets/govuk_publishing_components/components/_step-by-step-nav.scss +11 -11
  55. data/app/assets/stylesheets/govuk_publishing_components/components/_sub-navigation-menu.scss +9 -9
  56. data/app/assets/stylesheets/govuk_publishing_components/components/_subscription-links.scss +5 -5
  57. data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +3 -3
  58. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-banner.scss +1 -1
  59. data/app/assets/stylesheets/govuk_publishing_components/components/_table.scss +15 -10
  60. data/app/assets/stylesheets/govuk_publishing_components/components/_tag.scss +1 -1
  61. data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +3 -3
  62. data/app/assets/stylesheets/govuk_publishing_components/components/_warning-text.scss +3 -3
  63. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +4 -4
  64. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +2 -2
  65. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +1 -1
  66. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +1 -1
  67. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +4 -4
  68. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +1 -1
  69. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +1 -1
  70. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +1 -1
  71. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +2 -2
  72. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +1 -1
  73. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +2 -2
  74. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +2 -2
  75. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -1
  76. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_colours.scss +9 -11
  77. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_markdown-typography.scss +3 -3
  78. data/app/assets/stylesheets/govuk_publishing_components/lib/_link.scss +3 -3
  79. data/app/assets/stylesheets/govuk_publishing_components/lib/_print_support.scss +2 -2
  80. data/app/assets/stylesheets/govuk_publishing_components/settings/_custom-properties.scss +9 -0
  81. data/app/assets/stylesheets/govuk_publishing_components/settings/_index.scss +1 -2
  82. data/app/assets/stylesheets/govuk_publishing_components/specific-components.scss +2 -0
  83. data/app/views/govuk_publishing_components/components/_glance_metric.html.erb +1 -1
  84. data/app/views/govuk_publishing_components/components/_layout_for_admin.html.erb +1 -1
  85. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +1 -1
  86. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +14 -36
  87. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +1 -1
  88. data/app/views/govuk_publishing_components/components/_tag.html.erb +1 -1
  89. data/app/views/govuk_publishing_components/components/docs/layout_header.yml +0 -15
  90. data/app/views/govuk_publishing_components/components/docs/tag.yml +4 -8
  91. data/app/views/govuk_publishing_components/components/layout_header/_header_logo.html.erb +4 -13
  92. data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -1
  93. data/config/initializers/assets.rb +1 -1
  94. data/lib/govuk_publishing_components/version.rb +1 -1
  95. data/node_modules/govuk-frontend/README.md +1 -1
  96. data/node_modules/govuk-frontend/dist/govuk/_base.scss +1 -0
  97. data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -1
  98. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +21 -95
  99. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  100. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +22 -95
  101. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  102. data/node_modules/govuk-frontend/dist/govuk/all.mjs +0 -1
  103. data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
  104. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.ico +0 -0
  105. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -1
  106. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
  107. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
  108. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
  109. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
  110. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  111. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +14 -11
  112. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  113. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
  114. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
  115. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +2 -2
  116. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -1
  117. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +1 -1
  118. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -1
  119. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +16 -19
  120. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -1
  121. data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +7 -95
  122. data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +12 -19
  123. data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +8 -20
  124. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +2 -2
  125. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
  126. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +19 -9
  127. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
  128. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +19 -9
  129. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
  130. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +19 -9
  131. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
  132. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +7 -6
  133. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
  134. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +2 -5
  135. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
  136. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +4 -40
  137. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +2 -2
  138. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +2 -2
  139. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +6 -4
  140. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -1
  141. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +1 -1
  142. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -1
  143. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +4 -2
  144. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -1
  145. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
  146. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
  147. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +28 -37
  148. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  149. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -1
  150. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -1
  151. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +1 -1
  152. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +0 -7
  153. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +0 -1
  154. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +18 -23
  155. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  156. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +25 -38
  157. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +0 -6
  158. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +23 -2
  159. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +23 -2
  160. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +23 -2
  161. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +23 -2
  162. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +23 -2
  163. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +23 -2
  164. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +23 -2
  165. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +23 -2
  166. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +23 -2
  167. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +23 -2
  168. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +23 -2
  169. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +23 -2
  170. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +23 -2
  171. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +6 -11
  172. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +85 -457
  173. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  174. data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +7 -536
  175. data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +2 -101
  176. data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +7 -6
  177. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +7 -6
  178. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +7 -6
  179. data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +4 -50
  180. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +1 -1
  181. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -1
  182. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -5
  183. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  184. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +2 -1
  185. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -1
  186. data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +2 -2
  187. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +8 -6
  188. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  189. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +9 -10
  190. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  191. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +2 -2
  192. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  193. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -1
  194. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -1
  195. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +12 -6
  196. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  197. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +7 -7
  198. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +1 -1
  199. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +1 -1
  200. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +7 -6
  201. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  202. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +5 -4
  203. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  204. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +50 -71
  205. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -1
  206. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +7 -32
  207. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +3 -2
  208. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  209. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +9 -5
  210. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  211. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +7 -8
  212. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  213. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +8 -5
  214. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -1
  215. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +66 -31
  216. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
  217. data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +6 -18
  218. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +2 -2
  219. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +2 -2
  220. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +7 -5
  221. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
  222. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +13 -25
  223. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +12 -24
  224. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +2 -2
  225. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +4 -3
  226. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  227. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +4 -3
  228. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  229. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +0 -1
  230. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -1
  231. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +2 -1
  232. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -1
  233. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +3 -17
  234. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -1
  235. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss +17 -0
  236. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_breakpoints.scss.map +1 -0
  237. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss +15 -0
  238. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.scss.map +1 -0
  239. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss +17 -0
  240. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_functional-colours.scss.map +1 -0
  241. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss +5 -0
  242. data/node_modules/govuk-frontend/dist/govuk/custom-properties/_index.scss.map +1 -0
  243. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  244. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  245. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  246. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  247. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +168 -82
  248. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
  249. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +8 -7
  250. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -1
  251. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +23 -39
  252. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  253. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +2 -26
  254. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  255. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
  256. data/node_modules/govuk-frontend/dist/govuk/init.mjs +1 -2
  257. data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -1
  258. data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +4 -26
  259. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +2 -1
  260. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +1 -1
  261. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +2 -6
  262. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -1
  263. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +0 -2
  264. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
  265. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +3 -188
  266. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -1
  267. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +366 -0
  268. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss.map +1 -0
  269. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +8 -254
  270. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
  271. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +117 -25
  272. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +1 -1
  273. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss +18 -0
  274. data/node_modules/govuk-frontend/dist/govuk/settings/_custom-properties.scss.map +1 -0
  275. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +3 -14
  276. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -1
  277. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +0 -16
  278. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
  279. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +12 -189
  280. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -1
  281. data/node_modules/govuk-frontend/dist/govuk/template.njk +61 -23
  282. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +0 -1
  283. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -1
  284. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +2 -0
  285. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -1
  286. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +1 -4
  287. data/node_modules/govuk-frontend/package.json +13 -12
  288. metadata +14 -56
  289. data/app/assets/javascripts/govuk_publishing_components/components/layout-header.js +0 -3
  290. data/app/assets/stylesheets/govuk_publishing_components/settings/_colours.scss +0 -5
  291. data/app/assets/stylesheets/govuk_publishing_components/settings/_typography.scss +0 -1
  292. data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +0 -34
  293. data/node_modules/govuk-frontend/dist/govuk/all.scss +0 -9
  294. data/node_modules/govuk-frontend/dist/govuk/all.scss.map +0 -1
  295. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.ico +0 -0
  296. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.svg +0 -1
  297. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +0 -1
  298. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-180.png +0 -0
  299. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-192.png +0 -0
  300. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-512.png +0 -0
  301. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-mask.svg +0 -1
  302. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-opengraph-image.png +0 -0
  303. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/manifest.json +0 -39
  304. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +0 -10
  305. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +0 -1
  306. data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +0 -1
  307. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +0 -238
  308. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +0 -1
  309. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +0 -230
  310. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +0 -1
  311. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +0 -89
  312. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +0 -1
  313. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +0 -54
  314. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +0 -54
  315. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +0 -48
  316. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +0 -59
  317. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +0 -29
  318. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +0 -119
  319. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +0 -59
  320. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +0 -62
  321. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +0 -34
  322. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +0 -34
  323. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +0 -19
  324. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +0 -3
  325. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +0 -10
  326. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +0 -1
  327. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +0 -15
  328. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +0 -1
  329. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +0 -10
  330. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +0 -1
  331. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +0 -10
  332. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +0 -1
  333. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +0 -9
  334. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +0 -1
  335. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +0 -10
  336. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +0 -1
  337. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +0 -10
  338. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +0 -1
  339. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +0 -65
  340. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +0 -1
  341. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +0 -10
  342. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +0 -1
  343. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +0 -25
@@ -3,99 +3,13 @@
3
3
  "name": "homepageUrl",
4
4
  "type": "string",
5
5
  "required": false,
6
- "description": "The URL of the homepage. Defaults to `\"/\"`."
6
+ "description": "The URL of the homepage. Defaults to the GOV.UK homepage."
7
7
  },
8
8
  {
9
9
  "name": "productName",
10
10
  "type": "string",
11
11
  "required": false,
12
- "description": "Product name, used when the product name follows on directly from ‘GOV.UK’. For example, GOV.UK Pay or GOV.UK Design System. In most circumstances, you should use `serviceName`."
13
- },
14
- {
15
- "name": "serviceName",
16
- "type": "string",
17
- "required": false,
18
- "description": "The name of your service, included in the header.",
19
- "deprecated": "5.9.0"
20
- },
21
- {
22
- "name": "serviceUrl",
23
- "type": "string",
24
- "required": false,
25
- "description": "URL for the service name anchor.",
26
- "deprecated": "5.9.0"
27
- },
28
- {
29
- "name": "navigation",
30
- "type": "array",
31
- "required": false,
32
- "description": "Can be used to add navigation to the header component.",
33
- "deprecated": "5.9.0",
34
- "params": [
35
- {
36
- "name": "text",
37
- "type": "string",
38
- "required": true,
39
- "description": "Text for the navigation item. If `html` is provided, the `text` option will be ignored.",
40
- "deprecated": "5.9.0"
41
- },
42
- {
43
- "name": "html",
44
- "type": "string",
45
- "required": true,
46
- "description": "HTML for the navigation item. If `html` is provided, the `text` option will be ignored.",
47
- "deprecated": "5.9.0"
48
- },
49
- {
50
- "name": "href",
51
- "type": "string",
52
- "required": false,
53
- "description": "URL of the navigation item anchor.",
54
- "deprecated": "5.9.0"
55
- },
56
- {
57
- "name": "active",
58
- "type": "boolean",
59
- "required": false,
60
- "description": "Flag to mark the navigation item as active or not.",
61
- "deprecated": "5.9.0"
62
- },
63
- {
64
- "name": "attributes",
65
- "type": "object",
66
- "required": false,
67
- "description": "HTML attributes (for example data attributes) to add to the navigation item anchor.",
68
- "deprecated": "5.9.0"
69
- }
70
- ]
71
- },
72
- {
73
- "name": "navigationClasses",
74
- "type": "string",
75
- "required": false,
76
- "description": "Classes for the navigation section of the header.",
77
- "deprecated": "5.9.0"
78
- },
79
- {
80
- "name": "navigationLabel",
81
- "type": "string",
82
- "required": false,
83
- "description": "Text for the `aria-label` attribute of the navigation. Defaults to the same value as `menuButtonText`.",
84
- "deprecated": "5.9.0"
85
- },
86
- {
87
- "name": "menuButtonLabel",
88
- "type": "string",
89
- "required": false,
90
- "description": "Text for the `aria-label` attribute of the button that opens the mobile navigation, if there is a mobile navigation menu.",
91
- "deprecated": "5.9.0"
92
- },
93
- {
94
- "name": "menuButtonText",
95
- "type": "string",
96
- "required": false,
97
- "description": "Text of the button that opens the mobile navigation menu, if there is a mobile navigation menu. There is no enforced character limit, but there is a limited display space so keep text as short as possible. By default, this is set to 'Menu'.",
98
- "deprecated": "5.9.0"
12
+ "description": "Product name, used when the product name follows on directly from ‘GOV.UK’. For example, GOV.UK Pay or GOV.UK Design System. In most circumstances, you should use the [Service navigation component](https://design-system.service.gov.uk/components/service-navigation/)."
99
13
  },
100
14
  {
101
15
  "name": "containerClasses",
@@ -114,18 +28,5 @@
114
28
  "type": "object",
115
29
  "required": false,
116
30
  "description": "HTML attributes (for example data attributes) to add to the header container."
117
- },
118
- {
119
- "name": "useTudorCrown",
120
- "type": "boolean",
121
- "required": false,
122
- "description": "If `true`, uses the Tudor crown from King Charles III's royal cypher. Otherwise, uses the St. Edward's crown. Default is `true`.",
123
- "deprecated": "5.2.0"
124
- },
125
- {
126
- "name": "rebrand",
127
- "type": "boolean",
128
- "required": false,
129
- "description": "If `true`, use the redesigned header and new GOV.UK logotype. Default is `false`."
130
31
  }
131
32
  ]
@@ -1,14 +1,14 @@
1
- <header class="govuk-header" data-module="govuk-header">
1
+ <div class="govuk-header">
2
2
  <div class="govuk-header__container govuk-width-container">
3
3
  <div class="govuk-header__logo">
4
- <a href="/" class="govuk-header__link govuk-header__link--homepage">
4
+ <a href="//gov.uk" class="govuk-header__homepage-link">
5
5
  <svg
6
6
  focusable="false"
7
7
  role="img"
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- viewBox="0 0 296 60"
9
+ viewBox="0 0 324 60"
10
10
  height="30"
11
- width="148"
11
+ width="162"
12
12
  fill="currentcolor" class="govuk-header__logotype" aria-label="GOV.UK"
13
13
  ><title>GOV.UK</title> <g>
14
14
  <circle cx="20" cy="17.6" r="3.7"/>
@@ -21,9 +21,10 @@
21
21
  <circle cx="31.7" cy="30.6" r="3.7"/>
22
22
  <path d="M33.1,9.8c.2-.1.3-.3.5-.5l4.6,2.4v-6.8l-4.6,1.5c-.1-.2-.3-.3-.5-.5l1.9-5.9h-6.7l1.9,5.9c-.2.1-.3.3-.5.5l-4.6-1.5v6.8l4.6-2.4c.1.2.3.3.5.5l-2.6,8c-.9,2.8,1.2,5.7,4.1,5.7h0c3,0,5.1-2.9,4.1-5.7l-2.6-8ZM37,37.9s-3.4,3.8-4.1,6.1c2.2,0,4.2-.5,6.4-2.8l-.7,8.5c-2-2.8-4.4-4.1-5.7-3.8.1,3.1.5,6.7,5.8,7.2,3.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2,0,2.4-.2,3.4-.6,1-.4,2-.8,2.8-1.6s1.4-1.6,1.8-2.8c.4-1.2.6-2.4.6-4V11.8h8.2v27.2c0,2.4-.4,4.4-1.2,6.2s-2,3.4-3.6,4.8c-1.4,1.4-3.2,2.4-5.4,3-2,.8-4.4,1-6.8,1s-4.8-.4-6.8-1c-2-.8-3.8-1.8-5.4-3-1.6-1.4-2.6-3-3.6-4.8-.8-1.8-1.2-4-1.2-6.2V11.7h8.4v26c0,1.6.2,2.8.6,4,.4,1.2,1,2,1.8,2.8s1.6,1.2,2.8,1.6c1.2.4,2.2.6,3.6.6h0ZM261.4,11.9h8.4v18.2l14.8-18.2h10.4l-14.4,16.8,15.4,25.2h-9.8l-11-18.8-5.4,6v12.8h-8.4V11.9h0ZM206.2,44.2c-3,0-5.4,2.4-5.4,5.4s2.4,5.4,5.4,5.4,5.4-2.4,5.4-5.4-2.4-5.4-5.4-5.4Z"/>
24
+ <circle class="govuk-logo-dot" cx="226" cy="36" r="7.3"/>
25
+ <path d="M93.94 41.25c.4 1.81 1.2 3.21 2.21 4.62 1 1.4 2.21 2.41 3.61 3.21s3.21 1.2 5.22 1.2 3.61-.4 4.82-1c1.4-.6 2.41-1.4 3.21-2.41.8-1 1.4-2.01 1.61-3.01s.4-2.01.4-3.01v.14h-10.86v-7.02h20.07v24.08h-8.03v-5.56c-.6.8-1.38 1.61-2.19 2.41-.8.8-1.81 1.2-2.81 1.81-1 .4-2.21.8-3.41 1.2s-2.41.4-3.81.4a18.56 18.56 0 0 1-14.65-6.63c-1.6-2.01-3.01-4.41-3.81-7.02s-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83a20.45 20.45 0 0 1 19.46-13.65c3.21 0 4.01.2 5.82.8 1.81.4 3.61 1.2 5.02 2.01 1.61.8 2.81 2.01 4.01 3.21s2.21 2.61 2.81 4.21l-7.63 4.41c-.4-1-1-1.81-1.61-2.61-.6-.8-1.4-1.4-2.21-2.01-.8-.6-1.81-1-2.81-1.4-1-.4-2.21-.4-3.61-.4-2.01 0-3.81.4-5.22 1.2-1.4.8-2.61 1.81-3.61 3.21s-1.61 2.81-2.21 4.62c-.4 1.81-.6 3.71-.6 5.42s.8 5.22.8 5.22Zm57.8-27.9c3.21 0 6.22.6 8.63 1.81 2.41 1.2 4.82 2.81 6.62 4.82S170.2 24.39 171 27s1.4 5.62 1.4 8.83-.4 6.02-1.4 8.83-2.41 5.02-4.01 7.02-4.01 3.61-6.62 4.82-5.42 1.81-8.63 1.81-6.22-.6-8.63-1.81-4.82-2.81-6.42-4.82-3.21-4.41-4.01-7.02-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83 2.41-5.02 4.01-7.02 4.01-3.61 6.42-4.82 5.42-1.81 8.63-1.81Zm0 36.73c1.81 0 3.61-.4 5.02-1s2.61-1.81 3.61-3.01 1.81-2.81 2.21-4.41c.4-1.81.8-3.61.8-5.62 0-2.21-.2-4.21-.8-6.02s-1.2-3.21-2.21-4.62c-1-1.2-2.21-2.21-3.61-3.01s-3.21-1-5.02-1-3.61.4-5.02 1c-1.4.8-2.61 1.81-3.61 3.01s-1.81 2.81-2.21 4.62c-.4 1.81-.8 3.61-.8 5.62 0 2.41.2 4.21.8 6.02.4 1.81 1.2 3.21 2.21 4.41s2.21 2.21 3.61 3.01c1.4.8 3.21 1 5.02 1Zm36.32 7.96-12.24-44.15h9.83l8.43 32.77h.4l8.23-32.77h9.83L200.3 58.04h-12.24Zm74.14-7.96c2.18 0 3.51-.6 3.51-.6 1.2-.6 2.01-1 2.81-1.81s1.4-1.81 1.81-2.81a13 13 0 0 0 .8-4.01V13.9h8.63v28.15c0 2.41-.4 4.62-1.4 6.62-.8 2.01-2.21 3.61-3.61 5.02s-3.41 2.41-5.62 3.21-4.62 1.2-7.02 1.2-5.02-.4-7.02-1.2c-2.21-.8-4.01-1.81-5.62-3.21s-2.81-3.01-3.61-5.02-1.4-4.21-1.4-6.62V13.9h8.63v26.95c0 1.61.2 3.01.8 4.01.4 1.2 1.2 2.21 2.01 2.81.8.8 1.81 1.4 2.81 1.81 0 0 1.34.6 3.51.6Zm34.22-36.18v18.92l15.65-18.92h10.82l-15.03 17.32 16.03 26.83h-10.21l-11.44-20.21-5.62 6.22v13.99h-8.83V13.9"/>
25
26
  </svg>
26
27
  </a>
27
28
  </div>
28
29
  </div>
29
- </header>
30
+ </div>
@@ -1,14 +1,14 @@
1
- <header class="govuk-header" data-module="govuk-header">
1
+ <div class="govuk-header">
2
2
  <div class="govuk-header__container govuk-header__container--full-width">
3
3
  <div class="govuk-header__logo">
4
- <a href="/" class="govuk-header__link govuk-header__link--homepage">
4
+ <a href="//gov.uk" class="govuk-header__homepage-link">
5
5
  <svg
6
6
  focusable="false"
7
7
  role="img"
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- viewBox="0 0 296 60"
9
+ viewBox="0 0 324 60"
10
10
  height="30"
11
- width="148"
11
+ width="162"
12
12
  fill="currentcolor" class="govuk-header__logotype" aria-label="GOV.UK"
13
13
  ><title>GOV.UK</title> <g>
14
14
  <circle cx="20" cy="17.6" r="3.7"/>
@@ -21,9 +21,10 @@
21
21
  <circle cx="31.7" cy="30.6" r="3.7"/>
22
22
  <path d="M33.1,9.8c.2-.1.3-.3.5-.5l4.6,2.4v-6.8l-4.6,1.5c-.1-.2-.3-.3-.5-.5l1.9-5.9h-6.7l1.9,5.9c-.2.1-.3.3-.5.5l-4.6-1.5v6.8l4.6-2.4c.1.2.3.3.5.5l-2.6,8c-.9,2.8,1.2,5.7,4.1,5.7h0c3,0,5.1-2.9,4.1-5.7l-2.6-8ZM37,37.9s-3.4,3.8-4.1,6.1c2.2,0,4.2-.5,6.4-2.8l-.7,8.5c-2-2.8-4.4-4.1-5.7-3.8.1,3.1.5,6.7,5.8,7.2,3.7.3,6.7-1.5,7-3.8.4-2.6-2-4.3-3.7-1.6-1.4-4.5,2.4-6.1,4.9-3.2-1.9-4.5-1.8-7.7,2.4-10.9,3,4,2.6,7.3-1.2,11.1,2.4-1.3,6.2,0,4,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1.4-3.2,2.4-5.4,3-2,.8-4.4,1-6.8,1s-4.8-.4-6.8-1c-2-.8-3.8-1.8-5.4-3-1.6-1.4-2.6-3-3.6-4.8-.8-1.8-1.2-4-1.2-6.2V11.7h8.4v26c0,1.6.2,2.8.6,4,.4,1.2,1,2,1.8,2.8s1.6,1.2,2.8,1.6c1.2.4,2.2.6,3.6.6h0ZM261.4,11.9h8.4v18.2l14.8-18.2h10.4l-14.4,16.8,15.4,25.2h-9.8l-11-18.8-5.4,6v12.8h-8.4V11.9h0ZM206.2,44.2c-3,0-5.4,2.4-5.4,5.4s2.4,5.4,5.4,5.4,5.4-2.4,5.4-5.4-2.4-5.4-5.4-5.4Z"/>
24
+ <circle class="govuk-logo-dot" cx="226" cy="36" r="7.3"/>
25
+ <path d="M93.94 41.25c.4 1.81 1.2 3.21 2.21 4.62 1 1.4 2.21 2.41 3.61 3.21s3.21 1.2 5.22 1.2 3.61-.4 4.82-1c1.4-.6 2.41-1.4 3.21-2.41.8-1 1.4-2.01 1.61-3.01s.4-2.01.4-3.01v.14h-10.86v-7.02h20.07v24.08h-8.03v-5.56c-.6.8-1.38 1.61-2.19 2.41-.8.8-1.81 1.2-2.81 1.81-1 .4-2.21.8-3.41 1.2s-2.41.4-3.81.4a18.56 18.56 0 0 1-14.65-6.63c-1.6-2.01-3.01-4.41-3.81-7.02s-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83a20.45 20.45 0 0 1 19.46-13.65c3.21 0 4.01.2 5.82.8 1.81.4 3.61 1.2 5.02 2.01 1.61.8 2.81 2.01 4.01 3.21s2.21 2.61 2.81 4.21l-7.63 4.41c-.4-1-1-1.81-1.61-2.61-.6-.8-1.4-1.4-2.21-2.01-.8-.6-1.81-1-2.81-1.4-1-.4-2.21-.4-3.61-.4-2.01 0-3.81.4-5.22 1.2-1.4.8-2.61 1.81-3.61 3.21s-1.61 2.81-2.21 4.62c-.4 1.81-.6 3.71-.6 5.42s.8 5.22.8 5.22Zm57.8-27.9c3.21 0 6.22.6 8.63 1.81 2.41 1.2 4.82 2.81 6.62 4.82S170.2 24.39 171 27s1.4 5.62 1.4 8.83-.4 6.02-1.4 8.83-2.41 5.02-4.01 7.02-4.01 3.61-6.62 4.82-5.42 1.81-8.63 1.81-6.22-.6-8.63-1.81-4.82-2.81-6.42-4.82-3.21-4.41-4.01-7.02-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83 2.41-5.02 4.01-7.02 4.01-3.61 6.42-4.82 5.42-1.81 8.63-1.81Zm0 36.73c1.81 0 3.61-.4 5.02-1s2.61-1.81 3.61-3.01 1.81-2.81 2.21-4.41c.4-1.81.8-3.61.8-5.62 0-2.21-.2-4.21-.8-6.02s-1.2-3.21-2.21-4.62c-1-1.2-2.21-2.21-3.61-3.01s-3.21-1-5.02-1-3.61.4-5.02 1c-1.4.8-2.61 1.81-3.61 3.01s-1.81 2.81-2.21 4.62c-.4 1.81-.8 3.61-.8 5.62 0 2.41.2 4.21.8 6.02.4 1.81 1.2 3.21 2.21 4.41s2.21 2.21 3.61 3.01c1.4.8 3.21 1 5.02 1Zm36.32 7.96-12.24-44.15h9.83l8.43 32.77h.4l8.23-32.77h9.83L200.3 58.04h-12.24Zm74.14-7.96c2.18 0 3.51-.6 3.51-.6 1.2-.6 2.01-1 2.81-1.81s1.4-1.81 1.81-2.81a13 13 0 0 0 .8-4.01V13.9h8.63v28.15c0 2.41-.4 4.62-1.4 6.62-.8 2.01-2.21 3.61-3.61 5.02s-3.41 2.41-5.62 3.21-4.62 1.2-7.02 1.2-5.02-.4-7.02-1.2c-2.21-.8-4.01-1.81-5.62-3.21s-2.81-3.01-3.61-5.02-1.4-4.21-1.4-6.62V13.9h8.63v26.95c0 1.61.2 3.01.8 4.01.4 1.2 1.2 2.21 2.01 2.81.8.8 1.81 1.4 2.81 1.81 0 0 1.34.6 3.51.6Zm34.22-36.18v18.92l15.65-18.92h10.82l-15.03 17.32 16.03 26.83h-10.21l-11.44-20.21-5.62 6.22v13.99h-8.83V13.9"/>
25
26
  </svg>
26
27
  </a>
27
28
  </div>
28
29
  </div>
29
- </header>
30
+ </div>
@@ -1,14 +1,14 @@
1
- <header class="govuk-header" data-module="govuk-header">
1
+ <div class="govuk-header">
2
2
  <div class="govuk-header__container govuk-width-container">
3
3
  <div class="govuk-header__logo">
4
- <a href="/" class="govuk-header__link govuk-header__link--homepage">
4
+ <a href="//gov.uk" class="govuk-header__homepage-link">
5
5
  <svg
6
6
  focusable="false"
7
7
  role="img"
8
8
  xmlns="http://www.w3.org/2000/svg"
9
- viewBox="0 0 296 60"
9
+ viewBox="0 0 324 60"
10
10
  height="30"
11
- width="148"
11
+ width="162"
12
12
  fill="currentcolor" class="govuk-header__logotype" aria-label="GOV.UK"
13
13
  ><title>GOV.UK</title> <g>
14
14
  <circle cx="20" cy="17.6" r="3.7"/>
@@ -21,10 +21,11 @@
21
21
  <circle cx="31.7" cy="30.6" r="3.7"/>
22
22
  <path d="M33.1,9.8c.2-.1.3-.3.5-.5l4.6,2.4v-6.8l-4.6,1.5c-.1-.2-.3-.3-.5-.5l1.9-5.9h-6.7l1.9,5.9c-.2.1-.3.3-.5.5l-4.6-1.5v6.8l4.6-2.4c.1.2.3.3.5.5l-2.6,8c-.9,2.8,1.2,5.7,4.1,5.7h0c3,0,5.1-2.9,4.1-5.7l-2.6-8ZM37,37.9s-3.4,3.8-4.1,6.1c2.2,0,4.2-.5,6.4-2.8l-.7,8.5c-2-2.8-4.4-4.1-5.7-3.8.1,3.1.5,6.7,5.8,7.2,3.7.3,6.7-1.5,7-3.8.4-2.6-2-4.3-3.7-1.6-1.4-4.5,2.4-6.1,4.9-3.2-1.9-4.5-1.8-7.7,2.4-10.9,3,4,2.6,7.3-1.2,11.1,2.4-1.3,6.2,0,4,4.6-1.2-2.8-3.7-2.2-4.2.2-.3,1.7.7,3.7,3,4.2,1.9.3,4.7-.9,7-5.9-1.3,0-2.4.7-3.9,1.7l2.4-8c.6,2.3,1.4,3.7,2.2,4.5.6-1.6.5-2.8,0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6.2,2.8.6,4,.4,1.2,1,2,1.8,2.8s1.6,1.2,2.8,1.6c1.2.4,2.2.6,3.6.6h0ZM261.4,11.9h8.4v18.2l14.8-18.2h10.4l-14.4,16.8,15.4,25.2h-9.8l-11-18.8-5.4,6v12.8h-8.4V11.9h0ZM206.2,44.2c-3,0-5.4,2.4-5.4,5.4s2.4,5.4,5.4,5.4,5.4-2.4,5.4-5.4-2.4-5.4-5.4-5.4Z"/>
24
+ <circle class="govuk-logo-dot" cx="226" cy="36" r="7.3"/>
25
+ <path d="M93.94 41.25c.4 1.81 1.2 3.21 2.21 4.62 1 1.4 2.21 2.41 3.61 3.21s3.21 1.2 5.22 1.2 3.61-.4 4.82-1c1.4-.6 2.41-1.4 3.21-2.41.8-1 1.4-2.01 1.61-3.01s.4-2.01.4-3.01v.14h-10.86v-7.02h20.07v24.08h-8.03v-5.56c-.6.8-1.38 1.61-2.19 2.41-.8.8-1.81 1.2-2.81 1.81-1 .4-2.21.8-3.41 1.2s-2.41.4-3.81.4a18.56 18.56 0 0 1-14.65-6.63c-1.6-2.01-3.01-4.41-3.81-7.02s-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83a20.45 20.45 0 0 1 19.46-13.65c3.21 0 4.01.2 5.82.8 1.81.4 3.61 1.2 5.02 2.01 1.61.8 2.81 2.01 4.01 3.21s2.21 2.61 2.81 4.21l-7.63 4.41c-.4-1-1-1.81-1.61-2.61-.6-.8-1.4-1.4-2.21-2.01-.8-.6-1.81-1-2.81-1.4-1-.4-2.21-.4-3.61-.4-2.01 0-3.81.4-5.22 1.2-1.4.8-2.61 1.81-3.61 3.21s-1.61 2.81-2.21 4.62c-.4 1.81-.6 3.71-.6 5.42s.8 5.22.8 5.22Zm57.8-27.9c3.21 0 6.22.6 8.63 1.81 2.41 1.2 4.82 2.81 6.62 4.82S170.2 24.39 171 27s1.4 5.62 1.4 8.83-.4 6.02-1.4 8.83-2.41 5.02-4.01 7.02-4.01 3.61-6.62 4.82-5.42 1.81-8.63 1.81-6.22-.6-8.63-1.81-4.82-2.81-6.42-4.82-3.21-4.41-4.01-7.02-1.4-5.62-1.4-8.83.4-6.02 1.4-8.83 2.41-5.02 4.01-7.02 4.01-3.61 6.42-4.82 5.42-1.81 8.63-1.81Zm0 36.73c1.81 0 3.61-.4 5.02-1s2.61-1.81 3.61-3.01 1.81-2.81 2.21-4.41c.4-1.81.8-3.61.8-5.62 0-2.21-.2-4.21-.8-6.02s-1.2-3.21-2.21-4.62c-1-1.2-2.21-2.21-3.61-3.01s-3.21-1-5.02-1-3.61.4-5.02 1c-1.4.8-2.61 1.81-3.61 3.01s-1.81 2.81-2.21 4.62c-.4 1.81-.8 3.61-.8 5.62 0 2.41.2 4.21.8 6.02.4 1.81 1.2 3.21 2.21 4.41s2.21 2.21 3.61 3.01c1.4.8 3.21 1 5.02 1Zm36.32 7.96-12.24-44.15h9.83l8.43 32.77h.4l8.23-32.77h9.83L200.3 58.04h-12.24Zm74.14-7.96c2.18 0 3.51-.6 3.51-.6 1.2-.6 2.01-1 2.81-1.81s1.4-1.81 1.81-2.81a13 13 0 0 0 .8-4.01V13.9h8.63v28.15c0 2.41-.4 4.62-1.4 6.62-.8 2.01-2.21 3.61-3.61 5.02s-3.41 2.41-5.62 3.21-4.62 1.2-7.02 1.2-5.02-.4-7.02-1.2c-2.21-.8-4.01-1.81-5.62-3.21s-2.81-3.01-3.61-5.02-1.4-4.21-1.4-6.62V13.9h8.63v26.95c0 1.61.2 3.01.8 4.01.4 1.2 1.2 2.21 2.01 2.81.8.8 1.81 1.4 2.81 1.81 0 0 1.34.6 3.51.6Zm34.22-36.18v18.92l15.65-18.92h10.82l-15.03 17.32 16.03 26.83h-10.21l-11.44-20.21-5.62 6.22v13.99h-8.83V13.9"/>
25
26
  </svg>
26
27
  <span class="govuk-header__product-name">Product Name</span>
27
28
  </a>
28
29
  </div>
29
30
  </div>
30
- </header>
31
+ </div>
@@ -1,20 +1,13 @@
1
1
  {% from "../../macros/attributes.njk" import govukAttributes -%}
2
2
  {% from "../../macros/logo.njk" import govukLogo -%}
3
3
 
4
- {%- set _rebrand = params.rebrand | default(govukRebrand() if govukRebrand is callable else govukRebrand) -%}
5
-
6
- {%- set menuButtonText = params.menuButtonText if params.menuButtonText else 'Menu' -%}
7
-
8
- <header class="govuk-header {%- if params.classes %} {{ params.classes }}{% endif %}" data-module="govuk-header"
9
- {{- govukAttributes(params.attributes) }}>
4
+ <div class="govuk-header {%- if params.classes %} {{ params.classes }}{% endif %}" {{- govukAttributes(params.attributes) }}>
10
5
  <div class="govuk-header__container {{ params.containerClasses | default("govuk-width-container", true) }}">
11
6
  <div class="govuk-header__logo">
12
- <a href="{{ params.homepageUrl | default("/", true) }}" class="govuk-header__link govuk-header__link--homepage">
7
+ <a href="{{ params.homepageUrl | default("//gov.uk", true) }}" class="govuk-header__homepage-link">
13
8
  {{ govukLogo({
14
9
  classes: "govuk-header__logotype",
15
- ariaLabelText: "GOV.UK",
16
- useTudorCrown: params.useTudorCrown,
17
- rebrand: _rebrand
10
+ ariaLabelText: "GOV.UK"
18
11
  }) | trim | indent(8) }}
19
12
  {% if (params.productName) %}
20
13
  <span class="govuk-header__product-name">
@@ -23,44 +16,5 @@
23
16
  {% endif %}
24
17
  </a>
25
18
  </div>
26
- {% if params.serviceName or params.navigation | length %}
27
- <div class="govuk-header__content">
28
- {% if params.serviceName %}
29
- {% if params.serviceUrl %}
30
- <a href="{{ params.serviceUrl }}" class="govuk-header__link govuk-header__service-name">
31
- {{ params.serviceName }}
32
- </a>
33
- {% else %}
34
- <span class="govuk-header__service-name">
35
- {{ params.serviceName }}
36
- </span>
37
- {% endif %}
38
- {% endif %}
39
- {% if params.navigation | length %}
40
- <nav aria-label="{{ params.navigationLabel | default(menuButtonText, true) }}" class="govuk-header__navigation {%- if params.navigationClasses %} {{ params.navigationClasses }}{% endif %}">
41
- <button type="button" class="govuk-header__menu-button govuk-js-header-toggle" aria-controls="navigation" {%- if params.menuButtonLabel and params.menuButtonLabel != menuButtonText %} aria-label="{{ params.menuButtonLabel }}"{% endif %} hidden>
42
- {{ menuButtonText }}
43
- </button>
44
-
45
- <ul id="navigation" class="govuk-header__navigation-list">
46
- {% for item in params.navigation %}
47
- {% if item.text or item.html %}
48
- <li class="govuk-header__navigation-item {%- if item.active %} govuk-header__navigation-item--active{% endif %}">
49
- {% if item.href %}
50
- <a class="govuk-header__link" href="{{ item.href }}"
51
- {{- govukAttributes(item.attributes) -}}>
52
- {% endif %}
53
- {{ item.html | safe | trim | indent(14) if item.html else item.text }}
54
- {% if item.href %}
55
- </a>
56
- {% endif %}
57
- </li>
58
- {% endif %}
59
- {% endfor %}
60
- </ul>
61
- </nav>
62
- {% endif %}
63
- </div>
64
- {% endif %}
65
19
  </div>
66
- </header>
20
+ </div>
@@ -4,7 +4,7 @@
4
4
 
5
5
  margin-bottom: govuk-spacing(3);
6
6
 
7
- color: $govuk-secondary-text-colour;
7
+ color: govuk-functional-colour(secondary-text);
8
8
  }
9
9
 
10
10
  // Reduces margin-bottom of hint when used after the default label (no class)
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/hint/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;;IAE9B,+BAA+B;;IAE/B,mCAAmC;EACrC;;EAEA,4EAA4E;EAC5E,kDAAkD;;EAElD,6EAA6E;EAC7E,4EAA4E;EAC5E,OAAO;;EAEP,uEAAuE;EACvE,0EAA0E;;EAE1E;IACE,+BAA+B;EACjC;;EAEA,6EAA6E;EAC7E,6DAA6D;;EAE7D,4EAA4E;EAC5E,6EAA6E;EAC7E,oBAAoB;;EAEpB,uEAAuE;EACvE,0EAA0E;;EAE1E,iBAAiB;EACjB;IACE,+BAA+B;EACjC;;EAEA,uDAAuD;EACvD;IACE,6BAA6B;EAC/B;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/hint\") {\n .govuk-hint {\n @include govuk-font($size: 19);\n\n margin-bottom: govuk-spacing(3);\n\n color: $govuk-secondary-text-colour;\n }\n\n // Reduces margin-bottom of hint when used after the default label (no class)\n // or govuk-label--s for better vertical alignment.\n\n // This adjustment will not work when the label is inside the <h1>, however it\n // is unlikely that the default or govuk-label--s class would be used in this\n // case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n .govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces margin-bottom of hint when used after the default legend (no class)\n // or govuk-fieldset__legend--s for better vertical alignment.\n\n // This adjustment will not work when the legend is outside the <h1>, however\n // it is unlikely that the default or govuk-fieldset__legend--s class would be\n // used in this case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n // prettier-ignore\n .govuk-fieldset__legend:not(.govuk-fieldset__legend--m):not(.govuk-fieldset__legend--l):not(.govuk-fieldset__legend--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces visual spacing of legend when there is a hint\n .govuk-fieldset__legend + .govuk-hint {\n margin-top: govuk-spacing(-1);\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/hint/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;;IAE9B,+BAA+B;;IAE/B,8CAA8C;EAChD;;EAEA,4EAA4E;EAC5E,kDAAkD;;EAElD,6EAA6E;EAC7E,4EAA4E;EAC5E,OAAO;;EAEP,uEAAuE;EACvE,0EAA0E;;EAE1E;IACE,+BAA+B;EACjC;;EAEA,6EAA6E;EAC7E,6DAA6D;;EAE7D,4EAA4E;EAC5E,6EAA6E;EAC7E,oBAAoB;;EAEpB,uEAAuE;EACvE,0EAA0E;;EAE1E,iBAAiB;EACjB;IACE,+BAA+B;EACjC;;EAEA,uDAAuD;EACvD;IACE,6BAA6B;EAC/B;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/hint\") {\n .govuk-hint {\n @include govuk-font($size: 19);\n\n margin-bottom: govuk-spacing(3);\n\n color: govuk-functional-colour(secondary-text);\n }\n\n // Reduces margin-bottom of hint when used after the default label (no class)\n // or govuk-label--s for better vertical alignment.\n\n // This adjustment will not work when the label is inside the <h1>, however it\n // is unlikely that the default or govuk-label--s class would be used in this\n // case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n .govuk-label:not(.govuk-label--m):not(.govuk-label--l):not(.govuk-label--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces margin-bottom of hint when used after the default legend (no class)\n // or govuk-fieldset__legend--s for better vertical alignment.\n\n // This adjustment will not work when the legend is outside the <h1>, however\n // it is unlikely that the default or govuk-fieldset__legend--s class would be\n // used in this case.\n\n // This adjustment will not work in browsers that do not support :not().\n // Users with these browsers will see the default size margin (5px larger).\n\n // prettier-ignore\n .govuk-fieldset__legend:not(.govuk-fieldset__legend--m):not(.govuk-fieldset__legend--l):not(.govuk-fieldset__legend--xl) + .govuk-hint {\n margin-bottom: govuk-spacing(2);\n }\n\n // Reduces visual spacing of legend when there is a hint\n .govuk-fieldset__legend + .govuk-hint {\n margin-top: govuk-spacing(-1);\n }\n}\n"]}
@@ -15,8 +15,9 @@
15
15
  // to dark backgrounds in Firefox (https://bugzil.la/1335476). As
16
16
  // background-color and color need to always be set together, color should
17
17
  // not be set either
18
- border: $govuk-border-width-form-element solid $govuk-input-border-colour;
18
+ border: $govuk-border-width-form-element solid;
19
19
  border-radius: 0;
20
+ border-color: govuk-functional-colour(input-border);
20
21
 
21
22
  // Disable inner shadow and remove rounded corners
22
23
  -webkit-appearance: none;
@@ -45,10 +46,10 @@
45
46
  }
46
47
 
47
48
  .govuk-input--error {
48
- border-color: $govuk-error-colour;
49
+ border-color: govuk-functional-colour(error);
49
50
 
50
51
  &:focus {
51
- border-color: $govuk-input-border-colour;
52
+ border-color: govuk-functional-colour(input-border);
52
53
  }
53
54
  }
54
55
 
@@ -122,8 +123,9 @@
122
123
  min-width: govuk-px-to-rem(40px);
123
124
  height: govuk-px-to-rem(40px);
124
125
  padding: govuk-spacing(1);
125
- border: $govuk-border-width-form-element solid $govuk-input-border-colour;
126
- background-color: govuk-colour("light-grey");
126
+ border: $govuk-border-width-form-element solid;
127
+ border-color: govuk-functional-colour(input-border);
128
+ background-color: govuk-colour("black", $variant: "tint-95");
127
129
  text-align: center;
128
130
  white-space: nowrap;
129
131
  // Emphasise non-editable status of prefixes and suffixes
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/input/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;;AAExB;EACE;IACE,8BAA8B;;IAE9B,sBAAsB;IACtB,WAAW;IACX,6BAA6B;IAC7B,aAAa;IACb,yBAAyB;IACzB,yEAAyE;IACzE,gEAAgE;IAChE,yEAAyE;IACzE,mBAAmB;IACnB,yEAAyE;IACzE,gBAAgB;;IAEhB,iDAAiD;IACjD,wBAAgB;YAAhB,gBAAgB;;IAEhB;MACE,iCAAiC;IACnC;;IAEA;MACE,YAAY;MACZ,cAAc;MACd,6BAA6B;MAC7B,mBAAmB;IACrB;EACF;;EAEA;;IAEE,SAAS;IACT,wBAAwB;EAC1B;;EAEA;IACE,0BAA0B;EAC5B;;EAEA;IACE,iCAAiC;;IAEjC;MACE,wCAAwC;IAC1C;EACF;;EAEA;IACE,mCAAmC;IACnC,sBAAsB;EACxB;;EAEA,6DAA6D;EAC7D,wEAAwE;;EAExE;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,aAAa;;IAEb;MACE,cAAc;IAChB;;IAEA;MACE,yDAAyD;MACzD,UAAU;IACZ;;IAEA,2DAA2D;IAC3D;MACE,cAAc;;MAEd;QACE,uEAAuE;QACvE,eAAe;MACjB;IACF;EACF;;EAEA;;IAEE,8BAA8B;IAC9B,sBAAsB;IACtB,wDAAwD;IACxD,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,gCAAgC;IAChC,6BAA6B;IAC7B,yBAAyB;IACzB,yEAAyE;IACzE,4CAA4C;IAC5C,kBAAkB;IAClB,mBAAmB;IACnB,wDAAwD;IACxD,eAAe;IACf,cAAc;IACd,2DAA2D;IAC3D;MACE,cAAc;MACd,YAAY;MACZ,mBAAmB;IACrB;EACF;;EAEA;IACE;MACE,gBAAgB;IAClB;IACA;MACE,eAAe;IACjB;EACF;;EAEA,2DAA2D;EAC3D;IACE;MACE,aAAa;IACf;IACA;MACE,cAAc;IAChB;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/input\") {\n .govuk-input {\n @include govuk-font($size: 19);\n\n box-sizing: border-box;\n width: 100%;\n height: govuk-px-to-rem(40px);\n margin-top: 0;\n padding: govuk-spacing(1);\n // Setting any background-color makes text invisible when changing colours\n // to dark backgrounds in Firefox (https://bugzil.la/1335476). As\n // background-color and color need to always be set together, color should\n // not be set either\n border: $govuk-border-width-form-element solid $govuk-input-border-colour;\n border-radius: 0;\n\n // Disable inner shadow and remove rounded corners\n appearance: none;\n\n &:focus {\n @include govuk-focused-form-input;\n }\n\n &:disabled {\n opacity: 0.5;\n color: inherit;\n background-color: transparent;\n cursor: not-allowed;\n }\n }\n\n .govuk-input::-webkit-outer-spin-button,\n .govuk-input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n }\n\n .govuk-input[type=\"number\"] {\n -moz-appearance: textfield;\n }\n\n .govuk-input--error {\n border-color: $govuk-error-colour;\n\n &:focus {\n border-color: $govuk-input-border-colour;\n }\n }\n\n .govuk-input--extra-letter-spacing {\n @include govuk-font-tabular-numbers;\n letter-spacing: 0.05em;\n }\n\n // em measurements are based on the point size of the typeface\n // Extra space is added on the right to allow for the Safari prefill icon\n\n .govuk-input--width-30 {\n max-width: 29.5em;\n }\n\n .govuk-input--width-20 {\n max-width: 20.5em;\n }\n\n .govuk-input--width-10 {\n max-width: 11.5em;\n }\n\n .govuk-input--width-5 {\n max-width: 5.5em;\n }\n\n .govuk-input--width-4 {\n max-width: 4.5em;\n }\n\n .govuk-input--width-3 {\n max-width: 3.75em;\n }\n\n .govuk-input--width-2 {\n max-width: 2.75em;\n }\n\n .govuk-input__wrapper {\n display: flex;\n\n .govuk-input {\n flex: 0 1 auto;\n }\n\n .govuk-input:focus {\n // Hack to stop focus style being overlapped by the suffix\n z-index: 1;\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n\n .govuk-input {\n // Set max-width to override potential width override class on the input\n max-width: 100%;\n }\n }\n }\n\n .govuk-input__prefix,\n .govuk-input__suffix {\n @include govuk-font($size: 19);\n box-sizing: border-box;\n // Use flexbox to align text within the prefix and suffix\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: govuk-px-to-rem(40px);\n height: govuk-px-to-rem(40px);\n padding: govuk-spacing(1);\n border: $govuk-border-width-form-element solid $govuk-input-border-colour;\n background-color: govuk-colour(\"light-grey\");\n text-align: center;\n white-space: nowrap;\n // Emphasise non-editable status of prefixes and suffixes\n cursor: default;\n flex: 0 0 auto;\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n height: 100%;\n white-space: normal;\n }\n }\n\n .govuk-input__prefix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-bottom: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-right: 0;\n }\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n .govuk-input__suffix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-top: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-left: 0;\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/input/_index.scss"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uBAAuB;AACvB,wBAAwB;;AAExB;EACE;IACE,8BAA8B;;IAE9B,sBAAsB;IACtB,WAAW;IACX,6BAA6B;IAC7B,aAAa;IACb,yBAAyB;IACzB,yEAAyE;IACzE,gEAAgE;IAChE,yEAAyE;IACzE,mBAAmB;IACnB,8CAA8C;IAC9C,gBAAgB;IAChB,mDAAmD;;IAEnD,iDAAiD;IACjD,wBAAgB;YAAhB,gBAAgB;;IAEhB;MACE,iCAAiC;IACnC;;IAEA;MACE,YAAY;MACZ,cAAc;MACd,6BAA6B;MAC7B,mBAAmB;IACrB;EACF;;EAEA;;IAEE,SAAS;IACT,wBAAwB;EAC1B;;EAEA;IACE,0BAA0B;EAC5B;;EAEA;IACE,4CAA4C;;IAE5C;MACE,mDAAmD;IACrD;EACF;;EAEA;IACE,mCAAmC;IACnC,sBAAsB;EACxB;;EAEA,6DAA6D;EAC7D,wEAAwE;;EAExE;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,gBAAgB;EAClB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,iBAAiB;EACnB;;EAEA;IACE,aAAa;;IAEb;MACE,cAAc;IAChB;;IAEA;MACE,yDAAyD;MACzD,UAAU;IACZ;;IAEA,2DAA2D;IAC3D;MACE,cAAc;;MAEd;QACE,uEAAuE;QACvE,eAAe;MACjB;IACF;EACF;;EAEA;;IAEE,8BAA8B;IAC9B,sBAAsB;IACtB,wDAAwD;IACxD,aAAa;IACb,mBAAmB;IACnB,uBAAuB;IACvB,gCAAgC;IAChC,6BAA6B;IAC7B,yBAAyB;IACzB,8CAA8C;IAC9C,mDAAmD;IACnD,4DAA4D;IAC5D,kBAAkB;IAClB,mBAAmB;IACnB,wDAAwD;IACxD,eAAe;IACf,cAAc;IACd,2DAA2D;IAC3D;MACE,cAAc;MACd,YAAY;MACZ,mBAAmB;IACrB;EACF;;EAEA;IACE;MACE,gBAAgB;IAClB;IACA;MACE,eAAe;IACjB;EACF;;EAEA,2DAA2D;EAC3D;IACE;MACE,aAAa;IACf;IACA;MACE,cAAc;IAChB;EACF;AACF","file":"_index.scss","sourcesContent":["@import \"../error-message/index\";\n@import \"../hint/index\";\n@import \"../label/index\";\n\n@include govuk-exports(\"govuk/component/input\") {\n .govuk-input {\n @include govuk-font($size: 19);\n\n box-sizing: border-box;\n width: 100%;\n height: govuk-px-to-rem(40px);\n margin-top: 0;\n padding: govuk-spacing(1);\n // Setting any background-color makes text invisible when changing colours\n // to dark backgrounds in Firefox (https://bugzil.la/1335476). As\n // background-color and color need to always be set together, color should\n // not be set either\n border: $govuk-border-width-form-element solid;\n border-radius: 0;\n border-color: govuk-functional-colour(input-border);\n\n // Disable inner shadow and remove rounded corners\n appearance: none;\n\n &:focus {\n @include govuk-focused-form-input;\n }\n\n &:disabled {\n opacity: 0.5;\n color: inherit;\n background-color: transparent;\n cursor: not-allowed;\n }\n }\n\n .govuk-input::-webkit-outer-spin-button,\n .govuk-input::-webkit-inner-spin-button {\n margin: 0;\n -webkit-appearance: none;\n }\n\n .govuk-input[type=\"number\"] {\n -moz-appearance: textfield;\n }\n\n .govuk-input--error {\n border-color: govuk-functional-colour(error);\n\n &:focus {\n border-color: govuk-functional-colour(input-border);\n }\n }\n\n .govuk-input--extra-letter-spacing {\n @include govuk-font-tabular-numbers;\n letter-spacing: 0.05em;\n }\n\n // em measurements are based on the point size of the typeface\n // Extra space is added on the right to allow for the Safari prefill icon\n\n .govuk-input--width-30 {\n max-width: 29.5em;\n }\n\n .govuk-input--width-20 {\n max-width: 20.5em;\n }\n\n .govuk-input--width-10 {\n max-width: 11.5em;\n }\n\n .govuk-input--width-5 {\n max-width: 5.5em;\n }\n\n .govuk-input--width-4 {\n max-width: 4.5em;\n }\n\n .govuk-input--width-3 {\n max-width: 3.75em;\n }\n\n .govuk-input--width-2 {\n max-width: 2.75em;\n }\n\n .govuk-input__wrapper {\n display: flex;\n\n .govuk-input {\n flex: 0 1 auto;\n }\n\n .govuk-input:focus {\n // Hack to stop focus style being overlapped by the suffix\n z-index: 1;\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n\n .govuk-input {\n // Set max-width to override potential width override class on the input\n max-width: 100%;\n }\n }\n }\n\n .govuk-input__prefix,\n .govuk-input__suffix {\n @include govuk-font($size: 19);\n box-sizing: border-box;\n // Use flexbox to align text within the prefix and suffix\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: govuk-px-to-rem(40px);\n height: govuk-px-to-rem(40px);\n padding: govuk-spacing(1);\n border: $govuk-border-width-form-element solid;\n border-color: govuk-functional-colour(input-border);\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n text-align: center;\n white-space: nowrap;\n // Emphasise non-editable status of prefixes and suffixes\n cursor: default;\n flex: 0 0 auto;\n // Split prefix/suffix onto separate lines on narrow screens\n @media #{govuk-until-breakpoint(mobile)} {\n display: block;\n height: 100%;\n white-space: normal;\n }\n }\n\n .govuk-input__prefix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-bottom: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-right: 0;\n }\n }\n\n // Split prefix/suffix onto separate lines on narrow screens\n .govuk-input__suffix {\n @media #{govuk-until-breakpoint(mobile)} {\n border-top: 0;\n }\n @media #{govuk-from-breakpoint(mobile)} {\n border-left: 0;\n }\n }\n}\n"]}
@@ -10,7 +10,8 @@
10
10
 
11
11
  clear: both;
12
12
 
13
- border-left: $govuk-border-width-wide solid $govuk-border-colour;
13
+ border-left: $govuk-border-width-wide solid;
14
+ border-left-color: govuk-functional-colour(border);
14
15
 
15
16
  > :first-child {
16
17
  margin-top: 0;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/inset-text/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,yBAAyB;IACzB,iCAAiC;IACjC,qDAAqD;IACrD,0CAA0C;IAC1C,6CAA6C;;IAE7C,WAAW;;IAEX,gEAAgE;;IAEhE;MACE,aAAa;IACf;;IAEA;;MAEE,gBAAgB;IAClB;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/inset-text\") {\n .govuk-inset-text {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n padding: govuk-spacing(3);\n // Margin top intended to collapse\n // This adds an additional 10px to the paragraph above\n @include govuk-responsive-margin(6, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n\n clear: both;\n\n border-left: $govuk-border-width-wide solid $govuk-border-colour;\n\n > :first-child {\n margin-top: 0;\n }\n\n > :only-child,\n > :last-child {\n margin-bottom: 0;\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/inset-text/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,0BAA0B;IAC1B,yBAAyB;IACzB,iCAAiC;IACjC,qDAAqD;IACrD,0CAA0C;IAC1C,6CAA6C;;IAE7C,WAAW;;IAEX,2CAA2C;IAC3C,kDAAkD;;IAElD;MACE,aAAa;IACf;;IAEA;;MAEE,gBAAgB;IAClB;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/inset-text\") {\n .govuk-inset-text {\n @include govuk-font($size: 19);\n @include govuk-text-colour;\n padding: govuk-spacing(3);\n // Margin top intended to collapse\n // This adds an additional 10px to the paragraph above\n @include govuk-responsive-margin(6, \"top\");\n @include govuk-responsive-margin(6, \"bottom\");\n\n clear: both;\n\n border-left: $govuk-border-width-wide solid;\n border-left-color: govuk-functional-colour(border);\n\n > :first-child {\n margin-top: 0;\n }\n\n > :only-child,\n > :last-child {\n margin-bottom: 0;\n }\n }\n}\n"]}
@@ -182,14 +182,14 @@
182
182
  {
183
183
  "name": "for",
184
184
  "options": {
185
- "for": "test-target-element",
185
+ "for": "test-target-input",
186
186
  "text": "National Insurance number"
187
187
  },
188
188
  "hidden": true,
189
189
  "description": "",
190
190
  "pageTemplateOptions": {},
191
191
  "screenshot": false,
192
- "html": "<label class=\"govuk-label\" for=\"test-target-element\">\n National Insurance number\n</label>"
192
+ "html": "<label class=\"govuk-label\" for=\"test-target-input\">\n National Insurance number\n</label>"
193
193
  },
194
194
  {
195
195
  "name": "attributes",
@@ -3,12 +3,14 @@
3
3
  @include govuk-font($size: 19);
4
4
  @include govuk-responsive-margin(8, "bottom");
5
5
 
6
- border: $govuk-border-width solid $govuk-brand-colour;
6
+ border: $govuk-border-width solid;
7
+ border-color: govuk-functional-colour(brand);
7
8
 
8
- background-color: $govuk-brand-colour;
9
+ background-color: govuk-functional-colour(brand);
9
10
 
10
11
  &:focus {
11
- outline: $govuk-focus-width solid $govuk-focus-colour;
12
+ outline: $govuk-focus-width solid;
13
+ outline-color: govuk-functional-colour(focus);
12
14
  }
13
15
  }
14
16
 
@@ -39,7 +41,7 @@
39
41
  @include govuk-text-colour;
40
42
  padding: govuk-spacing(3);
41
43
 
42
- background-color: $govuk-body-background-colour;
44
+ background-color: govuk-functional-colour(body-background);
43
45
 
44
46
  @media #{govuk-from-breakpoint(tablet)} {
45
47
  padding: $padding-tablet;
@@ -80,9 +82,9 @@
80
82
  }
81
83
 
82
84
  .govuk-notification-banner--success {
83
- border-color: $govuk-success-colour;
85
+ border-color: govuk-functional-colour(success);
84
86
 
85
- background-color: $govuk-success-colour;
87
+ background-color: govuk-functional-colour(success);
86
88
 
87
89
  .govuk-notification-banner__link {
88
90
  @include govuk-link-style-success;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/notification-banner/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,6CAA6C;;IAE7C,qDAAqD;;IAErD,qCAAqC;;IAErC;MACE,qDAAqD;IACvD;EACF;;EAEA;IACE,8CAA8C;;IAE9C,2EAA2E;IAC3E,4BAA4B;IAC5B,oCAAoC;;IAEpC;MACE,8CAA8C;IAChD;EACF;;EAEA;IACE,yEAAyE;IACzE,6CAA6C;IAC7C,mCAAmC;IACnC,qCAAqC;IACrC,SAAS;IACT,UAAU;IACV,4BAA4B;EAC9B;;EAEA;IACE,iCAAiC;IACjC,0BAA0B;IAC1B,yBAAyB;;IAEzB,+CAA+C;;IAE/C;MACE,wBAAwB;IAC1B;;IAEA,yEAAyE;IACzE,iEAAiE;IACjE;MACE,wEAAwE;MACxE,8BAA8B;MAC9B,sBAAsB;;MAEtB,wDAAwD;MACxD,qEAAqE;;MAErE,mDAAmD;MACnD,yDAAyD;MACzD,4CAA4C;IAC9C;;IAEA;MACE,gBAAgB;IAClB;EACF;;EAEA;IACE,mCAAmC;IACnC,qCAAqC;;IAErC,4BAA4B;;IAE5B,UAAU;EACZ;;EAEA;IACE,0BAA0B;IAC1B,0CAA0C;EAC5C;;EAEA;IACE,mCAAmC;;IAEnC,uCAAuC;;IAEvC;MACE,iCAAiC;IACnC;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/notification-banner\") {\n .govuk-notification-banner {\n @include govuk-font($size: 19);\n @include govuk-responsive-margin(8, \"bottom\");\n\n border: $govuk-border-width solid $govuk-brand-colour;\n\n background-color: $govuk-brand-colour;\n\n &:focus {\n outline: $govuk-focus-width solid $govuk-focus-colour;\n }\n }\n\n .govuk-notification-banner__header {\n padding: 2px govuk-spacing(3) govuk-spacing(1);\n\n // Ensures the notification header appears separate to the notification body\n // text in high contrast mode\n border-bottom: 1px solid transparent;\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: 2px govuk-spacing(4) govuk-spacing(1);\n }\n }\n\n .govuk-notification-banner__title {\n // Set the size again because this element is a heading and the user agent\n // font size overrides the inherited font size\n @include govuk-font-size($size: 19);\n @include govuk-typography-weight-bold;\n margin: 0;\n padding: 0;\n color: govuk-colour(\"white\");\n }\n\n .govuk-notification-banner__content {\n $padding-tablet: govuk-spacing(4);\n @include govuk-text-colour;\n padding: govuk-spacing(3);\n\n background-color: $govuk-body-background-colour;\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: $padding-tablet;\n }\n\n // Wrap content at the same place that a 2/3 grid column ends, to maintain\n // shorter line-lengths when the notification banner is full width\n > * {\n // When elements have their own padding (like lists), include the padding\n // in the max-width calculation\n box-sizing: border-box;\n\n // Calculate the internal width of a two-thirds column...\n $two-col-width: ($govuk-page-width * 2 / 3) - ($govuk-gutter * 1 / 3);\n\n // ...and then factor in the left border and padding\n $banner-exterior: ($padding-tablet + $govuk-border-width);\n max-width: $two-col-width - $banner-exterior;\n }\n\n > :last-child {\n margin-bottom: 0;\n }\n }\n\n .govuk-notification-banner__heading {\n @include govuk-font-size($size: 24);\n @include govuk-typography-weight-bold;\n\n margin: 0 0 govuk-spacing(3);\n\n padding: 0;\n }\n\n .govuk-notification-banner__link {\n @include govuk-link-common;\n @include govuk-link-style-no-visited-state;\n }\n\n .govuk-notification-banner--success {\n border-color: $govuk-success-colour;\n\n background-color: $govuk-success-colour;\n\n .govuk-notification-banner__link {\n @include govuk-link-style-success;\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/notification-banner/_index.scss"],"names":[],"mappings":"AAAA;EACE;IACE,8BAA8B;IAC9B,6CAA6C;;IAE7C,iCAAiC;IACjC,4CAA4C;;IAE5C,gDAAgD;;IAEhD;MACE,iCAAiC;MACjC,6CAA6C;IAC/C;EACF;;EAEA;IACE,8CAA8C;;IAE9C,2EAA2E;IAC3E,4BAA4B;IAC5B,oCAAoC;;IAEpC;MACE,8CAA8C;IAChD;EACF;;EAEA;IACE,yEAAyE;IACzE,6CAA6C;IAC7C,mCAAmC;IACnC,qCAAqC;IACrC,SAAS;IACT,UAAU;IACV,4BAA4B;EAC9B;;EAEA;IACE,iCAAiC;IACjC,0BAA0B;IAC1B,yBAAyB;;IAEzB,0DAA0D;;IAE1D;MACE,wBAAwB;IAC1B;;IAEA,yEAAyE;IACzE,iEAAiE;IACjE;MACE,wEAAwE;MACxE,8BAA8B;MAC9B,sBAAsB;;MAEtB,wDAAwD;MACxD,qEAAqE;;MAErE,mDAAmD;MACnD,yDAAyD;MACzD,4CAA4C;IAC9C;;IAEA;MACE,gBAAgB;IAClB;EACF;;EAEA;IACE,mCAAmC;IACnC,qCAAqC;;IAErC,4BAA4B;;IAE5B,UAAU;EACZ;;EAEA;IACE,0BAA0B;IAC1B,0CAA0C;EAC5C;;EAEA;IACE,8CAA8C;;IAE9C,kDAAkD;;IAElD;MACE,iCAAiC;IACnC;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/notification-banner\") {\n .govuk-notification-banner {\n @include govuk-font($size: 19);\n @include govuk-responsive-margin(8, \"bottom\");\n\n border: $govuk-border-width solid;\n border-color: govuk-functional-colour(brand);\n\n background-color: govuk-functional-colour(brand);\n\n &:focus {\n outline: $govuk-focus-width solid;\n outline-color: govuk-functional-colour(focus);\n }\n }\n\n .govuk-notification-banner__header {\n padding: 2px govuk-spacing(3) govuk-spacing(1);\n\n // Ensures the notification header appears separate to the notification body\n // text in high contrast mode\n border-bottom: 1px solid transparent;\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: 2px govuk-spacing(4) govuk-spacing(1);\n }\n }\n\n .govuk-notification-banner__title {\n // Set the size again because this element is a heading and the user agent\n // font size overrides the inherited font size\n @include govuk-font-size($size: 19);\n @include govuk-typography-weight-bold;\n margin: 0;\n padding: 0;\n color: govuk-colour(\"white\");\n }\n\n .govuk-notification-banner__content {\n $padding-tablet: govuk-spacing(4);\n @include govuk-text-colour;\n padding: govuk-spacing(3);\n\n background-color: govuk-functional-colour(body-background);\n\n @media #{govuk-from-breakpoint(tablet)} {\n padding: $padding-tablet;\n }\n\n // Wrap content at the same place that a 2/3 grid column ends, to maintain\n // shorter line-lengths when the notification banner is full width\n > * {\n // When elements have their own padding (like lists), include the padding\n // in the max-width calculation\n box-sizing: border-box;\n\n // Calculate the internal width of a two-thirds column...\n $two-col-width: ($govuk-page-width * 2 / 3) - ($govuk-gutter * 1 / 3);\n\n // ...and then factor in the left border and padding\n $banner-exterior: ($padding-tablet + $govuk-border-width);\n max-width: $two-col-width - $banner-exterior;\n }\n\n > :last-child {\n margin-bottom: 0;\n }\n }\n\n .govuk-notification-banner__heading {\n @include govuk-font-size($size: 24);\n @include govuk-typography-weight-bold;\n\n margin: 0 0 govuk-spacing(3);\n\n padding: 0;\n }\n\n .govuk-notification-banner__link {\n @include govuk-link-common;\n @include govuk-link-style-no-visited-state;\n }\n\n .govuk-notification-banner--success {\n border-color: govuk-functional-colour(success);\n\n background-color: govuk-functional-colour(success);\n\n .govuk-notification-banner__link {\n @include govuk-link-style-success;\n }\n }\n}\n"]}
@@ -32,7 +32,7 @@
32
32
  float: left; // Float is ignored if flex is active for prev/next links
33
33
 
34
34
  &:hover {
35
- background-color: govuk-colour("light-grey");
35
+ background-color: govuk-colour("black", $variant: "tint-95");
36
36
  }
37
37
  }
38
38
 
@@ -73,7 +73,6 @@
73
73
  // Only show first, last and non-link items on mobile
74
74
  .govuk-pagination__item--current,
75
75
  .govuk-pagination__item--ellipsis,
76
- .govuk-pagination__item--ellipses,
77
76
  .govuk-pagination__item:first-child,
78
77
  .govuk-pagination__item:last-child {
79
78
  display: block;
@@ -82,10 +81,10 @@
82
81
  .govuk-pagination__item--current {
83
82
  @include govuk-typography-weight-bold;
84
83
  outline: 1px solid transparent;
85
- background-color: $govuk-link-colour;
84
+ background-color: govuk-functional-colour(link);
86
85
 
87
86
  &:hover {
88
- background-color: $govuk-link-colour;
87
+ background-color: govuk-functional-colour(link);
89
88
  }
90
89
 
91
90
  .govuk-pagination__link {
@@ -93,10 +92,9 @@
93
92
  }
94
93
  }
95
94
 
96
- .govuk-pagination__item--ellipsis,
97
- .govuk-pagination__item--ellipses {
95
+ .govuk-pagination__item--ellipsis {
98
96
  @include govuk-typography-weight-bold;
99
- color: $govuk-secondary-text-colour;
97
+ color: govuk-functional-colour(secondary-text);
100
98
 
101
99
  // Remove hover state for ellipsis items as they don't contain links
102
100
  &:hover {
@@ -136,7 +134,7 @@
136
134
 
137
135
  &:focus {
138
136
  .govuk-pagination__icon {
139
- color: $govuk-focus-text-colour;
137
+ color: govuk-functional-colour(focus-text);
140
138
  }
141
139
 
142
140
  .govuk-pagination__link-label {
@@ -163,7 +161,7 @@
163
161
  // Set size using rems to make the icon scale with text
164
162
  width: govuk-px-to-rem(15px);
165
163
  height: govuk-px-to-rem(13px);
166
- color: $govuk-secondary-text-colour;
164
+ color: govuk-functional-colour(secondary-text);
167
165
  fill: currentcolor;
168
166
  forced-color-adjust: auto;
169
167
  }
@@ -196,7 +194,8 @@
196
194
 
197
195
  // Only apply a border between prev and next if both are present
198
196
  .govuk-pagination__prev + .govuk-pagination__next {
199
- border-top: 1px solid $govuk-border-colour;
197
+ border-top: 1px solid;
198
+ border-top-color: govuk-functional-colour(border);
200
199
  }
201
200
 
202
201
  // Set the after pseudo element to a block which makes the title visually
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/govuk/components/pagination/_index.scss"],"names":[],"mappings":"AAAA;EACE,oDAAoD;EACpD,yDAAyD;EACzD;IACE,6CAA6C;IAC7C,aAAa;IACb,sBAAsB;IACtB,mBAAmB;IACnB,eAAe;;IAEf;MACE,mBAAmB;MACnB,uBAAuB;IACzB;EACF;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;EAClB;;EAEA;;;IAGE,uBAAuB;IACvB,sBAAsB;IACtB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,0CAA0C;IAC1C,WAAW,EAAE,wDAAwD;;IAErE;MACE,4CAA4C;IAC9C;EACF;;EAEA;IACE,yDAAyD;IACzD,6CAA6C;IAC7C,aAAa;;IAEb,sEAAsE;IACtE,gDAAgD;IAChD,kBAAkB;;IAElB;MACE,cAAc;IAChB;EACF;;EAEA;;IAEE,qCAAqC;;IAErC,uEAAuE;IACvE,yCAAyC;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A;MACE,gEAAgE;MAChE,6CAA6C;MAC7C,gCAAgC;MAChC,CAAC;MACD,wEAAwE;MACxE,qEAAqE;MACrE,mBAAmB;MACnB,kCAAkC;MAClC,WAAW;IACb;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/pagination\") {\n // Flexbox enhancement for small screen visual design\n // Falls back to a float: left layout on non-flex browsers\n .govuk-pagination {\n @include govuk-responsive-margin(6, \"bottom\");\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-wrap: wrap;\n\n @media #{govuk-from-breakpoint(tablet)} {\n flex-direction: row;\n align-items: flex-start;\n }\n }\n\n .govuk-pagination__list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n .govuk-pagination__item,\n .govuk-pagination__next,\n .govuk-pagination__prev {\n @include govuk-font(19);\n box-sizing: border-box;\n position: relative;\n min-width: 45px;\n min-height: 45px;\n padding: govuk-spacing(2) govuk-spacing(3);\n float: left; // Float is ignored if flex is active for prev/next links\n\n &:hover {\n background-color: govuk-colour(\"light-grey\");\n }\n }\n\n .govuk-pagination__item {\n // Hide items on small screens except the prev/next items,\n // non-link items and the first and last items\n display: none;\n\n // Center align pagination links in their parent list item so that they\n // visually sit in the middle of their touch area\n text-align: center;\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: block;\n }\n }\n\n .govuk-pagination__prev,\n .govuk-pagination__next {\n @include govuk-typography-weight-bold;\n\n // Use flex to avoid extra space being introduced when whitespace exists\n // between the arrow svg and the link text\n .govuk-pagination__link {\n display: flex;\n align-items: center;\n }\n }\n\n .govuk-pagination__prev {\n padding-left: 0;\n }\n\n .govuk-pagination__next {\n padding-right: 0;\n }\n\n // Only show first, last and non-link items on mobile\n .govuk-pagination__item--current,\n .govuk-pagination__item--ellipsis,\n .govuk-pagination__item--ellipses,\n .govuk-pagination__item:first-child,\n .govuk-pagination__item:last-child {\n display: block;\n }\n\n .govuk-pagination__item--current {\n @include govuk-typography-weight-bold;\n outline: 1px solid transparent;\n background-color: $govuk-link-colour;\n\n &:hover {\n background-color: $govuk-link-colour;\n }\n\n .govuk-pagination__link {\n @include govuk-link-style-inverse;\n }\n }\n\n .govuk-pagination__item--ellipsis,\n .govuk-pagination__item--ellipses {\n @include govuk-typography-weight-bold;\n color: $govuk-secondary-text-colour;\n\n // Remove hover state for ellipsis items as they don't contain links\n &:hover {\n background-color: transparent;\n }\n }\n\n .govuk-pagination__link {\n display: block;\n min-width: govuk-spacing(3);\n\n // Increase the touch area for the link to the parent element.\n @media screen {\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n // Add link hover decoration to prev/next text if no label present on\n // prev/next only mode, so that we have a hover state in all cases\n &:hover,\n &:active {\n .govuk-pagination__link-title--decorated {\n @include govuk-link-decoration;\n }\n\n .govuk-pagination__link-label,\n .govuk-pagination__link-title--decorated {\n @include govuk-link-hover-decoration;\n }\n }\n\n &:focus {\n .govuk-pagination__icon {\n color: $govuk-focus-text-colour;\n }\n\n .govuk-pagination__link-label {\n text-decoration: none;\n }\n\n .govuk-pagination__link-title--decorated {\n text-decoration: none;\n }\n }\n }\n\n .govuk-pagination__link-title {\n text-decoration-thickness: inherit;\n }\n\n .govuk-pagination__link-label {\n @include govuk-typography-weight-regular;\n @include govuk-link-decoration;\n display: inline-block;\n }\n\n .govuk-pagination__icon {\n // Set size using rems to make the icon scale with text\n width: govuk-px-to-rem(15px);\n height: govuk-px-to-rem(13px);\n color: $govuk-secondary-text-colour;\n fill: currentcolor;\n forced-color-adjust: auto;\n }\n\n .govuk-pagination__icon--prev {\n margin-right: govuk-spacing(3);\n }\n\n .govuk-pagination__icon--next {\n margin-left: govuk-spacing(3);\n }\n\n // Block mode - position previous and next links above and below numbers\n .govuk-pagination--block {\n display: block;\n\n .govuk-pagination__next,\n .govuk-pagination__prev {\n padding-left: 0;\n float: none;\n\n .govuk-pagination__link {\n display: inline-block;\n }\n }\n\n .govuk-pagination__next {\n padding-right: govuk-spacing(3);\n }\n\n // Only apply a border between prev and next if both are present\n .govuk-pagination__prev + .govuk-pagination__next {\n border-top: 1px solid $govuk-border-colour;\n }\n\n // Set the after pseudo element to a block which makes the title visually\n // display as block level whilst programmatically being inline. We do this\n // to get around an NVDA quirk where adjacent block level elements are\n // always read out separately\n .govuk-pagination__link-title::after {\n content: \"\";\n display: block;\n }\n\n .govuk-pagination__link {\n padding-left: govuk-spacing(6);\n text-align: left;\n\n &:not(:focus) {\n text-decoration: none;\n }\n }\n\n .govuk-pagination__icon {\n // This magic number is brought to you by the following equation:\n // ((lineHeight − arrowHeight) ÷ 2) ÷ fontSize\n // ((25 − 13) ÷ 2) ÷ 19 = 0.326em\n //\n // This could have been done programmatically but we don't have functions\n // for grabbing the line-height of specific typography sizes just yet.\n margin-top: 0.326em;\n margin-left: govuk-spacing(6) * -1;\n float: left;\n }\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../../src/govuk/components/pagination/_index.scss"],"names":[],"mappings":"AAAA;EACE,oDAAoD;EACpD,yDAAyD;EACzD;IACE,6CAA6C;IAC7C,aAAa;IACb,sBAAsB;IACtB,mBAAmB;IACnB,eAAe;;IAEf;MACE,mBAAmB;MACnB,uBAAuB;IACzB;EACF;;EAEA;IACE,SAAS;IACT,UAAU;IACV,gBAAgB;EAClB;;EAEA;;;IAGE,uBAAuB;IACvB,sBAAsB;IACtB,kBAAkB;IAClB,eAAe;IACf,gBAAgB;IAChB,0CAA0C;IAC1C,WAAW,EAAE,wDAAwD;;IAErE;MACE,4DAA4D;IAC9D;EACF;;EAEA;IACE,yDAAyD;IACzD,6CAA6C;IAC7C,aAAa;;IAEb,sEAAsE;IACtE,gDAAgD;IAChD,kBAAkB;;IAElB;MACE,cAAc;IAChB;EACF;;EAEA;;IAEE,qCAAqC;;IAErC,uEAAuE;IACvE,yCAAyC;IACzC;MACE,aAAa;MACb,mBAAmB;IACrB;EACF;;EAEA;IACE,eAAe;EACjB;;EAEA;IACE,gBAAgB;EAClB;;EAEA,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ACrE,mBAAmB;MACnB,kCAAkC;MAClC,WAAW;IACb;EACF;AACF","file":"_index.scss","sourcesContent":["@include govuk-exports(\"govuk/component/pagination\") {\n // Flexbox enhancement for small screen visual design\n // Falls back to a float: left layout on non-flex browsers\n .govuk-pagination {\n @include govuk-responsive-margin(6, \"bottom\");\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-wrap: wrap;\n\n @media #{govuk-from-breakpoint(tablet)} {\n flex-direction: row;\n align-items: flex-start;\n }\n }\n\n .govuk-pagination__list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n\n .govuk-pagination__item,\n .govuk-pagination__next,\n .govuk-pagination__prev {\n @include govuk-font(19);\n box-sizing: border-box;\n position: relative;\n min-width: 45px;\n min-height: 45px;\n padding: govuk-spacing(2) govuk-spacing(3);\n float: left; // Float is ignored if flex is active for prev/next links\n\n &:hover {\n background-color: govuk-colour(\"black\", $variant: \"tint-95\");\n }\n }\n\n .govuk-pagination__item {\n // Hide items on small screens except the prev/next items,\n // non-link items and the first and last items\n display: none;\n\n // Center align pagination links in their parent list item so that they\n // visually sit in the middle of their touch area\n text-align: center;\n\n @media #{govuk-from-breakpoint(tablet)} {\n display: block;\n }\n }\n\n .govuk-pagination__prev,\n .govuk-pagination__next {\n @include govuk-typography-weight-bold;\n\n // Use flex to avoid extra space being introduced when whitespace exists\n // between the arrow svg and the link text\n .govuk-pagination__link {\n display: flex;\n align-items: center;\n }\n }\n\n .govuk-pagination__prev {\n padding-left: 0;\n }\n\n .govuk-pagination__next {\n padding-right: 0;\n }\n\n // Only show first, last and non-link items on mobile\n .govuk-pagination__item--current,\n .govuk-pagination__item--ellipsis,\n .govuk-pagination__item:first-child,\n .govuk-pagination__item:last-child {\n display: block;\n }\n\n .govuk-pagination__item--current {\n @include govuk-typography-weight-bold;\n outline: 1px solid transparent;\n background-color: govuk-functional-colour(link);\n\n &:hover {\n background-color: govuk-functional-colour(link);\n }\n\n .govuk-pagination__link {\n @include govuk-link-style-inverse;\n }\n }\n\n .govuk-pagination__item--ellipsis {\n @include govuk-typography-weight-bold;\n color: govuk-functional-colour(secondary-text);\n\n // Remove hover state for ellipsis items as they don't contain links\n &:hover {\n background-color: transparent;\n }\n }\n\n .govuk-pagination__link {\n display: block;\n min-width: govuk-spacing(3);\n\n // Increase the touch area for the link to the parent element.\n @media screen {\n &::after {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n // Add link hover decoration to prev/next text if no label present on\n // prev/next only mode, so that we have a hover state in all cases\n &:hover,\n &:active {\n .govuk-pagination__link-title--decorated {\n @include govuk-link-decoration;\n }\n\n .govuk-pagination__link-label,\n .govuk-pagination__link-title--decorated {\n @include govuk-link-hover-decoration;\n }\n }\n\n &:focus {\n .govuk-pagination__icon {\n color: govuk-functional-colour(focus-text);\n }\n\n .govuk-pagination__link-label {\n text-decoration: none;\n }\n\n .govuk-pagination__link-title--decorated {\n text-decoration: none;\n }\n }\n }\n\n .govuk-pagination__link-title {\n text-decoration-thickness: inherit;\n }\n\n .govuk-pagination__link-label {\n @include govuk-typography-weight-regular;\n @include govuk-link-decoration;\n display: inline-block;\n }\n\n .govuk-pagination__icon {\n // Set size using rems to make the icon scale with text\n width: govuk-px-to-rem(15px);\n height: govuk-px-to-rem(13px);\n color: govuk-functional-colour(secondary-text);\n fill: currentcolor;\n forced-color-adjust: auto;\n }\n\n .govuk-pagination__icon--prev {\n margin-right: govuk-spacing(3);\n }\n\n .govuk-pagination__icon--next {\n margin-left: govuk-spacing(3);\n }\n\n // Block mode - position previous and next links above and below numbers\n .govuk-pagination--block {\n display: block;\n\n .govuk-pagination__next,\n .govuk-pagination__prev {\n padding-left: 0;\n float: none;\n\n .govuk-pagination__link {\n display: inline-block;\n }\n }\n\n .govuk-pagination__next {\n padding-right: govuk-spacing(3);\n }\n\n // Only apply a border between prev and next if both are present\n .govuk-pagination__prev + .govuk-pagination__next {\n border-top: 1px solid;\n border-top-color: govuk-functional-colour(border);\n }\n\n // Set the after pseudo element to a block which makes the title visually\n // display as block level whilst programmatically being inline. We do this\n // to get around an NVDA quirk where adjacent block level elements are\n // always read out separately\n .govuk-pagination__link-title::after {\n content: \"\";\n display: block;\n }\n\n .govuk-pagination__link {\n padding-left: govuk-spacing(6);\n text-align: left;\n\n &:not(:focus) {\n text-decoration: none;\n }\n }\n\n .govuk-pagination__icon {\n // This magic number is brought to you by the following equation:\n // ((lineHeight − arrowHeight) ÷ 2) ÷ fontSize\n // ((25 − 13) ÷ 2) ÷ 19 = 0.326em\n //\n // This could have been done programmatically but we don't have functions\n // for grabbing the line-height of specific typography sizes just yet.\n margin-top: 0.326em;\n margin-left: govuk-spacing(6) * -1;\n float: left;\n }\n }\n}\n"]}