hmrc-frontend 7.34.0 → 7.35.0
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/govuk-prototype-kit.config.json +2 -2
- package/hmrc/VERSION.txt +1 -1
- package/hmrc/{accessible-autocomplete-7.34.0.css → accessible-autocomplete-7.35.0.css} +1 -1
- package/hmrc/{accessible-autocomplete-7.34.0.js → accessible-autocomplete-7.35.0.js} +1 -1
- package/hmrc/all.js +7 -8
- package/hmrc/{hmrc-frontend-7.34.0.min.css → hmrc-frontend-7.35.0.min.css} +2 -2
- package/hmrc/{hmrc-frontend-7.34.0.min.js → hmrc-frontend-7.35.0.min.js} +2 -2
- package/hmrc/maps/accessible-autocomplete-7.35.0.css.map +1 -0
- package/hmrc/maps/hmrc-frontend-7.35.0.min.css.map +1 -0
- package/hmrc/maps/hmrc-frontend-7.35.0.min.js.map +1 -0
- package/package.json +1 -1
- package/hmrc/maps/accessible-autocomplete-7.34.0.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-7.34.0.min.css.map +0 -1
- package/hmrc/maps/hmrc-frontend-7.34.0.min.js.map +0 -1
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"scripts": [
|
|
24
24
|
"/hmrc/all.js",
|
|
25
25
|
"/hmrc/init-all.js",
|
|
26
|
-
"/hmrc/accessible-autocomplete-7.
|
|
26
|
+
"/hmrc/accessible-autocomplete-7.35.0.js"
|
|
27
27
|
],
|
|
28
28
|
"stylesheets": [
|
|
29
|
-
"/hmrc/accessible-autocomplete-7.
|
|
29
|
+
"/hmrc/accessible-autocomplete-7.35.0.css"
|
|
30
30
|
],
|
|
31
31
|
"nunjucksPaths": [
|
|
32
32
|
"/"
|
package/hmrc/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.35.0
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
.autocomplete__wrapper{position:relative}.autocomplete__hint,.autocomplete__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:2px solid #0b0c0c;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;height:2.5rem;line-height:1.25;margin-bottom:0;width:100%}.autocomplete__input{background-color:transparent;position:relative}.autocomplete__hint{color:#505a5f;position:absolute}.autocomplete__input--default{padding:5px}.autocomplete__input--focused{-webkit-box-shadow:inset 0 0 0 2px;box-shadow:inset 0 0 0 2px;outline:3px solid #fd0;outline-offset:0}.autocomplete__input--show-all-values{cursor:pointer;padding:5px 35px 5px 5px}.autocomplete__dropdown-arrow-down{display:inline-block;height:24px;position:absolute;right:8px;top:10px;width:24px;z-index:-1}.autocomplete__menu{background-color:#fff;border:2px solid #0b0c0c;border-top:0;color:#0b0c0c;margin:0;max-height:342px;overflow-x:hidden;padding:0;width:100%;width:calc(100% - 4px)}.autocomplete__menu--visible{display:block}.autocomplete__menu--hidden{display:none}.autocomplete__menu--overlay{-webkit-box-shadow:0 2px 6px rgba(0,0,0,.257);box-shadow:0 2px 6px rgba(0,0,0,.257);left:0;position:absolute;top:100%;z-index:100}.autocomplete__menu--inline{position:relative}.autocomplete__option{border-bottom:1px solid #b1b4b6;border-left-width:0;border-right-width:0;border-top-width:1px;cursor:pointer;display:block;position:relative}.autocomplete__option>*{pointer-events:none}.autocomplete__option:first-of-type{border-top-width:0}.autocomplete__option:last-of-type{border-bottom-width:0}.autocomplete__option--odd{background-color:#f3f2f1}.autocomplete__option--focused,.autocomplete__option:hover{background-color:#1d70b8;border-color:#1d70b8;color:#fff;outline:none}@media (-ms-high-contrast:active),(forced-colors:active){.autocomplete__menu{border-color:FieldText}.autocomplete__option{background-color:Field;color:FieldText}.autocomplete__option--focused,.autocomplete__option:hover{background-color:Highlight;background-color:SelectedItem;border-color:SelectedItem;color:HighlightText;color:SelectedItemText;forced-color-adjust:none;outline-color:SelectedItemText}}.autocomplete__option--no-results{background-color:#f3f2f1;color:#505a5f;cursor:not-allowed}.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:1rem;font-weight:400}.autocomplete__hint,.autocomplete__option{padding:5px}@media (min-width:641px){.autocomplete__hint,.autocomplete__input,.autocomplete__option{font-size:1.1875rem;line-height:1.3157894737}}.autocomplete__hint,.autocomplete__input,.autocomplete__option,.autocomplete__wrapper{font-family:GDS Transport,arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:1.1875rem;font-weight:400;line-height:1.3157894737}@media print{.autocomplete__hint,.autocomplete__input,.autocomplete__option,.autocomplete__wrapper{font-family:sans-serif;font-size:14pt;line-height:1.15}}.govuk-form-group--error div:has(+.govuk-select--error[data-module=hmrc-accessible-autocomplete])>.autocomplete__wrapper .autocomplete__input{border-color:#d4351c}.autocomplete__dropdown-arrow-down{pointer-events:none;z-index:0}.autocomplete__menu--hidden{-webkit-transition:display allow-discrete 0s .2s;transition:display allow-discrete 0s .2s}
|
|
2
|
-
/*# sourceMappingURL=maps/accessible-autocomplete-7.
|
|
2
|
+
/*# sourceMappingURL=maps/accessible-autocomplete-7.35.0.css.map */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
function requireAccessibleAutocomplete_min () {
|
|
15
15
|
if (hasRequiredAccessibleAutocomplete_min) return accessibleAutocomplete_min.exports;
|
|
16
16
|
hasRequiredAccessibleAutocomplete_min = 1;
|
|
17
|
-
(function (module, exports
|
|
17
|
+
(function (module, exports) {
|
|
18
18
|
!function (t, e) {
|
|
19
19
|
module.exports = e() ;
|
|
20
20
|
}(self, function () {
|
package/hmrc/all.js
CHANGED
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
// Default timeoutUrl to signOutUrl if not set
|
|
326
326
|
options.timeoutUrl = options.timeoutUrl || options.signOutUrl;
|
|
327
327
|
validateInput(options);
|
|
328
|
-
settings =
|
|
328
|
+
settings = _mergeOptionsWithDefaults(options, localisedDefaults);
|
|
329
329
|
setupDialogTimer();
|
|
330
330
|
listenForSessionActivityAndResetDialogTimer();
|
|
331
331
|
}
|
|
@@ -353,11 +353,11 @@
|
|
|
353
353
|
throw new Error("Missing config item(s): [".concat(missingRequiredConfig.join(', '), "]"));
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
|
-
var
|
|
356
|
+
var _mergeOptionsWithDefaults = function mergeOptionsWithDefaults(theOptions, localisedDefaults) {
|
|
357
357
|
var clone = _objectSpread2({}, theOptions);
|
|
358
358
|
Object.keys(localisedDefaults).forEach(function (key) {
|
|
359
359
|
if (_typeof(clone[key]) === 'object') {
|
|
360
|
-
clone[key] =
|
|
360
|
+
clone[key] = _mergeOptionsWithDefaults(theOptions[key], localisedDefaults[key]);
|
|
361
361
|
}
|
|
362
362
|
if (clone[key] === undefined || clone[key] === '') {
|
|
363
363
|
clone[key] = localisedDefaults[key];
|
|
@@ -470,16 +470,16 @@
|
|
|
470
470
|
}
|
|
471
471
|
return remaining - (roundedRemaining - (roundedRemaining % 60000 || 60000));
|
|
472
472
|
};
|
|
473
|
-
var
|
|
473
|
+
var _runUpdate = function runUpdate() {
|
|
474
474
|
var counter = Math.max(getSecondsRemaining(), 0);
|
|
475
475
|
updateCountdown(counter);
|
|
476
476
|
if (counter === 0) {
|
|
477
477
|
timeout();
|
|
478
478
|
} else {
|
|
479
|
-
currentTimer = window.setTimeout(
|
|
479
|
+
currentTimer = window.setTimeout(_runUpdate, getNextTimeout());
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
|
-
|
|
482
|
+
_runUpdate();
|
|
483
483
|
};
|
|
484
484
|
var keepAliveAndClose = function keepAliveAndClose() {
|
|
485
485
|
cleanup();
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
_classCallCheck(this, SessionActivityService);
|
|
572
572
|
this.activityChannel = BrowserBroadcastChannel && new BrowserBroadcastChannel('session-activity');
|
|
573
573
|
}
|
|
574
|
-
_createClass(SessionActivityService, [{
|
|
574
|
+
return _createClass(SessionActivityService, [{
|
|
575
575
|
key: "logActivity",
|
|
576
576
|
value: function logActivity() {
|
|
577
577
|
if (this.activityChannel) {
|
|
@@ -591,7 +591,6 @@
|
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
}]);
|
|
594
|
-
return SessionActivityService;
|
|
595
594
|
}();
|
|
596
595
|
|
|
597
596
|
function HmrcPrintLink($module, window) {
|