{"name":"@dnd-kit/sortable","version":"5.0.0-next-2021621163226","description":"Official sortable preset and sensors for dnd kit","author":{"name":"Claudéric Demers"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/clauderic/dnd-kit.git","directory":"packages/sortable"},"scripts":{"start":"tsdx watch --tsconfig tsconfig.build.json --verbose --noClean","build":"tsdx build --tsconfig tsconfig.build.json","test":"tsdx test","lint":"tsdx lint","prepublish":"npm run build"},"main":"dist/index.js","module":"dist/sortable.esm.js","typings":"dist/index.d.ts","dependencies":{"@dnd-kit/utilities":"^2.1.0-next-2021621163226","tslib":"^2.0.0"},"peerDependencies":{"react":">=16.8.0","@dnd-kit/core":"^4.0.0-next-2021621163226"},"devDependencies":{"@dnd-kit/core":"^4.0.0-next-2021621163226"},"publishConfig":{"access":"public"},"readme":"# @dnd-kit/sortable\n\n[![Stable release](https://img.shields.io/npm/v/@dnd-kit/sortable.svg)](https://npm.im/@dnd-kit/sortable)\n\nThe sortable preset provides the building blocks to build sortable interfaces with @dnd-kit.\n\n## Installation\n\nTo get started, install the sortable preset via npm or yarn:\n\n```\nnpm install @dnd-kit/sortable\n```\n\n## Architecture\n\nThe sortable preset builds on top of the primitives exposed by `@dnd-kit/core` to help building sortable interfaces.\n\nThe sortable preset exposes two main concepts: `SortableContext` and the `useSortable` hook:\n\n- The SortableContext provides information via context that is consumed by the `useSortable` hook.\n- The useSortable hook is an abstraction that composes the `useDroppable` and `useDraggable` hooks.\n\n![The useSortable hook is an abstraction that composes the useDroppable and useDraggable hooks](/.github/assets/use-sortable.png)\n\n## Usage\n\nVisit [docs.dndkit.com](https://docs.dndkit.com/presets/sortable) to learn how to use the Sortable preset.\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/clauderic/dnd-kit/issues"},"homepage":"https://github.com/clauderic/dnd-kit#readme","_id":"@dnd-kit/sortable@5.0.0-next-2021621163226","_nodeVersion":"12.22.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-FVeBWrVbYBmr5DWb0+r3r1V+iMVhJ2/FQBc6f/uCDZF6V+X4HYI3W0SFC4Pf8r2KX447L0gDFSgDHm05uZ+HjQ==","shasum":"8ddffcf8feb6820afb39d0f1edb6febdce89144a","tarball":"http://registry-npm.ywwl.com/@dnd-kit/sortable/download/@dnd-kit/sortable-5.0.0-next-2021621163226.tgz","fileCount":33,"unpackedSize":166362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+EwyCRA9TVsSAnZWagAA2J8QAJ2ibbrHZdNBKQZbt/tb\nr5mK4q3YyzQZ37thRRuhW+Z06kBEZHDqGG9YSeEn0X+ga/ida7cAVQg48F2R\nJhyXmW211qxbqo3YAhTcf9TElY19gZGo6GI1H7FsJr5u5HMWjn2f1kZo9bN6\nShVDKhJ4awDyYb2x06vl5M4x/JQT6JUZ6A/aMJRXmcmZMoalWYVLzBoZ6n2U\ndJvVuSVhJZVptX28Fi6g240WxwOdlyLkILQ+UO3FVUP25kO78DyG0dxIqa3t\nAuTc+JTrgt/ZpMwf6NkJTQcJYUtBZznCEHDQANx8R3c00ZpE5zcKyhS20oZ0\nFcWcwmbqCBKJfhux26pZJfYdEmjaB8+tFdnRl9STRs4XljuEGD7vkU3BR596\nBrpagCweepcpiqt1DjQ1pspfIrMvsNN5W/5hrS0VE/3LSR/8741jL/neabt8\nshEo5/Z1wH9SpMoEiMxqtKWwZECtA78qMQuRAHIzLoRiwYwoYOou0fRJ5c43\nCJA394uKQHfITZ3CS7kkYBvS1iGKGayH4n8x+WN0SZRGi2s+vyD2gbsAjeIE\n1u03qhIUpbxRU+tOiXK0UuAp6v4rU3B8cP9F0tTuN1uEzAEZWR5WT2DVUdXq\n0hQwTd96S1LC0xkb0MF95F2LSaYehcE2Ros4CoqlqnV9mFZSq0i27wShxrGu\naa+t\r\n=jsNX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGySK0sAvcj1aRCEYbSwWzufgzBUyJkLjSYXfepVV4rjAiBcTLUs8yheHgSPfQd4so1k9f48XKjux6VnQXW0mnIXnA=="}],"size":37133,"noattachment":false,"key":"/@dnd-kit/sortable/-/@dnd-kit/sortable-5.0.0-next-2021621163226.tgz"},"_npmUser":{"name":"clauderic","email":"clauderic.d@gmail.com"},"directories":{},"maintainers":[{"name":"clauderic","email":"clauderic.d@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sortable_5.0.0-next-2021621163226_1626885170398_0.36569278156000706"},"_hasShrinkwrap":false,"publish_time":1626885170527,"_cnpm_publish_time":1626885170527,"dist-tags":{"latest":"10.0.0","next":"10.0.0-next-202410244445"}}