@ons/design-system 46.1.1 → 46.1.2
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/LICENSE +1 -1
- package/components/message-list/_message-list.scss +1 -1
- package/components/tabs/_tabs.scss +2 -1
- package/components/timeout-modal/timeout-modal.js +3 -3
- package/css/census.css +1 -1
- package/css/main.css +1 -1
- package/js/timeout.js +4 -1
- package/package.json +2 -4
- package/scripts/main.es5.js +1 -1
- package/scripts/main.js +1 -1
package/js/timeout.js
CHANGED
|
@@ -141,7 +141,10 @@ export default class Timeout {
|
|
|
141
141
|
this.expiryTime = await this.getExpiryTime();
|
|
142
142
|
this.clearTimers();
|
|
143
143
|
clearInterval(this.shouldRestartCheck);
|
|
144
|
-
this.
|
|
144
|
+
if (this.countdownStarted) {
|
|
145
|
+
this.countdownStarted = false;
|
|
146
|
+
this.startUiCountdown();
|
|
147
|
+
}
|
|
145
148
|
}
|
|
146
149
|
|
|
147
150
|
async setNewExpiryTime() {
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ons/design-system",
|
|
3
3
|
"description": "ONS Design System built CSS, JS, and Nunjucks templates",
|
|
4
|
-
"version": "46.1.
|
|
4
|
+
"version": "46.1.2",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
8
|
-
"name": "
|
|
9
|
-
"email": "bameyrick@gmail.com",
|
|
10
|
-
"url": "https://github.com/bameyrick"
|
|
8
|
+
"name": "ONS Digital"
|
|
11
9
|
},
|
|
12
10
|
"scripts": {
|
|
13
11
|
"start": "gulp start",
|