@spectrum-web-components/split-view
Advanced tools
Comparing version 0.2.11-lit-next.24 to 0.2.11
{ | ||
"name": "@spectrum-web-components/split-view", | ||
"version": "0.2.11-lit-next.24+c727331cf", | ||
"version": "0.2.11", | ||
"publishConfig": { | ||
@@ -47,3 +47,3 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.4.6-lit-next.161+c727331cf", | ||
"@spectrum-web-components/base": "^0.4.5", | ||
"tslib": "^2.0.0" | ||
@@ -59,3 +59,3 @@ }, | ||
], | ||
"gitHead": "c727331cf98a963e16917d9a47d9df4608fff366" | ||
"gitHead": "e05c867a446189df8cfbceb201ec18cd502cfe26" | ||
} |
@@ -14,3 +14,2 @@ /* | ||
import { html, SpectrumElement, property, ifDefined, query, nothing, classMap, } from '@spectrum-web-components/base'; | ||
import { streamingListener } from '@spectrum-web-components/base/src/streaming-listener.js'; | ||
import styles from './split-view.css.js'; | ||
@@ -110,10 +109,4 @@ const DEFAULT_MAX_SIZE = 3840; | ||
@keydown=${this.onKeydown} | ||
${streamingListener({ | ||
start: ['pointerdown', this.onPointerdown], | ||
streamInside: ['pointermove', this.onPointermove], | ||
end: [ | ||
['pointerup', 'pointercancel'], | ||
this.onPointerup, | ||
], | ||
})} | ||
@pointerdown=${this.onPointerdown} | ||
@pointerup=${this.onPointerup} | ||
> | ||
@@ -136,6 +129,6 @@ ${this.resizable | ||
if (!this.resizable || (event.button && event.button !== 0)) { | ||
event.preventDefault(); | ||
return; | ||
} | ||
this.splitter.setPointerCapture(event.pointerId); | ||
this.onpointermove = this.onPointermove; | ||
this.offset = this.getOffset(); | ||
@@ -158,2 +151,3 @@ } | ||
this.splitter.releasePointerCapture(event.pointerId); | ||
this.onpointermove = null; | ||
} | ||
@@ -160,0 +154,0 @@ getOffset() { |
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
170518
1771