@vaadin/split-layout
Advanced tools
Comparing version 23.0.0-alpha1 to 23.0.0-alpha2
{ | ||
"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 @@ |
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
35857
630
+ Added@vaadin/component-base@23.0.0-alpha2(transitive)
+ Added@vaadin/icon@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-material-styles@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.0.0-alpha2(transitive)
- Removed@vaadin/component-base@23.0.0-alpha1(transitive)
- Removed@vaadin/icon@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-material-styles@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.0.0-alpha1(transitive)