@vaadin/side-nav 24.5.0-alpha1 → 24.5.0-alpha2

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/side-nav",
3
- "version": "24.5.0-alpha1",
3
+ "version": "24.5.0-alpha2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,11 +35,11 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "24.5.0-alpha1",
39
- "@vaadin/component-base": "24.5.0-alpha1",
40
- "@vaadin/vaadin-lumo-styles": "24.5.0-alpha1",
41
- "@vaadin/vaadin-material-styles": "24.5.0-alpha1",
42
- "@vaadin/vaadin-themable-mixin": "24.5.0-alpha1",
38
+ "@vaadin/a11y-base": "24.5.0-alpha2",
39
+ "@vaadin/component-base": "24.5.0-alpha2",
40
+ "@vaadin/vaadin-lumo-styles": "24.5.0-alpha2",
41
+ "@vaadin/vaadin-material-styles": "24.5.0-alpha2",
42
+ "@vaadin/vaadin-themable-mixin": "24.5.0-alpha2",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "57806caac5468532a3b4e3dbdda730cd0fca193a"
55
+ "gitHead": "403f153bf4351f220cb6172485a0575ddf0d0fba"
56
56
  }
@@ -208,6 +208,7 @@ class SideNavItem extends SideNavChildrenMixin(DisabledMixin(ElementMixin(Themab
208
208
  this.__updateCurrent();
209
209
 
210
210
  window.addEventListener('popstate', this.__boundUpdateCurrent);
211
+ window.addEventListener('vaadin-navigated', this.__boundUpdateCurrent);
211
212
  window.addEventListener('side-nav-location-changed', this.__boundUpdateCurrent);
212
213
  }
213
214
 
@@ -215,6 +216,7 @@ class SideNavItem extends SideNavChildrenMixin(DisabledMixin(ElementMixin(Themab
215
216
  disconnectedCallback() {
216
217
  super.disconnectedCallback();
217
218
  window.removeEventListener('popstate', this.__boundUpdateCurrent);
219
+ window.removeEventListener('vaadin-navigated', this.__boundUpdateCurrent);
218
220
  window.removeEventListener('side-nav-location-changed', this.__boundUpdateCurrent);
219
221
  }
220
222
 
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/side-nav",
4
- "version": "24.5.0-alpha1",
4
+ "version": "24.5.0-alpha2",
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/side-nav",
4
- "version": "24.5.0-alpha1",
4
+ "version": "24.5.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {