Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/app-layout

Package Overview
Dependencies
Maintainers
14
Versions
412
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/app-layout - npm Package Compare versions

Comparing version 23.1.0-alpha3 to 23.1.0-alpha4

16

package.json
{
"name": "@vaadin/app-layout",
"version": "23.1.0-alpha3",
"version": "23.1.0-alpha4",
"publishConfig": {

@@ -37,15 +37,15 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/button": "23.1.0-alpha3",
"@vaadin/component-base": "23.1.0-alpha3",
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha3",
"@vaadin/vaadin-material-styles": "23.1.0-alpha3",
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha3"
"@vaadin/button": "23.1.0-alpha4",
"@vaadin/component-base": "23.1.0-alpha4",
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha4",
"@vaadin/vaadin-material-styles": "23.1.0-alpha4",
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha4"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@vaadin/tabs": "23.1.0-alpha3",
"@vaadin/tabs": "23.1.0-alpha4",
"@vaadin/testing-helpers": "^0.3.2",
"sinon": "^13.0.2"
},
"gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71"
}

@@ -16,3 +16,3 @@ /**

if (landscape && clientHeight > innerHeight) {
document.documentElement.style.setProperty('--vaadin-viewport-offset-bottom', clientHeight - innerHeight + 'px');
document.documentElement.style.setProperty('--vaadin-viewport-offset-bottom', `${clientHeight - innerHeight}px`);
} else {

@@ -19,0 +19,0 @@ document.documentElement.style.setProperty('--vaadin-viewport-offset-bottom', '');

@@ -188,3 +188,3 @@ /**

listener: (this: AppLayout, ev: AppLayoutEventMap[K]) => void,
options?: boolean | AddEventListenerOptions
options?: boolean | AddEventListenerOptions,
): void;

@@ -195,3 +195,3 @@

listener: (this: AppLayout, ev: AppLayoutEventMap[K]) => void,
options?: boolean | EventListenerOptions
options?: boolean | EventListenerOptions,
): void;

@@ -198,0 +198,0 @@ }

@@ -344,5 +344,5 @@ /**

return {
drawer: 'Drawer'
drawer: 'Drawer',
};
}
},
},

@@ -362,3 +362,3 @@

reflectToAttribute: true,
observer: '__primarySectionChanged'
observer: '__primarySectionChanged',
},

@@ -379,3 +379,3 @@

reflectToAttribute: true,
observer: '__drawerOpenedChanged'
observer: '__drawerOpenedChanged',
},

@@ -393,3 +393,3 @@

value: false,
reflectToAttribute: true
reflectToAttribute: true,
},

@@ -407,4 +407,4 @@

value: 'vaadin-router-location-changed',
observer: '_closeDrawerOnChanged'
}
observer: '_closeDrawerOnChanged',
},
};

@@ -466,5 +466,12 @@ }

this._navbarChildObserver && this._navbarChildObserver.disconnect();
this._drawerChildObserver && this._drawerChildObserver.disconnect();
this._touchChildObserver && this._touchChildObserver.disconnect();
if (this._navbarChildObserver) {
this._navbarChildObserver.disconnect();
}
if (this._drawerChildObserver) {
this._drawerChildObserver.disconnect();
}
if (this._touchChildObserver) {
this._touchChildObserver.disconnect();
}
window.removeEventListener('resize', this.__boundResizeListener);

@@ -590,4 +597,4 @@ this.removeEventListener('drawer-toggle-click', this.__drawerToggleClickListener);

this.style.setProperty('--_vaadin-app-layout-navbar-offset-size', navbarRect.height + 'px');
this.style.setProperty('--_vaadin-app-layout-navbar-offset-size-bottom', navbarBottomRect.height + 'px');
this.style.setProperty('--_vaadin-app-layout-navbar-offset-size', `${navbarRect.height}px`);
this.style.setProperty('--_vaadin-app-layout-navbar-offset-size-bottom', `${navbarBottomRect.height}px`);

@@ -597,3 +604,3 @@ const drawer = this.$.drawer;

this.style.setProperty('--_vaadin-app-layout-drawer-offset-size', drawerRect.width + 'px');
this.style.setProperty('--_vaadin-app-layout-drawer-offset-size', `${drawerRect.width}px`);
}

@@ -744,3 +751,3 @@

_updateTouchOptimizedMode() {
const touchOptimized = this._getCustomPropertyValue('--vaadin-app-layout-touch-optimized') == 'true';
const touchOptimized = this._getCustomPropertyValue('--vaadin-app-layout-touch-optimized') === 'true';

@@ -747,0 +754,0 @@ const navbarItems = this.querySelectorAll('[slot*="navbar"]');

@@ -74,4 +74,4 @@ /**

value: 'Toggle navigation panel',
reflectToAttribute: true
}
reflectToAttribute: true,
},
};

@@ -78,0 +78,0 @@ }

@@ -71,3 +71,3 @@ import '@vaadin/vaadin-lumo-styles/color.js';

`,
{ moduleId: 'lumo-app-layout' }
{ moduleId: 'lumo-app-layout' },
);

@@ -59,3 +59,3 @@ import '@vaadin/vaadin-material-styles/color.js';

`,
{ moduleId: 'material-app-layout' }
{ moduleId: 'material-app-layout' },
);

@@ -50,3 +50,3 @@ import '@vaadin/vaadin-material-styles/color.js';

registerStyles('vaadin-drawer-toggle', [button, drawerToggle], {
moduleId: 'material-drawer-toggle'
moduleId: 'material-drawer-toggle',
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc