@vaadin/vaadin-app-layout
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-app-layout", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"main": "vaadin-app-layout.js", | ||
@@ -16,0 +16,0 @@ "author": "Vaadin Ltd", |
@@ -271,2 +271,3 @@ /** | ||
</div> | ||
<div hidden=""><slot id="touchSlot" name="navbar touch-optimized"></slot></div> | ||
`; | ||
@@ -280,3 +281,3 @@ } | ||
static get version() { | ||
return '2.0.4'; | ||
return '2.0.5'; | ||
} | ||
@@ -362,3 +363,12 @@ | ||
this._navbarChildObserver = new FlattenedNodesObserver(this.$.drawerSlot, (info) => { | ||
const navbarSlot = this.$.navbarTop.firstElementChild; | ||
this._navbarChildObserver = new FlattenedNodesObserver(navbarSlot, (info) => { | ||
this._updateTouchOptimizedMode(); | ||
}); | ||
this._touchChildObserver = new FlattenedNodesObserver(this.$.touchSlot, (info) => { | ||
this._updateTouchOptimizedMode(); | ||
}); | ||
this._drawerChildObserver = new FlattenedNodesObserver(this.$.drawerSlot, (info) => { | ||
this._updateDrawerSize(); | ||
@@ -379,2 +389,4 @@ }); | ||
this._navbarChildObserver && this._navbarChildObserver.disconnect(); | ||
this._drawerChildObserver && this._drawerChildObserver.disconnect(); | ||
this._touchChildObserver && this._touchChildObserver.disconnect(); | ||
window.removeEventListener('resize', this.__boundResizeListener); | ||
@@ -381,0 +393,0 @@ this.removeEventListener('drawer-toggle-click', this.__drawerToggleClickListener); |
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
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
46676
824
0