Socket
Socket
Sign inDemoInstall

@spectrum-web-components/split-view

Package Overview
Dependencies
Maintainers
7
Versions
166
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.2.10 to 0.2.11-lit-next.0

6

package.json
{
"name": "@spectrum-web-components/split-view",
"version": "0.2.10",
"version": "0.2.11-lit-next.0+297042cb5",
"publishConfig": {

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

"dependencies": {
"@spectrum-web-components/base": "^0.4.5",
"@spectrum-web-components/base": "^0.4.6-lit-next.137+297042cb5",
"tslib": "^2.0.0"

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

],
"gitHead": "d7f2ca747a902cf8b632cc8491fa675419297180"
"gitHead": "297042cb5770314e9a5181c1fd97d722622f091c"
}

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

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,4 +110,10 @@ const DEFAULT_MAX_SIZE = 3840;

@keydown=${this.onKeydown}
@pointerdown=${this.onPointerdown}
@pointerup=${this.onPointerup}
${streamingListener({
start: ['pointerdown', this.onPointerdown],
streamInside: ['pointermove', this.onPointermove],
end: [
['pointerup', 'pointercancel'],
this.onPointerup,
],
})}
>

@@ -129,6 +136,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();

@@ -151,3 +158,2 @@ }

this.splitter.releasePointerCapture(event.pointerId);
this.onpointermove = null;
}

@@ -154,0 +160,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