@atlaskit/drag-and-drop
Advanced tools
Comparing version 0.15.0 to 0.15.1
# @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 @@ |
@@ -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", |
248834
5867