@vaadin/side-nav 25.4.0-alpha4 → 25.4.0-alpha6

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": "25.4.0-alpha4",
3
+ "version": "25.4.0-alpha6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,19 +35,19 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "25.4.0-alpha4",
39
- "@vaadin/component-base": "25.4.0-alpha4",
40
- "@vaadin/vaadin-themable-mixin": "25.4.0-alpha4",
38
+ "@vaadin/a11y-base": "25.4.0-alpha6",
39
+ "@vaadin/component-base": "25.4.0-alpha6",
40
+ "@vaadin/vaadin-themable-mixin": "25.4.0-alpha6",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/aura": "25.4.0-alpha4",
45
- "@vaadin/chai-plugins": "25.4.0-alpha4",
46
- "@vaadin/icon": "25.4.0-alpha4",
47
- "@vaadin/icons": "25.4.0-alpha4",
48
- "@vaadin/test-runner-commands": "25.4.0-alpha4",
44
+ "@vaadin/aura": "25.4.0-alpha6",
45
+ "@vaadin/chai-plugins": "25.4.0-alpha6",
46
+ "@vaadin/icon": "25.4.0-alpha6",
47
+ "@vaadin/icons": "25.4.0-alpha6",
48
+ "@vaadin/test-runner-commands": "25.4.0-alpha6",
49
49
  "@vaadin/testing-helpers": "^2.0.0",
50
- "@vaadin/vaadin-lumo-styles": "25.4.0-alpha4",
50
+ "@vaadin/vaadin-lumo-styles": "25.4.0-alpha6",
51
51
  "lit": "^3.0.0",
52
52
  "sinon": "^22.0.0"
53
53
  },
@@ -56,5 +56,5 @@
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "7809e4c099538333a6dbd11d8da18a0c6ec30dad"
59
+ "gitHead": "4ead7de23a27c47e5ef4cb172481f8c54e86691a"
60
60
  }
@@ -332,10 +332,10 @@ class SideNavItem extends SideNavChildrenMixin(
332
332
  /** @private */
333
333
  _onContentClick(e) {
334
334
  // Navigate if path is defined and not clicking on the link directly
335
- if (this.path && !e.composedPath().find((el) => el === this.$.link)) {
335
+ if (this.path != null && !e.composedPath().find((el) => el === this.$.link)) {
336
336
  this.$.link.click();
337
337
  }
338
- // Toggle item expanded state unless the link has a non-empty path
338
+ // Toggle item expanded state unless path is defined
339
339
  else if (this.path == null && this.hasAttribute('has-children') && !this.disabled) {
340
340
  this.__toggleExpanded();
341
341
  }
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": "25.4.0-alpha4",
4
+ "version": "25.4.0-alpha6",
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": "25.4.0-alpha4",
4
+ "version": "25.4.0-alpha6",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {