hof 20.0.0-beta.11 → 20.0.0-beta.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -303,7 +303,7 @@ module.exports = function (options) {
303
303
  invalid: this.errors && this.errors[key] && opts.required,
304
304
  label: t(fieldLabel || 'fields.' + key + '.label'),
305
305
  selected: selected,
306
- className: classNames(field) || 'block-label',
306
+ className: classNames(field) || 'govuk-label govuk-checkboxes__label',
307
307
  child: field.child,
308
308
  renderChild: renderChild.bind(this)
309
309
  });
@@ -1,7 +1,8 @@
1
1
  <form action="" method="POST" {{$encoding}}{{/encoding}} autocomplete="off" novalidate="true" spellcheck="false">
2
2
  {{$intro}}
3
- {{#intro}}<span class="govuk-hint" >{{intro}}</span>{{/intro}}
3
+ {{#intro}}<p>{{intro}}</p>{{/intro}}
4
4
  {{/intro}}
5
+
5
6
  {{$form}}{{/form}}
6
7
  {{#csrf-token}}
7
8
  <input type="hidden" name="x-csrf-token" value="{{csrf-token}}" />
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.11",
4
+ "version": "20.0.0-beta.14",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -1,6 +1,5 @@
1
1
 
2
2
  @import "../../../frontend/themes/gov-uk/styles/govuk";
3
- @import "../../../node_modules/govuk-frontend/govuk/all";
4
3
 
5
4
  //autocomplete styling
6
5
  .tt-menu {
Binary file
@@ -15,7 +15,9 @@
15
15
  },
16
16
  "author": "",
17
17
  "dependencies": {
18
+ "govuk-frontend": "3.14",
18
19
  "jquery": "^3.6.0",
20
+ "sass": "^1.53.0",
19
21
  "typeahead-aria": "^1.0.4"
20
22
  },
21
23
  "devDependencies": {