@vaadin/details 23.3.19 → 23.3.21

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/details",
3
- "version": "23.3.19",
3
+ "version": "23.3.21",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,11 +36,11 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "~23.3.19",
40
- "@vaadin/field-base": "~23.3.19",
41
- "@vaadin/vaadin-lumo-styles": "~23.3.19",
42
- "@vaadin/vaadin-material-styles": "~23.3.19",
43
- "@vaadin/vaadin-themable-mixin": "~23.3.19"
39
+ "@vaadin/component-base": "~23.3.21",
40
+ "@vaadin/field-base": "~23.3.21",
41
+ "@vaadin/vaadin-lumo-styles": "~23.3.21",
42
+ "@vaadin/vaadin-material-styles": "~23.3.21",
43
+ "@vaadin/vaadin-themable-mixin": "~23.3.21"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
@@ -51,5 +51,5 @@
51
51
  "web-types.json",
52
52
  "web-types.lit.json"
53
53
  ],
54
- "gitHead": "2ef4452124034616fb9f7e99fa3c381a600986ba"
54
+ "gitHead": "5caee824b60295eb1e03b736880ed73f62a8988c"
55
55
  }
@@ -170,7 +170,11 @@ class Details extends ShadowFocusMixin(ElementMixin(ThemableMixin(ControllerMixi
170
170
  }
171
171
 
172
172
  /** @private */
173
- _onToggleClick() {
173
+ _onToggleClick(event) {
174
+ if (event.target.localName === 'a') {
175
+ return;
176
+ }
177
+
174
178
  this.opened = !this.opened;
175
179
  }
176
180
 
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/details",
4
- "version": "23.3.19",
4
+ "version": "23.3.21",
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/details",
4
- "version": "23.3.19",
4
+ "version": "23.3.21",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {