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,316 @@
1
+ {
2
+ "component": "textarea",
3
+ "fixtures": [
4
+ {
5
+ "name": "default",
6
+ "options": {
7
+ "name": "more-detail",
8
+ "label": {
9
+ "text": "Can you provide more detail?"
10
+ }
11
+ },
12
+ "hidden": false,
13
+ "description": "",
14
+ "pageTemplateOptions": {},
15
+ "screenshot": true,
16
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"more-detail\">\n Can you provide more detail?\n </label>\n <textarea class=\"govuk-textarea\" id=\"more-detail\" name=\"more-detail\" rows=\"5\"></textarea>\n</div>"
17
+ },
18
+ {
19
+ "name": "with hint",
20
+ "options": {
21
+ "name": "more-detail",
22
+ "id": "more-detail",
23
+ "label": {
24
+ "text": "Can you provide more detail?"
25
+ },
26
+ "hint": {
27
+ "text": "Don't include personal or financial information, eg your National Insurance number or credit card details."
28
+ }
29
+ },
30
+ "hidden": false,
31
+ "description": "",
32
+ "pageTemplateOptions": {},
33
+ "screenshot": false,
34
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"more-detail\">\n Can you provide more detail?\n </label>\n <div id=\"more-detail-hint\" class=\"govuk-hint\">\n Don&#39;t include personal or financial information, eg your National Insurance number or credit card details.\n </div>\n <textarea class=\"govuk-textarea\" id=\"more-detail\" name=\"more-detail\" rows=\"5\" aria-describedby=\"more-detail-hint\"></textarea>\n</div>"
35
+ },
36
+ {
37
+ "name": "with error message",
38
+ "options": {
39
+ "name": "no-ni-reason",
40
+ "id": "no-ni-reason",
41
+ "label": {
42
+ "text": "Why can’t you provide a National Insurance number?"
43
+ },
44
+ "errorMessage": {
45
+ "text": "You must provide an explanation"
46
+ }
47
+ },
48
+ "hidden": false,
49
+ "description": "",
50
+ "pageTemplateOptions": {},
51
+ "screenshot": false,
52
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"no-ni-reason\">\n Why can’t you provide a National Insurance number?\n </label>\n <p id=\"no-ni-reason-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> You must provide an explanation\n </p>\n <textarea class=\"govuk-textarea govuk-textarea--error\" id=\"no-ni-reason\" name=\"no-ni-reason\" rows=\"5\" aria-describedby=\"no-ni-reason-error\"></textarea>\n</div>"
53
+ },
54
+ {
55
+ "name": "with default value",
56
+ "options": {
57
+ "id": "full-address",
58
+ "name": "address",
59
+ "value": "221B Baker Street\nLondon\nNW1 6XE\n",
60
+ "label": {
61
+ "text": "Full address"
62
+ }
63
+ },
64
+ "hidden": false,
65
+ "description": "",
66
+ "pageTemplateOptions": {},
67
+ "screenshot": false,
68
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"full-address\">\n Full address\n </label>\n <textarea class=\"govuk-textarea\" id=\"full-address\" name=\"address\" rows=\"5\">221B Baker Street\nLondon\nNW1 6XE\n</textarea>\n</div>"
69
+ },
70
+ {
71
+ "name": "with custom rows",
72
+ "options": {
73
+ "id": "full-address",
74
+ "name": "address",
75
+ "label": {
76
+ "text": "Full address"
77
+ },
78
+ "rows": 8
79
+ },
80
+ "hidden": false,
81
+ "description": "",
82
+ "pageTemplateOptions": {},
83
+ "screenshot": false,
84
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"full-address\">\n Full address\n </label>\n <textarea class=\"govuk-textarea\" id=\"full-address\" name=\"address\" rows=\"8\"></textarea>\n</div>"
85
+ },
86
+ {
87
+ "name": "with label as page heading",
88
+ "options": {
89
+ "id": "textarea-with-page-heading",
90
+ "name": "address",
91
+ "label": {
92
+ "text": "Full address",
93
+ "classes": "govuk-label--l",
94
+ "isPageHeading": true
95
+ }
96
+ },
97
+ "hidden": false,
98
+ "description": "",
99
+ "pageTemplateOptions": {},
100
+ "screenshot": false,
101
+ "html": "<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"textarea-with-page-heading\">\n Full address\n </label>\n </h1>\n <textarea class=\"govuk-textarea\" id=\"textarea-with-page-heading\" name=\"address\" rows=\"5\"></textarea>\n</div>"
102
+ },
103
+ {
104
+ "name": "id",
105
+ "options": {
106
+ "id": "textarea-id",
107
+ "name": "test-name",
108
+ "label": {
109
+ "text": "With custom id"
110
+ }
111
+ },
112
+ "hidden": true,
113
+ "description": "",
114
+ "pageTemplateOptions": {},
115
+ "screenshot": false,
116
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"textarea-id\">\n With custom id\n </label>\n <textarea class=\"govuk-textarea\" id=\"textarea-id\" name=\"test-name\" rows=\"5\"></textarea>\n</div>"
117
+ },
118
+ {
119
+ "name": "classes",
120
+ "options": {
121
+ "id": "with-classes",
122
+ "name": "with-classes",
123
+ "label": {
124
+ "text": "With classes"
125
+ },
126
+ "classes": "app-textarea--custom-modifier"
127
+ },
128
+ "hidden": true,
129
+ "description": "",
130
+ "pageTemplateOptions": {},
131
+ "screenshot": false,
132
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-classes\">\n With classes\n </label>\n <textarea class=\"govuk-textarea app-textarea--custom-modifier\" id=\"with-classes\" name=\"with-classes\" rows=\"5\"></textarea>\n</div>"
133
+ },
134
+ {
135
+ "name": "attributes",
136
+ "options": {
137
+ "id": "with-attributes",
138
+ "name": "with-attributes",
139
+ "label": {
140
+ "text": "With attributes"
141
+ },
142
+ "attributes": {
143
+ "data-attribute": "my data value"
144
+ }
145
+ },
146
+ "hidden": true,
147
+ "description": "",
148
+ "pageTemplateOptions": {},
149
+ "screenshot": false,
150
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-attributes\">\n With attributes\n </label>\n <textarea class=\"govuk-textarea\" id=\"with-attributes\" name=\"with-attributes\" rows=\"5\" data-attribute=\"my data value\"></textarea>\n</div>"
151
+ },
152
+ {
153
+ "name": "with describedBy",
154
+ "options": {
155
+ "id": "with-describedby",
156
+ "name": "with-describedby",
157
+ "label": {
158
+ "text": "With describedBy"
159
+ },
160
+ "describedBy": "test-target-element"
161
+ },
162
+ "hidden": true,
163
+ "description": "",
164
+ "pageTemplateOptions": {},
165
+ "screenshot": false,
166
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-describedby\">\n With describedBy\n </label>\n <textarea class=\"govuk-textarea\" id=\"with-describedby\" name=\"with-describedby\" rows=\"5\" aria-describedby=\"test-target-element\"></textarea>\n</div>"
167
+ },
168
+ {
169
+ "name": "with hint and described by",
170
+ "options": {
171
+ "id": "with-hint-describedby",
172
+ "name": "with-hint-describedby",
173
+ "label": {
174
+ "text": "With hint and describedBy"
175
+ },
176
+ "describedBy": "test-target-element",
177
+ "hint": {
178
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
179
+ }
180
+ },
181
+ "hidden": true,
182
+ "description": "",
183
+ "pageTemplateOptions": {},
184
+ "screenshot": false,
185
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-hint-describedby\">\n With hint and describedBy\n </label>\n <div id=\"with-hint-describedby-hint\" class=\"govuk-hint\">\n It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’.\n </div>\n <textarea class=\"govuk-textarea\" id=\"with-hint-describedby\" name=\"with-hint-describedby\" rows=\"5\" aria-describedby=\"test-target-element with-hint-describedby-hint\"></textarea>\n</div>"
186
+ },
187
+ {
188
+ "name": "with error message and described by",
189
+ "options": {
190
+ "name": "textarea-with-error",
191
+ "label": {
192
+ "text": "Textarea with error"
193
+ },
194
+ "describedBy": "test-target-element",
195
+ "id": "textarea-with-error",
196
+ "errorMessage": {
197
+ "text": "Error message"
198
+ }
199
+ },
200
+ "hidden": true,
201
+ "description": "",
202
+ "pageTemplateOptions": {},
203
+ "screenshot": false,
204
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"textarea-with-error\">\n Textarea with error\n </label>\n <p id=\"textarea-with-error-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </p>\n <textarea class=\"govuk-textarea govuk-textarea--error\" id=\"textarea-with-error\" name=\"textarea-with-error\" rows=\"5\" aria-describedby=\"test-target-element textarea-with-error-error\"></textarea>\n</div>"
205
+ },
206
+ {
207
+ "name": "with hint and error message",
208
+ "options": {
209
+ "id": "with-hint-error",
210
+ "name": "with-hint-error",
211
+ "label": {
212
+ "text": "With hint and error"
213
+ },
214
+ "errorMessage": {
215
+ "text": "Error message"
216
+ },
217
+ "hint": {
218
+ "text": "Hint"
219
+ }
220
+ },
221
+ "hidden": true,
222
+ "description": "",
223
+ "pageTemplateOptions": {},
224
+ "screenshot": false,
225
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-hint-error\">\n With hint and error\n </label>\n <div id=\"with-hint-error-hint\" class=\"govuk-hint\">\n Hint\n </div>\n <p id=\"with-hint-error-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </p>\n <textarea class=\"govuk-textarea govuk-textarea--error\" id=\"with-hint-error\" name=\"with-hint-error\" rows=\"5\" aria-describedby=\"with-hint-error-hint with-hint-error-error\"></textarea>\n</div>"
226
+ },
227
+ {
228
+ "name": "with hint, error message and described by",
229
+ "options": {
230
+ "id": "with-hint-error-describedby",
231
+ "name": "with-hint-error-describedby",
232
+ "label": {
233
+ "text": "With hint, error and describedBy"
234
+ },
235
+ "describedBy": "test-target-element",
236
+ "errorMessage": {
237
+ "text": "Error message"
238
+ },
239
+ "hint": {
240
+ "text": "Hint"
241
+ }
242
+ },
243
+ "hidden": true,
244
+ "description": "",
245
+ "pageTemplateOptions": {},
246
+ "screenshot": false,
247
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-hint-error-describedby\">\n With hint, error and describedBy\n </label>\n <div id=\"with-hint-error-describedby-hint\" class=\"govuk-hint\">\n Hint\n </div>\n <p id=\"with-hint-error-describedby-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </p>\n <textarea class=\"govuk-textarea govuk-textarea--error\" id=\"with-hint-error-describedby\" name=\"with-hint-error-describedby\" rows=\"5\" aria-describedby=\"test-target-element with-hint-error-describedby-hint with-hint-error-describedby-error\"></textarea>\n</div>"
248
+ },
249
+ {
250
+ "name": "with optional form-group classes",
251
+ "options": {
252
+ "id": "textarea-with-page-heading",
253
+ "name": "address",
254
+ "label": {
255
+ "text": "Full address"
256
+ },
257
+ "formGroup": {
258
+ "classes": "extra-class"
259
+ }
260
+ },
261
+ "hidden": true,
262
+ "description": "",
263
+ "pageTemplateOptions": {},
264
+ "screenshot": false,
265
+ "html": "<div class=\"govuk-form-group extra-class\">\n <label class=\"govuk-label\" for=\"textarea-with-page-heading\">\n Full address\n </label>\n <textarea class=\"govuk-textarea\" id=\"textarea-with-page-heading\" name=\"address\" rows=\"5\"></textarea>\n</div>"
266
+ },
267
+ {
268
+ "name": "with autocomplete attribute",
269
+ "options": {
270
+ "id": "textarea-with-autocomplete-attribute",
271
+ "name": "address",
272
+ "label": {
273
+ "text": "Full address"
274
+ },
275
+ "autocomplete": "street-address"
276
+ },
277
+ "hidden": true,
278
+ "description": "",
279
+ "pageTemplateOptions": {},
280
+ "screenshot": false,
281
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"textarea-with-autocomplete-attribute\">\n Full address\n </label>\n <textarea class=\"govuk-textarea\" id=\"textarea-with-autocomplete-attribute\" name=\"address\" rows=\"5\" autocomplete=\"street-address\"></textarea>\n</div>"
282
+ },
283
+ {
284
+ "name": "with spellcheck enabled",
285
+ "options": {
286
+ "label": {
287
+ "text": "Spellcheck is enabled"
288
+ },
289
+ "id": "textarea-with-spellcheck-enabled",
290
+ "name": "spellcheck",
291
+ "spellcheck": true
292
+ },
293
+ "hidden": true,
294
+ "description": "",
295
+ "pageTemplateOptions": {},
296
+ "screenshot": false,
297
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"textarea-with-spellcheck-enabled\">\n Spellcheck is enabled\n </label>\n <textarea class=\"govuk-textarea\" id=\"textarea-with-spellcheck-enabled\" name=\"spellcheck\" rows=\"5\" spellcheck=\"true\"></textarea>\n</div>"
298
+ },
299
+ {
300
+ "name": "with spellcheck disabled",
301
+ "options": {
302
+ "label": {
303
+ "text": "Spellcheck is disabled"
304
+ },
305
+ "id": "textarea-with-spellcheck-disabled",
306
+ "name": "spellcheck",
307
+ "spellcheck": false
308
+ },
309
+ "hidden": true,
310
+ "description": "",
311
+ "pageTemplateOptions": {},
312
+ "screenshot": false,
313
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"textarea-with-spellcheck-disabled\">\n Spellcheck is disabled\n </label>\n <textarea class=\"govuk-textarea\" id=\"textarea-with-spellcheck-disabled\" name=\"spellcheck\" rows=\"5\" spellcheck=\"false\"></textarea>\n</div>"
314
+ }
315
+ ]
316
+ }
@@ -0,0 +1,143 @@
1
+ [
2
+ {
3
+ "name": "id",
4
+ "type": "string",
5
+ "required": false,
6
+ "description": "The ID of the textarea. Defaults to the value of `name`."
7
+ },
8
+ {
9
+ "name": "name",
10
+ "type": "string",
11
+ "required": true,
12
+ "description": "The name of the textarea, which is submitted with the form data."
13
+ },
14
+ {
15
+ "name": "spellcheck",
16
+ "type": "boolean",
17
+ "required": false,
18
+ "description": "Optional field to enable or disable the `spellcheck` attribute on the textarea."
19
+ },
20
+ {
21
+ "name": "rows",
22
+ "type": "string",
23
+ "required": false,
24
+ "description": "Optional number of textarea rows (default is 5 rows)."
25
+ },
26
+ {
27
+ "name": "value",
28
+ "type": "string",
29
+ "required": false,
30
+ "description": "Optional initial value of the textarea."
31
+ },
32
+ {
33
+ "name": "disabled",
34
+ "type": "boolean",
35
+ "required": false,
36
+ "description": "If `true`, textarea will be disabled."
37
+ },
38
+ {
39
+ "name": "describedBy",
40
+ "type": "string",
41
+ "required": false,
42
+ "description": "One or more element IDs to add to the `aria-describedby` attribute, used to provide additional descriptive information for screenreader users."
43
+ },
44
+ {
45
+ "name": "label",
46
+ "type": "object",
47
+ "required": true,
48
+ "description": "The label used by the textarea component.",
49
+ "isComponent": true
50
+ },
51
+ {
52
+ "name": "hint",
53
+ "type": "object",
54
+ "required": false,
55
+ "description": "Can be used to add a hint to the textarea component.",
56
+ "isComponent": true
57
+ },
58
+ {
59
+ "name": "errorMessage",
60
+ "type": "object",
61
+ "required": false,
62
+ "description": "Can be used to add an error message to the textarea component. The error message component will not display if you use a falsy value for `errorMessage`, for example `false` or `null`.",
63
+ "isComponent": true
64
+ },
65
+ {
66
+ "name": "formGroup",
67
+ "type": "object",
68
+ "required": false,
69
+ "description": "Additional options for the form group containing the textarea component.",
70
+ "params": [
71
+ {
72
+ "name": "classes",
73
+ "type": "string",
74
+ "required": false,
75
+ "description": "Classes to add to the form group (for example to show error state for the whole group)."
76
+ },
77
+ {
78
+ "name": "attributes",
79
+ "type": "object",
80
+ "required": false,
81
+ "description": "HTML attributes (for example data attributes) to add to the form group."
82
+ },
83
+ {
84
+ "name": "beforeInput",
85
+ "type": "object",
86
+ "required": false,
87
+ "description": "Content to add before the textarea used by the textarea component.",
88
+ "params": [
89
+ {
90
+ "name": "text",
91
+ "type": "string",
92
+ "required": true,
93
+ "description": "Text to add before the textarea. If `html` is provided, the `text` option will be ignored."
94
+ },
95
+ {
96
+ "name": "html",
97
+ "type": "string",
98
+ "required": true,
99
+ "description": "HTML to add before the textarea. If `html` is provided, the `text` option will be ignored."
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "name": "afterInput",
105
+ "type": "object",
106
+ "required": false,
107
+ "description": "Content to add after the textarea used by the textarea component.",
108
+ "params": [
109
+ {
110
+ "name": "text",
111
+ "type": "string",
112
+ "required": true,
113
+ "description": "Text to add after the textarea. If `html` is provided, the `text` option will be ignored."
114
+ },
115
+ {
116
+ "name": "html",
117
+ "type": "string",
118
+ "required": true,
119
+ "description": "HTML to add after the textarea. If `html` is provided, the `text` option will be ignored."
120
+ }
121
+ ]
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "name": "classes",
127
+ "type": "string",
128
+ "required": false,
129
+ "description": "Classes to add to the textarea."
130
+ },
131
+ {
132
+ "name": "autocomplete",
133
+ "type": "string",
134
+ "required": false,
135
+ "description": "Attribute to meet [WCAG success criterion 1.3.5: Identify input purpose](https://www.w3.org/WAI/WCAG22/Understanding/identify-input-purpose.html), for instance `\"bday-day\"`. See the [Autofill section in the HTML standard](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill) section in the HTML standard for full list of attributes that can be used."
136
+ },
137
+ {
138
+ "name": "attributes",
139
+ "type": "object",
140
+ "required": false,
141
+ "description": "HTML attributes (for example data attributes) to add to the textarea."
142
+ }
143
+ ]
@@ -0,0 +1,3 @@
1
+ {% macro govukTextarea(params) %}
2
+ {%- include "./template.njk" -%}
3
+ {% endmacro %}
@@ -0,0 +1,6 @@
1
+ <div class="govuk-form-group">
2
+ <label class="govuk-label" for="more-detail">
3
+ Can you provide more detail?
4
+ </label>
5
+ <textarea class="govuk-textarea" id="more-detail" name="more-detail" rows="5"></textarea>
6
+ </div>
@@ -0,0 +1,6 @@
1
+ <div class="govuk-form-group">
2
+ <label class="govuk-label" for="full-address">
3
+ Full address
4
+ </label>
5
+ <textarea class="govuk-textarea" id="full-address" name="address" rows="8"></textarea>
6
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="govuk-form-group">
2
+ <label class="govuk-label" for="full-address">
3
+ Full address
4
+ </label>
5
+ <textarea class="govuk-textarea" id="full-address" name="address" rows="5">221B Baker Street
6
+ London
7
+ NW1 6XE
8
+ </textarea>
9
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="govuk-form-group govuk-form-group--error">
2
+ <label class="govuk-label" for="no-ni-reason">
3
+ Why can’t you provide a National Insurance number?
4
+ </label>
5
+ <p id="no-ni-reason-error" class="govuk-error-message">
6
+ <span class="govuk-visually-hidden">Error:</span> You must provide an explanation
7
+ </p>
8
+ <textarea class="govuk-textarea govuk-textarea--error" id="no-ni-reason" name="no-ni-reason" rows="5" aria-describedby="no-ni-reason-error"></textarea>
9
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="govuk-form-group">
2
+ <label class="govuk-label" for="more-detail">
3
+ Can you provide more detail?
4
+ </label>
5
+ <div id="more-detail-hint" class="govuk-hint">
6
+ Don&#39;t include personal or financial information, eg your National Insurance number or credit card details.
7
+ </div>
8
+ <textarea class="govuk-textarea" id="more-detail" name="more-detail" rows="5" aria-describedby="more-detail-hint"></textarea>
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="textarea-with-page-heading">
4
+ Full address
5
+ </label>
6
+ </h1>
7
+ <textarea class="govuk-textarea" id="textarea-with-page-heading" name="address" rows="5"></textarea>
8
+ </div>
@@ -0,0 +1,56 @@
1
+ {% from "../../macros/attributes.njk" import govukAttributes %}
2
+ {% from "../error-message/macro.njk" import govukErrorMessage %}
3
+ {% from "../hint/macro.njk" import govukHint %}
4
+ {% from "../label/macro.njk" import govukLabel %}
5
+
6
+ {#- a record of other elements that we need to associate with the input using
7
+ aria-describedby – for example hints or error messages -#}
8
+ {% set describedBy = params.describedBy if params.describedBy else "" %}
9
+ {%- set id = params.id if params.id else params.name -%}
10
+
11
+ <div class="govuk-form-group {%- if params.errorMessage %} govuk-form-group--error{% endif %} {%- if params.formGroup.classes %} {{ params.formGroup.classes }}{% endif %}"
12
+ {{- govukAttributes(params.formGroup.attributes) }}>
13
+ {{ govukLabel({
14
+ html: params.label.html,
15
+ text: params.label.text,
16
+ classes: params.label.classes,
17
+ isPageHeading: params.label.isPageHeading,
18
+ attributes: params.label.attributes,
19
+ for: id
20
+ }) | trim | indent(2) }}
21
+ {% if params.hint %}
22
+ {% set hintId = id + '-hint' %}
23
+ {% set describedBy = describedBy + ' ' + hintId if describedBy else hintId %}
24
+ {{ govukHint({
25
+ id: hintId,
26
+ classes: params.hint.classes,
27
+ attributes: params.hint.attributes,
28
+ html: params.hint.html,
29
+ text: params.hint.text
30
+ }) | trim | indent(2) }}
31
+ {% endif %}
32
+ {% if params.errorMessage %}
33
+ {% set errorId = id + '-error' %}
34
+ {% set describedBy = describedBy + ' ' + errorId if describedBy else errorId %}
35
+ {{ govukErrorMessage({
36
+ id: errorId,
37
+ classes: params.errorMessage.classes,
38
+ attributes: params.errorMessage.attributes,
39
+ html: params.errorMessage.html,
40
+ text: params.errorMessage.text,
41
+ visuallyHiddenText: params.errorMessage.visuallyHiddenText
42
+ }) | trim | indent(2) }}
43
+ {% endif %}
44
+ {% if params.formGroup.beforeInput %}
45
+ {{ params.formGroup.beforeInput.html | safe | trim | indent(2) if params.formGroup.beforeInput.html else params.formGroup.beforeInput.text }}
46
+ {% endif %}
47
+ <textarea class="govuk-textarea {%- if params.errorMessage %} govuk-textarea--error{% endif %} {%- if params.classes %} {{ params.classes }}{% endif %}" id="{{ id }}" name="{{ params.name }}" rows="{{ params.rows | default(5, true) }}"
48
+ {%- if (params.spellcheck === false) or (params.spellcheck === true) %} spellcheck="{{ params.spellcheck }}"{% endif %}
49
+ {%- if params.disabled %} disabled{% endif %}
50
+ {%- if describedBy %} aria-describedby="{{ describedBy }}"{% endif %}
51
+ {%- if params.autocomplete %} autocomplete="{{ params.autocomplete }}"{% endif %}
52
+ {{- govukAttributes(params.attributes) }}>{{ params.value }}</textarea>
53
+ {% if params.formGroup.afterInput %}
54
+ {{ params.formGroup.afterInput.html | safe | trim | indent(2) if params.formGroup.afterInput.html else params.formGroup.afterInput.text }}
55
+ {% endif %}
56
+ </div>
@@ -0,0 +1,15 @@
1
+ # Warning text
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 warning text component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/warning-text).
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/warning-text/#options-warning-text-example) for details.