@vaadin/vaadin-context-menu
Advanced tools
Comparing version 4.3.12 to 4.3.13
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-context-menu", | ||
"version": "4.3.12", | ||
"version": "4.3.13", | ||
"main": "vaadin-context-menu.js", | ||
@@ -16,0 +16,0 @@ "author": "Vaadin Ltd", |
@@ -266,3 +266,3 @@ /** | ||
static get version() { | ||
return '4.3.12'; | ||
return '4.3.13'; | ||
} | ||
@@ -269,0 +269,0 @@ |
@@ -8,3 +8,2 @@ import { ItemElement } from '@vaadin/vaadin-item/src/vaadin-item.js'; | ||
* @memberof Vaadin | ||
* @extends Vaadin.ItemElement | ||
*/ | ||
@@ -21,3 +20,2 @@ class ContextMenuItemElement extends ItemElement { | ||
* @memberof Vaadin | ||
* @extends Vaadin.ListBoxElement | ||
*/ | ||
@@ -197,8 +195,8 @@ class ContextMenuListBoxElement extends ListBoxElement { | ||
if (component.localName === 'vaadin-context-menu-item') { | ||
if (component instanceof ItemElement) { | ||
component.setAttribute('role', 'menuitem'); | ||
component.classList.add('vaadin-menu-item'); | ||
} else if (component.localName === 'hr') { | ||
component.setAttribute('role', 'separator'); | ||
} | ||
component.classList.add('vaadin-menu-item'); | ||
this.theme && component.setAttribute('theme', this.theme); | ||
@@ -205,0 +203,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
65455
1337