New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/drag-and-drop

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/drag-and-drop - npm Package Compare versions

Comparing version 0.15.0 to 0.15.1

6

CHANGELOG.md
# @atlaskit/drag-and-drop
## 0.15.1
### Patch Changes
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
## 0.15.0

@@ -4,0 +10,0 @@

1

dist/cjs/adapter/file-adapter.js

@@ -86,3 +86,2 @@ "use strict";

// We remove `onDragStart` from drop targets, but monitors can still listen for a start
var dropTargetForFiles = function dropTargetForFiles(args) {

@@ -89,0 +88,0 @@ return (0, _combine.combine)(

@@ -8,2 +8,20 @@ "use strict";

var _elementAdapter = require("../adapter/element-adapter");
/** A function to remove the element that has been added to the `container`.
* @example () => ReactDOM.unmountComponentAtNode(container)
*/
/** A function that will render a preview element into a `container` `HTMLElement` */
/** Any valid CSS string value
* @example `calc(var(--grid) * 2)
*/
/**
* Where to place the custom drag preview
*
* `type: 'center'`: Place the center of the drag preview user the users pointer
*
* `type: 'offset-from-pointer'`: Shift the drag preview away from the users pointer
*/
function setImage(_ref) {

@@ -10,0 +28,0 @@ var container = _ref.container,

{
"name": "@atlaskit/drag-and-drop",
"version": "0.15.0",
"version": "0.15.1",
"sideEffects": false
}

@@ -80,3 +80,2 @@ import { bind } from 'bind-event-listener';

// We remove `onDragStart` from drop targets, but monitors can still listen for a start
export const dropTargetForFiles = args => {

@@ -83,0 +82,0 @@ return combine(

@@ -7,2 +7,16 @@ import { monitorForElements } from '../adapter/element-adapter';

/** A function that will render a preview element into a `container` `HTMLElement` */
/** Any valid CSS string value
* @example `calc(var(--grid) * 2)
*/
/**
* Where to place the custom drag preview
*
* `type: 'center'`: Place the center of the drag preview user the users pointer
*
* `type: 'offset-from-pointer'`: Shift the drag preview away from the users pointer
*/
function setImage({

@@ -9,0 +23,0 @@ container,

{
"name": "@atlaskit/drag-and-drop",
"version": "0.15.0",
"version": "0.15.1",
"sideEffects": false
}

@@ -80,3 +80,2 @@ import { bind } from 'bind-event-listener';

// We remove `onDragStart` from drop targets, but monitors can still listen for a start
export var dropTargetForFiles = function dropTargetForFiles(args) {

@@ -83,0 +82,0 @@ return combine(

@@ -7,2 +7,16 @@ import { monitorForElements } from '../adapter/element-adapter';

/** A function that will render a preview element into a `container` `HTMLElement` */
/** Any valid CSS string value
* @example `calc(var(--grid) * 2)
*/
/**
* Where to place the custom drag preview
*
* `type: 'center'`: Place the center of the drag preview user the users pointer
*
* `type: 'offset-from-pointer'`: Shift the drag preview away from the users pointer
*/
function setImage(_ref) {

@@ -9,0 +23,0 @@ var container = _ref.container,

{
"name": "@atlaskit/drag-and-drop",
"version": "0.15.0",
"version": "0.15.1",
"sideEffects": false
}
{
"name": "@atlaskit/drag-and-drop",
"version": "0.15.0",
"version": "0.15.1",
"description": "The core Atlassian drag and drop framework, optimized for performance.",

@@ -5,0 +5,0 @@ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",

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