@vaadin/notification 24.0.0 → 24.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/notification",
3
- "version": "24.0.0",
3
+ "version": "24.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,17 +38,17 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/component-base": "~24.0.0",
42
- "@vaadin/lit-renderer": "~24.0.0",
43
- "@vaadin/vaadin-lumo-styles": "~24.0.0",
44
- "@vaadin/vaadin-material-styles": "~24.0.0",
45
- "@vaadin/vaadin-themable-mixin": "~24.0.0",
41
+ "@vaadin/component-base": "~24.0.2",
42
+ "@vaadin/lit-renderer": "~24.0.2",
43
+ "@vaadin/vaadin-lumo-styles": "~24.0.2",
44
+ "@vaadin/vaadin-material-styles": "~24.0.2",
45
+ "@vaadin/vaadin-themable-mixin": "~24.0.2",
46
46
  "lit": "^2.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@esm-bundle/chai": "^4.3.4",
50
- "@vaadin/button": "~24.0.0",
51
- "@vaadin/polymer-legacy-adapter": "~24.0.0",
50
+ "@vaadin/button": "~24.0.2",
51
+ "@vaadin/polymer-legacy-adapter": "~24.0.2",
52
52
  "@vaadin/testing-helpers": "^0.4.0",
53
53
  "sinon": "^13.0.2"
54
54
  },
@@ -56,5 +56,5 @@
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "b0cf651bb624d74b78a42b3e3ea889b2e401daec"
59
+ "gitHead": "b349227fa277573b79d94eb0d94c1556b79c55e8"
60
60
  }
@@ -404,7 +404,11 @@ class Notification extends OverlayClassMixin(ThemePropertyMixin(ElementMixin(Pol
404
404
  /** @protected */
405
405
  disconnectedCallback() {
406
406
  super.disconnectedCallback();
407
- this.opened = false;
407
+ queueMicrotask(() => {
408
+ if (!this.isConnected) {
409
+ this.opened = false;
410
+ }
411
+ });
408
412
  }
409
413
 
410
414
  /**
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/notification",
4
- "version": "24.0.0",
4
+ "version": "24.0.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/notification",
4
- "version": "24.0.0",
4
+ "version": "24.0.2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {