{"name":"@dnd-kit/sortable","version":"8.0.0-next-202310621567","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.2.2-next-202310621567","tslib":"^2.0.0"},"peerDependencies":{"react":">=16.8.0","@dnd-kit/core":"^6.1.0-next-202310621567"},"devDependencies":{"@dnd-kit/core":"^6.1.0-next-202310621567"},"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@8.0.0-next-202310621567","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-l/hNnNy9B2FYwQ64QTkRqpM2hBEVPAzh/Ss3+2WIjWMdEDP+aGEIaz1jEBC7CRlKtO1I6DCO6wU3JGdvyZGU/w==","shasum":"718923c2ee6b2886d1667bdd0694b66722bad1a2","tarball":"http://registry-npm.ywwl.com/@dnd-kit/sortable/download/@dnd-kit/sortable-8.0.0-next-202310621567.tgz","fileCount":40,"unpackedSize":232779,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8FJQjLUxxmdN4ub3A7phPQ023fStuEz1YIPE3ruhUzAiAQsYzaxYMyUUqhF3ynLmnohcnTUDVZCo3sMOMMVCmR4w=="}],"size":57747,"noattachment":false,"key":"/@dnd-kit/sortable/-/@dnd-kit/sortable-8.0.0-next-202310621567.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_8.0.0-next-202310621567_1699307800288_0.805321650331021"},"_hasShrinkwrap":false,"publish_time":1699307800471,"_cnpm_publish_time":1699307800471,"dist-tags":{"latest":"10.0.0","next":"10.0.0-next-202410244445"}}