16.0.1 • Published 2 years ago

dnd-core v16.0.1

Weekly downloads
925,218
License
MIT
Repository
github
Last release
2 years ago

npm package Build Status Test Coverage bitHound Overall Score bitHound Code bitHound Dependencies bitHound Dev Dependencies

dnd-core

Drag and drop sans the GUI.

This is a clean implementation of drag and drop primitives that does not depend on the browser. It powers React DnD internally.

Wat?

To give you a better idea:

  • There is no DOM here
  • We let you define drop target and drag source logic
  • We let you supply custom underlying implementations (console, DOM via jQuery, React, React Native, whatever)
  • We manage drag source and drop target interaction

This was written to support some rather complicated scenarios that were too hard to implement in React DnD due to its current architecture:

As it turns out, these problems are much easier to solve when DOM is thrown out of the window.

What's the API like?

Tests should give you some idea. You register drag sources and drop targets, hook up a backend (you can use barebones TestBackend or implement a fancy real one yourself), and your drag sources and drop targets magically begin to interact.

npm.io

@pubngo-stack/property-module-browser@pubngo-stack/platform-browserfk_tablecustom-ory-editor-corepower-deisgnspfxspfx-test@cybertec/ory-editor-core@cybertec/react-page-core@knapsack/app-uireact-vapor@everything-registry/sub-chunk-1492@~sunsimiao/cj-dnd@wangyan2022/newprotable@synerise/ds-sidebar@copart/core-components@coveord/plasma-reactbeesbusy-react-dnd-html5-backend@ckbox/components@igloo-be/ra-blocks-input@gsmlg/react@ahri-ui/coreaoligei@gorules/jdm-editorfe-chart-libgoletter-react@liswood-tache/browsbox-admin-frontendfk_mfk_tbcreate-reaction-app@neo4j/neo4j-browser-canaryhiforce-pro-tablegs-mx-table@ng-dnd/core@ng-dnd/multi-backenddw-mx-tabledw-gs-mx-table@difizen/libro-core@lmpay/rule@granatum/react-dnd-html5-backenderp-table@mozillareality/react-dnd@mozillareality/react-dnd-html5-backend@mozillareality/react-dnd-test-backendpapo-componentsoss-uioui-react-dnd-html5-backendory-editor-coreory-editor-core-customqylc-antdqylc-pro-tablepreact-dndtable-decision-rulesreact-page-nm-coreselenium-idesongbai-pro-tablesonic-uishenyinabcd-pro-tableserenity-controlsshj-componentsshj-utilreact-dnd-componentreact-dnd-html5-backendreact-dnd-html5-backend-setupreact-dnd-native-backendreact-dnd-test-backendreact-dnd-touch-backendreact-dnd-touch-backend-a3react-dnd-touch-preview-backendreact-dndreact-slickhyjreact-virtual-kanbanronds-react-uixtepvue-react-dndvue3-dndwhimsicalwith-dnd-contextz-mining-baseahax-formtable@teamshirts/core@fernandobandeira/ory-editor-core@favish/ory-editor-core@fishx/dashboard@virtuvent/wix-style-react@zangai-family/pro-table@wladan/react-dnd-touch-backend@boshkov/angular-skyhook-core@boshkov/angular-skyhook-core-multi-backend@boshkov/angular-skyhook-multi-backendangular-skyhookangular-skyhook-toc-core@bjs-mobilestar/react-dnd@types/react-dnd-multi-backend@uic/react-dnd@ucloud-pccl/react-dndantd-simple-table@angular-skyhook/core@angular-skyhook/multi-backendauto-create-editor
16.0.1

2 years ago

15.1.2

2 years ago

16.0.0

2 years ago

15.1.1

2 years ago

15.1.0

2 years ago

15.0.2

2 years ago

15.0.0

2 years ago

15.0.1

2 years ago

14.0.1

3 years ago

14.0.0

3 years ago

12.0.1

3 years ago

12.0.0

3 years ago

11.1.3

4 years ago

11.1.1

4 years ago

11.1.0

4 years ago

11.0.0

4 years ago

10.0.0

4 years ago

10.0.1

4 years ago

10.0.2

4 years ago

9.5.1

4 years ago

9.5.0

4 years ago

9.4.0

5 years ago

9.3.4

5 years ago

9.3.2

5 years ago

9.3.1

5 years ago

9.1.0

5 years ago

9.0.0

5 years ago

8.0.3

5 years ago

7.7.0

5 years ago

8.0.2

5 years ago

8.0.0

5 years ago

7.6.0

5 years ago

7.5.0

5 years ago

7.4.4

5 years ago

7.4.0

5 years ago

7.2.0

5 years ago

7.1.0

5 years ago

7.0.2

5 years ago

7.0.1

5 years ago

7.0.0

5 years ago

6.0.0

5 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.0

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.6.0

6 years ago

2.5.4

7 years ago

2.5.3

7 years ago

2.5.2

7 years ago

2.5.1

7 years ago

2.4.0

7 years ago

2.3.0

7 years ago

2.2.4

7 years ago

2.2.3

7 years ago

2.1.0

7 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.3.0

8 years ago

1.2.2

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.13.1

9 years ago

0.13.0

9 years ago

0.12.1

9 years ago

0.12.0

9 years ago

0.11.0

9 years ago

0.10.0

9 years ago

0.9.0

9 years ago

0.8.0

9 years ago

0.7.0

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago