@vaadin/vaadin-list-mixin
Advanced tools
Comparing version 23.2.0-alpha6 to 23.2.0-beta1
{ | ||
"name": "@vaadin/vaadin-list-mixin", | ||
"version": "23.2.0-alpha6", | ||
"version": "23.2.0-beta1", | ||
"publishConfig": { | ||
@@ -17,3 +17,3 @@ "access": "public" | ||
"bugs": { | ||
"url": "https://github.com/vaadin/vaadin-list-mixin/issues" | ||
"url": "https://github.com/vaadin/web-components/issues" | ||
}, | ||
@@ -37,3 +37,3 @@ "main": "vaadin-list-mixin.js", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.2.0-alpha6" | ||
"@vaadin/component-base": "23.2.0-beta1" | ||
}, | ||
@@ -45,3 +45,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "61f1fb56953434e97d34a8819640064301dd3d8a" | ||
"gitHead": "82ff7254f27a1a089367e4dd005f63879e33c188" | ||
} |
@@ -10,2 +10,3 @@ /** | ||
import { DirHelper } from '@vaadin/component-base/src/dir-helper.js'; | ||
import { isElementFocused } from '@vaadin/component-base/src/focus-utils.js'; | ||
@@ -91,3 +92,3 @@ /** | ||
this._observer = new FlattenedNodesObserver(this, () => { | ||
this._setItems(this._filterItems(Array.from(this.children))); | ||
this._setItems(this._filterItems(FlattenedNodesObserver.getFlattenedNodes(this))); | ||
}); | ||
@@ -126,3 +127,3 @@ } | ||
get focused() { | ||
return this.getRootNode().activeElement; | ||
return (this.items || []).find(isElementFocused); | ||
} | ||
@@ -129,0 +130,0 @@ |
29665
527
+ Added@vaadin/component-base@23.2.0-beta1(transitive)
- Removed@vaadin/component-base@23.2.0-alpha6(transitive)