@vaadin/master-detail-layout 24.8.7 → 24.8.9

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/master-detail-layout",
3
- "version": "24.8.7",
3
+ "version": "24.8.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,15 +34,15 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/a11y-base": "~24.8.7",
38
- "@vaadin/component-base": "~24.8.7",
39
- "@vaadin/vaadin-lumo-styles": "~24.8.7",
40
- "@vaadin/vaadin-material-styles": "~24.8.7",
41
- "@vaadin/vaadin-themable-mixin": "~24.8.7",
37
+ "@vaadin/a11y-base": "~24.8.9",
38
+ "@vaadin/component-base": "~24.8.9",
39
+ "@vaadin/vaadin-lumo-styles": "~24.8.9",
40
+ "@vaadin/vaadin-material-styles": "~24.8.9",
41
+ "@vaadin/vaadin-themable-mixin": "~24.8.9",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/chai-plugins": "~24.8.7",
45
+ "@vaadin/chai-plugins": "~24.8.9",
46
46
  "@vaadin/testing-helpers": "^1.1.0",
47
47
  "sinon": "^18.0.0"
48
48
  },
@@ -50,5 +50,5 @@
50
50
  "web-types.json",
51
51
  "web-types.lit.json"
52
52
  ],
53
- "gitHead": "5136ca7537273974e8cf01af79f27963f49cb876"
53
+ "gitHead": "5d43d8386a37ba17eff54d91024ab8d273136b26"
54
54
  }
@@ -441,9 +441,9 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
441
441
 
442
442
  /** @private */
443
443
  __onDetailKeydown(event) {
444
- if (event.key === 'Escape') {
444
+ if (event.key === 'Escape' && !event.defaultPrevented) {
445
445
  // Prevent firing on parent layout when using nested layouts
446
- event.stopPropagation();
446
+ event.preventDefault();
447
447
  this.dispatchEvent(new CustomEvent('detail-escape-press'));
448
448
  }
449
449
  }
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/master-detail-layout",
4
- "version": "24.8.7",
4
+ "version": "24.8.9",
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/master-detail-layout",
4
- "version": "24.8.7",
4
+ "version": "24.8.9",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {