content_block_tools 0.17.0 → 1.0.1

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 (877) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/blocks/_contact.scss +13 -0
  3. data/app/assets/stylesheets/content_block_tools.scss +24 -0
  4. data/lib/content_block_tools/engine.rb +16 -0
  5. data/lib/content_block_tools/presenters/block_presenters/contact/address_presenter.rb +1 -7
  6. data/lib/content_block_tools/presenters/block_presenters/contact/block_level_contact_item.rb +10 -16
  7. data/lib/content_block_tools/presenters/block_presenters/contact/contact_link_presenter.rb +6 -4
  8. data/lib/content_block_tools/presenters/block_presenters/contact/email_address_presenter.rb +10 -4
  9. data/lib/content_block_tools/presenters/block_presenters/contact/telephone_presenter.rb +9 -26
  10. data/lib/content_block_tools/presenters/contact_presenter.rb +6 -10
  11. data/lib/content_block_tools/version.rb +1 -1
  12. data/lib/content_block_tools.rb +2 -8
  13. data/node_modules/govuk-frontend/README.md +92 -0
  14. data/node_modules/govuk-frontend/dist/govuk/_base.scss +5 -0
  15. data/node_modules/govuk-frontend/dist/govuk/_base.scss.map +1 -0
  16. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +2847 -0
  17. data/node_modules/govuk-frontend/dist/govuk/all.bundle.js.map +1 -0
  18. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +2820 -0
  19. data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs.map +1 -0
  20. data/node_modules/govuk-frontend/dist/govuk/all.mjs +20 -0
  21. data/node_modules/govuk-frontend/dist/govuk/all.mjs.map +1 -0
  22. data/node_modules/govuk-frontend/dist/govuk/all.scss +9 -0
  23. data/node_modules/govuk-frontend/dist/govuk/all.scss.map +1 -0
  24. data/node_modules/govuk-frontend/dist/govuk/assets/fonts/bold-affa96571d-v2.woff +0 -0
  25. data/node_modules/govuk-frontend/dist/govuk/assets/fonts/bold-b542beb274-v2.woff2 +0 -0
  26. data/node_modules/govuk-frontend/dist/govuk/assets/fonts/light-94a07e06a1-v2.woff2 +0 -0
  27. data/node_modules/govuk-frontend/dist/govuk/assets/fonts/light-f591b13f7d-v2.woff +0 -0
  28. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.ico +0 -0
  29. data/node_modules/govuk-frontend/dist/govuk/assets/images/favicon.svg +1 -0
  30. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-crest.svg +1 -0
  31. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-180.png +0 -0
  32. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-192.png +0 -0
  33. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-512.png +0 -0
  34. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-icon-mask.svg +1 -0
  35. data/node_modules/govuk-frontend/dist/govuk/assets/images/govuk-opengraph-image.png +0 -0
  36. data/node_modules/govuk-frontend/dist/govuk/assets/manifest.json +39 -0
  37. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.ico +0 -0
  38. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/favicon.svg +1 -0
  39. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-crest.svg +1 -0
  40. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-180.png +0 -0
  41. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-192.png +0 -0
  42. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-512.png +0 -0
  43. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-icon-mask.svg +1 -0
  44. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/images/govuk-opengraph-image.png +0 -0
  45. data/node_modules/govuk-frontend/dist/govuk/assets/rebrand/manifest.json +39 -0
  46. data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs +7 -0
  47. data/node_modules/govuk-frontend/dist/govuk/common/closest-attribute-value.mjs.map +1 -0
  48. data/node_modules/govuk-frontend/dist/govuk/common/configuration.mjs +169 -0
  49. data/node_modules/govuk-frontend/dist/govuk/common/configuration.mjs.map +1 -0
  50. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +4 -0
  51. data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs.map +1 -0
  52. data/node_modules/govuk-frontend/dist/govuk/common/index.mjs +76 -0
  53. data/node_modules/govuk-frontend/dist/govuk/common/index.mjs.map +1 -0
  54. data/node_modules/govuk-frontend/dist/govuk/component.mjs +60 -0
  55. data/node_modules/govuk-frontend/dist/govuk/component.mjs.map +1 -0
  56. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss +10 -0
  57. data/node_modules/govuk-frontend/dist/govuk/components/_all.scss.map +1 -0
  58. data/node_modules/govuk-frontend/dist/govuk/components/_index.scss +40 -0
  59. data/node_modules/govuk-frontend/dist/govuk/components/_index.scss.map +1 -0
  60. data/node_modules/govuk-frontend/dist/govuk/components/accordion/README.md +15 -0
  61. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss +4 -0
  62. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_accordion.scss.map +1 -0
  63. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss +370 -0
  64. data/node_modules/govuk-frontend/dist/govuk/components/accordion/_index.scss.map +1 -0
  65. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js +830 -0
  66. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.js.map +1 -0
  67. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs +822 -0
  68. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.bundle.mjs.map +1 -0
  69. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs +346 -0
  70. data/node_modules/govuk-frontend/dist/govuk/components/accordion/accordion.mjs.map +1 -0
  71. data/node_modules/govuk-frontend/dist/govuk/components/accordion/fixtures.json +377 -0
  72. data/node_modules/govuk-frontend/dist/govuk/components/accordion/macro-options.json +142 -0
  73. data/node_modules/govuk-frontend/dist/govuk/components/accordion/macro.njk +3 -0
  74. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-default.html +30 -0
  75. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-additional-descriptions.html +39 -0
  76. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-all-sections-already-open.html +30 -0
  77. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template-with-long-content-and-description.html +36 -0
  78. data/node_modules/govuk-frontend/dist/govuk/components/accordion/template.njk +67 -0
  79. data/node_modules/govuk-frontend/dist/govuk/components/back-link/README.md +15 -0
  80. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss +4 -0
  81. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_back-link.scss.map +1 -0
  82. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss +83 -0
  83. data/node_modules/govuk-frontend/dist/govuk/components/back-link/_index.scss.map +1 -0
  84. data/node_modules/govuk-frontend/dist/govuk/components/back-link/fixtures.json +86 -0
  85. data/node_modules/govuk-frontend/dist/govuk/components/back-link/macro-options.json +32 -0
  86. data/node_modules/govuk-frontend/dist/govuk/components/back-link/macro.njk +3 -0
  87. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-default.html +1 -0
  88. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template-inverse.html +1 -0
  89. data/node_modules/govuk-frontend/dist/govuk/components/back-link/template.njk +6 -0
  90. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/README.md +15 -0
  91. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss +4 -0
  92. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_breadcrumbs.scss.map +1 -0
  93. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss +134 -0
  94. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_index.scss.map +1 -0
  95. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/fixtures.json +258 -0
  96. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro-options.json +58 -0
  97. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/macro.njk +3 -0
  98. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-default.html +16 -0
  99. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-inverse.html +11 -0
  100. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-collapse-on-mobile.html +13 -0
  101. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-last-breadcrumb-as-current-page.html +11 -0
  102. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-with-one-level.html +7 -0
  103. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template-without-the-home-section.html +10 -0
  104. data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/template.njk +30 -0
  105. data/node_modules/govuk-frontend/dist/govuk/components/button/README.md +15 -0
  106. data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss +4 -0
  107. data/node_modules/govuk-frontend/dist/govuk/components/button/_button.scss.map +1 -0
  108. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss +262 -0
  109. data/node_modules/govuk-frontend/dist/govuk/components/button/_index.scss.map +1 -0
  110. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js +363 -0
  111. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.js.map +1 -0
  112. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs +355 -0
  113. data/node_modules/govuk-frontend/dist/govuk/components/button/button.bundle.mjs.map +1 -0
  114. data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs +70 -0
  115. data/node_modules/govuk-frontend/dist/govuk/components/button/button.mjs.map +1 -0
  116. data/node_modules/govuk-frontend/dist/govuk/components/button/fixtures.json +368 -0
  117. data/node_modules/govuk-frontend/dist/govuk/components/button/macro-options.json +81 -0
  118. data/node_modules/govuk-frontend/dist/govuk/components/button/macro.njk +3 -0
  119. data/node_modules/govuk-frontend/dist/govuk/components/button/template-default.html +3 -0
  120. data/node_modules/govuk-frontend/dist/govuk/components/button/template-disabled.html +3 -0
  121. data/node_modules/govuk-frontend/dist/govuk/components/button/template-input.html +1 -0
  122. data/node_modules/govuk-frontend/dist/govuk/components/button/template-inverse.html +3 -0
  123. data/node_modules/govuk-frontend/dist/govuk/components/button/template-link.html +3 -0
  124. data/node_modules/govuk-frontend/dist/govuk/components/button/template-secondary.html +3 -0
  125. data/node_modules/govuk-frontend/dist/govuk/components/button/template-start.html +6 -0
  126. data/node_modules/govuk-frontend/dist/govuk/components/button/template-warning.html +3 -0
  127. data/node_modules/govuk-frontend/dist/govuk/components/button/template.njk +58 -0
  128. data/node_modules/govuk-frontend/dist/govuk/components/character-count/README.md +15 -0
  129. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss +4 -0
  130. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_character-count.scss.map +1 -0
  131. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss +44 -0
  132. data/node_modules/govuk-frontend/dist/govuk/components/character-count/_index.scss.map +1 -0
  133. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js +806 -0
  134. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.js.map +1 -0
  135. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs +798 -0
  136. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.bundle.mjs.map +1 -0
  137. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs +299 -0
  138. data/node_modules/govuk-frontend/dist/govuk/components/character-count/character-count.mjs.map +1 -0
  139. data/node_modules/govuk-frontend/dist/govuk/components/character-count/fixtures.json +463 -0
  140. data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro-options.json +199 -0
  141. data/node_modules/govuk-frontend/dist/govuk/components/character-count/macro.njk +3 -0
  142. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-default.html +9 -0
  143. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-custom-rows.html +9 -0
  144. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value-exceeding-limit.html +15 -0
  145. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-default-value.html +12 -0
  146. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint-and-error.html +15 -0
  147. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-hint.html +12 -0
  148. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-label-as-page-heading.html +11 -0
  149. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-threshold.html +9 -0
  150. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template-with-word-count.html +9 -0
  151. data/node_modules/govuk-frontend/dist/govuk/components/character-count/template.njk +121 -0
  152. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/README.md +15 -0
  153. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss +4 -0
  154. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_checkboxes.scss.map +1 -0
  155. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss +311 -0
  156. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_index.scss.map +1 -0
  157. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js +248 -0
  158. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.js.map +1 -0
  159. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs +240 -0
  160. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.bundle.mjs.map +1 -0
  161. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs +111 -0
  162. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/checkboxes.mjs.map +1 -0
  163. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/fixtures.json +1339 -0
  164. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro-options.json +229 -0
  165. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/macro.njk +3 -0
  166. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-default.html +27 -0
  167. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-conditional-reveal.html +25 -0
  168. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-divider-and-none.html +34 -0
  169. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-error.html +30 -0
  170. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-hint.html +30 -0
  171. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small-with-long-text.html +27 -0
  172. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-small.html +27 -0
  173. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-conditional-items.html +39 -0
  174. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-and-none.html +34 -0
  175. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-divider-none-and-conditional-items.html +44 -0
  176. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-error-message.html +39 -0
  177. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hint.html +30 -0
  178. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-hints-on-items.html +27 -0
  179. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-legend-as-a-page-heading.html +32 -0
  180. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-optional-form-group-classes-showing-group-error.html +40 -0
  181. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-pre-checked-values.html +39 -0
  182. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template-with-very-long-option-text.html +30 -0
  183. data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/template.njk +122 -0
  184. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/README.md +15 -0
  185. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss +4 -0
  186. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_cookie-banner.scss.map +1 -0
  187. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss +59 -0
  188. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/_index.scss.map +1 -0
  189. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/fixtures.json +543 -0
  190. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/macro-options.json +132 -0
  191. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/macro.njk +3 -0
  192. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-accepted-confirmation-banner.html +19 -0
  193. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-default.html +26 -0
  194. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-rejected-confirmation-banner.html +19 -0
  195. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template-with-html.html +27 -0
  196. data/node_modules/govuk-frontend/dist/govuk/components/cookie-banner/template.njk +57 -0
  197. data/node_modules/govuk-frontend/dist/govuk/components/date-input/README.md +15 -0
  198. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss +4 -0
  199. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_date-input.scss.map +1 -0
  200. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss +28 -0
  201. data/node_modules/govuk-frontend/dist/govuk/components/date-input/_index.scss.map +1 -0
  202. data/node_modules/govuk-frontend/dist/govuk/components/date-input/fixtures.json +672 -0
  203. data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro-options.json +163 -0
  204. data/node_modules/govuk-frontend/dist/govuk/components/date-input/macro.njk +3 -0
  205. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-day-and-month.html +28 -0
  206. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-default.html +36 -0
  207. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-month-and-year.html +28 -0
  208. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-day-input.html +39 -0
  209. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-month-input.html +39 -0
  210. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-error-on-year-input.html +39 -0
  211. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-and-hint.html +39 -0
  212. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-errors-only.html +36 -0
  213. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template-with-items.html +36 -0
  214. data/node_modules/govuk-frontend/dist/govuk/components/date-input/template.njk +106 -0
  215. data/node_modules/govuk-frontend/dist/govuk/components/details/README.md +15 -0
  216. data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss +4 -0
  217. data/node_modules/govuk-frontend/dist/govuk/components/details/_details.scss.map +1 -0
  218. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss +139 -0
  219. data/node_modules/govuk-frontend/dist/govuk/components/details/_index.scss.map +1 -0
  220. data/node_modules/govuk-frontend/dist/govuk/components/details/fixtures.json +133 -0
  221. data/node_modules/govuk-frontend/dist/govuk/components/details/implementation.md +87 -0
  222. data/node_modules/govuk-frontend/dist/govuk/components/details/macro-options.json +56 -0
  223. data/node_modules/govuk-frontend/dist/govuk/components/details/macro.njk +3 -0
  224. data/node_modules/govuk-frontend/dist/govuk/components/details/template-default.html +10 -0
  225. data/node_modules/govuk-frontend/dist/govuk/components/details/template-expanded.html +10 -0
  226. data/node_modules/govuk-frontend/dist/govuk/components/details/template-with-html.html +18 -0
  227. data/node_modules/govuk-frontend/dist/govuk/components/details/template.njk +14 -0
  228. data/node_modules/govuk-frontend/dist/govuk/components/error-message/README.md +15 -0
  229. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss +4 -0
  230. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_error-message.scss.map +1 -0
  231. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss +14 -0
  232. data/node_modules/govuk-frontend/dist/govuk/components/error-message/_index.scss.map +1 -0
  233. data/node_modules/govuk-frontend/dist/govuk/components/error-message/fixtures.json +113 -0
  234. data/node_modules/govuk-frontend/dist/govuk/components/error-message/macro-options.json +38 -0
  235. data/node_modules/govuk-frontend/dist/govuk/components/error-message/macro.njk +3 -0
  236. data/node_modules/govuk-frontend/dist/govuk/components/error-message/template-default.html +3 -0
  237. data/node_modules/govuk-frontend/dist/govuk/components/error-message/template-translated.html +3 -0
  238. data/node_modules/govuk-frontend/dist/govuk/components/error-message/template.njk +13 -0
  239. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/README.md +15 -0
  240. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss +4 -0
  241. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_error-summary.scss.map +1 -0
  242. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss +56 -0
  243. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/_index.scss.map +1 -0
  244. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js +423 -0
  245. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.js.map +1 -0
  246. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs +415 -0
  247. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.bundle.mjs.map +1 -0
  248. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs +101 -0
  249. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/error-summary.mjs.map +1 -0
  250. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/fixtures.json +326 -0
  251. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro-options.json +82 -0
  252. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/macro.njk +3 -0
  253. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-default.html +17 -0
  254. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-mixed-with-and-without-links.html +17 -0
  255. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-description-only.html +12 -0
  256. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-with-everything.html +20 -0
  257. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template-without-links.html +14 -0
  258. data/node_modules/govuk-frontend/dist/govuk/components/error-summary/template.njk +37 -0
  259. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/README.md +15 -0
  260. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss +4 -0
  261. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_exit-this-page.scss.map +1 -0
  262. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss +92 -0
  263. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_index.scss.map +1 -0
  264. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js +707 -0
  265. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.js.map +1 -0
  266. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs +699 -0
  267. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.bundle.mjs.map +1 -0
  268. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs +223 -0
  269. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/exit-this-page.mjs.map +1 -0
  270. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/fixtures.json +62 -0
  271. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/macro-options.json +62 -0
  272. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/macro.njk +3 -0
  273. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template-default.html +5 -0
  274. data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/template.njk +25 -0
  275. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/README.md +15 -0
  276. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss +4 -0
  277. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_fieldset.scss.map +1 -0
  278. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss +69 -0
  279. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/_index.scss.map +1 -0
  280. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/fixtures.json +260 -0
  281. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/macro-options.json +70 -0
  282. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/macro.njk +3 -0
  283. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-l.html +7 -0
  284. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-m.html +7 -0
  285. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-s.html +7 -0
  286. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-without-class.html +7 -0
  287. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-as-page-heading-xl.html +7 -0
  288. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-default.html +5 -0
  289. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-large-text.html +5 -0
  290. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-medium-text.html +5 -0
  291. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-small-text.html +5 -0
  292. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template-styled-as-xl-text.html +5 -0
  293. data/node_modules/govuk-frontend/dist/govuk/components/fieldset/template.njk +24 -0
  294. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/README.md +15 -0
  295. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss +4 -0
  296. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_file-upload.scss.map +1 -0
  297. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss +218 -0
  298. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/_index.scss.map +1 -0
  299. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js +744 -0
  300. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js.map +1 -0
  301. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs +736 -0
  302. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs.map +1 -0
  303. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs +257 -0
  304. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs.map +1 -0
  305. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/fixtures.json +378 -0
  306. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro-options.json +174 -0
  307. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/macro.njk +3 -0
  308. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-default.html +6 -0
  309. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced-with-error-message-and-hint.html +16 -0
  310. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-enhanced.html +10 -0
  311. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-translated.html +10 -0
  312. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-error-message-and-hint.html +12 -0
  313. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-hint-text.html +9 -0
  314. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template-with-label-as-page-heading.html +8 -0
  315. data/node_modules/govuk-frontend/dist/govuk/components/file-upload/template.njk +90 -0
  316. data/node_modules/govuk-frontend/dist/govuk/components/footer/README.md +15 -0
  317. data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss +4 -0
  318. data/node_modules/govuk-frontend/dist/govuk/components/footer/_footer.scss.map +1 -0
  319. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss +194 -0
  320. data/node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss.map +1 -0
  321. data/node_modules/govuk-frontend/dist/govuk/components/footer/fixtures.json +712 -0
  322. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro-options.json +170 -0
  323. data/node_modules/govuk-frontend/dist/govuk/components/footer/macro.njk +3 -0
  324. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-default.html +38 -0
  325. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-full-gds-example.html +212 -0
  326. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-three-equal-columns.html +146 -0
  327. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-html-content-licence-and-copyright-notice.html +33 -0
  328. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-meta.html +42 -0
  329. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-custom-text-content-licence-and-copyright-notice.html +33 -0
  330. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-one-column.html +76 -0
  331. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-default-width-navigation-two-columns.html +76 -0
  332. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-meta-links-and-meta-content.html +84 -0
  333. data/node_modules/govuk-frontend/dist/govuk/components/footer/template-with-navigation.html +96 -0
  334. data/node_modules/govuk-frontend/dist/govuk/components/footer/template.njk +107 -0
  335. data/node_modules/govuk-frontend/dist/govuk/components/header/README.md +15 -0
  336. data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss +4 -0
  337. data/node_modules/govuk-frontend/dist/govuk/components/header/_header.scss.map +1 -0
  338. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss +548 -0
  339. data/node_modules/govuk-frontend/dist/govuk/components/header/_index.scss.map +1 -0
  340. data/node_modules/govuk-frontend/dist/govuk/components/header/fixtures.json +602 -0
  341. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js +233 -0
  342. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.js.map +1 -0
  343. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs +225 -0
  344. data/node_modules/govuk-frontend/dist/govuk/components/header/header.bundle.mjs.map +1 -0
  345. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs +89 -0
  346. data/node_modules/govuk-frontend/dist/govuk/components/header/header.mjs.map +1 -0
  347. data/node_modules/govuk-frontend/dist/govuk/components/header/macro-options.json +131 -0
  348. data/node_modules/govuk-frontend/dist/govuk/components/header/macro.njk +3 -0
  349. data/node_modules/govuk-frontend/dist/govuk/components/header/template-default.html +29 -0
  350. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width-with-navigation.html +54 -0
  351. data/node_modules/govuk-frontend/dist/govuk/components/header/template-full-width.html +29 -0
  352. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-html.html +54 -0
  353. data/node_modules/govuk-frontend/dist/govuk/components/header/template-navigation-item-with-text-without-link.html +48 -0
  354. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-custom-menu-button-text.html +59 -0
  355. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-full-width-border.html +29 -0
  356. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-large-navigation.html +119 -0
  357. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-navigation.html +59 -0
  358. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-product-name.html +30 -0
  359. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-and-navigation.html +62 -0
  360. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name-but-no-service-url.html +34 -0
  361. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-service-name.html +34 -0
  362. data/node_modules/govuk-frontend/dist/govuk/components/header/template-with-st-edwards-crown.html +19 -0
  363. data/node_modules/govuk-frontend/dist/govuk/components/header/template.njk +66 -0
  364. data/node_modules/govuk-frontend/dist/govuk/components/hint/README.md +15 -0
  365. data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss +4 -0
  366. data/node_modules/govuk-frontend/dist/govuk/components/hint/_hint.scss.map +1 -0
  367. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss +45 -0
  368. data/node_modules/govuk-frontend/dist/govuk/components/hint/_index.scss.map +1 -0
  369. data/node_modules/govuk-frontend/dist/govuk/components/hint/fixtures.json +77 -0
  370. data/node_modules/govuk-frontend/dist/govuk/components/hint/macro-options.json +32 -0
  371. data/node_modules/govuk-frontend/dist/govuk/components/hint/macro.njk +3 -0
  372. data/node_modules/govuk-frontend/dist/govuk/components/hint/template-default.html +5 -0
  373. data/node_modules/govuk-frontend/dist/govuk/components/hint/template-with-html.html +4 -0
  374. data/node_modules/govuk-frontend/dist/govuk/components/hint/template.njk +6 -0
  375. data/node_modules/govuk-frontend/dist/govuk/components/input/README.md +15 -0
  376. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss +168 -0
  377. data/node_modules/govuk-frontend/dist/govuk/components/input/_index.scss.map +1 -0
  378. data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss +4 -0
  379. data/node_modules/govuk-frontend/dist/govuk/components/input/_input.scss.map +1 -0
  380. data/node_modules/govuk-frontend/dist/govuk/components/input/fixtures.json +830 -0
  381. data/node_modules/govuk-frontend/dist/govuk/components/input/macro-options.json +245 -0
  382. data/node_modules/govuk-frontend/dist/govuk/components/input/macro.njk +3 -0
  383. data/node_modules/govuk-frontend/dist/govuk/components/input/template-default.html +6 -0
  384. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-and-hint.html +12 -0
  385. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-error-message.html +9 -0
  386. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-extra-letter-spacing.html +6 -0
  387. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-hint-text.html +9 -0
  388. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-label-as-page-heading.html +8 -0
  389. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix-and-error.html +13 -0
  390. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix-and-width-modifier.html +10 -0
  391. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix-and-suffix.html +10 -0
  392. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-prefix.html +9 -0
  393. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-suffix.html +9 -0
  394. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-10-class.html +9 -0
  395. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-2-class.html +9 -0
  396. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-20-class.html +9 -0
  397. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-3-class.html +9 -0
  398. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-30-class.html +9 -0
  399. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-4-class.html +9 -0
  400. data/node_modules/govuk-frontend/dist/govuk/components/input/template-with-width-5-class.html +9 -0
  401. data/node_modules/govuk-frontend/dist/govuk/components/input/template.njk +133 -0
  402. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/README.md +15 -0
  403. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss +26 -0
  404. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_index.scss.map +1 -0
  405. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss +4 -0
  406. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/_inset-text.scss.map +1 -0
  407. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/fixtures.json +76 -0
  408. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/macro-options.json +38 -0
  409. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/macro.njk +3 -0
  410. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-default.html +3 -0
  411. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template-with-html.html +11 -0
  412. data/node_modules/govuk-frontend/dist/govuk/components/inset-text/template.njk +6 -0
  413. data/node_modules/govuk-frontend/dist/govuk/components/label/README.md +15 -0
  414. data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss +46 -0
  415. data/node_modules/govuk-frontend/dist/govuk/components/label/_index.scss.map +1 -0
  416. data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss +4 -0
  417. data/node_modules/govuk-frontend/dist/govuk/components/label/_label.scss.map +1 -0
  418. data/node_modules/govuk-frontend/dist/govuk/components/label/fixtures.json +210 -0
  419. data/node_modules/govuk-frontend/dist/govuk/components/label/macro-options.json +38 -0
  420. data/node_modules/govuk-frontend/dist/govuk/components/label/macro.njk +3 -0
  421. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-l.html +5 -0
  422. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-m.html +5 -0
  423. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-s.html +5 -0
  424. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-without-class.html +5 -0
  425. data/node_modules/govuk-frontend/dist/govuk/components/label/template-as-page-heading-xl.html +5 -0
  426. data/node_modules/govuk-frontend/dist/govuk/components/label/template-default.html +3 -0
  427. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-large-text.html +3 -0
  428. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-medium-text.html +3 -0
  429. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-small-text.html +3 -0
  430. data/node_modules/govuk-frontend/dist/govuk/components/label/template-styled-as-xl-text.html +3 -0
  431. data/node_modules/govuk-frontend/dist/govuk/components/label/template-with-bold-text.html +3 -0
  432. data/node_modules/govuk-frontend/dist/govuk/components/label/template.njk +19 -0
  433. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/README.md +15 -0
  434. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss +93 -0
  435. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_index.scss.map +1 -0
  436. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss +4 -0
  437. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_notification-banner.scss.map +1 -0
  438. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/fixtures.json +260 -0
  439. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/macro-options.json +74 -0
  440. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/macro.njk +3 -0
  441. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js +365 -0
  442. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.js.map +1 -0
  443. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs +357 -0
  444. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.bundle.mjs.map +1 -0
  445. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs +49 -0
  446. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/notification-banner.mjs.map +1 -0
  447. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-default.html +12 -0
  448. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-long-heading.html +12 -0
  449. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-lots-of-content.html +19 -0
  450. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-text-as-html.html +21 -0
  451. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template-with-type-as-success.html +12 -0
  452. data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/template.njk +49 -0
  453. data/node_modules/govuk-frontend/dist/govuk/components/pagination/README.md +15 -0
  454. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss +228 -0
  455. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_index.scss.map +1 -0
  456. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss +4 -0
  457. data/node_modules/govuk-frontend/dist/govuk/components/pagination/_pagination.scss.map +1 -0
  458. data/node_modules/govuk-frontend/dist/govuk/components/pagination/fixtures.json +393 -0
  459. data/node_modules/govuk-frontend/dist/govuk/components/pagination/macro-options.json +140 -0
  460. data/node_modules/govuk-frontend/dist/govuk/components/pagination/macro.njk +3 -0
  461. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-default.html +39 -0
  462. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-first-page.html +29 -0
  463. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-last-page.html +29 -0
  464. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-custom-link-and-item-text.html +39 -0
  465. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-many-pages.html +65 -0
  466. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-next-only.html +12 -0
  467. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-labels.html +26 -0
  468. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only-and-very-long-labels.html +26 -0
  469. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-prev-and-next-only.html +22 -0
  470. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template-with-previous-only.html +12 -0
  471. data/node_modules/govuk-frontend/dist/govuk/components/pagination/template.njk +85 -0
  472. data/node_modules/govuk-frontend/dist/govuk/components/panel/README.md +15 -0
  473. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss +58 -0
  474. data/node_modules/govuk-frontend/dist/govuk/components/panel/_index.scss.map +1 -0
  475. data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss +4 -0
  476. data/node_modules/govuk-frontend/dist/govuk/components/panel/_panel.scss.map +1 -0
  477. data/node_modules/govuk-frontend/dist/govuk/components/panel/fixtures.json +118 -0
  478. data/node_modules/govuk-frontend/dist/govuk/components/panel/macro-options.json +50 -0
  479. data/node_modules/govuk-frontend/dist/govuk/components/panel/macro.njk +3 -0
  480. data/node_modules/govuk-frontend/dist/govuk/components/panel/template-default.html +8 -0
  481. data/node_modules/govuk-frontend/dist/govuk/components/panel/template.njk +16 -0
  482. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss +57 -0
  483. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_index.scss.map +1 -0
  484. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss +4 -0
  485. data/node_modules/govuk-frontend/dist/govuk/components/password-input/_password-input.scss.map +1 -0
  486. data/node_modules/govuk-frontend/dist/govuk/components/password-input/fixtures.json +215 -0
  487. data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro-options.json +181 -0
  488. data/node_modules/govuk-frontend/dist/govuk/components/password-input/macro.njk +3 -0
  489. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js +638 -0
  490. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.js.map +1 -0
  491. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs +630 -0
  492. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.bundle.mjs.map +1 -0
  493. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs +150 -0
  494. data/node_modules/govuk-frontend/dist/govuk/components/password-input/password-input.mjs.map +1 -0
  495. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-default.html +11 -0
  496. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-error-message.html +17 -0
  497. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-hint-text.html +14 -0
  498. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-input-width-class.html +11 -0
  499. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template-with-label-as-page-heading.html +13 -0
  500. data/node_modules/govuk-frontend/dist/govuk/components/password-input/template.njk +93 -0
  501. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/README.md +15 -0
  502. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss +36 -0
  503. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_index.scss.map +1 -0
  504. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss +4 -0
  505. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/_phase-banner.scss.map +1 -0
  506. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/fixtures.json +97 -0
  507. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/macro-options.json +33 -0
  508. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/macro.njk +3 -0
  509. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template-default.html +10 -0
  510. data/node_modules/govuk-frontend/dist/govuk/components/phase-banner/template.njk +17 -0
  511. data/node_modules/govuk-frontend/dist/govuk/components/radios/README.md +15 -0
  512. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss +328 -0
  513. data/node_modules/govuk-frontend/dist/govuk/components/radios/_index.scss.map +1 -0
  514. data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss +4 -0
  515. data/node_modules/govuk-frontend/dist/govuk/components/radios/_radios.scss.map +1 -0
  516. data/node_modules/govuk-frontend/dist/govuk/components/radios/fixtures.json +1334 -0
  517. data/node_modules/govuk-frontend/dist/govuk/components/radios/macro-options.json +211 -0
  518. data/node_modules/govuk-frontend/dist/govuk/components/radios/macro.njk +3 -0
  519. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js +225 -0
  520. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.js.map +1 -0
  521. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs +217 -0
  522. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.bundle.mjs.map +1 -0
  523. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs +88 -0
  524. data/node_modules/govuk-frontend/dist/govuk/components/radios/radios.mjs.map +1 -0
  525. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-default.html +21 -0
  526. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-inline.html +24 -0
  527. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-inline.html +27 -0
  528. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-a-divider.html +28 -0
  529. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-conditional-reveal.html +31 -0
  530. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-error.html +30 -0
  531. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-hint.html +30 -0
  532. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small-with-long-text.html +27 -0
  533. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-small.html +27 -0
  534. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-a-divider.html +28 -0
  535. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-item-checked.html +39 -0
  536. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items-and-pre-checked-value.html +39 -0
  537. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-conditional-items.html +39 -0
  538. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-fieldset-and-error-message.html +24 -0
  539. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hint.html +24 -0
  540. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-hints-on-items.html +29 -0
  541. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-legend-as-page-heading.html +26 -0
  542. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-optional-form-group-classes-showing-group-error.html +40 -0
  543. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-with-very-long-option-text.html +33 -0
  544. data/node_modules/govuk-frontend/dist/govuk/components/radios/template-without-fieldset.html +22 -0
  545. data/node_modules/govuk-frontend/dist/govuk/components/radios/template.njk +115 -0
  546. data/node_modules/govuk-frontend/dist/govuk/components/select/README.md +15 -0
  547. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss +59 -0
  548. data/node_modules/govuk-frontend/dist/govuk/components/select/_index.scss.map +1 -0
  549. data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss +4 -0
  550. data/node_modules/govuk-frontend/dist/govuk/components/select/_select.scss.map +1 -0
  551. data/node_modules/govuk-frontend/dist/govuk/components/select/fixtures.json +550 -0
  552. data/node_modules/govuk-frontend/dist/govuk/components/select/macro-options.json +163 -0
  553. data/node_modules/govuk-frontend/dist/govuk/components/select/macro.njk +3 -0
  554. data/node_modules/govuk-frontend/dist/govuk/components/select/template-default.html +10 -0
  555. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-full-width-override.html +10 -0
  556. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-hint-text-and-error-message.html +16 -0
  557. data/node_modules/govuk-frontend/dist/govuk/components/select/template-with-label-as-page-heading.html +12 -0
  558. data/node_modules/govuk-frontend/dist/govuk/components/select/template.njk +68 -0
  559. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/README.md +15 -0
  560. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss +254 -0
  561. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_index.scss.map +1 -0
  562. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss +4 -0
  563. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_service-navigation.scss.map +1 -0
  564. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/fixtures.json +651 -0
  565. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro-options.json +144 -0
  566. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/macro.njk +3 -0
  567. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js +229 -0
  568. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.js.map +1 -0
  569. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs +221 -0
  570. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.bundle.mjs.map +1 -0
  571. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs +85 -0
  572. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/service-navigation.mjs.map +1 -0
  573. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-default.html +57 -0
  574. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-inverse.html +63 -0
  575. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item-and-collapsenavigationonmobile-set-to-true.html +38 -0
  576. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-a-single-navigation-item.html +35 -0
  577. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-collapsenavigationonmobile-set-to-false.html +60 -0
  578. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-html-navigation-items.html +49 -0
  579. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-large-navigation.html +153 -0
  580. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-long-service-name.html +20 -0
  581. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-navigation-with-a-current-item.html +58 -0
  582. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-non-link-navigation-items.html +49 -0
  583. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-link.html +20 -0
  584. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name-and-navigation.html +63 -0
  585. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template-with-service-name.html +18 -0
  586. data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/template.njk +106 -0
  587. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/README.md +15 -0
  588. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss +52 -0
  589. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_index.scss.map +1 -0
  590. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss +4 -0
  591. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/_skip-link.scss.map +1 -0
  592. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/fixtures.json +113 -0
  593. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/macro-options.json +32 -0
  594. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/macro.njk +3 -0
  595. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js +224 -0
  596. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.js.map +1 -0
  597. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs +216 -0
  598. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.bundle.mjs.map +1 -0
  599. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs +58 -0
  600. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/skip-link.mjs.map +1 -0
  601. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template-default.html +1 -0
  602. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template-with-focus.html +1 -0
  603. data/node_modules/govuk-frontend/dist/govuk/components/skip-link/template.njk +6 -0
  604. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/README.md +15 -0
  605. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss +269 -0
  606. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_index.scss.map +1 -0
  607. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss +4 -0
  608. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/_summary-list.scss.map +1 -0
  609. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/fixtures.json +1528 -0
  610. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/macro-options.json +248 -0
  611. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/macro.njk +3 -0
  612. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-extreme.html +106 -0
  613. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-html-header.html +28 -0
  614. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-a-text-header.html +28 -0
  615. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions-plus-summary-list-actions.html +49 -0
  616. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-as-a-summary-card-with-actions.html +36 -0
  617. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-default.html +35 -0
  618. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-extreme.html +261 -0
  619. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border-on-last-row.html +35 -0
  620. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-no-border.html +35 -0
  621. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template-with-actions.html +58 -0
  622. data/node_modules/govuk-frontend/dist/govuk/components/summary-list/template.njk +94 -0
  623. data/node_modules/govuk-frontend/dist/govuk/components/table/README.md +15 -0
  624. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss +75 -0
  625. data/node_modules/govuk-frontend/dist/govuk/components/table/_index.scss.map +1 -0
  626. data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss +4 -0
  627. data/node_modules/govuk-frontend/dist/govuk/components/table/_table.scss.map +1 -0
  628. data/node_modules/govuk-frontend/dist/govuk/components/table/fixtures.json +651 -0
  629. data/node_modules/govuk-frontend/dist/govuk/components/table/macro-options.json +132 -0
  630. data/node_modules/govuk-frontend/dist/govuk/components/table/macro.njk +3 -0
  631. data/node_modules/govuk-frontend/dist/govuk/components/table/template-default.html +19 -0
  632. data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-head-and-caption.html +27 -0
  633. data/node_modules/govuk-frontend/dist/govuk/components/table/template-with-head.html +26 -0
  634. data/node_modules/govuk-frontend/dist/govuk/components/table/template.njk +57 -0
  635. data/node_modules/govuk-frontend/dist/govuk/components/tabs/README.md +15 -0
  636. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss +134 -0
  637. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_index.scss.map +1 -0
  638. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss +4 -0
  639. data/node_modules/govuk-frontend/dist/govuk/components/tabs/_tabs.scss.map +1 -0
  640. data/node_modules/govuk-frontend/dist/govuk/components/tabs/fixtures.json +333 -0
  641. data/node_modules/govuk-frontend/dist/govuk/components/tabs/macro-options.json +84 -0
  642. data/node_modules/govuk-frontend/dist/govuk/components/tabs/macro.njk +3 -0
  643. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js +433 -0
  644. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.js.map +1 -0
  645. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs +425 -0
  646. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.bundle.mjs.map +1 -0
  647. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs +283 -0
  648. data/node_modules/govuk-frontend/dist/govuk/components/tabs/tabs.mjs.map +1 -0
  649. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-default.html +117 -0
  650. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template-tabs-with-anchor-in-panel.html +26 -0
  651. data/node_modules/govuk-frontend/dist/govuk/components/tabs/template.njk +48 -0
  652. data/node_modules/govuk-frontend/dist/govuk/components/tag/README.md +15 -0
  653. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss +97 -0
  654. data/node_modules/govuk-frontend/dist/govuk/components/tag/_index.scss.map +1 -0
  655. data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss +4 -0
  656. data/node_modules/govuk-frontend/dist/govuk/components/tag/_tag.scss.map +1 -0
  657. data/node_modules/govuk-frontend/dist/govuk/components/tag/fixtures.json +161 -0
  658. data/node_modules/govuk-frontend/dist/govuk/components/tag/macro-options.json +26 -0
  659. data/node_modules/govuk-frontend/dist/govuk/components/tag/macro.njk +3 -0
  660. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-default.html +3 -0
  661. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-green.html +3 -0
  662. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-grey.html +3 -0
  663. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-light-blue.html +3 -0
  664. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-orange.html +3 -0
  665. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-pink.html +3 -0
  666. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-purple.html +3 -0
  667. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-red.html +3 -0
  668. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-turquoise.html +3 -0
  669. data/node_modules/govuk-frontend/dist/govuk/components/tag/template-yellow.html +3 -0
  670. data/node_modules/govuk-frontend/dist/govuk/components/tag/template.njk +6 -0
  671. data/node_modules/govuk-frontend/dist/govuk/components/task-list/README.md +15 -0
  672. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss +79 -0
  673. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_index.scss.map +1 -0
  674. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss +4 -0
  675. data/node_modules/govuk-frontend/dist/govuk/components/task-list/_task-list.scss.map +1 -0
  676. data/node_modules/govuk-frontend/dist/govuk/components/task-list/fixtures.json +529 -0
  677. data/node_modules/govuk-frontend/dist/govuk/components/task-list/macro-options.json +119 -0
  678. data/node_modules/govuk-frontend/dist/govuk/components/task-list/macro.njk +3 -0
  679. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-default.html +37 -0
  680. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-all-possible-colours.html +143 -0
  681. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-empty-values.html +27 -0
  682. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-hint-text-and-additional-states.html +77 -0
  683. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template-with-very-long-single-word-tags.html +37 -0
  684. data/node_modules/govuk-frontend/dist/govuk/components/task-list/template.njk +41 -0
  685. data/node_modules/govuk-frontend/dist/govuk/components/textarea/README.md +15 -0
  686. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss +50 -0
  687. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_index.scss.map +1 -0
  688. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss +4 -0
  689. data/node_modules/govuk-frontend/dist/govuk/components/textarea/_textarea.scss.map +1 -0
  690. data/node_modules/govuk-frontend/dist/govuk/components/textarea/fixtures.json +316 -0
  691. data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro-options.json +143 -0
  692. data/node_modules/govuk-frontend/dist/govuk/components/textarea/macro.njk +3 -0
  693. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-default.html +6 -0
  694. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-custom-rows.html +6 -0
  695. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-default-value.html +9 -0
  696. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-error-message.html +9 -0
  697. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-hint.html +9 -0
  698. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template-with-label-as-page-heading.html +8 -0
  699. data/node_modules/govuk-frontend/dist/govuk/components/textarea/template.njk +56 -0
  700. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/README.md +15 -0
  701. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss +66 -0
  702. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_index.scss.map +1 -0
  703. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss +4 -0
  704. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/_warning-text.scss.map +1 -0
  705. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/fixtures.json +101 -0
  706. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json +32 -0
  707. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/macro.njk +3 -0
  708. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template-default.html +7 -0
  709. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template-multiple-lines.html +7 -0
  710. data/node_modules/govuk-frontend/dist/govuk/components/warning-text/template.njk +10 -0
  711. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss +10 -0
  712. data/node_modules/govuk-frontend/dist/govuk/core/_all.scss.map +1 -0
  713. data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss +20 -0
  714. data/node_modules/govuk-frontend/dist/govuk/core/_global-styles.scss.map +1 -0
  715. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss +15 -0
  716. data/node_modules/govuk-frontend/dist/govuk/core/_govuk-frontend-properties.scss.map +1 -0
  717. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss +8 -0
  718. data/node_modules/govuk-frontend/dist/govuk/core/_index.scss.map +1 -0
  719. data/node_modules/govuk-frontend/dist/govuk/core/_links.scss +42 -0
  720. data/node_modules/govuk-frontend/dist/govuk/core/_links.scss.map +1 -0
  721. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss +67 -0
  722. data/node_modules/govuk-frontend/dist/govuk/core/_lists.scss.map +1 -0
  723. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss +51 -0
  724. data/node_modules/govuk-frontend/dist/govuk/core/_section-break.scss.map +1 -0
  725. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss +189 -0
  726. data/node_modules/govuk-frontend/dist/govuk/core/_typography.scss.map +1 -0
  727. data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs +57 -0
  728. data/node_modules/govuk-frontend/dist/govuk/errors/index.mjs.map +1 -0
  729. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css +3 -0
  730. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.css.map +1 -0
  731. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -0
  732. data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js.map +1 -0
  733. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss +10 -0
  734. data/node_modules/govuk-frontend/dist/govuk/helpers/_all.scss.map +1 -0
  735. data/node_modules/govuk-frontend/dist/govuk/helpers/_clearfix.scss +17 -0
  736. data/node_modules/govuk-frontend/dist/govuk/helpers/_clearfix.scss.map +1 -0
  737. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss +167 -0
  738. data/node_modules/govuk-frontend/dist/govuk/helpers/_colour.scss.map +1 -0
  739. data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss +38 -0
  740. data/node_modules/govuk-frontend/dist/govuk/helpers/_device-pixels.scss.map +1 -0
  741. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss +59 -0
  742. data/node_modules/govuk-frontend/dist/govuk/helpers/_focused.scss.map +1 -0
  743. data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces.scss +41 -0
  744. data/node_modules/govuk-frontend/dist/govuk/helpers/_font-faces.scss.map +1 -0
  745. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss +63 -0
  746. data/node_modules/govuk-frontend/dist/govuk/helpers/_grid.scss.map +1 -0
  747. data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss +14 -0
  748. data/node_modules/govuk-frontend/dist/govuk/helpers/_index.scss.map +1 -0
  749. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +391 -0
  750. data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss.map +1 -0
  751. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss +82 -0
  752. data/node_modules/govuk-frontend/dist/govuk/helpers/_media-queries.scss.map +1 -0
  753. data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss +82 -0
  754. data/node_modules/govuk-frontend/dist/govuk/helpers/_shape-arrow.scss.map +1 -0
  755. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss +173 -0
  756. data/node_modules/govuk-frontend/dist/govuk/helpers/_spacing.scss.map +1 -0
  757. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss +288 -0
  758. data/node_modules/govuk-frontend/dist/govuk/helpers/_typography.scss.map +1 -0
  759. data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss +88 -0
  760. data/node_modules/govuk-frontend/dist/govuk/helpers/_visually-hidden.scss.map +1 -0
  761. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs +195 -0
  762. data/node_modules/govuk-frontend/dist/govuk/i18n.mjs.map +1 -0
  763. data/node_modules/govuk-frontend/dist/govuk/index.scss +11 -0
  764. data/node_modules/govuk-frontend/dist/govuk/index.scss.map +1 -0
  765. data/node_modules/govuk-frontend/dist/govuk/init.mjs +166 -0
  766. data/node_modules/govuk-frontend/dist/govuk/init.mjs.map +1 -0
  767. data/node_modules/govuk-frontend/dist/govuk/macros/attributes.njk +94 -0
  768. data/node_modules/govuk-frontend/dist/govuk/macros/i18n.njk +21 -0
  769. data/node_modules/govuk-frontend/dist/govuk/macros/logo.njk +78 -0
  770. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss +10 -0
  771. data/node_modules/govuk-frontend/dist/govuk/objects/_all.scss.map +1 -0
  772. data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss +80 -0
  773. data/node_modules/govuk-frontend/dist/govuk/objects/_button-group.scss.map +1 -0
  774. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss +25 -0
  775. data/node_modules/govuk-frontend/dist/govuk/objects/_form-group.scss.map +1 -0
  776. data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss +26 -0
  777. data/node_modules/govuk-frontend/dist/govuk/objects/_grid.scss.map +1 -0
  778. data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss +8 -0
  779. data/node_modules/govuk-frontend/dist/govuk/objects/_index.scss.map +1 -0
  780. data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss +55 -0
  781. data/node_modules/govuk-frontend/dist/govuk/objects/_main-wrapper.scss.map +1 -0
  782. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss +57 -0
  783. data/node_modules/govuk-frontend/dist/govuk/objects/_template.scss.map +1 -0
  784. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss +77 -0
  785. data/node_modules/govuk-frontend/dist/govuk/objects/_width-container.scss.map +1 -0
  786. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss +9 -0
  787. data/node_modules/govuk-frontend/dist/govuk/overrides/_all.scss.map +1 -0
  788. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss +26 -0
  789. data/node_modules/govuk-frontend/dist/govuk/overrides/_display.scss.map +1 -0
  790. data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss +7 -0
  791. data/node_modules/govuk-frontend/dist/govuk/overrides/_index.scss.map +1 -0
  792. data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss +86 -0
  793. data/node_modules/govuk-frontend/dist/govuk/overrides/_spacing.scss.map +1 -0
  794. data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss +16 -0
  795. data/node_modules/govuk-frontend/dist/govuk/overrides/_text-align.scss.map +1 -0
  796. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss +42 -0
  797. data/node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss.map +1 -0
  798. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss +48 -0
  799. data/node_modules/govuk-frontend/dist/govuk/overrides/_width.scss.map +1 -0
  800. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss +10 -0
  801. data/node_modules/govuk-frontend/dist/govuk/settings/_all.scss.map +1 -0
  802. data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss +84 -0
  803. data/node_modules/govuk-frontend/dist/govuk/settings/_assets.scss.map +1 -0
  804. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss +195 -0
  805. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-applied.scss.map +1 -0
  806. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss +382 -0
  807. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-organisations.scss.map +1 -0
  808. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss +37 -0
  809. data/node_modules/govuk-frontend/dist/govuk/settings/_colours-palette.scss.map +1 -0
  810. data/node_modules/govuk-frontend/dist/govuk/settings/_global-styles.scss +15 -0
  811. data/node_modules/govuk-frontend/dist/govuk/settings/_global-styles.scss.map +1 -0
  812. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss +36 -0
  813. data/node_modules/govuk-frontend/dist/govuk/settings/_index.scss.map +1 -0
  814. data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss +49 -0
  815. data/node_modules/govuk-frontend/dist/govuk/settings/_links.scss.map +1 -0
  816. data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss +107 -0
  817. data/node_modules/govuk-frontend/dist/govuk/settings/_measurements.scss.map +1 -0
  818. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss +25 -0
  819. data/node_modules/govuk-frontend/dist/govuk/settings/_media-queries.scss.map +1 -0
  820. data/node_modules/govuk-frontend/dist/govuk/settings/_spacing.scss +78 -0
  821. data/node_modules/govuk-frontend/dist/govuk/settings/_spacing.scss.map +1 -0
  822. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss +52 -0
  823. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-font.scss.map +1 -0
  824. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss +317 -0
  825. data/node_modules/govuk-frontend/dist/govuk/settings/_typography-responsive.scss.map +1 -0
  826. data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss +78 -0
  827. data/node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss.map +1 -0
  828. data/node_modules/govuk-frontend/dist/govuk/template.njk +69 -0
  829. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss +10 -0
  830. data/node_modules/govuk-frontend/dist/govuk/tools/_all.scss.map +1 -0
  831. data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss +35 -0
  832. data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss.map +1 -0
  833. data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss +28 -0
  834. data/node_modules/govuk-frontend/dist/govuk/tools/_font-url.scss.map +1 -0
  835. data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss +28 -0
  836. data/node_modules/govuk-frontend/dist/govuk/tools/_image-url.scss.map +1 -0
  837. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss +8 -0
  838. data/node_modules/govuk-frontend/dist/govuk/tools/_index.scss.map +1 -0
  839. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss +22 -0
  840. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-em.scss.map +1 -0
  841. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss +22 -0
  842. data/node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map +1 -0
  843. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss +65 -0
  844. data/node_modules/govuk-frontend/dist/govuk/tools/_rebrand.scss.map +1 -0
  845. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss +10 -0
  846. data/node_modules/govuk-frontend/dist/govuk/utilities/_all.scss.map +1 -0
  847. data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss +7 -0
  848. data/node_modules/govuk-frontend/dist/govuk/utilities/_clearfix.scss.map +1 -0
  849. data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss +4 -0
  850. data/node_modules/govuk-frontend/dist/govuk/utilities/_index.scss.map +1 -0
  851. data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss +11 -0
  852. data/node_modules/govuk-frontend/dist/govuk/utilities/_visually-hidden.scss.map +1 -0
  853. data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss +349 -0
  854. data/node_modules/govuk-frontend/dist/govuk/vendor/_sass-mq.scss.map +1 -0
  855. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/functions.js +25 -0
  856. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.js +15 -0
  857. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss +13 -0
  858. data/node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss.map +1 -0
  859. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +179 -0
  860. data/node_modules/govuk-frontend/package.json +92 -0
  861. metadata +852 -17
  862. data/.github/dependabot.yml +0 -10
  863. data/.github/pull_request_template.md +0 -1
  864. data/.github/workflows/actionlint.yml +0 -12
  865. data/.github/workflows/autorelease.yml +0 -12
  866. data/.github/workflows/ci.yml +0 -55
  867. data/.gitignore +0 -19
  868. data/.rspec +0 -3
  869. data/.rubocop.yml +0 -3
  870. data/.ruby-version +0 -1
  871. data/CHANGELOG.md +0 -163
  872. data/Gemfile +0 -7
  873. data/LICENSE.txt +0 -19
  874. data/Rakefile +0 -10
  875. data/bin/console +0 -15
  876. data/bin/setup +0 -8
  877. data/content_block_tools.gemspec +0 -35
@@ -0,0 +1,830 @@
1
+ {
2
+ "component": "input",
3
+ "fixtures": [
4
+ {
5
+ "name": "default",
6
+ "options": {
7
+ "label": {
8
+ "text": "National Insurance number"
9
+ },
10
+ "name": "test-name"
11
+ },
12
+ "hidden": false,
13
+ "description": "",
14
+ "pageTemplateOptions": {},
15
+ "screenshot": true,
16
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"test-name\">\n National Insurance number\n </label>\n <input class=\"govuk-input\" id=\"test-name\" name=\"test-name\" type=\"text\">\n</div>"
17
+ },
18
+ {
19
+ "name": "with hint text",
20
+ "options": {
21
+ "label": {
22
+ "text": "National insurance number"
23
+ },
24
+ "hint": {
25
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
26
+ },
27
+ "id": "input-with-hint-text",
28
+ "name": "test-name-2"
29
+ },
30
+ "hidden": false,
31
+ "description": "",
32
+ "pageTemplateOptions": {},
33
+ "screenshot": false,
34
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-hint-text\">\n National insurance number\n </label>\n <div id=\"input-with-hint-text-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 <input class=\"govuk-input\" id=\"input-with-hint-text\" name=\"test-name-2\" type=\"text\" aria-describedby=\"input-with-hint-text-hint\">\n</div>"
35
+ },
36
+ {
37
+ "name": "with error message",
38
+ "options": {
39
+ "label": {
40
+ "text": "National Insurance number"
41
+ },
42
+ "id": "input-with-error-message",
43
+ "name": "test-name-3",
44
+ "errorMessage": {
45
+ "text": "Enter a National Insurance number in the correct format"
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=\"input-with-error-message\">\n National Insurance number\n </label>\n <p id=\"input-with-error-message-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Enter a National Insurance number in the correct format\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"input-with-error-message\" name=\"test-name-3\" type=\"text\" aria-describedby=\"input-with-error-message-error\">\n</div>"
53
+ },
54
+ {
55
+ "name": "with error and hint",
56
+ "options": {
57
+ "id": "with-error-hint",
58
+ "name": "with-error-hint",
59
+ "label": {
60
+ "text": "National insurance number"
61
+ },
62
+ "errorMessage": {
63
+ "text": "Enter a National Insurance number in the correct format"
64
+ },
65
+ "hint": {
66
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
67
+ }
68
+ },
69
+ "hidden": false,
70
+ "description": "",
71
+ "pageTemplateOptions": {},
72
+ "screenshot": false,
73
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-error-hint\">\n National insurance number\n </label>\n <div id=\"with-error-hint-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 <p id=\"with-error-hint-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Enter a National Insurance number in the correct format\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"with-error-hint\" name=\"with-error-hint\" type=\"text\" aria-describedby=\"with-error-hint-hint with-error-hint-error\">\n</div>"
74
+ },
75
+ {
76
+ "name": "with width-2 class",
77
+ "options": {
78
+ "label": {
79
+ "text": "National insurance number"
80
+ },
81
+ "hint": {
82
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
83
+ },
84
+ "id": "input-width-2",
85
+ "name": "test-width-2",
86
+ "classes": "govuk-input--width-2"
87
+ },
88
+ "hidden": false,
89
+ "description": "",
90
+ "pageTemplateOptions": {},
91
+ "screenshot": false,
92
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-2\">\n National insurance number\n </label>\n <div id=\"input-width-2-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 <input class=\"govuk-input govuk-input--width-2\" id=\"input-width-2\" name=\"test-width-2\" type=\"text\" aria-describedby=\"input-width-2-hint\">\n</div>"
93
+ },
94
+ {
95
+ "name": "with width-3 class",
96
+ "options": {
97
+ "label": {
98
+ "text": "National insurance number"
99
+ },
100
+ "hint": {
101
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
102
+ },
103
+ "id": "input-width-3",
104
+ "name": "test-width-3",
105
+ "classes": "govuk-input--width-3"
106
+ },
107
+ "hidden": false,
108
+ "description": "",
109
+ "pageTemplateOptions": {},
110
+ "screenshot": false,
111
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-3\">\n National insurance number\n </label>\n <div id=\"input-width-3-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 <input class=\"govuk-input govuk-input--width-3\" id=\"input-width-3\" name=\"test-width-3\" type=\"text\" aria-describedby=\"input-width-3-hint\">\n</div>"
112
+ },
113
+ {
114
+ "name": "with width-4 class",
115
+ "options": {
116
+ "label": {
117
+ "text": "National insurance number"
118
+ },
119
+ "hint": {
120
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
121
+ },
122
+ "id": "input-width-4",
123
+ "name": "test-width-4",
124
+ "classes": "govuk-input--width-4"
125
+ },
126
+ "hidden": false,
127
+ "description": "",
128
+ "pageTemplateOptions": {},
129
+ "screenshot": false,
130
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-4\">\n National insurance number\n </label>\n <div id=\"input-width-4-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 <input class=\"govuk-input govuk-input--width-4\" id=\"input-width-4\" name=\"test-width-4\" type=\"text\" aria-describedby=\"input-width-4-hint\">\n</div>"
131
+ },
132
+ {
133
+ "name": "with width-5 class",
134
+ "options": {
135
+ "label": {
136
+ "text": "National insurance number"
137
+ },
138
+ "hint": {
139
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
140
+ },
141
+ "id": "input-width-5",
142
+ "name": "test-width-5",
143
+ "classes": "govuk-input--width-5"
144
+ },
145
+ "hidden": false,
146
+ "description": "",
147
+ "pageTemplateOptions": {},
148
+ "screenshot": false,
149
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-5\">\n National insurance number\n </label>\n <div id=\"input-width-5-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 <input class=\"govuk-input govuk-input--width-5\" id=\"input-width-5\" name=\"test-width-5\" type=\"text\" aria-describedby=\"input-width-5-hint\">\n</div>"
150
+ },
151
+ {
152
+ "name": "with width-10 class",
153
+ "options": {
154
+ "label": {
155
+ "text": "National insurance number"
156
+ },
157
+ "hint": {
158
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
159
+ },
160
+ "id": "input-width-10",
161
+ "name": "test-width-10",
162
+ "classes": "govuk-input--width-10"
163
+ },
164
+ "hidden": false,
165
+ "description": "",
166
+ "pageTemplateOptions": {},
167
+ "screenshot": false,
168
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-10\">\n National insurance number\n </label>\n <div id=\"input-width-10-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 <input class=\"govuk-input govuk-input--width-10\" id=\"input-width-10\" name=\"test-width-10\" type=\"text\" aria-describedby=\"input-width-10-hint\">\n</div>"
169
+ },
170
+ {
171
+ "name": "with width-20 class",
172
+ "options": {
173
+ "label": {
174
+ "text": "National insurance number"
175
+ },
176
+ "hint": {
177
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
178
+ },
179
+ "id": "input-width-20",
180
+ "name": "test-width-20",
181
+ "classes": "govuk-input--width-20"
182
+ },
183
+ "hidden": false,
184
+ "description": "",
185
+ "pageTemplateOptions": {},
186
+ "screenshot": false,
187
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-20\">\n National insurance number\n </label>\n <div id=\"input-width-20-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 <input class=\"govuk-input govuk-input--width-20\" id=\"input-width-20\" name=\"test-width-20\" type=\"text\" aria-describedby=\"input-width-20-hint\">\n</div>"
188
+ },
189
+ {
190
+ "name": "with width-30 class",
191
+ "options": {
192
+ "label": {
193
+ "text": "National insurance number"
194
+ },
195
+ "hint": {
196
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
197
+ },
198
+ "id": "input-width-30",
199
+ "name": "test-width-30",
200
+ "classes": "govuk-input--width-30"
201
+ },
202
+ "hidden": false,
203
+ "description": "",
204
+ "pageTemplateOptions": {},
205
+ "screenshot": false,
206
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-width-30\">\n National insurance number\n </label>\n <div id=\"input-width-30-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 <input class=\"govuk-input govuk-input--width-30\" id=\"input-width-30\" name=\"test-width-30\" type=\"text\" aria-describedby=\"input-width-30-hint\">\n</div>"
207
+ },
208
+ {
209
+ "name": "with label as page heading",
210
+ "options": {
211
+ "label": {
212
+ "text": "National Insurance number",
213
+ "classes": "govuk-label--l",
214
+ "isPageHeading": true
215
+ },
216
+ "id": "input-with-page-heading",
217
+ "name": "test-name"
218
+ },
219
+ "hidden": false,
220
+ "description": "",
221
+ "pageTemplateOptions": {},
222
+ "screenshot": false,
223
+ "html": "<div class=\"govuk-form-group\">\n <h1 class=\"govuk-label-wrapper\">\n <label class=\"govuk-label govuk-label--l\" for=\"input-with-page-heading\">\n National Insurance number\n </label>\n </h1>\n <input class=\"govuk-input\" id=\"input-with-page-heading\" name=\"test-name\" type=\"text\">\n</div>"
224
+ },
225
+ {
226
+ "name": "with prefix",
227
+ "options": {
228
+ "label": {
229
+ "text": "Amount, in pounds"
230
+ },
231
+ "id": "input-with-prefix",
232
+ "name": "amount",
233
+ "prefix": {
234
+ "text": "£"
235
+ }
236
+ },
237
+ "hidden": false,
238
+ "description": "",
239
+ "pageTemplateOptions": {},
240
+ "screenshot": false,
241
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix\" name=\"amount\" type=\"text\">\n </div>\n</div>"
242
+ },
243
+ {
244
+ "name": "with suffix",
245
+ "options": {
246
+ "label": {
247
+ "text": "Weight, in kilograms"
248
+ },
249
+ "id": "input-with-suffix",
250
+ "name": "weight",
251
+ "suffix": {
252
+ "text": "kg"
253
+ }
254
+ },
255
+ "hidden": false,
256
+ "description": "",
257
+ "pageTemplateOptions": {},
258
+ "screenshot": false,
259
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">kg</div>\n </div>\n</div>"
260
+ },
261
+ {
262
+ "name": "with prefix and suffix",
263
+ "options": {
264
+ "label": {
265
+ "text": "Cost per item, in pounds"
266
+ },
267
+ "id": "input-with-prefix-suffix",
268
+ "name": "cost",
269
+ "prefix": {
270
+ "text": "£"
271
+ },
272
+ "suffix": {
273
+ "text": "per item"
274
+ }
275
+ },
276
+ "hidden": false,
277
+ "description": "",
278
+ "pageTemplateOptions": {},
279
+ "screenshot": true,
280
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-suffix\">\n Cost per item, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix-suffix\" name=\"cost\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
281
+ },
282
+ {
283
+ "name": "with prefix and suffix and error",
284
+ "options": {
285
+ "label": {
286
+ "text": "Cost per item, in pounds"
287
+ },
288
+ "id": "input-with-prefix-suffix",
289
+ "name": "cost",
290
+ "prefix": {
291
+ "text": "£"
292
+ },
293
+ "suffix": {
294
+ "text": "per item"
295
+ },
296
+ "errorMessage": {
297
+ "text": "Error message goes here"
298
+ }
299
+ },
300
+ "hidden": false,
301
+ "description": "",
302
+ "pageTemplateOptions": {},
303
+ "screenshot": false,
304
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"input-with-prefix-suffix\">\n Cost per item, in pounds\n </label>\n <p id=\"input-with-prefix-suffix-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message goes here\n </p>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input govuk-input--error\" id=\"input-with-prefix-suffix\" name=\"cost\" type=\"text\" aria-describedby=\"input-with-prefix-suffix-error\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
305
+ },
306
+ {
307
+ "name": "with prefix and suffix and width modifier",
308
+ "options": {
309
+ "label": {
310
+ "text": "Cost per item, in pounds"
311
+ },
312
+ "id": "input-with-prefix-suffix",
313
+ "name": "cost",
314
+ "classes": "govuk-input--width-5",
315
+ "prefix": {
316
+ "text": "£"
317
+ },
318
+ "suffix": {
319
+ "text": "per item"
320
+ }
321
+ },
322
+ "hidden": false,
323
+ "description": "",
324
+ "pageTemplateOptions": {},
325
+ "screenshot": false,
326
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-suffix\">\n Cost per item, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input govuk-input--width-5\" id=\"input-with-prefix-suffix\" name=\"cost\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
327
+ },
328
+ {
329
+ "name": "with extra letter spacing",
330
+ "options": {
331
+ "id": "input-with-extra-letter-spacing",
332
+ "label": {
333
+ "text": "National insurance number"
334
+ },
335
+ "classes": "govuk-input--width-30 govuk-input--extra-letter-spacing",
336
+ "value": "QQ 12 34 56 C"
337
+ },
338
+ "hidden": false,
339
+ "description": "",
340
+ "pageTemplateOptions": {},
341
+ "screenshot": true,
342
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-extra-letter-spacing\">\n National insurance number\n </label>\n <input class=\"govuk-input govuk-input--width-30 govuk-input--extra-letter-spacing\" id=\"input-with-extra-letter-spacing\" name=\"\" type=\"text\" value=\"QQ 12 34 56 C\">\n</div>"
343
+ },
344
+ {
345
+ "name": "classes",
346
+ "options": {
347
+ "id": "with-classes",
348
+ "name": "with-classes",
349
+ "label": {
350
+ "text": "With classes"
351
+ },
352
+ "classes": "app-input--custom-modifier"
353
+ },
354
+ "hidden": true,
355
+ "description": "",
356
+ "pageTemplateOptions": {},
357
+ "screenshot": false,
358
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-classes\">\n With classes\n </label>\n <input class=\"govuk-input app-input--custom-modifier\" id=\"with-classes\" name=\"with-classes\" type=\"text\">\n</div>"
359
+ },
360
+ {
361
+ "name": "id",
362
+ "options": {
363
+ "id": "input-id",
364
+ "name": "testing-name",
365
+ "label": {
366
+ "text": "With custom id"
367
+ }
368
+ },
369
+ "hidden": true,
370
+ "description": "",
371
+ "pageTemplateOptions": {},
372
+ "screenshot": false,
373
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-id\">\n With custom id\n </label>\n <input class=\"govuk-input\" id=\"input-id\" name=\"testing-name\" type=\"text\">\n</div>"
374
+ },
375
+ {
376
+ "name": "custom type",
377
+ "options": {
378
+ "id": "with-custom-type",
379
+ "name": "with-custom-type",
380
+ "label": {
381
+ "text": "With custom type"
382
+ },
383
+ "type": "number"
384
+ },
385
+ "hidden": true,
386
+ "description": "",
387
+ "pageTemplateOptions": {},
388
+ "screenshot": false,
389
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-custom-type\">\n With custom type\n </label>\n <input class=\"govuk-input\" id=\"with-custom-type\" name=\"with-custom-type\" type=\"number\">\n</div>"
390
+ },
391
+ {
392
+ "name": "value",
393
+ "options": {
394
+ "id": "with-value",
395
+ "name": "with-value",
396
+ "label": {
397
+ "text": "With value"
398
+ },
399
+ "value": "QQ 12 34 56 C"
400
+ },
401
+ "hidden": true,
402
+ "description": "",
403
+ "pageTemplateOptions": {},
404
+ "screenshot": false,
405
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-value\">\n With value\n </label>\n <input class=\"govuk-input\" id=\"with-value\" name=\"with-value\" type=\"text\" value=\"QQ 12 34 56 C\">\n</div>"
406
+ },
407
+ {
408
+ "name": "zero value",
409
+ "options": {
410
+ "id": "with-zero-value",
411
+ "name": "with-zero-value",
412
+ "label": {
413
+ "text": "With zero value"
414
+ },
415
+ "value": 0
416
+ },
417
+ "hidden": true,
418
+ "description": "",
419
+ "pageTemplateOptions": {},
420
+ "screenshot": false,
421
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-zero-value\">\n With zero value\n </label>\n <input class=\"govuk-input\" id=\"with-zero-value\" name=\"with-zero-value\" type=\"text\" value=\"0\">\n</div>"
422
+ },
423
+ {
424
+ "name": "with describedBy",
425
+ "options": {
426
+ "id": "with-describedby",
427
+ "name": "with-describedby",
428
+ "label": {
429
+ "text": "With describedBy"
430
+ },
431
+ "describedBy": "test-target-element"
432
+ },
433
+ "hidden": true,
434
+ "description": "",
435
+ "pageTemplateOptions": {},
436
+ "screenshot": false,
437
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-describedby\">\n With describedBy\n </label>\n <input class=\"govuk-input\" id=\"with-describedby\" name=\"with-describedby\" type=\"text\" aria-describedby=\"test-target-element\">\n</div>"
438
+ },
439
+ {
440
+ "name": "attributes",
441
+ "options": {
442
+ "id": "with-attributes",
443
+ "name": "with-attributes",
444
+ "label": {
445
+ "text": "With attributes"
446
+ },
447
+ "attributes": {
448
+ "data-attribute": "my data value"
449
+ }
450
+ },
451
+ "hidden": true,
452
+ "description": "",
453
+ "pageTemplateOptions": {},
454
+ "screenshot": false,
455
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-attributes\">\n With attributes\n </label>\n <input class=\"govuk-input\" id=\"with-attributes\" name=\"with-attributes\" type=\"text\" data-attribute=\"my data value\">\n</div>"
456
+ },
457
+ {
458
+ "name": "hint with describedBy",
459
+ "options": {
460
+ "id": "with-hint-describedby",
461
+ "name": "with-hint-describedby",
462
+ "label": {
463
+ "text": "With hint describedBy"
464
+ },
465
+ "describedBy": "test-target-element",
466
+ "hint": {
467
+ "text": "It’s on your National Insurance card, benefit letter, payslip or P60. For example, ‘QQ 12 34 56 C’."
468
+ }
469
+ },
470
+ "hidden": true,
471
+ "description": "",
472
+ "pageTemplateOptions": {},
473
+ "screenshot": false,
474
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-hint-describedby\">\n With hint 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 <input class=\"govuk-input\" id=\"with-hint-describedby\" name=\"with-hint-describedby\" type=\"text\" aria-describedby=\"test-target-element with-hint-describedby-hint\">\n</div>"
475
+ },
476
+ {
477
+ "name": "error with describedBy",
478
+ "options": {
479
+ "id": "with-error-describedby",
480
+ "name": "with-error-describedby",
481
+ "label": {
482
+ "text": "With error describedBy"
483
+ },
484
+ "describedBy": "test-target-element",
485
+ "errorMessage": {
486
+ "text": "Error message"
487
+ }
488
+ },
489
+ "hidden": true,
490
+ "description": "",
491
+ "pageTemplateOptions": {},
492
+ "screenshot": false,
493
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-error-describedby\">\n With error describedBy\n </label>\n <p id=\"with-error-describedby-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"with-error-describedby\" name=\"with-error-describedby\" type=\"text\" aria-describedby=\"test-target-element with-error-describedby-error\">\n</div>"
494
+ },
495
+ {
496
+ "name": "with error, hint and describedBy",
497
+ "options": {
498
+ "id": "with-error-hint-describedby",
499
+ "name": "with-error-hint-describedby",
500
+ "label": {
501
+ "text": "With error, hint and describedBy"
502
+ },
503
+ "errorMessage": {
504
+ "text": "Error message"
505
+ },
506
+ "hint": {
507
+ "text": "Hint"
508
+ },
509
+ "describedBy": "test-target-element"
510
+ },
511
+ "hidden": true,
512
+ "description": "",
513
+ "pageTemplateOptions": {},
514
+ "screenshot": false,
515
+ "html": "<div class=\"govuk-form-group govuk-form-group--error\">\n <label class=\"govuk-label\" for=\"with-error-hint-describedby\">\n With error, hint and describedBy\n </label>\n <div id=\"with-error-hint-describedby-hint\" class=\"govuk-hint\">\n Hint\n </div>\n <p id=\"with-error-hint-describedby-error\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error:</span> Error message\n </p>\n <input class=\"govuk-input govuk-input--error\" id=\"with-error-hint-describedby\" name=\"with-error-hint-describedby\" type=\"text\" aria-describedby=\"test-target-element with-error-hint-describedby-hint with-error-hint-describedby-error\">\n</div>"
516
+ },
517
+ {
518
+ "name": "inputmode",
519
+ "options": {
520
+ "id": "with-inputmode",
521
+ "name": "with-inputmode",
522
+ "label": {
523
+ "text": "With inputmode"
524
+ },
525
+ "inputmode": "decimal"
526
+ },
527
+ "hidden": true,
528
+ "description": "",
529
+ "pageTemplateOptions": {},
530
+ "screenshot": false,
531
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"with-inputmode\">\n With inputmode\n </label>\n <input class=\"govuk-input\" id=\"with-inputmode\" name=\"with-inputmode\" type=\"text\" inputmode=\"decimal\">\n</div>"
532
+ },
533
+ {
534
+ "name": "with prefix with html as text",
535
+ "options": {
536
+ "label": {
537
+ "text": "Amount, in pounds"
538
+ },
539
+ "id": "input-with-prefix",
540
+ "name": "amount",
541
+ "prefix": {
542
+ "text": "<span>£</span>"
543
+ }
544
+ },
545
+ "hidden": true,
546
+ "description": "",
547
+ "pageTemplateOptions": {},
548
+ "screenshot": false,
549
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">&lt;span&gt;£&lt;/span&gt;</div>\n <input class=\"govuk-input\" id=\"input-with-prefix\" name=\"amount\" type=\"text\">\n </div>\n</div>"
550
+ },
551
+ {
552
+ "name": "with prefix with html",
553
+ "options": {
554
+ "label": {
555
+ "html": "Amount, in pounds"
556
+ },
557
+ "id": "input-with-prefix",
558
+ "name": "amount",
559
+ "prefix": {
560
+ "html": "<span>£</span>"
561
+ }
562
+ },
563
+ "hidden": true,
564
+ "description": "",
565
+ "pageTemplateOptions": {},
566
+ "screenshot": false,
567
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\"><span>£</span></div>\n <input class=\"govuk-input\" id=\"input-with-prefix\" name=\"amount\" type=\"text\">\n </div>\n</div>"
568
+ },
569
+ {
570
+ "name": "with prefix with classes",
571
+ "options": {
572
+ "label": {
573
+ "text": "Amount, in pounds"
574
+ },
575
+ "id": "input-with-prefix-element",
576
+ "name": "amount",
577
+ "prefix": {
578
+ "text": "£",
579
+ "classes": "app-input__prefix--custom-modifier"
580
+ }
581
+ },
582
+ "hidden": true,
583
+ "description": "",
584
+ "pageTemplateOptions": {},
585
+ "screenshot": false,
586
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-element\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix app-input__prefix--custom-modifier\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix-element\" name=\"amount\" type=\"text\">\n </div>\n</div>"
587
+ },
588
+ {
589
+ "name": "with prefix with attributes",
590
+ "options": {
591
+ "label": {
592
+ "text": "Amount, in pounds"
593
+ },
594
+ "id": "input-with-prefix-element",
595
+ "name": "amount",
596
+ "prefix": {
597
+ "text": "£",
598
+ "attributes": {
599
+ "data-attribute": "value"
600
+ }
601
+ }
602
+ },
603
+ "hidden": true,
604
+ "description": "",
605
+ "pageTemplateOptions": {},
606
+ "screenshot": false,
607
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-prefix-element\">\n Amount, in pounds\n </label>\n <div class=\"govuk-input__wrapper\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\" data-attribute=\"value\">£</div>\n <input class=\"govuk-input\" id=\"input-with-prefix-element\" name=\"amount\" type=\"text\">\n </div>\n</div>"
608
+ },
609
+ {
610
+ "name": "with suffix with html as text",
611
+ "options": {
612
+ "label": {
613
+ "text": "Weight, in kilograms"
614
+ },
615
+ "id": "input-with-suffix",
616
+ "name": "weight",
617
+ "suffix": {
618
+ "text": "<span>kg</span>"
619
+ }
620
+ },
621
+ "hidden": true,
622
+ "description": "",
623
+ "pageTemplateOptions": {},
624
+ "screenshot": false,
625
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">&lt;span&gt;kg&lt;/span&gt;</div>\n </div>\n</div>"
626
+ },
627
+ {
628
+ "name": "with suffix with html",
629
+ "options": {
630
+ "label": {
631
+ "text": "Weight, in kilograms"
632
+ },
633
+ "id": "input-with-suffix",
634
+ "name": "weight",
635
+ "suffix": {
636
+ "html": "<span>kg</span>"
637
+ }
638
+ },
639
+ "hidden": true,
640
+ "description": "",
641
+ "pageTemplateOptions": {},
642
+ "screenshot": false,
643
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\"><span>kg</span></div>\n </div>\n</div>"
644
+ },
645
+ {
646
+ "name": "with suffix with classes",
647
+ "options": {
648
+ "label": {
649
+ "text": "Weight, in kilograms"
650
+ },
651
+ "id": "input-with-suffix",
652
+ "name": "weight",
653
+ "suffix": {
654
+ "html": "<span>kg</span>",
655
+ "classes": "app-input__suffix--custom-modifier"
656
+ }
657
+ },
658
+ "hidden": true,
659
+ "description": "",
660
+ "pageTemplateOptions": {},
661
+ "screenshot": false,
662
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix app-input__suffix--custom-modifier\" aria-hidden=\"true\"><span>kg</span></div>\n </div>\n</div>"
663
+ },
664
+ {
665
+ "name": "with suffix with attributes",
666
+ "options": {
667
+ "label": {
668
+ "text": "Weight, in kilograms"
669
+ },
670
+ "id": "input-with-suffix",
671
+ "name": "weight",
672
+ "suffix": {
673
+ "html": "<span>kg</span>",
674
+ "attributes": {
675
+ "data-attribute": "value"
676
+ }
677
+ }
678
+ },
679
+ "hidden": true,
680
+ "description": "",
681
+ "pageTemplateOptions": {},
682
+ "screenshot": false,
683
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-suffix\">\n Weight, in kilograms\n </label>\n <div class=\"govuk-input__wrapper\">\n <input class=\"govuk-input\" id=\"input-with-suffix\" name=\"weight\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\" data-attribute=\"value\"><span>kg</span></div>\n </div>\n</div>"
684
+ },
685
+ {
686
+ "name": "with customised input wrapper",
687
+ "options": {
688
+ "label": {
689
+ "text": "Cost per item, in pounds"
690
+ },
691
+ "id": "input-with-customised-input-wrapper",
692
+ "name": "cost",
693
+ "inputWrapper": {
694
+ "classes": "app-input-wrapper--custom-modifier",
695
+ "attributes": {
696
+ "data-attribute": "value"
697
+ }
698
+ },
699
+ "prefix": {
700
+ "text": "£"
701
+ },
702
+ "suffix": {
703
+ "text": "per item"
704
+ }
705
+ },
706
+ "hidden": true,
707
+ "description": "",
708
+ "pageTemplateOptions": {},
709
+ "screenshot": false,
710
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-customised-input-wrapper\">\n Cost per item, in pounds\n </label>\n <div class=\"govuk-input__wrapper app-input-wrapper--custom-modifier\" data-attribute=\"value\">\n <div class=\"govuk-input__prefix\" aria-hidden=\"true\">£</div>\n <input class=\"govuk-input\" id=\"input-with-customised-input-wrapper\" name=\"cost\" type=\"text\">\n <div class=\"govuk-input__suffix\" aria-hidden=\"true\">per item</div>\n </div>\n</div>"
711
+ },
712
+ {
713
+ "name": "with optional form-group classes",
714
+ "options": {
715
+ "label": {
716
+ "text": "National Insurance number"
717
+ },
718
+ "id": "input-example",
719
+ "name": "test-name",
720
+ "formGroup": {
721
+ "classes": "extra-class"
722
+ }
723
+ },
724
+ "hidden": true,
725
+ "description": "",
726
+ "pageTemplateOptions": {},
727
+ "screenshot": false,
728
+ "html": "<div class=\"govuk-form-group extra-class\">\n <label class=\"govuk-label\" for=\"input-example\">\n National Insurance number\n </label>\n <input class=\"govuk-input\" id=\"input-example\" name=\"test-name\" type=\"text\">\n</div>"
729
+ },
730
+ {
731
+ "name": "with autocomplete attribute",
732
+ "options": {
733
+ "label": {
734
+ "text": "Postcode"
735
+ },
736
+ "id": "input-with-autocomplete-attribute",
737
+ "name": "postcode",
738
+ "autocomplete": "postal-code"
739
+ },
740
+ "hidden": true,
741
+ "description": "",
742
+ "pageTemplateOptions": {},
743
+ "screenshot": false,
744
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-autocomplete-attribute\">\n Postcode\n </label>\n <input class=\"govuk-input\" id=\"input-with-autocomplete-attribute\" name=\"postcode\" type=\"text\" autocomplete=\"postal-code\">\n</div>"
745
+ },
746
+ {
747
+ "name": "with pattern attribute",
748
+ "options": {
749
+ "label": {
750
+ "text": "Numbers only"
751
+ },
752
+ "id": "input-with-pattern-attribute",
753
+ "name": "numbers-only",
754
+ "type": "number",
755
+ "pattern": "[0-9]*"
756
+ },
757
+ "hidden": true,
758
+ "description": "",
759
+ "pageTemplateOptions": {},
760
+ "screenshot": false,
761
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-pattern-attribute\">\n Numbers only\n </label>\n <input class=\"govuk-input\" id=\"input-with-pattern-attribute\" name=\"numbers-only\" type=\"number\" pattern=\"[0-9]*\">\n</div>"
762
+ },
763
+ {
764
+ "name": "with spellcheck enabled",
765
+ "options": {
766
+ "label": {
767
+ "text": "Spellcheck is enabled"
768
+ },
769
+ "id": "input-with-spellcheck-enabled",
770
+ "name": "spellcheck",
771
+ "type": "text",
772
+ "spellcheck": true
773
+ },
774
+ "hidden": true,
775
+ "description": "",
776
+ "pageTemplateOptions": {},
777
+ "screenshot": false,
778
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-spellcheck-enabled\">\n Spellcheck is enabled\n </label>\n <input class=\"govuk-input\" id=\"input-with-spellcheck-enabled\" name=\"spellcheck\" type=\"text\" spellcheck=\"true\">\n</div>"
779
+ },
780
+ {
781
+ "name": "with spellcheck disabled",
782
+ "options": {
783
+ "label": {
784
+ "text": "Spellcheck is disabled"
785
+ },
786
+ "id": "input-with-spellcheck-disabled",
787
+ "name": "spellcheck",
788
+ "type": "text",
789
+ "spellcheck": false
790
+ },
791
+ "hidden": true,
792
+ "description": "",
793
+ "pageTemplateOptions": {},
794
+ "screenshot": false,
795
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-spellcheck-disabled\">\n Spellcheck is disabled\n </label>\n <input class=\"govuk-input\" id=\"input-with-spellcheck-disabled\" name=\"spellcheck\" type=\"text\" spellcheck=\"false\">\n</div>"
796
+ },
797
+ {
798
+ "name": "with autocapitalize turned off",
799
+ "options": {
800
+ "label": {
801
+ "text": "Autocapitalize is turned off"
802
+ },
803
+ "id": "input-with-autocapitalize-off",
804
+ "name": "autocapitalize",
805
+ "type": "text",
806
+ "autocapitalize": "none"
807
+ },
808
+ "hidden": true,
809
+ "description": "",
810
+ "pageTemplateOptions": {},
811
+ "screenshot": false,
812
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"input-with-autocapitalize-off\">\n Autocapitalize is turned off\n </label>\n <input class=\"govuk-input\" id=\"input-with-autocapitalize-off\" name=\"autocapitalize\" type=\"text\" autocapitalize=\"none\">\n</div>"
813
+ },
814
+ {
815
+ "name": "disabled",
816
+ "options": {
817
+ "label": {
818
+ "text": "Disabled input"
819
+ },
820
+ "id": "disabled-input",
821
+ "disabled": true
822
+ },
823
+ "hidden": true,
824
+ "description": "",
825
+ "pageTemplateOptions": {},
826
+ "screenshot": false,
827
+ "html": "<div class=\"govuk-form-group\">\n <label class=\"govuk-label\" for=\"disabled-input\">\n Disabled input\n </label>\n <input class=\"govuk-input\" id=\"disabled-input\" name=\"\" type=\"text\" disabled>\n</div>"
828
+ }
829
+ ]
830
+ }