@spectrum-web-components/split-view
Advanced tools
Comparing version 0.2.7-alpha.1 to 0.2.7-alpha.12
{ | ||
"name": "@spectrum-web-components/split-view", | ||
"version": "0.2.7-alpha.1+ed84dff79", | ||
"version": "0.2.7-alpha.12+6493e508", | ||
"publishConfig": { | ||
@@ -33,6 +33,5 @@ "access": "public" | ||
"files": [ | ||
"*.d.ts", | ||
"*.js", | ||
"*.js.map", | ||
"/src/", | ||
"**/*.d.ts", | ||
"**/*.js", | ||
"**/*.js.map", | ||
"custom-elements.json" | ||
@@ -47,3 +46,3 @@ ], | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.4.4-alpha.135+ed84dff79", | ||
"@spectrum-web-components/base": "^0.4.4-alpha.146+6493e508", | ||
"tslib": "^2.0.0" | ||
@@ -57,6 +56,5 @@ }, | ||
"sideEffects": [ | ||
"./sp-*.js", | ||
"./sp-*.ts" | ||
"./sp-*.js" | ||
], | ||
"gitHead": "ed84dff79fd23708ed6c63a8114290217d9c17ad" | ||
"gitHead": "6493e508af9a30ea6eda1901cf800d770d498219" | ||
} |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -1,2 +0,2 @@ | ||
declare const styles: import("@spectrum-web-components/base").CSSResultGroup; | ||
declare const styles: import("@spectrum-web-components/base").CSSResult; | ||
export default styles; |
@@ -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'; | ||
@@ -109,10 +108,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} | ||
> | ||
@@ -135,6 +128,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(); | ||
@@ -157,2 +150,3 @@ } | ||
this.splitter.releasePointerCapture(event.pointerId); | ||
this.onpointermove = null; | ||
} | ||
@@ -159,0 +153,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
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
117401
27
6
785