{"name":"@dnd-kit/sortable","version":"5.0.0-next-20217252926","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-20217252926","tslib":"^2.0.0"},"peerDependencies":{"react":">=16.8.0","@dnd-kit/core":"^4.0.0-next-20217252926"},"devDependencies":{"@dnd-kit/core":"^4.0.0-next-20217252926"},"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-20217252926","_nodeVersion":"12.22.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-lJsur5qcbHIOM7mA2ysDYnjSbFt96Vf21kiLr5G7/tVqPwnZqeClvTiBsx2zJvRsqZWpubcidJtjTz+d9m6Thw==","shasum":"2dfdfc0be0bd271f15fba736039a93a56f653bbd","tarball":"http://registry-npm.ywwl.com/@dnd-kit/sortable/download/@dnd-kit/sortable-5.0.0-next-20217252926.tgz","fileCount":33,"unpackedSize":176163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJaZuCRA9TVsSAnZWagAApBcP/Rreb1jtiH7Rj+/4ch6A\nC+ahbIYnR45zMg6sJZ/h8hNHoIsYlmyHaxZ9J6s4p5H0zMerRXmw/Z3YfvPv\nooiF31/HcKhyFHAMuv5YZLYnEckLuSlO6eLwdPXQkMQcS/25cm5bSAzrp6jH\nEpO8W8WzXLEQ8NgImSQRkmG0/W7Jbk3WAeZKuXUKIWMQ//e1m4Fty6LAbxAB\n5uBLFJU1xamKmSImeiO1V9kZ+Y/o77fJLrzFuoDaoII7P3Oqnnazfh4COHT0\nBSGFg1HHnHTEr+HBa6aAj+llYEF4Sjuxvowgou0hVjWKqjx29T90RLZixrjN\nVvfbftaDC5qRN6hLuqju+IP6NEwAOayUDksfY5BhvM4Mm6PSwMWjpPYYhEi7\ncDDEBbDsyToJyHrH8i77B7aDI1sNo9y8wJX2e6xde+xJu6JLag9IPKCDHG0b\nXwdJZ1g3Pzx4D92wqk4ZPZYGgoeaU8DuCKxkcpuJ2kfzdS20tVnH1YIM/h5g\nZOWZ6sKSl3I/NuDQVVW3dQGY4dUXewlGzC0c7RjcLGZu4D2Z88EEXznwzepr\nChu+g8pqeCnyIZswXnjlRU7tjUf+DaFRaUt6m/QYMpNOPmpezs3RioIrsCL2\nfG0x1KlQjy+QOQ8h34BHp7OujFWGfvRy+mCPu/M1MhEmpHRy1hUwchD+JbBw\nVWTu\r\n=s/T+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ7knSCWNdDQJkBBGAZZdvKEIo3+PY3IzAu4QYdmW55QIgXhK2hFUdQsKYca0+5yuSHnzp4BXvp90tVbmO/WsuUYI="}],"size":39916,"noattachment":false,"key":"/@dnd-kit/sortable/-/@dnd-kit/sortable-5.0.0-next-20217252926.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-20217252926_1629857390639_0.9783298016315463"},"_hasShrinkwrap":false,"publish_time":1629857390868,"_cnpm_publish_time":1629857390868,"dist-tags":{"latest":"10.0.0","next":"10.0.0-next-202410244445"}}