govuk_publishing_components 42.1.0 → 43.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (487) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -1
  3. data/app/assets/stylesheets/govuk_publishing_components/component_support.scss +4 -4
  4. data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +1 -1
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +5 -3
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-admin.scss +1 -1
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +2 -7
  8. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +24 -2
  9. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_govuk-frontend-settings.scss +2 -0
  10. data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +2 -1
  11. data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +1 -1
  12. data/lib/govuk_publishing_components/version.rb +1 -1
  13. data/node_modules/govuk-frontend/dist/govuk/_base.scss +3 -3
  14. data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -1
  15. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +451 -176
  16. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -1
  17. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +450 -177
  18. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -1
  19. data/node_modules/govuk-frontend/dist/govuk/all.mjs +13 -76
  20. data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -1
  21. data/node_modules/govuk-frontend/dist/govuk/all.scss +1 -9
  22. data/node_modules/govuk-frontend/dist/govuk/all.scss.map +1 -1
  23. data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs.map +1 -1
  24. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
  25. data/node_modules/govuk-frontend/dist/govuk/common/index.mjs +56 -36
  26. data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -1
  27. data/node_modules/govuk-frontend/dist/govuk/common/normalise-dataset.mjs +12 -20
  28. data/node_modules/govuk-frontend/dist/govuk/common/normalise-dataset.mjs.map +1 -1
  29. data/node_modules/govuk-frontend/dist/govuk/common/normalise-string.mjs +31 -0
  30. data/node_modules/govuk-frontend/dist/govuk/common/normalise-string.mjs.map +1 -0
  31. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +7 -35
  32. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +1 -1
  33. data/node_modules/govuk-frontend/dist/govuk/components/_index.scss +39 -0
  34. data/node_modules/govuk-frontend/dist/govuk/components/_index.scss.map +1 -0
  35. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +35 -31
  36. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -1
  37. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +177 -133
  38. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -1
  39. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +177 -133
  40. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -1
  41. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs +80 -76
  42. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs.map +1 -1
  43. data/node_modules/govuk-frontend/dist/govuk/components/accordion/fixtures.json +16 -3
  44. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template.njk +2 -1
  45. data/node_modules/govuk-frontend/dist/govuk/components/back-link/fixtures.json +25 -15
  46. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-with-custom-link.html +1 -0
  47. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template.njk +6 -2
  48. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/fixtures.json +53 -15
  49. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro-options.json +6 -0
  50. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-default.html +2 -2
  51. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-inverse.html +2 -2
  52. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-collapse-on-mobile.html +2 -2
  53. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-last-breadcrumb-as-current-page.html +2 -2
  54. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-multiple-levels.html +2 -2
  55. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-one-level.html +2 -2
  56. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-without-the-home-section.html +2 -2
  57. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template.njk +6 -4
  58. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js +97 -39
  59. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js.map +1 -1
  60. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs +97 -39
  61. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -1
  62. data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs +13 -3
  63. data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs.map +1 -1
  64. data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +38 -0
  65. data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +4 -2
  66. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +4 -4
  67. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -1
  68. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +125 -69
  69. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -1
  70. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +125 -69
  71. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -1
  72. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +17 -3
  73. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -1
  74. data/node_modules/govuk-frontend/dist/govuk/components/character-count/fixtures.json +46 -23
  75. data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro-options.json +40 -0
  76. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-default.html +1 -4
  77. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-rows.html +1 -4
  78. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-textarea-description.html +1 -4
  79. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value-exceeding-limit.html +1 -4
  80. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value.html +1 -4
  81. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint.html +1 -4
  82. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-label-as-page-heading.html +1 -4
  83. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-threshold.html +1 -4
  84. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-translations.html +1 -4
  85. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-word-count.html +1 -4
  86. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template.njk +72 -39
  87. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +10 -2
  88. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -1
  89. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js +9 -1
  90. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js.map +1 -1
  91. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs +9 -1
  92. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs.map +1 -1
  93. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs +1 -1
  94. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs.map +1 -1
  95. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +153 -47
  96. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +40 -0
  97. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +12 -12
  98. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +11 -12
  99. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-disabled.html +12 -12
  100. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-divider-and-none.html +34 -0
  101. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-error.html +12 -12
  102. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +13 -13
  103. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +12 -12
  104. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +12 -12
  105. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-a-medium-legend.html +12 -12
  106. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-item-checked.html +21 -24
  107. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items-with-special-characters.html +21 -24
  108. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +21 -24
  109. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-disabled-item.html +10 -10
  110. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +17 -16
  111. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +24 -24
  112. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message-and-hints-on-items.html +15 -15
  113. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +12 -12
  114. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-fieldset-and-error-message.html +12 -12
  115. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +10 -10
  116. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-id-and-name.html +12 -12
  117. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +12 -12
  118. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +21 -24
  119. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +15 -16
  120. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-and-hint-set-aria-describedby-on-input.html +5 -5
  121. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-single-option-set-aria-describedby-on-input.html +4 -4
  122. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +12 -12
  123. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-without-fieldset.html +12 -12
  124. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +58 -54
  125. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +17 -14
  126. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -1
  127. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +46 -23
  128. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-accepted-confirmation-banner.html +11 -8
  129. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-client-side-implementation.html +38 -29
  130. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +18 -13
  131. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-rejected-confirmation-banner.html +11 -8
  132. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +19 -15
  133. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template.njk +37 -44
  134. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +1 -2
  135. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -1
  136. data/node_modules/govuk-frontend/dist/govuk/components/date-input/fixtures.json +27 -0
  137. data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro-options.json +40 -0
  138. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template.njk +10 -3
  139. data/node_modules/govuk-frontend/dist/govuk/components/details/fixtures.json +10 -0
  140. data/node_modules/govuk-frontend/dist/govuk/components/details/template.njk +6 -2
  141. data/node_modules/govuk-frontend/dist/govuk/components/error-message/fixtures.json +9 -0
  142. data/node_modules/govuk-frontend/dist/govuk/components/error-message/template.njk +4 -1
  143. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +14 -3
  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/error-summary/error-summary.bundle.js +96 -37
  146. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js.map +1 -1
  147. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs +96 -37
  148. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs.map +1 -1
  149. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs +12 -1
  150. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs.map +1 -1
  151. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/fixtures.json +48 -18
  152. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro-options.json +2 -2
  153. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-default.html +8 -8
  154. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-mixed-with-and-without-links.html +8 -8
  155. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-description-only.html +12 -0
  156. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-everything.html +8 -8
  157. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-without-links.html +5 -5
  158. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template.njk +19 -14
  159. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +112 -61
  160. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -1
  161. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +112 -61
  162. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -1
  163. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs +15 -4
  164. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs.map +1 -1
  165. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/fixtures.json +4 -0
  166. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template.njk +3 -1
  167. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss +3 -5
  168. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss.map +1 -1
  169. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/fixtures.json +18 -0
  170. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template.njk +3 -1
  171. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +8 -9
  172. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -1
  173. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +13 -0
  174. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +40 -0
  175. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +10 -2
  176. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +1 -1
  177. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -1
  178. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +46 -23
  179. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +10 -9
  180. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +41 -40
  181. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +10 -9
  182. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +5 -4
  183. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +14 -13
  184. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +5 -4
  185. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +10 -9
  186. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +10 -9
  187. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +56 -55
  188. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta.html +28 -27
  189. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +10 -9
  190. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +42 -38
  191. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +1 -1
  192. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -1
  193. data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +49 -26
  194. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +8 -0
  195. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +1 -1
  196. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +8 -0
  197. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +1 -1
  198. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +1 -1
  199. data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +1 -1
  200. data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +13 -16
  201. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +35 -36
  202. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +13 -16
  203. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +35 -36
  204. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +29 -30
  205. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-label.html +40 -41
  206. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +40 -41
  207. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-navigation-label.html +40 -41
  208. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +100 -101
  209. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +40 -41
  210. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +13 -16
  211. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +40 -41
  212. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +13 -16
  213. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +13 -16
  214. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +21 -0
  215. data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +31 -26
  216. data/node_modules/govuk-frontend/dist/govuk/components/hint/fixtures.json +6 -0
  217. data/node_modules/govuk-frontend/dist/govuk/components/hint/template.njk +3 -1
  218. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +7 -4
  219. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -1
  220. data/node_modules/govuk-frontend/dist/govuk/components/input/fixtures.json +138 -25
  221. data/node_modules/govuk-frontend/dist/govuk/components/input/macro-options.json +67 -1
  222. data/node_modules/govuk-frontend/dist/govuk/components/input/template-disabled.html +6 -0
  223. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-autocapitalize-turned-off.html +6 -0
  224. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-and-hint.html +12 -0
  225. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-message.html +2 -5
  226. data/node_modules/govuk-frontend/dist/govuk/components/input/template.njk +70 -14
  227. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/fixtures.json +7 -1
  228. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-with-html.html +8 -9
  229. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template.njk +4 -2
  230. data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +17 -0
  231. data/node_modules/govuk-frontend/dist/govuk/components/label/template.njk +3 -1
  232. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +3 -2
  233. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -1
  234. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/fixtures.json +50 -26
  235. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js +96 -37
  236. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js.map +1 -1
  237. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs +96 -37
  238. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs.map +1 -1
  239. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs +12 -1
  240. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs.map +1 -1
  241. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-disabled-with-type-as-success.html +4 -1
  242. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-auto-focus-explicitly-enabled-with-type-as-success.html +4 -1
  243. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-custom-tabindex.html +4 -1
  244. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-default.html +4 -1
  245. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-paragraph-as-html-heading.html +3 -2
  246. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-rolealert-overridden-to-roleregion-with-type-as-success.html +4 -1
  247. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-success-with-custom-html.html +9 -8
  248. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-a-list.html +9 -8
  249. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-long-heading.html +4 -1
  250. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-lots-of-content.html +12 -9
  251. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-text-as-html.html +8 -5
  252. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-type-as-success.html +4 -1
  253. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template.njk +11 -7
  254. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +24 -37
  255. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -1
  256. data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +30 -15
  257. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +38 -23
  258. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +28 -16
  259. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +29 -20
  260. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-accessible-labels-on-item-links.html +38 -23
  261. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +38 -23
  262. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-navigation-landmark.html +38 -23
  263. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +64 -39
  264. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-next-only.html +11 -4
  265. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-labels.html +25 -13
  266. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-very-long-labels.html +25 -13
  267. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-in-a-different-language.html +21 -11
  268. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only.html +21 -11
  269. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-previous-only.html +11 -7
  270. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +78 -63
  271. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +14 -10
  272. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -1
  273. data/node_modules/govuk-frontend/dist/govuk/components/panel/fixtures.json +9 -0
  274. data/node_modules/govuk-frontend/dist/govuk/components/panel/template.njk +6 -3
  275. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +57 -0
  276. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +1 -0
  277. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss +4 -0
  278. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss.map +1 -0
  279. data/node_modules/govuk-frontend/dist/govuk/components/password-input/fixtures.json +196 -0
  280. data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro-options.json +181 -0
  281. data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro.njk +3 -0
  282. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +528 -0
  283. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -0
  284. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs +520 -0
  285. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -0
  286. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs +163 -0
  287. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs.map +1 -0
  288. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-default.html +11 -0
  289. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-error-message.html +17 -0
  290. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-hint-text.html +14 -0
  291. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-input-width-class.html +11 -0
  292. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-label-as-page-heading.html +13 -0
  293. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-new-password-autocomplete.html +11 -0
  294. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-translations.html +11 -0
  295. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template.njk +91 -0
  296. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +6 -8
  297. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -1
  298. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +7 -0
  299. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +4 -2
  300. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +11 -6
  301. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -1
  302. data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +113 -48
  303. data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +41 -1
  304. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js +8 -0
  305. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js.map +1 -1
  306. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs +8 -0
  307. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs.map +1 -1
  308. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs.map +1 -1
  309. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +8 -8
  310. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +8 -8
  311. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked-using-value.html +8 -8
  312. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-prechecked.html +8 -8
  313. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline-extreme.html +40 -40
  314. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +12 -12
  315. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +13 -12
  316. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +15 -16
  317. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-disabled.html +12 -12
  318. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +12 -12
  319. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +13 -13
  320. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +12 -12
  321. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +12 -12
  322. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +13 -12
  323. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-medium-legend.html +8 -8
  324. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +21 -24
  325. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +21 -24
  326. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-with-special-characters.html +21 -24
  327. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +21 -24
  328. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-disabled.html +10 -10
  329. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +8 -8
  330. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hints-on-items.html +10 -10
  331. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-idprefix.html +8 -8
  332. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +8 -8
  333. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +21 -24
  334. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +12 -12
  335. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-without-fieldset.html +12 -12
  336. data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +54 -50
  337. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +5 -5
  338. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -1
  339. data/node_modules/govuk-frontend/dist/govuk/components/select/fixtures.json +42 -23
  340. data/node_modules/govuk-frontend/dist/govuk/components/select/macro-options.json +40 -0
  341. data/node_modules/govuk-frontend/dist/govuk/components/select/template-default.html +3 -6
  342. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-full-width-override.html +3 -6
  343. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-hint-text-and-error-message.html +3 -6
  344. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-label-as-page-heading.html +3 -6
  345. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-optional-form-group-classes.html +3 -6
  346. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-selected-value.html +3 -6
  347. data/node_modules/govuk-frontend/dist/govuk/components/select/template.njk +18 -8
  348. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +7 -4
  349. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -1
  350. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/fixtures.json +9 -0
  351. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js +8 -0
  352. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js.map +1 -1
  353. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs +8 -0
  354. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs.map +1 -1
  355. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs.map +1 -1
  356. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template.njk +4 -1
  357. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +2 -1
  358. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -1
  359. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/fixtures.json +63 -32
  360. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-custom-header-level.html +25 -20
  361. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-html-header.html +25 -20
  362. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-text-header.html +25 -20
  363. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions-plus-summary-list-actions.html +46 -29
  364. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions.html +33 -23
  365. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-check-your-answers.html +96 -97
  366. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-default.html +35 -36
  367. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-extreme.html +261 -70
  368. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border-on-last-row.html +35 -36
  369. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border.html +35 -36
  370. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-overridden-widths.html +58 -45
  371. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-translated.html +51 -45
  372. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-actions.html +58 -45
  373. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-no-first-action.html +58 -59
  374. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-some-actions.html +45 -39
  375. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template.njk +68 -65
  376. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +10 -0
  377. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -1
  378. data/node_modules/govuk-frontend/dist/govuk/components/table/fixtures.json +93 -21
  379. data/node_modules/govuk-frontend/dist/govuk/components/table/template-default.html +15 -15
  380. data/node_modules/govuk-frontend/dist/govuk/components/table/template-table-with-head-and-caption.html +15 -15
  381. data/node_modules/govuk-frontend/dist/govuk/components/table/template-table-with-head.html +15 -15
  382. data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-small-text-modifier-for-tables-with-a-lot-of-data.html +19 -0
  383. data/node_modules/govuk-frontend/dist/govuk/components/table/template.njk +43 -31
  384. data/node_modules/govuk-frontend/dist/govuk/components/tabs/fixtures.json +27 -13
  385. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +13 -11
  386. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js.map +1 -1
  387. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs +13 -11
  388. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -1
  389. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs +5 -11
  390. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs.map +1 -1
  391. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-default.html +110 -113
  392. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-tabs-with-anchor-in-panel.html +19 -21
  393. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template.njk +30 -18
  394. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +11 -8
  395. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -1
  396. data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +14 -0
  397. data/node_modules/govuk-frontend/dist/govuk/components/tag/template.njk +5 -2
  398. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +12 -10
  399. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -1
  400. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +54 -10
  401. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-default.html +35 -28
  402. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-3-states.html +47 -38
  403. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-all-possible-colours.html +141 -116
  404. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-hint-text-and-additional-states.html +72 -59
  405. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-example-with-very-long-single-word-tags.html +35 -28
  406. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-empty-values.html +27 -0
  407. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template.njk +33 -23
  408. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +3 -3
  409. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -1
  410. data/node_modules/govuk-frontend/dist/govuk/components/textarea/fixtures.json +17 -0
  411. data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro-options.json +40 -0
  412. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template.njk +10 -2
  413. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +5 -5
  414. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -1
  415. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/fixtures.json +8 -0
  416. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template.njk +3 -2
  417. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +8 -6
  418. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +1 -1
  419. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +1 -1
  420. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +8 -0
  421. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -0
  422. data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs.map +1 -1
  423. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend-component.mjs.map +1 -1
  424. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +2 -2
  425. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -1
  426. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
  427. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -1
  428. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +8 -12
  429. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +1 -1
  430. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +44 -8
  431. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -1
  432. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +1 -1
  433. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -1
  434. data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss +14 -0
  435. data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss.map +1 -0
  436. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +2 -2
  437. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -1
  438. data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss +1 -1
  439. data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss.map +1 -1
  440. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +19 -0
  441. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -1
  442. data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +30 -62
  443. data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +1 -1
  444. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +18 -12
  445. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -1
  446. data/node_modules/govuk-frontend/dist/govuk/index.scss +11 -0
  447. data/node_modules/govuk-frontend/dist/govuk/index.scss.map +1 -0
  448. data/node_modules/govuk-frontend/dist/govuk/init.mjs +100 -0
  449. data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -0
  450. data/node_modules/govuk-frontend/dist/govuk/macros/attributes.njk +94 -0
  451. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +8 -6
  452. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +1 -1
  453. data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss +8 -0
  454. data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss.map +1 -0
  455. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +7 -5
  456. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +1 -1
  457. data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss +7 -0
  458. data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss.map +1 -0
  459. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +10 -0
  460. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -1
  461. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +8 -21
  462. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +1 -1
  463. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +235 -9
  464. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -1
  465. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +23 -0
  466. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -0
  467. data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss +1 -1
  468. data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss.map +1 -1
  469. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +1 -1
  470. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -1
  471. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +172 -13
  472. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -1
  473. data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss +8 -3
  474. data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss.map +1 -1
  475. data/node_modules/govuk-frontend/dist/govuk/template.njk +3 -2
  476. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +8 -5
  477. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +1 -1
  478. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +7 -0
  479. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -0
  480. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +8 -2
  481. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +1 -1
  482. data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss +4 -0
  483. data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss.map +1 -0
  484. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +5 -1
  485. data/node_modules/govuk-frontend/package.json +16 -15
  486. metadata +54 -2
  487. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-tudor-crown.html +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8860ec77d1ec938f607ec8248aa9a516196c2e4763d62a8bab7bbc8e2e720ae9
4
- data.tar.gz: b2cde9ac80b27e106b1d43b45890a5dad01b12b58820910c5ad8774a2d0bca5d
3
+ metadata.gz: 4eaf865f8e1da8a61826e6e1cf6c23b38d1cf13c84521e944aeb59bd97d30017
4
+ data.tar.gz: 60b5b5106da9f913344518bb9b46323f4f56f2bef19bbdb1b509c76b70c76b94
5
5
  SHA512:
6
- metadata.gz: 8c7e1abf08f45f1c6eedd98c85b7dbb7dba651f3cd849f45c98884e5aac3d432cdd255d49841109383d5445dc2514b7c839878344e9c29307f1f21a048cd0605
7
- data.tar.gz: 13d9d6839e9c9cc97034e88a88fbdfca8053d883a301d9927e97ee12f9cc14a13f6edb2ec76e69b46caecad228b5c476adf85856362790c0fe905e8bd4e0b26e
6
+ metadata.gz: d2f16751b90b94d6114ddd563151f0e2f6dde413c874d01cd21abc05c4d4a311fd3f9469b254dad753ee121cdc48f0110194cb124a7d2ebfe60d1b46c4f3df2b
7
+ data.tar.gz: 063d19de73b1cc5acc2139164a47a76e2a7541b7965159e24559b7d20a5393aed7759ae4d7e10a6e3e2498a31b246ed38c6246c6b0089322d3b243c5c0bb4569
@@ -5,7 +5,7 @@
5
5
  @import "govuk_publishing_components/component_support";
6
6
 
7
7
  // Include all govuk frontend components
8
- @import "govuk/components/all";
8
+ @import "govuk/components/index";
9
9
 
10
10
  // components
11
11
  @import "components/accordion";
@@ -1,10 +1,10 @@
1
1
  // This file should be included in an application prior to specific components
2
2
  // It provides supporting gem component helpers and mixins
3
3
  // and everything else from govuk-frontend not included in govuk_frontend_support
4
- @import "govuk/core/all";
5
- @import "govuk/objects/all";
6
- @import "govuk/utilities/all";
7
- @import "govuk/overrides/all";
4
+ @import "govuk/core/index";
5
+ @import "govuk/objects/index";
6
+ @import "govuk/utilities/index";
7
+ @import "govuk/overrides/index";
8
8
 
9
9
  @import "govuk_publishing_components/components/helpers/brand-colours";
10
10
  @import "govuk_publishing_components/components/helpers/link";
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  .govuk-breadcrumbs__list-item::before {
44
- top: 18px;
44
+ top: 20px;
45
45
  }
46
46
 
47
47
  .govuk-breadcrumbs__link::after {
@@ -69,7 +69,8 @@
69
69
  table.financial-data {
70
70
  .numeric {
71
71
  text-align: right;
72
- @include govuk-font(16, $weight: regular, $tabular: true);
72
+ @include govuk-font-tabular-numbers;
73
+ @include govuk-font(16, $weight: regular);
73
74
  }
74
75
 
75
76
  // make all elements inside thead look the same
@@ -82,10 +83,11 @@
82
83
 
83
84
  thead th,
84
85
  thead td {
85
- @include govuk-font(16, $weight: bold, $tabular: true);
86
+ @include govuk-font-tabular-numbers;
87
+ @include govuk-font(16, $weight: bold);
86
88
 
87
89
  &.numeric {
88
- @include govuk-font(16, $weight: bold, $tabular: true);
90
+ @include govuk-font(16, $weight: bold);
89
91
  }
90
92
  }
91
93
 
@@ -1 +1 @@
1
- // uses govuk/all
1
+ // uses govuk/index
@@ -73,8 +73,8 @@ $large-input-size: 50px;
73
73
  .gem-c-search__input[type="search"] { // overly specific to prevent some overrides from outside
74
74
  margin: 0;
75
75
  width: 100%;
76
- height: govuk-em(40, 16);
77
- padding: govuk-em(6, 16);
76
+ height: govuk-em(40, 19);
77
+ padding: govuk-em(6, 19);
78
78
  border: $govuk-border-width-form-element solid $govuk-input-border-colour;
79
79
  background: govuk-colour("white");
80
80
  border-radius: 0; // otherwise iphones apply an automatic border radius
@@ -84,11 +84,6 @@ $large-input-size: 50px;
84
84
  appearance: none;
85
85
  @include govuk-font($size: 19, $line-height: calc(28 / 19));
86
86
 
87
- @include govuk-media-query($from: tablet) {
88
- height: govuk-em(40, 19);
89
- padding: govuk-em(6, 19);
90
- }
91
-
92
87
  // the .focus class is added by JS and ensures that the input remains above the label once clicked/filled in
93
88
  &:focus,
94
89
  &.focus {
@@ -20,7 +20,7 @@
20
20
  // element as required by the heading component, adds 2KB to the CSS
21
21
  &.brand__border-color,
22
22
  .brand__border-color {
23
- border-color: govuk-organisation-colour($organisation, $websafe: false);
23
+ border-color: govuk-organisation-colour($organisation, $contrast-safe: false);
24
24
  }
25
25
  }
26
26
  }
@@ -49,7 +49,7 @@
49
49
 
50
50
  &.brand__border-color,
51
51
  .brand__border-color {
52
- border-color: govuk-organisation-colour("office-of-the-leader-of-the-house-of-commons", $websafe: false);
52
+ border-color: govuk-organisation-colour("office-of-the-leader-of-the-house-of-commons", $contrast-safe: false);
53
53
  }
54
54
  }
55
55
  // colours for the prime ministers office are not included in the toolkit
@@ -120,3 +120,25 @@
120
120
  border-color: #00625e;
121
121
  }
122
122
  }
123
+
124
+ .brand--department-for-business-and-trade {
125
+ .brand__color {
126
+ color: #cf102d;
127
+
128
+ &:link,
129
+ &:visited,
130
+ &:active {
131
+ color: #cf102d;
132
+ }
133
+
134
+ &:hover,
135
+ &:focus {
136
+ color: $govuk-focus-text-colour;
137
+ }
138
+ }
139
+
140
+ &.brand__border-color,
141
+ .brand__border-color {
142
+ border-color: #cf102d;
143
+ }
144
+ }
@@ -13,3 +13,5 @@
13
13
 
14
14
  $govuk-image-url-function: "app-image-url";
15
15
  $govuk-font-url-function: "app-font-url";
16
+ $govuk-new-typography-scale: true;
17
+ $govuk-new-organisation-colours: true;
@@ -15,6 +15,7 @@
15
15
 
16
16
  component_helper = GovukPublishingComponents::Presenters::ComponentWrapperHelper.new(local_assigns)
17
17
  component_helper.add_class(classes.join(" "))
18
+ component_helper.add_aria_attribute({ label: "Breadcrumb" })
18
19
  component_helper.add_data_attribute({ module: "ga4-link-tracker" })
19
20
  %>
20
21
 
@@ -22,7 +23,7 @@
22
23
  <%= raw JSON.pretty_generate(breadcrumb_presenter.structured_data) %>
23
24
  </script>
24
25
 
25
- <%= tag.div(**component_helper.all_attributes) do %>
26
+ <%= tag.nav(**component_helper.all_attributes) do %>
26
27
  <ol class="govuk-breadcrumbs__list">
27
28
  <% breadcrumbs.each_with_index do |crumb, index| %>
28
29
  <% breadcrumb = GovukPublishingComponents::Presenters::Breadcrumb.new(crumb, index) %>
@@ -46,7 +46,7 @@ examples:
46
46
  organisation:
47
47
  name: 'Department for<br>Business &amp; Trade'
48
48
  url: '/government/organisations/department-for-business-and-trade'
49
- brand: 'department-for-business-and-trade'
49
+ brand: 'department-for-business-trade'
50
50
  crest: 'dbt'
51
51
  executive_office:
52
52
  data:
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "42.1.0".freeze
2
+ VERSION = "43.0.0".freeze
3
3
  end
@@ -1,5 +1,5 @@
1
- @import "settings/all";
2
- @import "tools/all";
3
- @import "helpers/all";
1
+ @import "settings/index";
2
+ @import "tools/index";
3
+ @import "helpers/index";
4
4
 
5
5
  /*# sourceMappingURL=_base.scss.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/govuk/_base.scss"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,mBAAmB;AACnB,qBAAqB","file":"_base.scss","sourcesContent":["@import \"settings/all\";\n@import \"tools/all\";\n@import \"helpers/all\";\n"]}
1
+ {"version":3,"sources":["../../src/govuk/_base.scss"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,qBAAqB;AACrB,uBAAuB","file":"_base.scss","sourcesContent":["@import \"settings/index\";\n@import \"tools/index\";\n@import \"helpers/index\";\n"]}