{"name":"@dnd-kit/sortable","version":"5.0.0-next-2021622162027","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":"^3.0.0-next-2021622162027","tslib":"^2.0.0"},"peerDependencies":{"react":">=16.8.0","@dnd-kit/core":"^4.0.0-next-2021622162027"},"devDependencies":{"@dnd-kit/core":"^4.0.0-next-2021622162027"},"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-2021622162027","_nodeVersion":"12.22.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-T2cO17eKIqbvv108JwRg+eUkw0i558qAchXhIACmnLOhVpFhSKeksknS33TPD+uGbNN89MWXTIJdbz3f/21JWA==","shasum":"7e8537797e5a10952c4ad97197a76a1532a38ece","tarball":"http://registry-npm.ywwl.com/@dnd-kit/sortable/download/@dnd-kit/sortable-5.0.0-next-2021622162027.tgz","fileCount":33,"unpackedSize":167699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+ZrmCRA9TVsSAnZWagAA/CoP/1B2cXmbAJoTpbtbd7OD\n2kiwefRyD91Jjhx6p1UKYTuersXvf8jLFYZT7bfa5NDFU8ybqXusz8rE8lMl\nOTO7XzTGv5gfhPYUiKq+uycIJjZ7vMhGvfKTmlHxQ3DcEin+ls8mZdTOokIp\nIm4M6bIDuWbqtaJ1VHakCQwubrOwWboJM1T4x+lRDMQyvzQiW0io1yKP2FqW\nh4uA3S5tFtPfmvhoTsMHd1Ho4yGpOvlARQs54iZSe6rcVDG2Ver/AMYlpIOI\nCaTm6/ZDShBLRpXLjUVkPf9okkNjxTYLypHgacWSFTm0BBzJkoILwGU8IZ7h\n2vQK+w9c2kZ3eEQ7/qNdniNUd9CYL8jO8586aIp6sr7C170gLotaSn23QMyn\nVrPyKaEMERvG7CsbeHcnCeNYNTrXbxMAk1SB9tBJwI2ZU8jW0CUGnc2NXfAg\npeM3Gmn7TMS0x56jYa52gUicFSedzM+E0WLvOkPzKxl5lYZrleZi4YkT/QzM\nuR1nYQ5wf0pzpkwLfp0X7F6EZlGOr/THxFR48uE8xlcI4zOfX5FL7miV4m/D\n1UWalv985SuqK21vXi7Y3NJ6Kzwz5g/4b530hq30fOFoyD74vaGojsL8XWu4\n92wCa5FzX2DQ3XqMrMShWwrwq7oiKf5WMLhaoVj16j0pbv4Q5tYSUgrZ8w23\nxEpq\r\n=fKKC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtYL+IFLItwlGLWx+usMKCf6NCQ8HJ8/22QJrxUalXTAiBOG0HX2qKW13rYII7HqaYtTmPYK6HVuEbmbs2RxtI0Qw=="}],"size":37589,"noattachment":false,"key":"/@dnd-kit/sortable/-/@dnd-kit/sortable-5.0.0-next-2021622162027.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-2021622162027_1626970854284_0.3088583370310174"},"_hasShrinkwrap":false,"publish_time":1626970854494,"_cnpm_publish_time":1626970854494,"dist-tags":{"latest":"10.0.0","next":"10.0.0-next-202410244445"}}