hof 20.0.0-beta.9 → 20.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.nyc_output/7c548a7f-5c40-44b2-b9fb-648341a23d6f.json +1 -0
- package/.nyc_output/processinfo/7c548a7f-5c40-44b2-b9fb-648341a23d6f.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/README.md +335 -256
- package/components/index.js +2 -1
- package/components/notify/index.js +60 -0
- package/components/notify/notify.js +25 -0
- package/config/sanitisation-rules.js +20 -17
- package/controller/base-controller.js +5 -3
- package/controller/controller.js +19 -4
- package/frontend/template-mixins/mixins/template-mixins.js +7 -3
- package/frontend/template-mixins/partials/forms/checkbox-group.html +10 -1
- package/frontend/template-mixins/partials/forms/input-text-date.html +1 -1
- package/frontend/template-mixins/partials/forms/input-text-group.html +5 -3
- package/frontend/template-mixins/partials/forms/option-group.html +9 -0
- package/frontend/template-mixins/partials/forms/select.html +1 -1
- package/frontend/template-mixins/partials/forms/textarea-group.html +2 -2
- package/frontend/template-partials/views/layout.html +10 -3
- package/frontend/template-partials/views/partials/cookie-banner.html +1 -1
- package/frontend/template-partials/views/partials/form.html +2 -1
- package/frontend/template-partials/views/partials/maincontent-left.html +2 -2
- package/frontend/template-partials/views/partials/navigation.html +2 -2
- package/frontend/template-partials/views/partials/summary-table-row.html +2 -2
- package/frontend/template-partials/views/partials/warn.html +7 -0
- package/frontend/template-partials/views/session-timeout.html +2 -1
- package/frontend/themes/gov-uk/styles/govuk.scss +4 -0
- package/frontend/themes/gov-uk/styles/modules/_validation.scss +2 -2
- package/frontend/toolkit/assets/javascript/form-focus.js +10 -1
- package/frontend/toolkit/assets/javascript/progressive-reveal.js +3 -1
- package/frontend/toolkit/assets/javascript/validation.js +6 -1
- package/index.js +1 -1
- package/middleware/errors.js +2 -0
- package/package.json +4 -2
- package/sandbox/apps/sandbox/fields.js +1 -0
- package/sandbox/apps/sandbox/index.js +1 -5
- package/sandbox/assets/scss/app.scss +0 -52
- package/sandbox/package.json +2 -0
- package/sandbox/public/css/app.css +4938 -4990
- package/sandbox/public/js/bundle.js +79 -65
- package/sandbox/server.js +2 -1
- package/sandbox/yarn.lock +39 -564
- package/wizard/middleware/check-progress.js +36 -1
- package/.nyc_output/e2fdc3eb-4fd2-47e0-a392-fe5f665776a4.json +0 -1
- package/.nyc_output/processinfo/e2fdc3eb-4fd2-47e0-a392-fe5f665776a4.json +0 -1
@@ -30,11 +30,7 @@ module.exports = {
|
|
30
30
|
},
|
31
31
|
'/dob': {
|
32
32
|
fields: ['dateOfBirth'],
|
33
|
-
next: '/address'
|
34
|
-
locals: {
|
35
|
-
step: 'dob',
|
36
|
-
labelClassName: 'govuk-input'
|
37
|
-
}
|
33
|
+
next: '/address'
|
38
34
|
},
|
39
35
|
'/address': {
|
40
36
|
fields: ['building', 'street', 'townOrCity', 'postcode'],
|
@@ -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 {
|
@@ -26,54 +25,3 @@
|
|
26
25
|
.twitter-typeahead {
|
27
26
|
width: 100%;
|
28
27
|
}
|
29
|
-
|
30
|
-
// govuk cookie banner styling
|
31
|
-
.govuk-banner--success {
|
32
|
-
border-color: #00703c;
|
33
|
-
color: #00703c;
|
34
|
-
}
|
35
|
-
|
36
|
-
.govuk-banner {
|
37
|
-
border: 5px solid #1d70b8;
|
38
|
-
font-size: 0;
|
39
|
-
margin-bottom: 30px;
|
40
|
-
padding: 10px;
|
41
|
-
}
|
42
|
-
|
43
|
-
.govuk-banner__icon{
|
44
|
-
display: inline-block;
|
45
|
-
}
|
46
|
-
|
47
|
-
.govuk-banner__message {
|
48
|
-
font-family: "GDS Transport", Arial, sans-serif;
|
49
|
-
-webkit-font-smoothing: antialiased;
|
50
|
-
font-weight: 400;
|
51
|
-
font-size: 1rem;
|
52
|
-
line-height: 1.25;
|
53
|
-
color: #0b0c0c;
|
54
|
-
display: block;
|
55
|
-
overflow: hidden;
|
56
|
-
display: inline-block;
|
57
|
-
margin-left: 10px;
|
58
|
-
}
|
59
|
-
|
60
|
-
.govuk-banner__assistive {
|
61
|
-
position: absolute !important;
|
62
|
-
width: 1px !important;
|
63
|
-
height: 1px !important;
|
64
|
-
margin: 0 !important;
|
65
|
-
padding: 0 !important;
|
66
|
-
overflow: hidden !important;
|
67
|
-
clip: rect(0 0 0 0) !important;
|
68
|
-
clip-path: inset(50%) !important;
|
69
|
-
border: 0 !important;
|
70
|
-
white-space: nowrap !important;
|
71
|
-
}
|
72
|
-
|
73
|
-
.cookie-table-holder > table > tbody > tr > td:first-child{
|
74
|
-
font-weight:bold;
|
75
|
-
}
|
76
|
-
|
77
|
-
.js-enabled #global-cookie-message {
|
78
|
-
display: none;
|
79
|
-
}
|