@atlaskit/pragmatic-drag-and-drop 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/pragmatic-drag-and-drop
|
|
2
2
|
|
|
3
|
+
## 1.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#94302](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94302) [`66ca9d1d1602`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/66ca9d1d1602) - Improving jsdoc for the drop target `canDrop` function
|
|
8
|
+
|
|
3
9
|
## 1.1.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -307,6 +307,11 @@ export type DropTargetArgs<DragType extends AllDragTypes> = {
|
|
|
307
307
|
*
|
|
308
308
|
* Return `false` if you want to block a drop.
|
|
309
309
|
*
|
|
310
|
+
* Blocking dropping on a drop target will not block
|
|
311
|
+
* dropping on child or parent drop targets.
|
|
312
|
+
* If you want child or parent drop targets to block dropping,
|
|
313
|
+
* then they will need to return `false` from their `canDrop()`
|
|
314
|
+
*
|
|
310
315
|
* `canDrop()` is called _repeatedly_ while a drop target
|
|
311
316
|
* is being dragged over to allow you to dynamically
|
|
312
317
|
* change your mind as to whether a drop target can be
|
|
@@ -307,6 +307,11 @@ export type DropTargetArgs<DragType extends AllDragTypes> = {
|
|
|
307
307
|
*
|
|
308
308
|
* Return `false` if you want to block a drop.
|
|
309
309
|
*
|
|
310
|
+
* Blocking dropping on a drop target will not block
|
|
311
|
+
* dropping on child or parent drop targets.
|
|
312
|
+
* If you want child or parent drop targets to block dropping,
|
|
313
|
+
* then they will need to return `false` from their `canDrop()`
|
|
314
|
+
*
|
|
310
315
|
* `canDrop()` is called _repeatedly_ while a drop target
|
|
311
316
|
* is being dragged over to allow you to dynamically
|
|
312
317
|
* change your mind as to whether a drop target can be
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pragmatic-drag-and-drop",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "The core package for Pragmatic drag and drop - enabling fast drag and drop for any experience on any tech stack",
|
|
5
5
|
"repository": "https://github.com/atlassian/pragmatic-drag-and-drop",
|
|
6
6
|
"author": "Atlassian Pty Ltd",
|