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

@vaadin/split-layout

Package Overview
Dependencies
Maintainers
19
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/split-layout - npm Package Compare versions

Comparing version 23.0.0-alpha1 to 23.0.0-alpha2

12

package.json
{
"name": "@vaadin/split-layout",
"version": "23.0.0-alpha1",
"version": "23.0.0-alpha2",
"publishConfig": {

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

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.0.0-alpha1",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha1",
"@vaadin/vaadin-material-styles": "23.0.0-alpha1",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha1"
"@vaadin/component-base": "23.0.0-alpha2",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
"@vaadin/vaadin-material-styles": "23.0.0-alpha2",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2"
},

@@ -48,3 +48,3 @@ "devDependencies": {

},
"gitHead": "fbcb07328fdf88260e3b461088d207426b21c710"
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
}

@@ -6,3 +6,2 @@ /**

*/
import { GestureEventListeners } from '@polymer/polymer/lib/mixins/gesture-event-listeners.js';
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';

@@ -162,3 +161,3 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

*/
declare class SplitLayout extends ElementMixin(ThemableMixin(GestureEventListeners(HTMLElement))) {
declare class SplitLayout extends ElementMixin(ThemableMixin(HTMLElement)) {
/**

@@ -165,0 +164,0 @@ * The split layout's orientation. Possible values are: `horizontal|vertical`.

@@ -8,6 +8,6 @@ /**

import { mixinBehaviors } from '@polymer/polymer/lib/legacy/class.js';
import { GestureEventListeners } from '@polymer/polymer/lib/mixins/gesture-event-listeners.js';
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
import { addListener } from '@vaadin/component-base/src/gestures.js';
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

@@ -156,7 +156,4 @@

* @mixes ThemableMixin
* @mixes GestureEventListeners
*/
class SplitLayout extends ElementMixin(
ThemableMixin(GestureEventListeners(mixinBehaviors([IronResizableBehavior], PolymerElement)))
) {
class SplitLayout extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizableBehavior], PolymerElement))) {
static get template() {

@@ -212,9 +209,3 @@ return html`

<slot id="primary" name="primary"></slot>
<div
part="splitter"
id="splitter"
on-track="_onHandleTrack"
on-down="_setPointerEventsNone"
on-up="_restorePointerEvents"
>
<div part="splitter" id="splitter">
<div part="handle"></div>

@@ -254,2 +245,7 @@ </div>

this.__observer = new FlattenedNodesObserver(this, this._processChildren);
const splitter = this.$.splitter;
addListener(splitter, 'track', this._onHandleTrack.bind(this));
addListener(splitter, 'down', this._setPointerEventsNone.bind(this));
addListener(splitter, 'up', this._restorePointerEvents.bind(this));
}

@@ -256,0 +252,0 @@

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