@vaadin/vaadin-context-menu 4.6.0 → 4.6.1

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
@@ -10,7 +10,7 @@
10
10
  "repository": "vaadin/vaadin-context-menu",
11
11
  "homepage": "https://vaadin.com/components",
12
12
  "name": "@vaadin/vaadin-context-menu",
13
- "version": "4.6.0",
13
+ "version": "4.6.1",
14
14
  "main": "vaadin-context-menu.js",
15
15
  "author": "Vaadin Ltd",
16
16
  "license": "Apache-2.0",
@@ -25,8 +25,6 @@
25
25
  "theme"
26
26
  ],
27
27
  "resolutions": {
28
- "es-abstract": "1.17.6",
29
- "@types/doctrine": "0.0.3",
30
28
  "inherits": "2.0.3",
31
29
  "samsam": "1.1.3",
32
30
  "supports-color": "3.1.2",
@@ -43,10 +41,9 @@
43
41
  "@vaadin/vaadin-item": "^2.3.0",
44
42
  "@vaadin/vaadin-list-box": "^1.4.0"
45
43
  },
46
- "scripts": {
47
- "generate-typings": "gen-typescript-declarations --outDir . --verify"
48
- },
49
- "devDependencies": {
44
+ "devDependencies": {
45
+ "@web-padawan/gen-typescript-declarations": "^1.6.2",
46
+ "web-component-tester": "6.9.2",
50
47
  "@polymer/iron-component-page": "^4.0.0",
51
48
  "@polymer/iron-test-helpers": "^3.0.0",
52
49
  "@vaadin/vaadin-button": "^2.4.0",
@@ -54,5 +51,9 @@
54
51
  "@webcomponents/webcomponentsjs": "^2.0.0",
55
52
  "wct-browser-legacy": "^1.0.1",
56
53
  "@vaadin/vaadin-demo-helpers": "^3.1.0"
54
+ },
55
+ "scripts": {
56
+ "generate-typings": "gen-typescript-declarations --outDir . --verify",
57
+ "test": "wct --npm"
57
58
  }
58
59
  }
@@ -263,7 +263,7 @@ class ContextMenuElement extends
263
263
  }
264
264
 
265
265
  static get version() {
266
- return '4.6.0';
266
+ return '4.6.1';
267
267
  }
268
268
 
269
269
  static get properties() {
@@ -214,6 +214,7 @@ export const ItemsMixin = superClass => class ItemsMixin extends superClass {
214
214
 
215
215
  if (component instanceof ItemElement) {
216
216
  component.setAttribute('role', 'menuitem');
217
+ component.tabIndex = -1;
217
218
  component.classList.add('vaadin-menu-item');
218
219
  } else if (component.localName === 'hr') {
219
220
  component.setAttribute('role', 'separator');