hof 20.0.0-beta.4 → 20.0.0-beta.7
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/c8361c72-4aa7-47d0-9f96-d0b84d395382.json +1 -0
- package/.nyc_output/processinfo/{65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json → c8361c72-4aa7-47d0-9f96-d0b84d395382.json} +1 -1
- package/.nyc_output/processinfo/index.json +1 -1
- package/components/date/index.js +3 -3
- package/components/date/templates/date.html +3 -3
- package/frontend/template-mixins/mixins/template-mixins.js +2 -2
- package/frontend/template-mixins/partials/forms/checkbox-group.html +3 -3
- package/frontend/template-mixins/partials/forms/input-text-group.html +2 -2
- package/frontend/template-mixins/partials/forms/option-group.html +3 -3
- package/frontend/template-mixins/partials/forms/select.html +2 -2
- package/frontend/template-mixins/partials/forms/textarea-group.html +2 -2
- package/frontend/template-mixins/partials/mixins/panel.html +1 -2
- package/package.json +2 -2
- package/sandbox/apps/sandbox/fields.js +10 -11
- package/sandbox/public/css/app.css +2 -7
- package/.nyc_output/65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4.json +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"parent":null,"pid":
|
1
|
+
{"parent":null,"pid":14224,"argv":["/Users/sulthan/.nvm/versions/node/v16.15.0/bin/node","/Users/sulthan/development/HO/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/sulthan/development/HO/hof","time":1655387273187,"ppid":14223,"coverageFilename":"/Users/sulthan/development/HO/hof/.nyc_output/c8361c72-4aa7-47d0-9f96-d0b84d395382.json","externalId":"","uuid":"c8361c72-4aa7-47d0-9f96-d0b84d395382","files":["/Users/sulthan/development/HO/hof/model/index.js","/Users/sulthan/development/HO/hof/components/index.js","/Users/sulthan/development/HO/hof/components/address-lookup/index.js","/Users/sulthan/development/HO/hof/components/address-lookup/default-model.js","/Users/sulthan/development/HO/hof/components/address-lookup/defaults.js","/Users/sulthan/development/HO/hof/components/clear-session/index.js","/Users/sulthan/development/HO/hof/components/date/index.js","/Users/sulthan/development/HO/hof/components/date/fields.js","/Users/sulthan/development/HO/hof/components/emailer/index.js","/Users/sulthan/development/HO/hof/components/emailer/email-service.js","/Users/sulthan/development/HO/hof/components/emailer/emailer.js","/Users/sulthan/development/HO/hof/components/emailer/transports/index.js","/Users/sulthan/development/HO/hof/components/emailer/transports/smtp.js","/Users/sulthan/development/HO/hof/components/emailer/transports/ses.js","/Users/sulthan/development/HO/hof/components/emailer/transports/stub.js","/Users/sulthan/development/HO/hof/components/emailer/transports/debug.js","/Users/sulthan/development/HO/hof/components/summary/index.js","/Users/sulthan/development/HO/hof/controller/base-controller.js","/Users/sulthan/development/HO/hof/controller/formatting/index.js","/Users/sulthan/development/HO/hof/controller/validation/index.js","/Users/sulthan/development/HO/hof/controller/validation/validators.js","/Users/sulthan/development/HO/hof/controller/validation/email.js","/Users/sulthan/development/HO/hof/controller/validation-error.js","/Users/sulthan/development/HO/hof/controller/formatting/formatters.js","/Users/sulthan/development/HO/hof/controller/index.js","/Users/sulthan/development/HO/hof/controller/behaviour-session.js","/Users/sulthan/development/HO/hof/controller/behaviour-hooks.js","/Users/sulthan/development/HO/hof/controller/controller.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/index.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/render.js","/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/helpers.js","/Users/sulthan/development/HO/hof/index.js","/Users/sulthan/development/HO/hof/frontend/index.js","/Users/sulthan/development/HO/hof/frontend/govuk-template/index.js","/Users/sulthan/development/HO/hof/frontend/govuk-template/build/index.js","/Users/sulthan/development/HO/hof/frontend/govuk-template/build/config.js","/Users/sulthan/development/HO/hof/frontend/template-partials/index.js","/Users/sulthan/development/HO/hof/frontend/template-partials/translations/index.js","/Users/sulthan/development/HO/hof/frontend/themes/index.js","/Users/sulthan/development/HO/hof/frontend/themes/gov-uk/index.js","/Users/sulthan/development/HO/hof/frontend/toolkit/index.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/validation.js","/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/sulthan/development/HO/hof/middleware/index.js","/Users/sulthan/development/HO/hof/middleware/cookies.js","/Users/sulthan/development/HO/hof/middleware/errors.js","/Users/sulthan/development/HO/hof/middleware/not-found.js","/Users/sulthan/development/HO/hof/middleware/deep-translate.js","/Users/sulthan/development/HO/hof/lib/markdown.js","/Users/sulthan/development/HO/hof/lib/router.js","/Users/sulthan/development/HO/hof/wizard/index.js","/Users/sulthan/development/HO/hof/wizard/behaviours/index.js","/Users/sulthan/development/HO/hof/wizard/behaviours/complete.js","/Users/sulthan/development/HO/hof/wizard/util/constants.js","/Users/sulthan/development/HO/hof/lib/helpers.js","/Users/sulthan/development/HO/hof/lib/health.js","/Users/sulthan/development/HO/hof/lib/serve-static.js","/Users/sulthan/development/HO/hof/lib/ga-tag.js","/Users/sulthan/development/HO/hof/lib/sessions.js","/Users/sulthan/development/HO/hof/lib/settings.js","/Users/sulthan/development/HO/hof/config/hof-defaults.js","/Users/sulthan/development/HO/hof/lib/logger.js","/Users/sulthan/development/HO/hof/build/index.js","/Users/sulthan/development/HO/hof/config/builder-defaults.js","/Users/sulthan/development/HO/hof/transpiler/index.js","/Users/sulthan/development/HO/hof/transpiler/lib/compile.js","/Users/sulthan/development/HO/hof/transpiler/lib/build.js","/Users/sulthan/development/HO/hof/transpiler/lib/expand-dirs.js","/Users/sulthan/development/HO/hof/transpiler/lib/aggregate.js","/Users/sulthan/development/HO/hof/transpiler/lib/write-files.js","/Users/sulthan/development/HO/hof/model/apis/index.js","/Users/sulthan/development/HO/hof/model/apis/html-to-pdf-converter.js","/Users/sulthan/development/HO/hof/utilities/index.js","/Users/sulthan/development/HO/hof/utilities/autofill/index.js","/Users/sulthan/development/HO/hof/utilities/autofill/inputs.js","/Users/sulthan/development/HO/hof/utilities/test-data/index.js","/Users/sulthan/development/HO/hof/utilities/countries.js","/Users/sulthan/development/HO/hof/utilities/helpers/index.js","/Users/sulthan/development/HO/hof/utilities/reqres/index.js","/Users/sulthan/development/HO/hof/wizard/model.js","/Users/sulthan/development/HO/hof/wizard/middleware/back-links.js","/Users/sulthan/development/HO/hof/wizard/util/helpers.js","/Users/sulthan/development/HO/hof/wizard/middleware/check-complete.js","/Users/sulthan/development/HO/hof/wizard/middleware/check-progress.js","/Users/sulthan/development/HO/hof/wizard/middleware/check-session.js","/Users/sulthan/development/HO/hof/wizard/middleware/csrf.js","/Users/sulthan/development/HO/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/fields.js","/Users/sulthan/development/HO/hof/sandbox/test/helpers/utilities.js"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"processes":{"65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4":{"parent":null,"children":[]}},"files":{"/Users/sulthan/development/HO/hof/model/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/address-lookup/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/address-lookup/default-model.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/address-lookup/defaults.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/clear-session/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/date/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/date/fields.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/email-service.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/emailer.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/smtp.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/ses.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/stub.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/emailer/transports/debug.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/components/summary/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/base-controller.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/formatting/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/validation/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/validation/validators.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/validation/email.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/validation-error.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/formatting/formatters.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/behaviour-session.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/behaviour-hooks.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/controller/controller.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/country-select.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/template-mixins.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/render.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/helpers.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/build/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/build/config.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/template-partials/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/template-partials/translations/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/themes/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/themes/gov-uk/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/helpers.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/form-focus.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/validation.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/character-count.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/middleware/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/middleware/cookies.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/middleware/errors.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/middleware/not-found.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/middleware/deep-translate.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/markdown.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/router.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/behaviours/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/behaviours/complete.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/util/constants.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/helpers.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/health.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/serve-static.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/ga-tag.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/sessions.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/settings.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/config/hof-defaults.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/logger.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/build/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/config/builder-defaults.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/transpiler/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/transpiler/lib/compile.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/transpiler/lib/build.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/transpiler/lib/expand-dirs.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/transpiler/lib/aggregate.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/transpiler/lib/write-files.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/model/apis/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/model/apis/html-to-pdf-converter.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/utilities/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/utilities/autofill/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/utilities/autofill/inputs.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/utilities/test-data/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/utilities/countries.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/utilities/helpers/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/utilities/reqres/index.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/model.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/middleware/back-links.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/util/helpers.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-complete.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-progress.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-session.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/wizard/middleware/csrf.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/fields.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/sandbox/test/helpers/utilities.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/international-number.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"],"/Users/sulthan/development/HO/hof/lib/encryption.js":["65af88d9-aebe-4d1b-a21d-6fbf7f2bbda4"]},"externalIds":{}}
|
1
|
+
{"processes":{"c8361c72-4aa7-47d0-9f96-d0b84d395382":{"parent":null,"children":[]}},"files":{"/Users/sulthan/development/HO/hof/model/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/address-lookup/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/address-lookup/default-model.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/address-lookup/defaults.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/clear-session/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/date/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/date/fields.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/email-service.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/emailer.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/transports/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/transports/smtp.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/transports/ses.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/transports/stub.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/emailer/transports/debug.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/components/summary/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/base-controller.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/formatting/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/validation/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/validation/validators.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/validation/email.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/validation-error.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/formatting/formatters.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/behaviour-session.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/behaviour-hooks.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/controller/controller.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/behaviours/country-select.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/template-mixins.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/render.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/template-mixins/mixins/helpers.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/build/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/govuk-template/build/config.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/template-partials/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/template-partials/translations/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/themes/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/themes/gov-uk/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/toolkit/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/helpers.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/form-focus.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/validation.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/frontend/toolkit/assets/javascript/character-count.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/middleware/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/middleware/cookies.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/middleware/errors.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/middleware/not-found.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/middleware/deep-translate.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/markdown.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/router.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/behaviours/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/behaviours/complete.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/util/constants.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/helpers.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/health.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/serve-static.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/ga-tag.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/sessions.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/settings.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/config/hof-defaults.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/lib/logger.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/build/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/config/builder-defaults.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/transpiler/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/transpiler/lib/compile.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/transpiler/lib/build.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/transpiler/lib/expand-dirs.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/transpiler/lib/aggregate.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/transpiler/lib/write-files.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/model/apis/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/model/apis/html-to-pdf-converter.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/utilities/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/utilities/autofill/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/utilities/autofill/inputs.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/utilities/test-data/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/utilities/countries.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/utilities/helpers/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/utilities/reqres/index.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/model.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/middleware/back-links.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/util/helpers.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-complete.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-progress.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/middleware/check-session.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/wizard/middleware/csrf.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/sandbox/apps/sandbox/fields.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"],"/Users/sulthan/development/HO/hof/sandbox/test/helpers/utilities.js":["c8361c72-4aa7-47d0-9f96-d0b84d395382"]},"externalIds":{}}
|
package/components/date/index.js
CHANGED
@@ -40,7 +40,7 @@ const conditionalTranslate = (key, translate) => {
|
|
40
40
|
};
|
41
41
|
|
42
42
|
const getLegendClassName = field => field && field.legend && field.legend.className || '';
|
43
|
-
const
|
43
|
+
const getIsPageHeading = field => field && field.isPageHeading || '';
|
44
44
|
|
45
45
|
module.exports = (key, opts) => {
|
46
46
|
if (!key) {
|
@@ -114,9 +114,9 @@ module.exports = (key, opts) => {
|
|
114
114
|
const legend = conditionalTranslate(`fields.${key}.legend`, req.translate);
|
115
115
|
const hint = conditionalTranslate(`fields.${key}.hint`, req.translate);
|
116
116
|
const legendClassName = getLegendClassName(options);
|
117
|
-
const
|
117
|
+
const isPageHeading = getIsPageHeading(options);
|
118
118
|
const error = req.form.errors && req.form.errors[key];
|
119
|
-
res.render(template, { key, legend, legendClassName,
|
119
|
+
res.render(template, { key, legend, legendClassName, isPageHeading, hint, error }, (err, html) => {
|
120
120
|
if (err) {
|
121
121
|
next(err);
|
122
122
|
} else {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<div class="govuk-form-group {{#error}}govuk-form-group--error{{/error}}">
|
2
2
|
<fieldset id="{{key}}-group" class="govuk-fieldset{{#className}} {{className}}{{/className}}" role="group">
|
3
|
-
<legend class="govuk-fieldset__legend {{
|
4
|
-
{{
|
3
|
+
<legend class="govuk-fieldset__legend {{#isPageHeading}}govuk-fieldset__legend--l{{/isPageHeading}}{{#legendClassName}} {{legendClassName}}{{/legendClassName}}">
|
4
|
+
{{#isPageHeading}}<h1 class="govuk-fieldset__heading">{{/isPageHeading}}
|
5
5
|
{{legend}}
|
6
|
-
{{
|
6
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
7
7
|
</legend>
|
8
8
|
{{#hint}}
|
9
9
|
<span id="{{key}}-hint" class="govuk-hint">{{hint}}</span>
|
@@ -213,7 +213,7 @@ module.exports = function (options) {
|
|
213
213
|
date: extension.date,
|
214
214
|
autocomplete: autocomplete,
|
215
215
|
child: field.child,
|
216
|
-
|
216
|
+
isPageHeading: field.isPageHeading,
|
217
217
|
attributes: field.attributes,
|
218
218
|
renderChild: renderChild.bind(this)
|
219
219
|
});
|
@@ -240,7 +240,7 @@ module.exports = function (options) {
|
|
240
240
|
legend: t(legendValue),
|
241
241
|
legendClassName: legendClassName,
|
242
242
|
role: opts.type === 'radio' ? 'radiogroup' : 'group',
|
243
|
-
|
243
|
+
isPageHeading: field.isPageHeading,
|
244
244
|
detail: detail ? detail : '',
|
245
245
|
hint: conditionalTranslate(getTranslationKey(field, key, 'hint')),
|
246
246
|
options: _.map(field.options, function (obj) {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<div id="{{key}}-group" class="govuk-form-group{{#className}} {{className}} {{/className}}{{#formGroupClassName}} {{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
2
2
|
<fieldset class="govuk-fieldset" {{#hint}} aria-describedby="{{key}}-hint"{{/hint}}>
|
3
|
-
<legend class="govuk-fieldset__legend {{
|
4
|
-
{{
|
3
|
+
<legend class="govuk-fieldset__legend {{#isPageHeading}}govuk-fieldset__legend--l{{/isPageHeading}}{{#legendClassName}} {{legendClassName}}{{/legendClassName}}">
|
4
|
+
{{#isPageHeading}}<h1 class="govuk-fieldset__heading">{{/isPageHeading}}
|
5
5
|
{{legend}}
|
6
|
-
{{
|
6
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
7
7
|
</legend>
|
8
8
|
{{#hint}}<div id="{{key}}-hint" class="govuk-hint">{{hint}}</div>{{/hint}}
|
9
9
|
{{#error}}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<div id="{{id}}-group" class="{{#compound}} form-group-compound{{/compound}}{{#formGroupClassName}}{{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
2
|
-
{{
|
2
|
+
{{#isPageHeading}}<h1 class="govuk-label-wrapper">{{/isPageHeading}}<label for="{{id}}" class="{{labelClassName}}">
|
3
3
|
{{{label}}}
|
4
4
|
</label>
|
5
|
-
{{
|
5
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
6
6
|
{{#hint}}<span {{$hintId}}id="{{hintId}}" {{/hintId}}class="govuk-hint">{{hint}}</span>{{/hint}}
|
7
7
|
{{#error}}
|
8
8
|
<p class="govuk-error-message">
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<div id="{{key}}-group" class="govuk-form-group{{#className}} {{className}} {{/className}}{{#formGroupClassName}} {{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
2
2
|
<fieldset class="govuk-fieldset" {{#hint}} aria-describedby="{{key}}-hint"{{/hint}}>
|
3
|
-
<legend class="govuk-fieldset__legend {{
|
4
|
-
{{
|
3
|
+
<legend class="govuk-fieldset__legend {{#isPageHeading}}govuk-fieldset__legend--l{{/isPageHeading}}{{#legendClassName}} {{legendClassName}}{{/legendClassName}}">
|
4
|
+
{{#isPageHeading}}<h1 class="govuk-fieldset__heading">{{/isPageHeading}}
|
5
5
|
{{legend}}
|
6
|
-
{{
|
6
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
7
7
|
</legend>
|
8
8
|
{{#hint}}<div id="{{key}}-hint" class="govuk-hint">{{hint}}</div>{{/hint}}
|
9
9
|
{{#error}}<p id="{{key}}-error" class="govuk-error-message"><span class="govuk-visually-hidden">Error:</span> {{error.message}}</p>{{/error}}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div id="{{id}}-group" class="{{#compound}} form-group-compound{{/compound}}{{#formGroupClassName}} {{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
2
|
-
{{
|
2
|
+
{{#isPageHeading}}<h1 class="govuk-label-wrapper">{{/isPageHeading}}<label for="{{id}}" class="{{labelClassName}}{{#isPageHeading}}govuk-label--l{{/isPageHeading}}">
|
3
3
|
{{{label}}}
|
4
4
|
{{#hint}}<span {{$hintId}}id="{{hintId}}" {{/hintId}}class="govuk-hint">{{hint}}</span>{{/hint}}
|
5
5
|
{{#error}}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
</p>
|
9
9
|
{{/error}}
|
10
10
|
</label>
|
11
|
-
{{
|
11
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
12
12
|
<select id="{{id}}" class="govuk-select{{#className}} {{className}}{{/className}}{{#error}} invalid-input{{/error}}" name="{{id}}" aria-required="{{required}}">
|
13
13
|
{{#options}}
|
14
14
|
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{label}}</option>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="govuk-character-count" data-module="govuk-character-count" data-maxlength="{{maxlength}}">
|
3
3
|
{{/maxlength}}
|
4
4
|
<div id="{{id}}-group" class="{{#compound}}form-group-compound {{/compound}}{{#formGroupClassName}}{{formGroupClassName}}{{/formGroupClassName}}{{#error}} govuk-form-group--error{{/error}}">
|
5
|
-
{{
|
5
|
+
{{#isPageHeading}}<h1 class="govuk-label-wrapper">{{/isPageHeading}}<label for="{{id}}" class="{{labelClassName}}">
|
6
6
|
{{{label}}}
|
7
7
|
{{#error}}
|
8
8
|
<p id="{{id}}-error" class="govuk-error-message">
|
@@ -10,7 +10,7 @@
|
|
10
10
|
</p>
|
11
11
|
{{/error}}
|
12
12
|
</label>
|
13
|
-
{{
|
13
|
+
{{#isPageHeading}}</h1>{{/isPageHeading}}
|
14
14
|
{{#hint}}<div {{$hintId}}id="{{hintId}}" {{/hintId}}class="govuk-hint">{{hint}}</div>{{/hint}}
|
15
15
|
{{#renderChild}}{{/renderChild}}
|
16
16
|
<textarea
|
@@ -1,5 +1,4 @@
|
|
1
|
-
<div id="{{toggle}}-panel"
|
2
|
-
class="{{#radioOption}}govuk-radios__conditional govuk-radios__conditional--hidden{{/radioOption}}
|
1
|
+
<div id="{{toggle}}-panel" class="{{#radioOption}}govuk-radios__conditional govuk-radios__conditional--hidden{{/radioOption}}
|
3
2
|
{{^radioOption}}govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden{{/radioOption}}">
|
4
3
|
{{#renderMixin}}{{/renderMixin}}
|
5
4
|
</div>
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "hof",
|
3
3
|
"description": "A bootstrap for HOF projects",
|
4
|
-
"version": "20.0.0-beta.
|
4
|
+
"version": "20.0.0-beta.7",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "index.js",
|
7
7
|
"author": "HomeOffice",
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"findup": "^0.1.5",
|
58
58
|
"glob": "^7.2.0",
|
59
59
|
"govuk-elements-sass": "^3.1.3",
|
60
|
-
"govuk-frontend": "
|
60
|
+
"govuk-frontend": "3.14",
|
61
61
|
"govuk_template_mustache": "^0.26.0",
|
62
62
|
"helmet": "^3.22.0",
|
63
63
|
"hogan-express-strict": "^0.5.4",
|
@@ -8,7 +8,7 @@ module.exports = {
|
|
8
8
|
'landing-page-radio': {
|
9
9
|
mixin: 'radio-group',
|
10
10
|
validate: ['required'],
|
11
|
-
|
11
|
+
isPageHeading: true,
|
12
12
|
// Design system says to avoid in-line unless it's two options,
|
13
13
|
// so just added as an example below but by default it isn't
|
14
14
|
className: ['govuk-radios--inline'],
|
@@ -16,12 +16,12 @@ module.exports = {
|
|
16
16
|
},
|
17
17
|
name: {
|
18
18
|
validate: ['required', 'notUrl', { type: 'maxlength', arguments: 200 }],
|
19
|
+
// need to remove this for the heading to go
|
19
20
|
labelClassName: ['govuk-label--l'],
|
20
|
-
|
21
|
+
isPageHeading: 'true'
|
21
22
|
},
|
22
23
|
'dateOfBirth': dateComponent('dateOfBirth', {
|
23
|
-
|
24
|
-
controlType: 'date-input',
|
24
|
+
isPageHeading: 'true',
|
25
25
|
validate: [
|
26
26
|
'required',
|
27
27
|
'date',
|
@@ -29,28 +29,24 @@ module.exports = {
|
|
29
29
|
]
|
30
30
|
}),
|
31
31
|
building: {
|
32
|
-
noHeading: 'true',
|
33
32
|
validate: ['required', 'notUrl', { type: 'maxlength', arguments: 100 }]
|
34
33
|
},
|
35
34
|
street: {
|
36
|
-
noHeading: 'true',
|
37
35
|
validate: ['notUrl', { type: 'maxlength', arguments: 50 }],
|
38
36
|
labelClassName: 'visuallyhidden'
|
39
37
|
},
|
40
38
|
townOrCity: {
|
41
|
-
noHeading: 'true',
|
42
39
|
validate: ['required', 'notUrl',
|
43
40
|
{ type: 'regex', arguments: /^([^0-9]*)$/ },
|
44
41
|
{ type: 'maxlength', arguments: 100 }
|
45
42
|
]
|
46
43
|
},
|
47
44
|
postcode: {
|
48
|
-
noHeading: 'true',
|
49
45
|
validate: ['required', 'postcode'],
|
50
46
|
formatter: ['removespaces', 'uppercase']
|
51
47
|
},
|
52
48
|
incomeTypes: {
|
53
|
-
|
49
|
+
isPageHeading: 'true',
|
54
50
|
mixin: 'checkbox-group',
|
55
51
|
labelClassName: 'visuallyhidden',
|
56
52
|
validate: ['required'],
|
@@ -63,7 +59,7 @@ module.exports = {
|
|
63
59
|
]
|
64
60
|
},
|
65
61
|
countryOfHearing: {
|
66
|
-
|
62
|
+
isPageHeading: 'true',
|
67
63
|
mixin: 'radio-group',
|
68
64
|
validate: ['required'],
|
69
65
|
options: [
|
@@ -73,7 +69,7 @@ module.exports = {
|
|
73
69
|
]
|
74
70
|
},
|
75
71
|
email: {
|
76
|
-
|
72
|
+
isPageHeading: 'true',
|
77
73
|
labelClassName: ['govuk-label--l'],
|
78
74
|
validate: ['required', 'email']
|
79
75
|
},
|
@@ -86,6 +82,7 @@ module.exports = {
|
|
86
82
|
},
|
87
83
|
countrySelect: {
|
88
84
|
mixin: 'select',
|
85
|
+
isPageHeading: 'true',
|
89
86
|
className: ['typeahead'],
|
90
87
|
options:[''].concat(require('homeoffice-countries').allCountries),
|
91
88
|
legend: {
|
@@ -97,6 +94,7 @@ module.exports = {
|
|
97
94
|
mixin: 'textarea',
|
98
95
|
// we want to ignore default formatters as we want
|
99
96
|
// to preserve white space
|
97
|
+
isPageHeading: 'true',
|
100
98
|
'ignore-defaults': true,
|
101
99
|
// apply the other default formatters
|
102
100
|
formatter: ['trim', 'hyphens'],
|
@@ -110,6 +108,7 @@ module.exports = {
|
|
110
108
|
},
|
111
109
|
appealStages: {
|
112
110
|
mixin: 'select',
|
111
|
+
isPageHeading: 'true',
|
113
112
|
validate: ['required'],
|
114
113
|
options: [{
|
115
114
|
value: '',
|
@@ -2758,8 +2758,7 @@ fieldset + .reveal {
|
|
2758
2758
|
|
2759
2759
|
.alert-number {
|
2760
2760
|
float: left;
|
2761
|
-
margin-right: 0.41666667em;
|
2762
|
-
/* 20px ÷ 48px font size */
|
2761
|
+
margin-right: 0.41666667em; /* 20px ÷ 48px font size */
|
2763
2762
|
}
|
2764
2763
|
|
2765
2764
|
.alert-message {
|
@@ -2827,8 +2826,7 @@ fieldset + .reveal {
|
|
2827
2826
|
-moz-osx-font-smoothing: grayscale;
|
2828
2827
|
text-decoration: underline;
|
2829
2828
|
}
|
2830
|
-
/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */
|
2831
|
-
/* stylelint-disable-line scss/comment-no-loud */
|
2829
|
+
/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */ /* stylelint-disable-line scss/comment-no-loud */
|
2832
2830
|
@font-face {
|
2833
2831
|
font-family: "GDS Transport";
|
2834
2832
|
font-style: normal;
|
@@ -6305,7 +6303,6 @@ x:-moz-any-link {
|
|
6305
6303
|
-webkit-column-count: 2;
|
6306
6304
|
column-count: 2;
|
6307
6305
|
}
|
6308
|
-
|
6309
6306
|
.govuk-footer__list--columns-3 {
|
6310
6307
|
-webkit-column-count: 3;
|
6311
6308
|
column-count: 3;
|
@@ -6737,11 +6734,9 @@ x:-moz-any-link {
|
|
6737
6734
|
color: #0b0c0c;
|
6738
6735
|
background: transparent;
|
6739
6736
|
}
|
6740
|
-
|
6741
6737
|
.govuk-header__logotype-crown-fallback-image {
|
6742
6738
|
display: none;
|
6743
6739
|
}
|
6744
|
-
|
6745
6740
|
.govuk-header__link:link, .govuk-header__link:visited {
|
6746
6741
|
color: #0b0c0c;
|
6747
6742
|
}
|