hof 22.0.0-timeout-warning-beta.5 → 22.0.0-timeout-warning-beta.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,5 +13,6 @@ data-url-redirect="/session-timeout" class="modal-dialog dialog" role="dialog"
|
|
13
13
|
<div class="modal-dialog__inner__block">
|
14
14
|
<button class="govuk-button dialog-button modal-dialog__inner__button js-dialog-close" id="timeout-continue-button">Stay on this page</button>
|
15
15
|
</div>
|
16
|
+
<a href="/" class="govuk-link dialog-exit-link" role="button">Leave this form</a>
|
16
17
|
</div>
|
17
18
|
</dialog>
|
@@ -115,7 +115,6 @@ window.GOVUK.sessionDialog = {
|
|
115
115
|
let chunk;
|
116
116
|
let ints;
|
117
117
|
let i;
|
118
|
-
let word;
|
119
118
|
let words = 'and';
|
120
119
|
|
121
120
|
if (parseInt(string, 10) === 0) {
|
@@ -170,7 +169,7 @@ window.GOVUK.sessionDialog = {
|
|
170
169
|
}
|
171
170
|
|
172
171
|
/* Add tens word if array item exists */
|
173
|
-
if (
|
172
|
+
if (tens[ints[1]]) {
|
174
173
|
words.push(tens[ints[1]]);
|
175
174
|
}
|
176
175
|
|
package/package.json
CHANGED
@@ -9351,7 +9351,7 @@ dialog[open] + .backdrop, dialog[open]::backdrop {
|
|
9351
9351
|
font-family: "ntatabularnumbers", "nta", Arial, sans-serif;
|
9352
9352
|
}
|
9353
9353
|
|
9354
|
-
.dialog-
|
9354
|
+
.dialog-exit-link {
|
9355
9355
|
font-family: "GDS Transport", arial, sans-serif;
|
9356
9356
|
-webkit-font-smoothing: antialiased;
|
9357
9357
|
-moz-osx-font-smoothing: grayscale;
|
@@ -9363,25 +9363,25 @@ dialog[open] + .backdrop, dialog[open]::backdrop {
|
|
9363
9363
|
margin: 5px;
|
9364
9364
|
}
|
9365
9365
|
@media print {
|
9366
|
-
.dialog-
|
9366
|
+
.dialog-exit-link {
|
9367
9367
|
font-family: sans-serif;
|
9368
9368
|
}
|
9369
9369
|
}
|
9370
9370
|
@media (min-width: 40.0625em) {
|
9371
|
-
.dialog-
|
9371
|
+
.dialog-exit-link {
|
9372
9372
|
font-size: 24px;
|
9373
9373
|
font-size: 1.5rem;
|
9374
9374
|
line-height: 1.25;
|
9375
9375
|
}
|
9376
9376
|
}
|
9377
9377
|
@media print {
|
9378
|
-
.dialog-
|
9378
|
+
.dialog-exit-link {
|
9379
9379
|
font-size: 18pt;
|
9380
9380
|
line-height: 1.15;
|
9381
9381
|
}
|
9382
9382
|
}
|
9383
9383
|
@media (min-width: 40.0625em) {
|
9384
|
-
.dialog-
|
9384
|
+
.dialog-exit-link {
|
9385
9385
|
font-family: "GDS Transport", arial, sans-serif;
|
9386
9386
|
-webkit-font-smoothing: antialiased;
|
9387
9387
|
-moz-osx-font-smoothing: grayscale;
|
@@ -9396,19 +9396,19 @@ dialog[open] + .backdrop, dialog[open]::backdrop {
|
|
9396
9396
|
}
|
9397
9397
|
}
|
9398
9398
|
@media print and (min-width: 40.0625em) {
|
9399
|
-
.dialog-
|
9399
|
+
.dialog-exit-link {
|
9400
9400
|
font-family: sans-serif;
|
9401
9401
|
}
|
9402
9402
|
}
|
9403
9403
|
@media (min-width: 40.0625em) and (min-width: 40.0625em) {
|
9404
|
-
.dialog-
|
9404
|
+
.dialog-exit-link {
|
9405
9405
|
font-size: 19px;
|
9406
9406
|
font-size: 1.1875rem;
|
9407
9407
|
line-height: 1.3157894737;
|
9408
9408
|
}
|
9409
9409
|
}
|
9410
9410
|
@media print and (min-width: 40.0625em) {
|
9411
|
-
.dialog-
|
9411
|
+
.dialog-exit-link {
|
9412
9412
|
font-size: 14pt;
|
9413
9413
|
line-height: 1.15;
|
9414
9414
|
}
|