@pyreon/dnd 0.24.6 → 0.25.0
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/lib/analysis/index.js.html +1 -1
- package/lib/index.js +5 -1
- package/package.json +5 -5
|
@@ -5386,7 +5386,7 @@ var drawChart = (function (exports) {
|
|
|
5386
5386
|
</script>
|
|
5387
5387
|
<script>
|
|
5388
5388
|
/*<!--*/
|
|
5389
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"
|
|
5389
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"f701960a-1","name":"use-drag-monitor.ts"},{"uid":"f701960a-3","name":"use-draggable.ts"},{"uid":"f701960a-5","name":"use-droppable.ts"},{"uid":"f701960a-7","name":"use-file-drop.ts"},{"uid":"f701960a-9","name":"use-sortable.ts"},{"uid":"f701960a-11","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f701960a-1":{"renderedLength":1307,"gzipLength":625,"brotliLength":0,"metaUid":"f701960a-0"},"f701960a-3":{"renderedLength":1312,"gzipLength":600,"brotliLength":0,"metaUid":"f701960a-2"},"f701960a-5":{"renderedLength":1361,"gzipLength":597,"brotliLength":0,"metaUid":"f701960a-4"},"f701960a-7":{"renderedLength":2300,"gzipLength":939,"brotliLength":0,"metaUid":"f701960a-6"},"f701960a-9":{"renderedLength":6160,"gzipLength":2095,"brotliLength":0,"metaUid":"f701960a-8"},"f701960a-11":{"renderedLength":97,"gzipLength":109,"brotliLength":0,"metaUid":"f701960a-10"}},"nodeMetas":{"f701960a-0":{"id":"/src/use-drag-monitor.ts","moduleParts":{"index.js":"f701960a-1"},"imported":[{"uid":"f701960a-13"},{"uid":"f701960a-12"}],"importedBy":[{"uid":"f701960a-10"}]},"f701960a-2":{"id":"/src/use-draggable.ts","moduleParts":{"index.js":"f701960a-3"},"imported":[{"uid":"f701960a-13"},{"uid":"f701960a-12"}],"importedBy":[{"uid":"f701960a-10"}]},"f701960a-4":{"id":"/src/use-droppable.ts","moduleParts":{"index.js":"f701960a-5"},"imported":[{"uid":"f701960a-13"},{"uid":"f701960a-12"}],"importedBy":[{"uid":"f701960a-10"}]},"f701960a-6":{"id":"/src/use-file-drop.ts","moduleParts":{"index.js":"f701960a-7"},"imported":[{"uid":"f701960a-14"},{"uid":"f701960a-15"},{"uid":"f701960a-12"}],"importedBy":[{"uid":"f701960a-10"}]},"f701960a-8":{"id":"/src/use-sortable.ts","moduleParts":{"index.js":"f701960a-9"},"imported":[{"uid":"f701960a-16"},{"uid":"f701960a-13"},{"uid":"f701960a-17"},{"uid":"f701960a-18"},{"uid":"f701960a-12"}],"importedBy":[{"uid":"f701960a-10"}]},"f701960a-10":{"id":"/src/index.ts","moduleParts":{"index.js":"f701960a-11"},"imported":[{"uid":"f701960a-12"},{"uid":"f701960a-0"},{"uid":"f701960a-2"},{"uid":"f701960a-4"},{"uid":"f701960a-6"},{"uid":"f701960a-8"}],"importedBy":[],"isEntry":true},"f701960a-12":{"id":"@pyreon/reactivity","moduleParts":{},"imported":[],"importedBy":[{"uid":"f701960a-10"},{"uid":"f701960a-0"},{"uid":"f701960a-2"},{"uid":"f701960a-4"},{"uid":"f701960a-6"},{"uid":"f701960a-8"}]},"f701960a-13":{"id":"@atlaskit/pragmatic-drag-and-drop/element/adapter","moduleParts":{},"imported":[],"importedBy":[{"uid":"f701960a-0"},{"uid":"f701960a-2"},{"uid":"f701960a-4"},{"uid":"f701960a-8"}]},"f701960a-14":{"id":"@atlaskit/pragmatic-drag-and-drop/external/adapter","moduleParts":{},"imported":[],"importedBy":[{"uid":"f701960a-6"}]},"f701960a-15":{"id":"@atlaskit/pragmatic-drag-and-drop/external/file","moduleParts":{},"imported":[],"importedBy":[{"uid":"f701960a-6"}]},"f701960a-16":{"id":"@atlaskit/pragmatic-drag-and-drop/combine","moduleParts":{},"imported":[],"importedBy":[{"uid":"f701960a-8"}]},"f701960a-17":{"id":"@atlaskit/pragmatic-drag-and-drop-auto-scroll/element","moduleParts":{},"imported":[],"importedBy":[{"uid":"f701960a-8"}]},"f701960a-18":{"id":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","moduleParts":{},"imported":[],"importedBy":[{"uid":"f701960a-8"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
5390
5390
|
|
|
5391
5391
|
const run = () => {
|
|
5392
5392
|
const width = window.innerWidth;
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { onCleanup, registerSingleton, signal } from "@pyreon/reactivity";
|
|
1
2
|
import { draggable, dropTargetForElements, monitorForElements } from "@atlaskit/pragmatic-drag-and-drop/element/adapter";
|
|
2
|
-
import { onCleanup, signal } from "@pyreon/reactivity";
|
|
3
3
|
import { dropTargetForExternal, monitorForExternal } from "@atlaskit/pragmatic-drag-and-drop/external/adapter";
|
|
4
4
|
import { containsFiles, getFiles } from "@atlaskit/pragmatic-drag-and-drop/external/file";
|
|
5
5
|
import { combine } from "@atlaskit/pragmatic-drag-and-drop/combine";
|
|
@@ -451,6 +451,10 @@ function useSortable(options) {
|
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
+
//#endregion
|
|
455
|
+
//#region src/index.ts
|
|
456
|
+
registerSingleton("@pyreon/dnd", "0.24.6", import.meta.url);
|
|
457
|
+
|
|
454
458
|
//#endregion
|
|
455
459
|
export { useDragMonitor, useDraggable, useDroppable, useFileDrop, useSortable };
|
|
456
460
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyreon/dnd",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Signal-driven drag and drop for Pyreon — wraps @atlaskit/pragmatic-drag-and-drop",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/pyreon/pyreon/issues"
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.10",
|
|
41
41
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.0.0",
|
|
42
42
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
43
|
-
"@pyreon/core": "^0.
|
|
44
|
-
"@pyreon/reactivity": "^0.
|
|
43
|
+
"@pyreon/core": "^0.25.0",
|
|
44
|
+
"@pyreon/reactivity": "^0.25.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@pyreon/test-utils": "^0.13.
|
|
48
|
-
"@pyreon/typescript": "^0.
|
|
47
|
+
"@pyreon/test-utils": "^0.13.12",
|
|
48
|
+
"@pyreon/typescript": "^0.25.0",
|
|
49
49
|
"@vitest/browser-playwright": "^4.1.4"
|
|
50
50
|
}
|
|
51
51
|
}
|