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

@spectrum-web-components/split-view

Package Overview
Dependencies
Maintainers
7
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/split-view - npm Package Compare versions

Comparing version 0.3.1-lit-next.0 to 0.3.1

6

package.json
{
"name": "@spectrum-web-components/split-view",
"version": "0.3.1-lit-next.0+fc74d25d8",
"version": "0.3.1",
"publishConfig": {

@@ -47,3 +47,3 @@ "access": "public"

"dependencies": {
"@spectrum-web-components/base": "^0.4.6-lit-next.222+fc74d25d8",
"@spectrum-web-components/base": "^0.4.6",
"tslib": "^2.0.0"

@@ -59,3 +59,3 @@ },

],
"gitHead": "fc74d25d89dbbcbf6c70ad8c5a41bac5ac6f130a"
"gitHead": "9c7ac25264762a9b7bad2ef3f111d5eb613f9d05"
}

@@ -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

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