hof 20.0.0-beta.3 → 20.0.0-beta.30

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/.github/workflows/automate-publish.yml +1 -1
  2. package/.github/workflows/automate-tag.yml +1 -1
  3. package/.nyc_output/19d65ff1-2145-4f30-a2cb-ec31dee604f4.json +1 -0
  4. package/.nyc_output/processinfo/19d65ff1-2145-4f30-a2cb-ec31dee604f4.json +1 -0
  5. package/.nyc_output/processinfo/index.json +1 -1
  6. package/README.md +329 -256
  7. package/build/lib/mkdir.js +2 -2
  8. package/components/date/index.js +37 -26
  9. package/components/date/templates/date.html +3 -3
  10. package/components/emailer/index.js +49 -41
  11. package/components/emailer/transports/debug.js +1 -2
  12. package/components/index.js +2 -1
  13. package/components/notify/index.js +60 -0
  14. package/components/notify/notify.js +25 -0
  15. package/components/summary/index.js +18 -0
  16. package/config/hof-defaults.js +5 -3
  17. package/config/rate-limits.js +20 -0
  18. package/config/sanitisation-rules.js +29 -0
  19. package/controller/base-controller.js +26 -8
  20. package/controller/controller.js +23 -17
  21. package/frontend/govuk-template/build/config.js +1 -1
  22. package/frontend/template-mixins/mixins/template-mixins.js +12 -8
  23. package/frontend/template-mixins/partials/forms/checkbox-group.html +12 -3
  24. package/frontend/template-mixins/partials/forms/input-text-date.html +1 -1
  25. package/frontend/template-mixins/partials/forms/input-text-group.html +6 -4
  26. package/frontend/template-mixins/partials/forms/option-group.html +12 -3
  27. package/frontend/template-mixins/partials/forms/select.html +3 -3
  28. package/frontend/template-mixins/partials/forms/textarea-group.html +3 -3
  29. package/frontend/template-mixins/partials/mixins/panel.html +1 -2
  30. package/frontend/template-partials/translations/src/en/errors.json +12 -0
  31. package/frontend/template-partials/views/layout.html +10 -3
  32. package/frontend/template-partials/views/partials/cookie-banner.html +1 -1
  33. package/frontend/template-partials/views/partials/form.html +2 -1
  34. package/frontend/template-partials/views/partials/warn.html +7 -0
  35. package/frontend/template-partials/views/rate-limit-error.html +10 -0
  36. package/frontend/themes/gov-uk/client-js/govuk-cookies.js +43 -44
  37. package/frontend/themes/gov-uk/client-js/index.js +2 -2
  38. package/frontend/themes/gov-uk/client-js/skip-to-main.js +18 -17
  39. package/frontend/themes/gov-uk/styles/govuk.scss +4 -0
  40. package/frontend/themes/gov-uk/styles/modules/_validation.scss +2 -2
  41. package/frontend/toolkit/assets/javascript/form-focus.js +10 -1
  42. package/frontend/toolkit/assets/javascript/validation.js +6 -1
  43. package/index.js +9 -4
  44. package/lib/router.js +2 -1
  45. package/lib/settings.js +9 -8
  46. package/middleware/errors.js +32 -0
  47. package/middleware/index.js +2 -1
  48. package/middleware/rate-limiter.js +98 -0
  49. package/package.json +6 -6
  50. package/sandbox/apps/sandbox/fields.js +12 -12
  51. package/sandbox/apps/sandbox/index.js +1 -5
  52. package/sandbox/assets/scss/app.scss +0 -52
  53. package/sandbox/package.json +2 -0
  54. package/sandbox/public/css/app.css +4908 -4965
  55. package/sandbox/public/js/bundle.js +79 -65
  56. package/sandbox/server.js +7 -1
  57. package/sandbox/yarn.lock +39 -564
  58. package/transpiler/lib/write-files.js +1 -2
  59. package/utilities/helpers/index.js +16 -1
  60. package/wizard/index.js +1 -0
  61. package/.nyc_output/65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json +0 -1
  62. package/.nyc_output/processinfo/65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json +0 -1
  63. package/.vscode/settings.json +0 -6
  64. package/sandbox/.env +0 -1

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.