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

@interactjs/types

Package Overview
Dependencies
Maintainers
2
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/types - npm Package Compare versions

Comparing version 1.9.4 to 1.9.5

30

package.json
{
"name": "@interactjs/types",
"version": "1.9.4",
"version": "1.9.5",
"license": "MIT",
"dependencies": {
"@interactjs/actions": "1.9.4",
"@interactjs/auto-scroll": "1.9.4",
"@interactjs/auto-start": "1.9.4",
"@interactjs/core": "1.9.4",
"@interactjs/dev-tools": "1.9.4",
"@interactjs/inertia": "1.9.4",
"@interactjs/interact": "1.9.4",
"@interactjs/modifiers": "1.9.4",
"@interactjs/pointer-events": "1.9.4",
"@interactjs/reflow": "1.9.4",
"@interactjs/utils": "1.9.4"
"@interactjs/actions": "1.9.5",
"@interactjs/arrange": "1.9.5",
"@interactjs/auto-scroll": "1.9.5",
"@interactjs/auto-start": "1.9.5",
"@interactjs/core": "1.9.5",
"@interactjs/dev-tools": "1.9.5",
"@interactjs/inertia": "1.9.5",
"@interactjs/interact": "1.9.5",
"@interactjs/modifiers": "1.9.5",
"@interactjs/pointer-events": "1.9.5",
"@interactjs/reflow": "1.9.5",
"@interactjs/symbol-tree": "1.9.5",
"@interactjs/utils": "1.9.5"
},
"devDependencies": {
"@interactjs/_dev": "1.9.4"
"@interactjs/_dev": "1.9.5"
},

@@ -24,3 +26,3 @@ "publishConfig": {

},
"gitHead": "090f296d"
"gitHead": "cb94f9a0"
}

@@ -25,8 +25,19 @@ // Type definitions for interact.js

import '@interactjs/auto-start/InteractableMethods'
import '@interactjs/core/InteractStatic'
import '@interactjs/core/interactablePreventDefault'
import '@interactjs/dev-tools'
import '@interactjs/inertia'
import '@interactjs/interactions'
import '@interactjs/modifiers'
import '@interactjs/pointer-events/interactableTargets'
import '@interactjs/pointer-events/base'
import '@interactjs/reflow'
import * as arrange from '@interactjs/arrange'
import SymbolTree from '@interactjs/symbol-tree'
import _ElementState from '@interactjs/utils/ElementState'
declare namespace InteractPro {
}
declare namespace Interact {

@@ -38,2 +49,3 @@ type OrBoolean<T> = {

export type Element = HTMLElement | SVGElement
export type Context = Document | Element
export type EventTarget = Window | Document | Element

@@ -235,2 +247,42 @@ export type Target = Interact.EventTarget | string

}
type ArrayElementType<T> = T extends Array<infer P> ? P : never
export type ElementState = _ElementState
export namespace Arrange {
export type Mode = arrange.ArrangeMode
export type ArrangeEvent = arrange.ArrangeEvent
export interface State {
active: boolean
mode: arrange.ArrangeMode
relativePoint: Interact.Point
ending: boolean
tree: typeof SymbolTree
startPos: Position
prevPos: Position
rejected: Position
finalPos: Position
prevSwap?: Swap
prevDropzone?: ArrayElementType<Interact.Interaction['dropState']['activeDrops']>
draggableChild: ElementState
feedbackChild: ElementState
mirroring: boolean
dropzones: Interact.Interaction['dropState']['activeDrops']
updatePromise: PromiseLike<void>
movedDuringDisplacement: boolean
}
export interface Position {
dropzone: Interact.Interactable
parent: Element
index: number
}
export interface Swap {
child: ElementState
parent: Element
}
}
}

@@ -237,0 +289,0 @@

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