@vaadin/notification 25.0.0-alpha7 → 25.0.0-alpha8
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 +10 -10
- package/src/vaadin-notification-mixin.js +2 -0
- package/src/vaadin-notification.js +2 -2
- 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": "25.0.0-
|
|
3
|
+
"version": "25.0.0-alpha8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/component-base": "25.0.0-
|
|
41
|
-
"@vaadin/lit-renderer": "25.0.0-
|
|
42
|
-
"@vaadin/overlay": "25.0.0-
|
|
43
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
40
|
+
"@vaadin/component-base": "25.0.0-alpha8",
|
|
41
|
+
"@vaadin/lit-renderer": "25.0.0-alpha8",
|
|
42
|
+
"@vaadin/overlay": "25.0.0-alpha8",
|
|
43
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-alpha8",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-alpha8",
|
|
45
45
|
"lit": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@vaadin/button": "25.0.0-
|
|
49
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
50
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
48
|
+
"@vaadin/button": "25.0.0-alpha8",
|
|
49
|
+
"@vaadin/chai-plugins": "25.0.0-alpha8",
|
|
50
|
+
"@vaadin/test-runner-commands": "25.0.0-alpha8",
|
|
51
51
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
52
52
|
"sinon": "^18.0.0"
|
|
53
53
|
},
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "ebf53673d5f639d2b1b6f2b31f640f530643ee2f"
|
|
59
59
|
}
|
|
@@ -46,6 +46,7 @@ export const NotificationContainerMixin = (superClass) =>
|
|
|
46
46
|
_openedChanged(opened) {
|
|
47
47
|
if (opened) {
|
|
48
48
|
document.body.appendChild(this);
|
|
49
|
+
this._appendAttachedInstance();
|
|
49
50
|
document.addEventListener('vaadin-overlay-close', this._boundVaadinOverlayClose);
|
|
50
51
|
if (this._boundIosResizeListener) {
|
|
51
52
|
this._detectIosNavbar();
|
|
@@ -53,6 +54,7 @@ export const NotificationContainerMixin = (superClass) =>
|
|
|
53
54
|
}
|
|
54
55
|
} else {
|
|
55
56
|
document.body.removeChild(this);
|
|
57
|
+
this._removeAttachedInstance();
|
|
56
58
|
document.removeEventListener('vaadin-overlay-close', this._boundVaadinOverlayClose);
|
|
57
59
|
if (this._boundIosResizeListener) {
|
|
58
60
|
window.removeEventListener('resize', this._boundIosResizeListener);
|
|
@@ -25,7 +25,7 @@ import { NotificationContainerMixin, NotificationMixin } from './vaadin-notifica
|
|
|
25
25
|
* @private
|
|
26
26
|
*/
|
|
27
27
|
class NotificationContainer extends NotificationContainerMixin(
|
|
28
|
-
ThemableMixin(ElementMixin(LumoInjectionMixin(
|
|
28
|
+
ThemableMixin(ElementMixin(PolylitMixin(LumoInjectionMixin(LitElement)))),
|
|
29
29
|
) {
|
|
30
30
|
static get is() {
|
|
31
31
|
return 'vaadin-notification-container';
|
|
@@ -63,7 +63,7 @@ class NotificationContainer extends NotificationContainerMixin(
|
|
|
63
63
|
* @mixes ThemableMixin
|
|
64
64
|
* @private
|
|
65
65
|
*/
|
|
66
|
-
class NotificationCard extends ThemableMixin(LumoInjectionMixin(
|
|
66
|
+
class NotificationCard extends ThemableMixin(PolylitMixin(LumoInjectionMixin(LitElement))) {
|
|
67
67
|
static get is() {
|
|
68
68
|
return 'vaadin-notification-card';
|
|
69
69
|
}
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED