@vaadin/notification 24.1.0-alpha1 → 24.1.0-alpha10
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 +8 -8
- package/src/vaadin-notification.js +11 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/notification",
|
|
3
|
-
"version": "24.1.0-
|
|
3
|
+
"version": "24.1.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/component-base": "24.1.0-
|
|
42
|
-
"@vaadin/lit-renderer": "24.1.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "24.1.0-
|
|
44
|
-
"@vaadin/vaadin-material-styles": "24.1.0-
|
|
45
|
-
"@vaadin/vaadin-themable-mixin": "24.1.0-
|
|
41
|
+
"@vaadin/component-base": "24.1.0-alpha10",
|
|
42
|
+
"@vaadin/lit-renderer": "24.1.0-alpha10",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "24.1.0-alpha10",
|
|
44
|
+
"@vaadin/vaadin-material-styles": "24.1.0-alpha10",
|
|
45
|
+
"@vaadin/vaadin-themable-mixin": "24.1.0-alpha10",
|
|
46
46
|
"lit": "^2.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@esm-bundle/chai": "^4.3.4",
|
|
50
|
-
"@vaadin/button": "24.1.0-
|
|
50
|
+
"@vaadin/button": "24.1.0-alpha10",
|
|
51
51
|
"@vaadin/testing-helpers": "^0.4.0",
|
|
52
52
|
"sinon": "^13.0.2"
|
|
53
53
|
},
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "12e39be7eb3b49c68708e8ca3de2fb22e91051a1"
|
|
59
59
|
}
|
|
@@ -181,6 +181,12 @@ class NotificationCard extends ThemableMixin(PolymerElement) {
|
|
|
181
181
|
[part='overlay'] {
|
|
182
182
|
pointer-events: auto;
|
|
183
183
|
}
|
|
184
|
+
|
|
185
|
+
@media (forced-colors: active) {
|
|
186
|
+
[part='overlay'] {
|
|
187
|
+
outline: 3px solid;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
184
190
|
</style>
|
|
185
191
|
|
|
186
192
|
<div part="overlay">
|
|
@@ -404,7 +410,11 @@ class Notification extends OverlayClassMixin(ThemePropertyMixin(ElementMixin(Pol
|
|
|
404
410
|
/** @protected */
|
|
405
411
|
disconnectedCallback() {
|
|
406
412
|
super.disconnectedCallback();
|
|
407
|
-
|
|
413
|
+
queueMicrotask(() => {
|
|
414
|
+
if (!this.isConnected) {
|
|
415
|
+
this.opened = false;
|
|
416
|
+
}
|
|
417
|
+
});
|
|
408
418
|
}
|
|
409
419
|
|
|
410
420
|
/**
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED