hof 19.14.3 → 20.0.0-beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. package/.nyc_output/65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json +1 -0
  2. package/.nyc_output/processinfo/65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json +1 -0
  3. package/.nyc_output/processinfo/index.json +1 -0
  4. package/.vscode/settings.json +6 -0
  5. package/build/lib/mkdir.js +2 -2
  6. package/components/date/index.js +26 -35
  7. package/components/date/templates/date.html +15 -12
  8. package/components/emailer/index.js +41 -49
  9. package/components/emailer/transports/debug.js +2 -1
  10. package/components/summary/index.js +0 -18
  11. package/config/hof-defaults.js +2 -4
  12. package/controller/base-controller.js +8 -26
  13. package/controller/controller.js +45 -2
  14. package/frontend/govuk-template/build/config.js +3 -3
  15. package/frontend/govuk-template/build/govuk_template.html +104 -0
  16. package/frontend/govuk-template/build/index.js +2 -2
  17. package/frontend/govuk-template/govuk_template_generated.html +104 -0
  18. package/frontend/govuk-template/index.js +4 -4
  19. package/frontend/template-mixins/mixins/template-mixins.js +20 -9
  20. package/frontend/template-mixins/partials/forms/checkbox-group.html +38 -0
  21. package/frontend/template-mixins/partials/forms/checkbox.html +4 -4
  22. package/frontend/template-mixins/partials/forms/input-submit.html +1 -1
  23. package/frontend/template-mixins/partials/forms/input-text-date.html +37 -0
  24. package/frontend/template-mixins/partials/forms/input-text-group.html +12 -9
  25. package/frontend/template-mixins/partials/forms/option-group.html +33 -26
  26. package/frontend/template-mixins/partials/forms/select.html +10 -5
  27. package/frontend/template-mixins/partials/forms/textarea-group.html +15 -6
  28. package/frontend/template-mixins/partials/mixins/panel.html +4 -4
  29. package/frontend/template-partials/translations/src/en/errors.json +0 -12
  30. package/frontend/template-partials/views/accessibility.html +4 -4
  31. package/frontend/template-partials/views/cookies.html +1 -1
  32. package/frontend/template-partials/views/layout.html +22 -22
  33. package/frontend/template-partials/views/partials/back.html +1 -1
  34. package/frontend/template-partials/views/partials/bullet-list.html +1 -1
  35. package/frontend/template-partials/views/partials/confirmation-alert.html +4 -3
  36. package/frontend/template-partials/views/partials/continue.html +1 -1
  37. package/frontend/template-partials/views/partials/cookie-banner.html +27 -24
  38. package/frontend/template-partials/views/partials/cookie-settings-radio.html +6 -6
  39. package/frontend/template-partials/views/partials/external-link.html +1 -1
  40. package/frontend/template-partials/views/partials/form.html +1 -1
  41. package/frontend/template-partials/views/partials/maincontent-left.html +4 -4
  42. package/frontend/template-partials/views/partials/navigation.html +7 -6
  43. package/frontend/template-partials/views/partials/session-cookies-table.html +6 -6
  44. package/frontend/template-partials/views/partials/table.html +7 -7
  45. package/frontend/template-partials/views/partials/validation-list.html +2 -2
  46. package/frontend/template-partials/views/partials/validation-summary.html +14 -13
  47. package/frontend/template-partials/views/session-timeout.html +1 -1
  48. package/frontend/themes/gov-uk/client-js/cookieSettings.js +1 -1
  49. package/frontend/themes/gov-uk/client-js/govuk-cookies.js +122 -0
  50. package/frontend/themes/gov-uk/client-js/index.js +5 -0
  51. package/frontend/themes/gov-uk/client-js/skip-to-main.js +18 -0
  52. package/frontend/themes/gov-uk/styles/_cookie-banner.scss +51 -1
  53. package/frontend/themes/gov-uk/styles/modules/_validation.scss +3 -3
  54. package/frontend/toolkit/assets/javascript/character-count.js +4 -4
  55. package/frontend/toolkit/assets/stylesheets/modules/_validation.scss +3 -3
  56. package/index.js +5 -5
  57. package/lib/router.js +1 -2
  58. package/lib/settings.js +17 -2
  59. package/middleware/errors.js +0 -32
  60. package/middleware/index.js +1 -2
  61. package/package.json +8 -6
  62. package/sandbox/.env +1 -0
  63. package/sandbox/apps/sandbox/fields.js +24 -11
  64. package/sandbox/apps/sandbox/index.js +5 -1
  65. package/sandbox/apps/sandbox/translations/en/default.json +203 -0
  66. package/sandbox/apps/sandbox/translations/src/en/fields.json +9 -6
  67. package/sandbox/apps/sandbox/translations/src/en/journey.json +4 -1
  68. package/sandbox/apps/sandbox/translations/src/en/pages.json +2 -29
  69. package/sandbox/apps/sandbox/translations/src/en/validation.json +1 -1
  70. package/sandbox/assets/js/index.js +1 -1
  71. package/sandbox/assets/scss/app.scss +68 -16
  72. package/sandbox/package.json +4 -1
  73. package/sandbox/public/css/app.css +9444 -0
  74. package/sandbox/public/images/icons/icon-caret-left.png +0 -0
  75. package/sandbox/public/images/icons/icon-complete.png +0 -0
  76. package/sandbox/public/images/icons/icon-cross-remove-sign.png +0 -0
  77. package/sandbox/public/js/bundle.js +35644 -0
  78. package/sandbox/server.js +0 -5
  79. package/sandbox/yarn.lock +767 -0
  80. package/transpiler/lib/write-files.js +2 -1
  81. package/utilities/helpers/index.js +1 -16
  82. package/wizard/index.js +0 -1
  83. package/config/rate-limits.js +0 -20
  84. package/config/sanitisation-rules.js +0 -29
  85. package/frontend/govuk-template/govuk_template.html +0 -109
  86. package/frontend/template-partials/views/rate-limit-error.html +0 -10
  87. package/frontend/themes/gov-uk/views/partials/form.html +0 -9
  88. package/frontend/themes/gov-uk/views/partials/forms/option-group.html +0 -28
  89. package/frontend/themes/gov-uk/views/partials/mixins/panel.html +0 -3
  90. package/frontend/themes/gov-uk/views/partials/validation-summary.html +0 -24
  91. package/middleware/rate-limiter.js +0 -96
  92. package/sandbox/apps/sandbox/views/confirmation.html +0 -15