govuk_tech_docs 6.6.0.rc.local.tested → 6.6.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 (675) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -4
  3. data/Rakefile +3 -3
  4. data/govuk_tech_docs.gemspec +82 -24
  5. data/lib/govuk_tech_docs/version.rb +1 -1
  6. data/lib/tasks/lint.rake +24 -30
  7. data/node_modules/.bin/nunjucks-precompile +1 -0
  8. data/node_modules/.package-lock.json +62 -0
  9. data/{documentation → node_modules/a-sync-waterfall}/LICENSE +8 -8
  10. data/node_modules/a-sync-waterfall/README.md +95 -0
  11. data/node_modules/a-sync-waterfall/index.js +83 -0
  12. data/node_modules/a-sync-waterfall/package.json +21 -0
  13. data/node_modules/a-sync-waterfall/test.js +77 -0
  14. data/node_modules/asap/CHANGES.md +70 -0
  15. data/node_modules/asap/LICENSE.md +21 -0
  16. data/node_modules/asap/README.md +237 -0
  17. data/node_modules/asap/asap.js +65 -0
  18. data/node_modules/asap/browser-asap.js +66 -0
  19. data/node_modules/asap/browser-raw.js +223 -0
  20. data/node_modules/asap/package.json +58 -0
  21. data/node_modules/asap/raw.js +101 -0
  22. data/node_modules/commander/CHANGELOG.md +385 -0
  23. data/node_modules/commander/LICENSE +22 -0
  24. data/node_modules/commander/Readme.md +737 -0
  25. data/node_modules/commander/index.js +1756 -0
  26. data/node_modules/commander/package.json +48 -0
  27. data/node_modules/commander/typings/index.d.ts +386 -0
  28. data/node_modules/govuk-frontend/README.md +92 -0
  29. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -0
  30. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -0
  31. data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -0
  32. data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs.map +1 -0
  33. data/node_modules/govuk-frontend/dist/govuk/common/configuration.mjs.map +1 -0
  34. data/node_modules/govuk-frontend/dist/govuk/common/create-element.mjs.map +1 -0
  35. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs.map +1 -0
  36. data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -0
  37. data/node_modules/govuk-frontend/dist/govuk/component.mjs.map +1 -0
  38. data/node_modules/govuk-frontend/dist/govuk/components/accordion/README.md +15 -0
  39. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -0
  40. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -0
  41. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs.map +1 -0
  42. data/node_modules/govuk-frontend/dist/govuk/components/accordion/fixtures.json +377 -0
  43. data/node_modules/govuk-frontend/dist/govuk/components/accordion/macro-options.json +142 -0
  44. data/node_modules/govuk-frontend/dist/govuk/components/accordion/macro.njk +3 -0
  45. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-default.html +30 -0
  46. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-additional-descriptions.html +39 -0
  47. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-all-sections-already-open.html +30 -0
  48. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-long-content-and-description.html +36 -0
  49. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template.njk +67 -0
  50. data/node_modules/govuk-frontend/dist/govuk/components/back-link/README.md +15 -0
  51. data/node_modules/govuk-frontend/dist/govuk/components/back-link/fixtures.json +86 -0
  52. data/node_modules/govuk-frontend/dist/govuk/components/back-link/macro-options.json +32 -0
  53. data/node_modules/govuk-frontend/dist/govuk/components/back-link/macro.njk +3 -0
  54. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-default.html +1 -0
  55. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-inverse.html +1 -0
  56. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template.njk +6 -0
  57. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/README.md +15 -0
  58. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/fixtures.json +258 -0
  59. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro-options.json +58 -0
  60. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro.njk +3 -0
  61. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-default.html +16 -0
  62. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-inverse.html +11 -0
  63. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-collapse-on-mobile.html +13 -0
  64. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-last-breadcrumb-as-current-page.html +11 -0
  65. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-one-level.html +7 -0
  66. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-without-the-home-section.html +10 -0
  67. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template.njk +30 -0
  68. data/node_modules/govuk-frontend/dist/govuk/components/button/README.md +15 -0
  69. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js.map +1 -0
  70. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -0
  71. data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs.map +1 -0
  72. data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +496 -0
  73. data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +74 -0
  74. data/node_modules/govuk-frontend/dist/govuk/components/button/macro.njk +3 -0
  75. data/node_modules/govuk-frontend/dist/govuk/components/button/template-default-active-state.html +3 -0
  76. data/node_modules/govuk-frontend/dist/govuk/components/button/template-default-focus-state.html +3 -0
  77. data/node_modules/govuk-frontend/dist/govuk/components/button/template-default-hover-state.html +3 -0
  78. data/node_modules/govuk-frontend/dist/govuk/components/button/template-default.html +3 -0
  79. data/node_modules/govuk-frontend/dist/govuk/components/button/template-disabled.html +3 -0
  80. data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-active-state.html +3 -0
  81. data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-disabled.html +3 -0
  82. data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-focus-state.html +3 -0
  83. data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse-hover-state.html +3 -0
  84. data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse.html +3 -0
  85. data/node_modules/govuk-frontend/dist/govuk/components/button/template-link.html +3 -0
  86. data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-active-state.html +3 -0
  87. data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-disabled.html +3 -0
  88. data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-focus-state.html +3 -0
  89. data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary-hover-state.html +3 -0
  90. data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary.html +3 -0
  91. data/node_modules/govuk-frontend/dist/govuk/components/button/template-start.html +6 -0
  92. data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-active-state.html +3 -0
  93. data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-disabled.html +3 -0
  94. data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-focus-state.html +3 -0
  95. data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning-hover-state.html +3 -0
  96. data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning.html +3 -0
  97. data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +58 -0
  98. data/node_modules/govuk-frontend/dist/govuk/components/character-count/README.md +15 -0
  99. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -0
  100. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -0
  101. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -0
  102. data/node_modules/govuk-frontend/dist/govuk/components/character-count/fixtures.json +630 -0
  103. data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro-options.json +206 -0
  104. data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro.njk +3 -0
  105. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-default.html +9 -0
  106. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-characters-and-error-message.html +12 -0
  107. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-characters-and-threshold.html +9 -0
  108. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-characters-and-value.html +9 -0
  109. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-characters.html +9 -0
  110. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-length.html +9 -0
  111. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-words-and-error-message.html +12 -0
  112. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-words-and-threshold.html +9 -0
  113. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-words-and-value.html +9 -0
  114. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-count-type-words.html +9 -0
  115. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-rows.html +9 -0
  116. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value-exceeding-limit.html +15 -0
  117. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value.html +12 -0
  118. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint-and-error.html +15 -0
  119. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint.html +12 -0
  120. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-label-as-page-heading.html +11 -0
  121. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-maxwords.html +9 -0
  122. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-threshold.html +9 -0
  123. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template.njk +128 -0
  124. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/README.md +15 -0
  125. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js.map +1 -0
  126. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs.map +1 -0
  127. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs.map +1 -0
  128. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +1344 -0
  129. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +229 -0
  130. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro.njk +3 -0
  131. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +27 -0
  132. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +25 -0
  133. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-divider-and-none.html +34 -0
  134. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-error.html +30 -0
  135. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +30 -0
  136. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +27 -0
  137. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +27 -0
  138. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +39 -0
  139. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +34 -0
  140. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +44 -0
  141. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +39 -0
  142. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hint.html +30 -0
  143. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +27 -0
  144. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +32 -0
  145. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +40 -0
  146. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +39 -0
  147. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +30 -0
  148. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +122 -0
  149. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/README.md +15 -0
  150. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +543 -0
  151. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/macro-options.json +132 -0
  152. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/macro.njk +3 -0
  153. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-accepted-confirmation-banner.html +19 -0
  154. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +26 -0
  155. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-rejected-confirmation-banner.html +19 -0
  156. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +27 -0
  157. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template.njk +57 -0
  158. data/node_modules/govuk-frontend/dist/govuk/components/date-input/README.md +15 -0
  159. data/node_modules/govuk-frontend/dist/govuk/components/date-input/fixtures.json +1314 -0
  160. data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro-options.json +213 -0
  161. data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro.njk +3 -0
  162. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-day-and-month-using-items.html +28 -0
  163. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-day-and-month.html +28 -0
  164. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-default.html +36 -0
  165. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-month-and-year-using-items.html +28 -0
  166. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-month-and-year.html +28 -0
  167. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-message-and-hint-using-items.html +39 -0
  168. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-message-and-hint.html +39 -0
  169. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-day-input-using-items.html +39 -0
  170. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-day-input.html +39 -0
  171. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-month-input-using-items.html +39 -0
  172. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-month-input.html +39 -0
  173. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-year-input-using-items.html +39 -0
  174. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-year-input.html +39 -0
  175. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only-using-classes.html +33 -0
  176. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only-using-items-and-classes.html +33 -0
  177. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only-using-items.html +33 -0
  178. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only.html +33 -0
  179. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-items.html +36 -0
  180. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-translations.html +36 -0
  181. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-values-and-name-prefix.html +36 -0
  182. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-values-name-prefix-and-custom-names.html +36 -0
  183. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-values.html +36 -0
  184. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template.njk +161 -0
  185. data/node_modules/govuk-frontend/dist/govuk/components/details/README.md +15 -0
  186. data/node_modules/govuk-frontend/dist/govuk/components/details/fixtures.json +133 -0
  187. data/node_modules/govuk-frontend/dist/govuk/components/details/implementation.md +87 -0
  188. data/node_modules/govuk-frontend/dist/govuk/components/details/macro-options.json +56 -0
  189. data/node_modules/govuk-frontend/dist/govuk/components/details/macro.njk +3 -0
  190. data/node_modules/govuk-frontend/dist/govuk/components/details/template-default.html +10 -0
  191. data/node_modules/govuk-frontend/dist/govuk/components/details/template-expanded.html +10 -0
  192. data/node_modules/govuk-frontend/dist/govuk/components/details/template-with-html.html +18 -0
  193. data/node_modules/govuk-frontend/dist/govuk/components/details/template.njk +14 -0
  194. data/node_modules/govuk-frontend/dist/govuk/components/error-message/README.md +15 -0
  195. data/node_modules/govuk-frontend/dist/govuk/components/error-message/fixtures.json +113 -0
  196. data/node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json +38 -0
  197. data/node_modules/govuk-frontend/dist/govuk/components/error-message/macro.njk +3 -0
  198. data/node_modules/govuk-frontend/dist/govuk/components/error-message/template-default.html +3 -0
  199. data/node_modules/govuk-frontend/dist/govuk/components/error-message/template-translated.html +3 -0
  200. data/node_modules/govuk-frontend/dist/govuk/components/error-message/template.njk +13 -0
  201. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/README.md +15 -0
  202. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js.map +1 -0
  203. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs.map +1 -0
  204. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs.map +1 -0
  205. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/fixtures.json +326 -0
  206. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro-options.json +82 -0
  207. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro.njk +3 -0
  208. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-default.html +17 -0
  209. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-mixed-with-and-without-links.html +17 -0
  210. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-description-only.html +12 -0
  211. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-everything.html +20 -0
  212. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-without-links.html +14 -0
  213. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template.njk +37 -0
  214. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/README.md +15 -0
  215. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -0
  216. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -0
  217. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs.map +1 -0
  218. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/fixtures.json +62 -0
  219. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/macro-options.json +62 -0
  220. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/macro.njk +3 -0
  221. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template-default.html +5 -0
  222. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template.njk +25 -0
  223. data/node_modules/govuk-frontend/dist/govuk/components/feedback/README.md +15 -0
  224. data/node_modules/govuk-frontend/dist/govuk/components/feedback/fixtures.json +95 -0
  225. data/node_modules/govuk-frontend/dist/govuk/components/feedback/macro-options.json +50 -0
  226. data/node_modules/govuk-frontend/dist/govuk/components/feedback/macro.njk +3 -0
  227. data/node_modules/govuk-frontend/dist/govuk/components/feedback/template-default.html +12 -0
  228. data/node_modules/govuk-frontend/dist/govuk/components/feedback/template-silly-example.html +19 -0
  229. data/node_modules/govuk-frontend/dist/govuk/components/feedback/template.njk +24 -0
  230. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/README.md +15 -0
  231. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/fixtures.json +260 -0
  232. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/macro-options.json +70 -0
  233. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/macro.njk +3 -0
  234. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-l.html +7 -0
  235. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-m.html +7 -0
  236. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-s.html +7 -0
  237. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-without-class.html +7 -0
  238. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-xl.html +7 -0
  239. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-default.html +5 -0
  240. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-large-text.html +5 -0
  241. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-medium-text.html +5 -0
  242. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-small-text.html +5 -0
  243. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-xl-text.html +5 -0
  244. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template.njk +24 -0
  245. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/README.md +15 -0
  246. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -0
  247. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -0
  248. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs.map +1 -0
  249. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +416 -0
  250. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +179 -0
  251. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro.njk +3 -0
  252. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-default.html +6 -0
  253. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-custom-wrapper-classes-and-attributes.html +11 -0
  254. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-multiple-files.html +11 -0
  255. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-with-error-message-and-hint.html +17 -0
  256. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced.html +11 -0
  257. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-translated.html +11 -0
  258. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-error-message-and-hint.html +12 -0
  259. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-hint-text.html +9 -0
  260. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-label-as-page-heading.html +8 -0
  261. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +90 -0
  262. data/node_modules/govuk-frontend/dist/govuk/components/footer/README.md +15 -0
  263. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +773 -0
  264. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +164 -0
  265. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro.njk +3 -0
  266. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +59 -0
  267. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +233 -0
  268. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +167 -0
  269. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +54 -0
  270. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +63 -0
  271. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +54 -0
  272. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +97 -0
  273. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +97 -0
  274. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +105 -0
  275. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +117 -0
  276. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-no-content-licence.html +37 -0
  277. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-custom-meta.html +41 -0
  278. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-only-meta-links.html +80 -0
  279. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +104 -0
  280. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/README.md +15 -0
  281. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/fixtures.json +90 -0
  282. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/macro-options.json +38 -0
  283. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/macro.njk +3 -0
  284. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-default.html +11 -0
  285. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-full-width.html +20 -0
  286. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-with-image-logo.html +20 -0
  287. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template-with-text-and-image-logo.html +20 -0
  288. data/node_modules/govuk-frontend/dist/govuk/components/generic-header/template.njk +14 -0
  289. data/node_modules/govuk-frontend/dist/govuk/components/header/README.md +15 -0
  290. data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +73 -0
  291. data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +32 -0
  292. data/node_modules/govuk-frontend/dist/govuk/components/header/macro.njk +3 -0
  293. data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +34 -0
  294. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +34 -0
  295. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +34 -0
  296. data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +23 -0
  297. data/node_modules/govuk-frontend/dist/govuk/components/hint/README.md +15 -0
  298. data/node_modules/govuk-frontend/dist/govuk/components/hint/fixtures.json +77 -0
  299. data/node_modules/govuk-frontend/dist/govuk/components/hint/macro-options.json +32 -0
  300. data/node_modules/govuk-frontend/dist/govuk/components/hint/macro.njk +3 -0
  301. data/node_modules/govuk-frontend/dist/govuk/components/hint/template-default.html +5 -0
  302. data/node_modules/govuk-frontend/dist/govuk/components/hint/template-with-html.html +4 -0
  303. data/node_modules/govuk-frontend/dist/govuk/components/hint/template.njk +6 -0
  304. data/node_modules/govuk-frontend/dist/govuk/components/input/README.md +15 -0
  305. data/node_modules/govuk-frontend/dist/govuk/components/input/fixtures.json +832 -0
  306. data/node_modules/govuk-frontend/dist/govuk/components/input/macro-options.json +245 -0
  307. data/node_modules/govuk-frontend/dist/govuk/components/input/macro.njk +3 -0
  308. data/node_modules/govuk-frontend/dist/govuk/components/input/template-default.html +6 -0
  309. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-and-hint.html +12 -0
  310. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-message.html +9 -0
  311. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-extra-letter-spacing.html +6 -0
  312. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-hint-text.html +9 -0
  313. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-label-as-page-heading.html +8 -0
  314. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix-and-error.html +13 -0
  315. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix-and-width-modifier.html +10 -0
  316. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix.html +10 -0
  317. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix.html +9 -0
  318. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-suffix.html +9 -0
  319. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-10-class.html +9 -0
  320. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-2-class.html +9 -0
  321. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-20-class.html +9 -0
  322. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-3-class.html +9 -0
  323. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-30-class.html +9 -0
  324. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-4-class.html +9 -0
  325. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-5-class.html +9 -0
  326. data/node_modules/govuk-frontend/dist/govuk/components/input/template.njk +133 -0
  327. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/README.md +15 -0
  328. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/fixtures.json +76 -0
  329. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/macro-options.json +38 -0
  330. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/macro.njk +3 -0
  331. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-default.html +3 -0
  332. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-with-html.html +11 -0
  333. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template.njk +6 -0
  334. data/node_modules/govuk-frontend/dist/govuk/components/label/README.md +15 -0
  335. data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +210 -0
  336. data/node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json +38 -0
  337. data/node_modules/govuk-frontend/dist/govuk/components/label/macro.njk +3 -0
  338. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-l.html +5 -0
  339. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-m.html +5 -0
  340. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-s.html +5 -0
  341. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-without-class.html +5 -0
  342. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-xl.html +5 -0
  343. data/node_modules/govuk-frontend/dist/govuk/components/label/template-default.html +3 -0
  344. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-large-text.html +3 -0
  345. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-medium-text.html +3 -0
  346. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-small-text.html +3 -0
  347. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-xl-text.html +3 -0
  348. data/node_modules/govuk-frontend/dist/govuk/components/label/template-with-bold-text.html +3 -0
  349. data/node_modules/govuk-frontend/dist/govuk/components/label/template.njk +19 -0
  350. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/README.md +15 -0
  351. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/fixtures.json +482 -0
  352. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/macro-options.json +88 -0
  353. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/macro.njk +3 -0
  354. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template-default.html +12 -0
  355. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template-inverse.html +12 -0
  356. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template-with-language-description.html +12 -0
  357. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template-with-large-amount-of-multiple-languages.html +99 -0
  358. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template-with-mixed-text-directions.html +12 -0
  359. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template-with-multiple-languages.html +24 -0
  360. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template-with-translated-navigation-label.html +12 -0
  361. data/node_modules/govuk-frontend/dist/govuk/components/language-navigation/template.njk +33 -0
  362. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/README.md +15 -0
  363. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/fixtures.json +260 -0
  364. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/macro-options.json +74 -0
  365. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/macro.njk +3 -0
  366. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js.map +1 -0
  367. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs.map +1 -0
  368. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs.map +1 -0
  369. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-default.html +12 -0
  370. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-long-heading.html +12 -0
  371. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-lots-of-content.html +19 -0
  372. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-text-as-html.html +21 -0
  373. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-type-as-success.html +12 -0
  374. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template.njk +49 -0
  375. data/node_modules/govuk-frontend/dist/govuk/components/pagination/README.md +15 -0
  376. data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +415 -0
  377. data/node_modules/govuk-frontend/dist/govuk/components/pagination/macro-options.json +140 -0
  378. data/node_modules/govuk-frontend/dist/govuk/components/pagination/macro.njk +3 -0
  379. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +39 -0
  380. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +29 -0
  381. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +29 -0
  382. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +39 -0
  383. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +65 -0
  384. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-next-only.html +12 -0
  385. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-labels.html +26 -0
  386. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-very-long-labels.html +26 -0
  387. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only.html +22 -0
  388. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-previous-only.html +12 -0
  389. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +87 -0
  390. data/node_modules/govuk-frontend/dist/govuk/components/panel/README.md +15 -0
  391. data/node_modules/govuk-frontend/dist/govuk/components/panel/fixtures.json +353 -0
  392. data/node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json +108 -0
  393. data/node_modules/govuk-frontend/dist/govuk/components/panel/macro.njk +3 -0
  394. data/node_modules/govuk-frontend/dist/govuk/components/panel/template-default.html +8 -0
  395. data/node_modules/govuk-frontend/dist/govuk/components/panel/template-interruption-with-content-with-long-line-length.html +17 -0
  396. data/node_modules/govuk-frontend/dist/govuk/components/panel/template-interruption-with-headings-content-and-lists.html +23 -0
  397. data/node_modules/govuk-frontend/dist/govuk/components/panel/template-interruption.html +14 -0
  398. data/node_modules/govuk-frontend/dist/govuk/components/panel/template.njk +56 -0
  399. data/node_modules/govuk-frontend/dist/govuk/components/password-input/fixtures.json +215 -0
  400. data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro-options.json +181 -0
  401. data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro.njk +3 -0
  402. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -0
  403. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -0
  404. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs.map +1 -0
  405. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-default.html +11 -0
  406. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-error-message.html +17 -0
  407. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-hint-text.html +14 -0
  408. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-input-width-class.html +11 -0
  409. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-label-as-page-heading.html +13 -0
  410. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template.njk +93 -0
  411. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/README.md +15 -0
  412. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +97 -0
  413. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/macro-options.json +33 -0
  414. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/macro.njk +3 -0
  415. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +10 -0
  416. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +17 -0
  417. data/node_modules/govuk-frontend/dist/govuk/components/radios/README.md +15 -0
  418. data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +1339 -0
  419. data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +211 -0
  420. data/node_modules/govuk-frontend/dist/govuk/components/radios/macro.njk +3 -0
  421. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js.map +1 -0
  422. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs.map +1 -0
  423. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs.map +1 -0
  424. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +21 -0
  425. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +24 -0
  426. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +27 -0
  427. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +28 -0
  428. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +31 -0
  429. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +30 -0
  430. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +30 -0
  431. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +27 -0
  432. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +27 -0
  433. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +28 -0
  434. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +39 -0
  435. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +39 -0
  436. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +39 -0
  437. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +24 -0
  438. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hint.html +24 -0
  439. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hints-on-items.html +29 -0
  440. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +26 -0
  441. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +40 -0
  442. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +33 -0
  443. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-without-fieldset.html +22 -0
  444. data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +115 -0
  445. data/node_modules/govuk-frontend/dist/govuk/components/select/README.md +15 -0
  446. data/node_modules/govuk-frontend/dist/govuk/components/select/fixtures.json +550 -0
  447. data/node_modules/govuk-frontend/dist/govuk/components/select/macro-options.json +163 -0
  448. data/node_modules/govuk-frontend/dist/govuk/components/select/macro.njk +3 -0
  449. data/node_modules/govuk-frontend/dist/govuk/components/select/template-default.html +10 -0
  450. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-full-width-override.html +10 -0
  451. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-hint-text-and-error-message.html +16 -0
  452. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-label-as-page-heading.html +12 -0
  453. data/node_modules/govuk-frontend/dist/govuk/components/select/template.njk +68 -0
  454. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/README.md +15 -0
  455. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +777 -0
  456. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro-options.json +164 -0
  457. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro.njk +3 -0
  458. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -0
  459. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -0
  460. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map +1 -0
  461. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html +57 -0
  462. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-inverse-with-language-navigation.html +72 -0
  463. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-inverse.html +63 -0
  464. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item-and-collapsenavigationonmobile-set-to-true.html +38 -0
  465. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item.html +35 -0
  466. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-collapsenavigationonmobile-set-to-false.html +60 -0
  467. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-html-navigation-items.html +49 -0
  468. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-inline-end-slot.html +33 -0
  469. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-language-navigation.html +62 -0
  470. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-large-navigation.html +153 -0
  471. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-long-service-name.html +20 -0
  472. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-a-current-item.html +58 -0
  473. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-non-link-navigation-items.html +49 -0
  474. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-right-aligned-language-navigation.html +62 -0
  475. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-link.html +20 -0
  476. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name-and-navigation.html +63 -0
  477. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name.html +18 -0
  478. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +111 -0
  479. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/README.md +15 -0
  480. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/fixtures.json +113 -0
  481. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/macro-options.json +32 -0
  482. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/macro.njk +3 -0
  483. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js.map +1 -0
  484. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs.map +1 -0
  485. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs.map +1 -0
  486. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template-default.html +1 -0
  487. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template-with-focus.html +1 -0
  488. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template.njk +6 -0
  489. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/README.md +15 -0
  490. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/fixtures.json +1528 -0
  491. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/macro-options.json +248 -0
  492. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/macro.njk +3 -0
  493. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-extreme.html +106 -0
  494. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-html-header.html +28 -0
  495. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-text-header.html +28 -0
  496. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions-plus-summary-list-actions.html +49 -0
  497. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions.html +36 -0
  498. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-default.html +35 -0
  499. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-extreme.html +261 -0
  500. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border-on-last-row.html +35 -0
  501. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border.html +35 -0
  502. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-actions.html +58 -0
  503. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template.njk +94 -0
  504. data/node_modules/govuk-frontend/dist/govuk/components/table/README.md +15 -0
  505. data/node_modules/govuk-frontend/dist/govuk/components/table/fixtures.json +651 -0
  506. data/node_modules/govuk-frontend/dist/govuk/components/table/macro-options.json +132 -0
  507. data/node_modules/govuk-frontend/dist/govuk/components/table/macro.njk +3 -0
  508. data/node_modules/govuk-frontend/dist/govuk/components/table/template-default.html +19 -0
  509. data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-head-and-caption.html +27 -0
  510. data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-head.html +26 -0
  511. data/node_modules/govuk-frontend/dist/govuk/components/table/template.njk +57 -0
  512. data/node_modules/govuk-frontend/dist/govuk/components/tabs/README.md +15 -0
  513. data/node_modules/govuk-frontend/dist/govuk/components/tabs/fixtures.json +333 -0
  514. data/node_modules/govuk-frontend/dist/govuk/components/tabs/macro-options.json +84 -0
  515. data/node_modules/govuk-frontend/dist/govuk/components/tabs/macro.njk +3 -0
  516. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js.map +1 -0
  517. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -0
  518. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs.map +1 -0
  519. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-default.html +117 -0
  520. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-tabs-with-anchor-in-panel.html +26 -0
  521. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template.njk +48 -0
  522. data/node_modules/govuk-frontend/dist/govuk/components/tag/README.md +15 -0
  523. data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +149 -0
  524. data/node_modules/govuk-frontend/dist/govuk/components/tag/macro-options.json +26 -0
  525. data/node_modules/govuk-frontend/dist/govuk/components/tag/macro.njk +3 -0
  526. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-default.html +3 -0
  527. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-green.html +3 -0
  528. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-grey.html +3 -0
  529. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-orange.html +3 -0
  530. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +3 -0
  531. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-purple.html +3 -0
  532. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-red.html +3 -0
  533. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +3 -0
  534. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-yellow.html +3 -0
  535. data/node_modules/govuk-frontend/dist/govuk/components/tag/template.njk +6 -0
  536. data/node_modules/govuk-frontend/dist/govuk/components/task-list/README.md +15 -0
  537. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +563 -0
  538. data/node_modules/govuk-frontend/dist/govuk/components/task-list/macro-options.json +119 -0
  539. data/node_modules/govuk-frontend/dist/govuk/components/task-list/macro.njk +3 -0
  540. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-default.html +37 -0
  541. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-forced-hover-state.html +37 -0
  542. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +131 -0
  543. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-empty-values.html +27 -0
  544. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +77 -0
  545. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-very-long-single-word-tags.html +37 -0
  546. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template.njk +41 -0
  547. data/node_modules/govuk-frontend/dist/govuk/components/textarea/README.md +15 -0
  548. data/node_modules/govuk-frontend/dist/govuk/components/textarea/fixtures.json +316 -0
  549. data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro-options.json +143 -0
  550. data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro.njk +3 -0
  551. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-default.html +6 -0
  552. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-custom-rows.html +6 -0
  553. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-default-value.html +9 -0
  554. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-error-message.html +9 -0
  555. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-hint.html +9 -0
  556. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-label-as-page-heading.html +8 -0
  557. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template.njk +56 -0
  558. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/README.md +15 -0
  559. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/fixtures.json +101 -0
  560. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json +32 -0
  561. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/macro.njk +3 -0
  562. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template-default.html +7 -0
  563. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template-multiple-lines.html +7 -0
  564. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template.njk +10 -0
  565. data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs.map +1 -0
  566. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +3 -0
  567. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -0
  568. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -0
  569. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -0
  570. data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -0
  571. data/node_modules/govuk-frontend/dist/govuk/macros/attributes.njk +110 -0
  572. data/node_modules/govuk-frontend/dist/govuk/macros/i18n.njk +21 -0
  573. data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +56 -0
  574. data/node_modules/govuk-frontend/dist/govuk/template.njk +107 -0
  575. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +188 -0
  576. data/node_modules/govuk-frontend/package.json +99 -0
  577. data/node_modules/nunjucks/LICENSE +26 -0
  578. data/node_modules/nunjucks/README.md +58 -0
  579. data/node_modules/nunjucks/bin/precompile +58 -0
  580. data/node_modules/nunjucks/bin/precompile.cmd +5 -0
  581. data/node_modules/nunjucks/browser/nunjucks-slim.js +3709 -0
  582. data/node_modules/nunjucks/browser/nunjucks-slim.js.map +1 -0
  583. data/node_modules/nunjucks/browser/nunjucks-slim.min.js +3 -0
  584. data/node_modules/nunjucks/browser/nunjucks-slim.min.js.map +1 -0
  585. data/node_modules/nunjucks/browser/nunjucks.js +7021 -0
  586. data/node_modules/nunjucks/browser/nunjucks.js.map +1 -0
  587. data/node_modules/nunjucks/browser/nunjucks.min.js +3 -0
  588. data/node_modules/nunjucks/browser/nunjucks.min.js.map +1 -0
  589. data/node_modules/nunjucks/index.js +82 -0
  590. data/node_modules/nunjucks/package.json +112 -0
  591. data/node_modules/nunjucks/src/compiler.js +1027 -0
  592. data/node_modules/nunjucks/src/environment.js +548 -0
  593. data/node_modules/nunjucks/src/express-app.js +23 -0
  594. data/node_modules/nunjucks/src/filters.js +546 -0
  595. data/node_modules/nunjucks/src/globals.js +65 -0
  596. data/node_modules/nunjucks/src/jinja-compat.js +293 -0
  597. data/node_modules/nunjucks/src/lexer.js +474 -0
  598. data/node_modules/nunjucks/src/lib.js +325 -0
  599. data/node_modules/nunjucks/src/loader.js +21 -0
  600. data/node_modules/nunjucks/src/loaders.js +5 -0
  601. data/node_modules/nunjucks/src/node-loaders.js +139 -0
  602. data/node_modules/nunjucks/src/nodes.js +350 -0
  603. data/node_modules/nunjucks/src/object.js +100 -0
  604. data/node_modules/nunjucks/src/parser.js +1028 -0
  605. data/node_modules/nunjucks/src/precompile-global.js +17 -0
  606. data/node_modules/nunjucks/src/precompile.js +108 -0
  607. data/node_modules/nunjucks/src/precompiled-loader.js +31 -0
  608. data/node_modules/nunjucks/src/runtime.js +333 -0
  609. data/node_modules/nunjucks/src/tests.js +265 -0
  610. data/node_modules/nunjucks/src/transformer.js +166 -0
  611. data/node_modules/nunjucks/src/web-loaders.js +94 -0
  612. metadata +609 -67
  613. data/.github/ISSUE_TEMPLATE/bug.yaml +0 -69
  614. data/.github/ISSUE_TEMPLATE/config.yaml +0 -6
  615. data/.github/ISSUE_TEMPLATE/documentation.yaml +0 -29
  616. data/.github/ISSUE_TEMPLATE/enhancement.yaml +0 -25
  617. data/.github/dependabot.yml +0 -67
  618. data/.github/pull_request_template.md +0 -28
  619. data/.github/workflows/build-middleman-artifact.yaml +0 -41
  620. data/.github/workflows/check-documentation-updates.yaml +0 -33
  621. data/.github/workflows/check-gem-version.yaml +0 -36
  622. data/.github/workflows/npm-vulnerability-scanner.yaml +0 -55
  623. data/.github/workflows/pipeline.yaml +0 -58
  624. data/.github/workflows/publish-gem.yaml +0 -52
  625. data/.github/workflows/publish-github-pages.yaml +0 -38
  626. data/.github/workflows/ruby-vulnerability-scanner.yaml +0 -44
  627. data/.github/workflows/test.yaml +0 -48
  628. data/documentation/.nvmrc +0 -1
  629. data/documentation/Gemfile +0 -11
  630. data/documentation/README.md +0 -30
  631. data/documentation/Staticfile +0 -4
  632. data/documentation/config/tech-docs.yml +0 -56
  633. data/documentation/config.rb +0 -21
  634. data/documentation/source/accessibility/index.html.md.erb +0 -64
  635. data/documentation/source/configure_project/frontmatter/index.html.md.erb +0 -206
  636. data/documentation/source/configure_project/global_configuration/index.html.md.erb +0 -386
  637. data/documentation/source/configure_project/index.html.md.erb +0 -17
  638. data/documentation/source/configure_project/page_expiry_and_review/index.html.md.erb +0 -93
  639. data/documentation/source/configure_project/structure_docs/index.html.md.erb +0 -117
  640. data/documentation/source/create_project/build/index.html.md.erb +0 -20
  641. data/documentation/source/create_project/create_new_project/index.html.md.erb +0 -23
  642. data/documentation/source/create_project/get_started/index.html.md.erb +0 -58
  643. data/documentation/source/create_project/index.html.md.erb +0 -17
  644. data/documentation/source/create_project/preview/index.html.md.erb +0 -26
  645. data/documentation/source/images/Basic multipage.svg +0 -1
  646. data/documentation/source/images/Basic_multipage.svg +0 -1
  647. data/documentation/source/images/Nested multipage.svg +0 -1
  648. data/documentation/source/images/Nested_multipage.svg +0 -1
  649. data/documentation/source/images/Single_page.svg +0 -1
  650. data/documentation/source/images/core-layout-without-sidebar.png +0 -0
  651. data/documentation/source/images/core-layout.png +0 -0
  652. data/documentation/source/images/daniel-the-manual-spaniel-screenshot.svg +0 -1
  653. data/documentation/source/images/expired-page.png +0 -0
  654. data/documentation/source/images/last-reviewed-only.png +0 -0
  655. data/documentation/source/images/last-reviewed-only.svg +0 -1
  656. data/documentation/source/images/layout-layout.png +0 -0
  657. data/documentation/source/images/multipage.svg +0 -3
  658. data/documentation/source/images/not-expired-page.png +0 -0
  659. data/documentation/source/index.html.md.erb +0 -19
  660. data/documentation/source/javascripts/application.js +0 -1
  661. data/documentation/source/maintain_project/index.html.md.erb +0 -18
  662. data/documentation/source/maintain_project/redirects/index.html.md.erb +0 -22
  663. data/documentation/source/maintain_project/review_content/index.html.md.erb +0 -45
  664. data/documentation/source/maintain_project/use_latest_template/index.html.md.erb +0 -34
  665. data/documentation/source/partials/_links.erb +0 -81
  666. data/documentation/source/publish_project/deploy/index.html.md.erb +0 -44
  667. data/documentation/source/publish_project/index.html.md.erb +0 -15
  668. data/documentation/source/publish_project/version/index.html.md.erb +0 -12
  669. data/documentation/source/stylesheets/print.css.scss +0 -3
  670. data/documentation/source/stylesheets/screen-old-ie.css.scss +0 -4
  671. data/documentation/source/stylesheets/screen.css.scss +0 -1
  672. data/documentation/source/support/index.html.md.erb +0 -46
  673. data/documentation/source/write_docs/add_openapi_spec/index.html.md.erb +0 -48
  674. data/documentation/source/write_docs/content/index.html.md.erb +0 -144
  675. data/documentation/source/write_docs/index.html.md.erb +0 -15
@@ -0,0 +1,11 @@
1
+ <div class="govuk-form-group">
2
+ <label class="govuk-label" for="file-upload-1">
3
+ Upload a file
4
+ </label>
5
+ <div
6
+ class="govuk-file-upload-wrapper"
7
+ data-module="govuk-file-upload"
8
+ >
9
+ <input class="govuk-file-upload" id="file-upload-1" name="file-upload-1" type="file">
10
+ </div>
11
+ </div>
@@ -0,0 +1,11 @@
1
+ <div class="govuk-form-group">
2
+ <label class="govuk-label" for="file-upload-1">
3
+ Llwythwch ffeil i fyny
4
+ </label>
5
+ <div
6
+ class="govuk-file-upload-wrapper"
7
+ data-module="govuk-file-upload" data-i18n.choose-files-button="Dewiswch ffeil" data-i18n.no-file-chosen="Dim ffeil wedi&#39;i dewis" data-i18n.multiple-files-chosen.other="%{count} ffeil wedi&#39;u dewis" data-i18n.multiple-files-chosen.one="%{count} ffeil wedi&#39;i dewis" data-i18n.drop-instruction="neu ollwng ffeil" data-i18n.entered-drop-zone="Wedi mynd i mewn i&#39;r parth gollwng" data-i18n.left-drop-zone="Parth gollwng i&#39;r chwith"
8
+ >
9
+ <input class="govuk-file-upload" id="file-upload-1" name="file-upload-1" type="file" multiple>
10
+ </div>
11
+ </div>
@@ -0,0 +1,12 @@
1
+ <div class="govuk-form-group govuk-form-group--error">
2
+ <label class="govuk-label" for="file-upload-3">
3
+ Upload a file
4
+ </label>
5
+ <div id="file-upload-3-hint" class="govuk-hint">
6
+ Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto.
7
+ </div>
8
+ <p id="file-upload-3-error" class="govuk-error-message">
9
+ <span class="govuk-visually-hidden">Error:</span> Error message goes here
10
+ </p>
11
+ <input class="govuk-file-upload govuk-file-upload--error" id="file-upload-3" name="file-upload-3" type="file" aria-describedby="file-upload-3-hint file-upload-3-error">
12
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="govuk-form-group">
2
+ <label class="govuk-label" for="file-upload-2">
3
+ Upload your photo
4
+ </label>
5
+ <div id="file-upload-2-hint" class="govuk-hint">
6
+ Your photo may be in your Pictures, Photos, Downloads or Desktop folder. Or in an app like iPhoto.
7
+ </div>
8
+ <input class="govuk-file-upload" id="file-upload-2" name="file-upload-2" type="file" aria-describedby="file-upload-2-hint">
9
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="govuk-form-group">
2
+ <h1 class="govuk-label-wrapper">
3
+ <label class="govuk-label govuk-label--l" for="file-upload-1">
4
+ Upload a file
5
+ </label>
6
+ </h1>
7
+ <input class="govuk-file-upload" id="file-upload-1" name="file-upload-1" type="file">
8
+ </div>
@@ -0,0 +1,90 @@
1
+ {% from "../../macros/attributes.njk" import govukAttributes %}
2
+ {% from "../../macros/i18n.njk" import govukI18nAttributes %}
3
+ {% from "../error-message/macro.njk" import govukErrorMessage %}
4
+ {% from "../hint/macro.njk" import govukHint %}
5
+ {% from "../label/macro.njk" import govukLabel %}
6
+
7
+ {#- a record of other elements that we need to associate with the input using
8
+ aria-describedby – for example hints or error messages -#}
9
+ {%- set describedBy = params.describedBy if params.describedBy else "" -%}
10
+ {%- set id = params.id if params.id else params.name -%}
11
+
12
+ <div class="govuk-form-group {%- if params.errorMessage %} govuk-form-group--error{% endif %} {%- if params.formGroup.classes %} {{ params.formGroup.classes }}{% endif %}"
13
+ {{- govukAttributes(params.formGroup.attributes) }}>
14
+ {{ govukLabel({
15
+ html: params.label.html,
16
+ text: params.label.text,
17
+ classes: params.label.classes,
18
+ isPageHeading: params.label.isPageHeading,
19
+ attributes: params.label.attributes,
20
+ for: id
21
+ }) | trim | indent(2) }}
22
+ {% if params.hint %}
23
+ {% set hintId = id + '-hint' %}
24
+ {% set describedBy = describedBy + ' ' + hintId if describedBy else hintId %}
25
+ {{ govukHint({
26
+ id: hintId,
27
+ classes: params.hint.classes,
28
+ attributes: params.hint.attributes,
29
+ html: params.hint.html,
30
+ text: params.hint.text
31
+ }) | trim | indent(2) }}
32
+ {% endif %}
33
+ {% if params.errorMessage %}
34
+ {% set errorId = id + '-error' %}
35
+ {% set describedBy = describedBy + ' ' + errorId if describedBy else errorId %}
36
+ {{ govukErrorMessage({
37
+ id: errorId,
38
+ classes: params.errorMessage.classes,
39
+ attributes: params.errorMessage.attributes,
40
+ html: params.errorMessage.html,
41
+ text: params.errorMessage.text,
42
+ visuallyHiddenText: params.errorMessage.visuallyHiddenText
43
+ }) | trim | indent(2) }}
44
+ {% endif %}
45
+ {% if params.formGroup.beforeInput %}
46
+ {{ params.formGroup.beforeInput.html | safe | trim | indent(2) if params.formGroup.beforeInput.html else params.formGroup.beforeInput.text }}
47
+ {% endif %}
48
+ {% if params.javascript %}
49
+ <div
50
+ class="govuk-file-upload-wrapper {%- if params.wrapperClasses %} {{ params.wrapperClasses }}{% endif %}"
51
+ data-module="govuk-file-upload"
52
+ {{- govukI18nAttributes({
53
+ key: 'choose-files-button',
54
+ message: params.chooseFilesButtonText
55
+ }) -}}
56
+ {{- govukI18nAttributes({
57
+ key: 'no-file-chosen',
58
+ message: params.noFileChosenText
59
+ }) -}}
60
+ {{- govukI18nAttributes({
61
+ key: 'multiple-files-chosen',
62
+ messages: params.multipleFilesChosenText
63
+ }) -}}
64
+ {{- govukI18nAttributes({
65
+ key: 'drop-instruction',
66
+ message: params.dropInstructionText
67
+ }) -}}
68
+ {{- govukI18nAttributes({
69
+ key: 'entered-drop-zone',
70
+ message: params.enteredDropZoneText
71
+ }) -}}
72
+ {{- govukI18nAttributes({
73
+ key: 'left-drop-zone',
74
+ message: params.leftDropZoneText
75
+ }) -}}
76
+ {{- govukAttributes(params.wrapperAttributes) }}
77
+ >
78
+ {% endif %}
79
+ <input class="govuk-file-upload {%- if params.classes %} {{ params.classes }}{% endif %} {%- if params.errorMessage %} govuk-file-upload--error{% endif %}" id="{{ id }}" name="{{ params.name }}" type="file"
80
+ {%- if params.disabled %} disabled{% endif %}
81
+ {%- if params.multiple %} multiple{% endif %}
82
+ {%- if describedBy %} aria-describedby="{{ describedBy }}"{% endif %}
83
+ {{- govukAttributes(params.attributes) }}>
84
+ {% if params.javascript %}
85
+ </div>
86
+ {% endif %}
87
+ {% if params.formGroup.afterInput %}
88
+ {{ params.formGroup.afterInput.html | safe | trim | indent(2) if params.formGroup.afterInput.html else params.formGroup.afterInput.text }}
89
+ {% endif %}
90
+ </div>
@@ -0,0 +1,15 @@
1
+ # Footer
2
+
3
+ ## Installation
4
+
5
+ See the [main README quick start guide](https://github.com/alphagov/govuk-frontend#quick-start) for how to install this component.
6
+
7
+ ## Guidance and Examples
8
+
9
+ Find out when to use the footer component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/footer).
10
+
11
+ ## Component options
12
+
13
+ Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.
14
+
15
+ See [options table](https://design-system.service.gov.uk/components/footer/#options-footer-example) for details.