@umbraco-ui/uui-toast-notification 1.2.1 → 1.3.0-rc.1
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/lib/index.js +6 -0
- package/package.json +8 -8
package/lib/index.js
CHANGED
|
@@ -66,12 +66,18 @@ let UUIToastNotificationElement = class extends LitElement {
|
|
|
66
66
|
this._timer = null;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Pause the auto close timer.
|
|
71
|
+
*/
|
|
69
72
|
pauseAutoClose() {
|
|
70
73
|
this._pauseTimer = true;
|
|
71
74
|
if (this._timer !== null) {
|
|
72
75
|
this._timer.pause();
|
|
73
76
|
}
|
|
74
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Resume the auto close timer.
|
|
80
|
+
*/
|
|
75
81
|
resumeAutoClose() {
|
|
76
82
|
this._pauseTimer = false;
|
|
77
83
|
if (this._timer !== null && this.isOpen === true && this._animate === false) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-toast-notification",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.
|
|
34
|
-
"@umbraco-ui/uui-button": "1.
|
|
35
|
-
"@umbraco-ui/uui-css": "1.
|
|
36
|
-
"@umbraco-ui/uui-icon": "1.
|
|
37
|
-
"@umbraco-ui/uui-icon-registry-essential": "1.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.3.0-rc.1",
|
|
34
|
+
"@umbraco-ui/uui-button": "1.3.0-rc.1",
|
|
35
|
+
"@umbraco-ui/uui-css": "1.3.0-rc.1",
|
|
36
|
+
"@umbraco-ui/uui-icon": "1.3.0-rc.1",
|
|
37
|
+
"@umbraco-ui/uui-icon-registry-essential": "1.3.0-rc.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
|
|
41
|
-
"clean": "tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json",
|
|
41
|
+
"clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js *.tgz lib/**/*.d.ts custom-elements.json",
|
|
42
42
|
"analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-toast-notification",
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "0c517175884931aa0bc0d8f05974852a7704626e"
|
|
49
49
|
}
|