@vaadin/vaadin-list-mixin
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-list-mixin", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"main": "vaadin-list-mixin.js", | ||
@@ -33,7 +33,13 @@ "author": "Vaadin Ltd", | ||
}, | ||
"devDependencies": { | ||
"scripts": { | ||
"generate-typings": "gen-typescript-declarations --outDir . --verify" | ||
}, | ||
"devDependencies": { | ||
"@polymer/iron-test-helpers": "^3.0.0", | ||
"wct-browser-legacy": "^1.0.1", | ||
"@webcomponents/webcomponentsjs": "^2.0.0" | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"@vaadin/vaadin-context-menu": "^4.3.13", | ||
"@vaadin/vaadin-select": "^2.1.6", | ||
"@vaadin/vaadin-tabs": "^3.0.5" | ||
} | ||
} |
@@ -136,3 +136,3 @@ /** | ||
const increment = 1; | ||
const condition = item => !item.disabled && | ||
const condition = item => !(item.disabled || this._isItemHidden(item)) && | ||
item.textContent.replace(/[^a-zA-Z0-9]/g, '').toLowerCase().indexOf(this._searchBuf) === 0; | ||
@@ -166,3 +166,3 @@ | ||
const condition = item => !item.disabled; | ||
const condition = item => !(item.disabled || this._isItemHidden(item)); | ||
let idx, increment; | ||
@@ -201,2 +201,3 @@ | ||
const item = this.items[idx]; | ||
if (condition(item)) { | ||
@@ -209,2 +210,6 @@ return idx; | ||
_isItemHidden(item) { | ||
return getComputedStyle(item).display === 'none'; | ||
} | ||
_setFocusable(idx) { | ||
@@ -211,0 +216,0 @@ idx = this._getAvailableIndex(idx, 1, item => !item.disabled); |
@@ -12,3 +12,3 @@ /** | ||
* @polymerMixin | ||
* @mixes Vaadin.ListMixin | ||
* @mixes ListMixin | ||
*/ | ||
@@ -15,0 +15,0 @@ export const MultiSelectListMixin = superClass => class VaadinMultiSelectListMixin extends ListMixin(superClass) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24702
329
6
1