hof 20.5.0-notify-update-8.0-beta.1 → 20.5.1-beta-payload-too-large

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2024-04-24, Version 20.5.0 (Stable), @mislam987
2
+ * Add hint property to checkboxes to align with govuk design guidelines
3
+
1
4
  ## 2024-02-29, Version 20.4.0 (Stable), @sulthan-ahmed
2
5
  * Update version of govuk-frontend to 3.15
3
6
  - this adds the new crown for the King
@@ -319,6 +319,7 @@ module.exports = function (options) {
319
319
  error: this.errors && this.errors[key],
320
320
  invalid: this.errors && this.errors[key] && opts.required,
321
321
  label: t(fieldLabel || 'fields.' + key + '.label'),
322
+ hint: conditionalTranslate(getTranslationKey(field, key, 'hint')),
322
323
  selected: selected,
323
324
  className: classNames(field) || 'govuk-label govuk-checkboxes__label',
324
325
  child: field.child,
@@ -6,6 +6,11 @@
6
6
  {{{label}}}
7
7
  {{#error}}<span class="visuallyhidden">{{error.message}}</span>{{/error}}
8
8
  </label>
9
+ {{#hint}}
10
+ <div id="{{key}}-hint" class="govuk-hint govuk-checkboxes__hint">
11
+ {{hint}}
12
+ </div>
13
+ {{/hint}}
9
14
  </div>
10
15
  {{#renderChild}}{{/renderChild}}
11
16
  </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.5.0-notify-update-8.0-beta.1",
4
+ "version": "20.5.1-beta-payload-too-large",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -79,7 +79,7 @@
79
79
  "nodemailer-ses-transport": "^1.5.1",
80
80
  "nodemailer-smtp-transport": "^2.7.4",
81
81
  "nodemailer-stub-transport": "^1.1.0",
82
- "notifications-node-client": "^8.0.0",
82
+ "notifications-node-client": "^6.0.0",
83
83
  "redis": "^3.1.2",
84
84
  "reqres": "^3.0.1",
85
85
  "request": "^2.79.0",