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
6
Versions
231
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.7-alpha.1 to 0.2.7-alpha.12

test/benchmark/basic-test.d.ts

16

package.json
{
"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

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