@vaadin/master-detail-layout 25.0.0-alpha19 → 25.0.0-alpha20

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": "25.0.0-alpha19",
3
+ "version": "25.0.0-alpha20",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,20 +33,20 @@
33
33
  "web-component"
34
34
  ],
35
35
  "dependencies": {
36
- "@vaadin/a11y-base": "25.0.0-alpha19",
37
- "@vaadin/component-base": "25.0.0-alpha19",
38
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha19",
36
+ "@vaadin/a11y-base": "25.0.0-alpha20",
37
+ "@vaadin/component-base": "25.0.0-alpha20",
38
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha20",
39
39
  "lit": "^3.0.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@vaadin/chai-plugins": "25.0.0-alpha19",
42
+ "@vaadin/chai-plugins": "25.0.0-alpha20",
43
43
  "@vaadin/testing-helpers": "^2.0.0",
44
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha19",
44
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha20",
45
45
  "sinon": "^21.0.0"
46
46
  },
47
47
  "web-types": [
48
48
  "web-types.json",
49
49
  "web-types.lit.json"
50
50
  ],
51
- "gitHead": "1f9af1ce5f0bae8daff044176c8a8df697763881"
51
+ "gitHead": "c948aae591a30b432f3784000d4677674cae56e0"
52
52
  }
@@ -150,12 +150,12 @@ export const masterDetailLayoutStyles = css`
150
150
 
151
151
  :host([orientation='horizontal']:not([drawer], [stack])) [part='detail'] {
152
152
  border-inline-start: var(--vaadin-master-detail-layout-border-width, 1px) solid
153
- var(--vaadin-master-detail-layout-border-color, var(--vaadin-border-color-subtle));
153
+ var(--vaadin-master-detail-layout-border-color, var(--vaadin-border-color-secondary));
154
154
  }
155
155
 
156
156
  :host([orientation='vertical']:not([drawer], [stack])) [part='detail'] {
157
157
  border-top: var(--vaadin-master-detail-layout-border-width, 1px) solid
158
- var(--vaadin-master-detail-layout-border-color, var(--vaadin-border-color-subtle));
158
+ var(--vaadin-master-detail-layout-border-color, var(--vaadin-border-color-secondary));
159
159
  }
160
160
 
161
161
  @media (forced-colors: active) {
@@ -291,9 +291,9 @@ class MasterDetailLayout extends SlotStylesMixin(ResizeMixin(ElementMixin(Themab
291
291
 
292
292
  /** @private */
293
293
  __onDetailKeydown(event) {
294
- if (event.key === 'Escape') {
294
+ if (event.key === 'Escape' && !event.defaultPrevented) {
295
295
  // Prevent firing on parent layout when using nested layouts
296
- event.stopPropagation();
296
+ event.preventDefault();
297
297
  this.dispatchEvent(new CustomEvent('detail-escape-press'));
298
298
  }
299
299
  }
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": "25.0.0-alpha19",
4
+ "version": "25.0.0-alpha20",
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": "25.0.0-alpha19",
4
+ "version": "25.0.0-alpha20",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {