Socket
Socket
Sign inDemoInstall

@shopify/draggable

Package Overview
Dependencies
0
Maintainers
25
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2

build/ts/src/Draggable/DraggableEvent/DraggableEvent.d.ts

11

build/ts/src/Draggable/DragEvent/DragEvent.d.ts
import AbstractEvent from '../../shared/AbstractEvent';
import { SensorEvent } from '../Sensors/SensorEvent';
/**

@@ -6,3 +7,3 @@ * DragEventData

*/
interface DragEventData {
export interface DragEventData {
source: HTMLElement;

@@ -12,3 +13,3 @@ originalSource: HTMLElement;

sourceContainer: HTMLElement;
sensorEvent: any;
sensorEvent: SensorEvent;
}

@@ -64,3 +65,3 @@ /**

*/
get sensorEvent(): any;
get sensorEvent(): SensorEvent;
/**

@@ -72,3 +73,3 @@ * Original event that triggered sensor event

*/
get originalEvent(): any;
get originalEvent(): Event | null | undefined;
}

@@ -98,3 +99,3 @@ /**

*/
interface DragOverEventData extends DragEventData {
export interface DragOverEventData extends DragEventData {
overContainer: HTMLElement;

@@ -101,0 +102,0 @@ over: HTMLElement;

import AbstractPlugin from '../../shared/AbstractPlugin';
import { FixMeAny } from '../../shared/types';
/**

@@ -23,3 +24,3 @@ * ResizeMirror default options

*/
constructor(draggable: any);
constructor(draggable: FixMeAny);
/**

@@ -26,0 +27,0 @@ * Attaches plugins event listeners

import AbstractPlugin from '../../shared/AbstractPlugin';
import { FixMeAny } from '../../shared/types';
interface Options {

@@ -30,3 +31,3 @@ duration: number;

*/
constructor(draggable: any);
constructor(draggable: FixMeAny);
/**

@@ -50,5 +51,5 @@ * Attaches plugins event listeners

*/
onSortableSorted({ oldIndex, newIndex, dragEvent }: any): void;
onSortableSorted({ oldIndex, newIndex, dragEvent }: FixMeAny): void;
}
export {};
//# sourceMappingURL=SwapAnimation.d.ts.map

@@ -68,4 +68,4 @@ /**

*/
clone(data: T): AbstractEvent<T>;
clone(data: Partial<T>): AbstractEvent<T>;
}
//# sourceMappingURL=AbstractEvent.d.ts.map

@@ -0,1 +1,2 @@

import { FixMeAny } from '../types';
/**

@@ -8,3 +9,3 @@ * All draggable plugins inherit from this class.

export declare abstract class AbstractPlugin {
protected draggable: any;
protected draggable: FixMeAny;
/**

@@ -15,3 +16,3 @@ * AbstractPlugin constructor.

*/
constructor(draggable: any);
constructor(draggable: FixMeAny);
/**

@@ -18,0 +19,0 @@ * Override to add listeners

{
"name": "@shopify/draggable",
"version": "1.1.1",
"version": "1.1.2",
"private": false,

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc