{"name":"@dnd-kit/sortable","version":"9.0.0-next-20241023141346","author":{"name":"Claudéric Demers"},"license":"MIT","_id":"@dnd-kit/sortable@9.0.0-next-20241023141346","homepage":"https://github.com/clauderic/dnd-kit#readme","bugs":{"url":"https://github.com/clauderic/dnd-kit/issues"},"dist":{"shasum":"8e6cd3ccb5ea6389bee4dbd2ac4fe2c7427dd650","tarball":"http://registry-npm.ywwl.com/@dnd-kit/sortable/download/@dnd-kit/sortable-9.0.0-next-20241023141346.tgz","fileCount":40,"integrity":"sha512-0nTuRJgwzK/Q9QsA9kmeOhVzw1yS+YwGLLBleeq0s7MPQr6O5+ObF5JxBGcHOUzTZ0Ndx6+hlWfqYQsP476aIQ==","signatures":[{"sig":"MEYCIQDw6qYfrP5IowdyIAamPA0mLI9Jrb1IOmyuC5sccmrPKQIhAPKEcYUg0wofcUy/89sdK+0HaCoCeqVcfvtJSdOpTRSm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":233030,"size":57839,"noattachment":false,"key":"/@dnd-kit/sortable/-/@dnd-kit/sortable-9.0.0-next-20241023141346.tgz"},"main":"dist/index.js","module":"dist/sortable.esm.js","scripts":{"lint":"tsdx lint","test":"tsdx test","build":"tsdx build --tsconfig tsconfig.build.json","start":"tsdx watch --tsconfig tsconfig.build.json --verbose --noClean","prepublish":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"clauderic","email":"clauderic.d@gmail.com"},"repository":{"url":"git+https://github.com/clauderic/dnd-kit.git","type":"git","directory":"packages/sortable"},"_npmVersion":"6.14.16","description":"Official sortable preset and sensors for dnd kit","directories":{},"_nodeVersion":"12.22.12","dependencies":{"tslib":"^2.0.0","@dnd-kit/utilities":"^3.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@dnd-kit/core":"^6.2.0-next-20241023141346"},"peerDependencies":{"react":">=16.8.0","@dnd-kit/core":"^6.2.0-next-20241023141346"},"_npmOperationalInternal":{"tmp":"tmp/sortable_9.0.0-next-20241023141346_1732371242988_0.15810514724898983","host":"s3://npm-registry-packages"},"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","publish_time":1732371243193,"maintainers":[{"name":"clauderic","email":"clauderic.d@gmail.com"}],"_cnpm_publish_time":1732371243193,"dist-tags":{"latest":"10.0.0","next":"10.0.0-next-202410244445"}}