@vaadin/notification 25.0.0-alpha6 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/notification",
3
- "version": "25.0.0-alpha6",
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-alpha6",
41
- "@vaadin/lit-renderer": "25.0.0-alpha6",
42
- "@vaadin/overlay": "25.0.0-alpha6",
43
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha6",
44
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha6",
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-alpha6",
49
- "@vaadin/chai-plugins": "25.0.0-alpha6",
50
- "@vaadin/test-runner-commands": "25.0.0-alpha6",
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": "cd1d084198d2b326c58d44bb39fa4845b71ce551"
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(PolylitMixin(LitElement)))),
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(PolylitMixin(LitElement))) {
66
+ class NotificationCard extends ThemableMixin(PolylitMixin(LumoInjectionMixin(LitElement))) {
67
67
  static get is() {
68
68
  return 'vaadin-notification-card';
69
69
  }
@@ -142,9 +142,7 @@ class NotificationCard extends ThemableMixin(LumoInjectionMixin(PolylitMixin(Lit
142
142
  * @mixes NotificationMixin
143
143
  * @mixes ElementMixin
144
144
  */
145
- class Notification extends NotificationMixin(
146
- ElementMixin(ThemableMixin(LumoInjectionMixin(PolylitMixin(LitElement)))),
147
- ) {
145
+ class Notification extends NotificationMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElement)))) {
148
146
  static get is() {
149
147
  return 'vaadin-notification';
150
148
  }
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": "25.0.0-alpha6",
4
+ "version": "25.0.0-alpha8",
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": "25.0.0-alpha6",
4
+ "version": "25.0.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {