{"_id":"@dnd-kit-svelte/svelte","_rev":"8-520db09ee31f390efc92e5cf72373643","name":"@dnd-kit-svelte/svelte","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@dnd-kit-svelte/svelte","version":"0.1.0","keywords":["svelte"],"_id":"@dnd-kit-svelte/svelte@0.1.0","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"dist":{"shasum":"0e1d5e9e0b8b1af70713c6da8c32d01cb8efbde4","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.1.0.tgz","fileCount":66,"integrity":"sha512-Pw2XYC4RWaZn2ZV4CZgHl6C5CjtBR8DX6wmXBGOshNJEn5VtdgnMEwdrTmkhCLEe3XS1PwoipbvOmxdkWwUI9w==","signatures":[{"sig":"MEQCIBTEpZUayhM9SHstmFcs7QvHz44qMA9bv/ttvzpwRUwSAiA95pyqjqUZDMhEp/YvzbY3pLuswhOM9w3ZeA/mXMI4Uw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53556},"type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"}},"gitHead":"42bfe899e4fca97df67e174c5df6a281870e2631","scripts":{"dev":"pnpm watch","build":"pnpm package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","watch":"svelte-package --watch","package":"svelte-kit sync && svelte-package && publint","dev:svelte":"vite dev","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prepublishOnly":"npm run package"},"_npmUser":{"name":"hanielu","email":"hanieltobi@gmail.com"},"_npmVersion":"10.9.2","description":"[![Stable release](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://npm.im/@dnd-kit-svelte/svelte)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"23.11.0","dependencies":{"@dnd-kit/dom":"^0.1.21","@dnd-kit/state":"^0.1.21","@dnd-kit/abstract":"^0.1.21","@dnd-kit/collision":"^0.1.21"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.4","svelte":"^5.0.0","publint":"^0.3.2","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.22.0","@sveltejs/package":"^2.0.0","@sveltejs/adapter-auto":"^6.0.0","@sveltejs/vite-plugin-svelte":"^6.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte_0.1.0_1756984265926_0.06449407265267926","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@dnd-kit-svelte/svelte","version":"0.1.1","keywords":["svelte"],"_id":"@dnd-kit-svelte/svelte@0.1.1","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"dist":{"shasum":"7d4d3045b0cb67b36d511aafc2457596f657cc75","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.1.1.tgz","fileCount":66,"integrity":"sha512-0Y5/2J29Gqnbo/t2+5gF1d5bghsWp4P0Q+zCX1jVGuklhnpYNw27K2k2crU7yUHARgSDRTRz7YJqg2wPtuiong==","signatures":[{"sig":"MEUCIQDY0iVVL1sJv9qHGY6dj/1xG4oLM/tfsC/NTU7tMdcxtAIgPl38M2Bv24OpYIbJlKarxeOz8dazVfwmPPnsSOcRkI8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54417},"type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"}},"gitHead":"4eb1d413ac38022e05661295ff0995371d515f0f","scripts":{"dev":"pnpm watch","build":"pnpm package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","watch":"svelte-package --watch","package":"svelte-kit sync && svelte-package && publint","dev:svelte":"vite dev","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prepublishOnly":"npm run package"},"_npmUser":{"name":"hanielu","email":"hanieltobi@gmail.com"},"_npmVersion":"10.9.2","description":"[![Stable release](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://npm.im/@dnd-kit-svelte/svelte)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"23.11.0","dependencies":{"@dnd-kit/dom":"^0.1.21","@dnd-kit/state":"^0.1.21","@dnd-kit/abstract":"^0.1.21","@dnd-kit/collision":"^0.1.21"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.4","svelte":"^5.0.0","publint":"^0.3.2","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.22.0","@sveltejs/package":"^2.0.0","@sveltejs/adapter-auto":"^6.0.0","@sveltejs/vite-plugin-svelte":"^6.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte_0.1.1_1757197388082_0.5251138977789478","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@dnd-kit-svelte/svelte","version":"0.1.2","keywords":["svelte"],"_id":"@dnd-kit-svelte/svelte@0.1.2","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"dist":{"shasum":"c226e0981ecece0f154cb68959f3a00e551643f5","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.1.2.tgz","fileCount":66,"integrity":"sha512-4zVcZ7jxr9kscQ47/N3YWpM96eXqgrSuqAF4nE5k3pz4J3kdR7dgBTmyMVvVXSN6eFmFV7WAAaXMSxxLsaOrxQ==","signatures":[{"sig":"MEUCIQCzo6Tq9ZWjr/68cX8bRcByGuh5hV7LJ72F6WrkrSi2zAIgCQOeB4LdT7MaQd62fhj9P3KI9aHLhMlweqW90UuKTLU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54301},"type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"}},"gitHead":"9c753ca8e514298c312f54e15bcc448021a85444","scripts":{"dev":"pnpm watch","build":"pnpm package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","watch":"svelte-package --watch","package":"svelte-kit sync && svelte-package && publint","dev:svelte":"vite dev","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prepublishOnly":"npm run package"},"_npmUser":{"name":"hanielu","email":"hanieltobi@gmail.com"},"_npmVersion":"10.9.2","description":"[![Stable release](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://npm.im/@dnd-kit-svelte/svelte)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"23.11.0","dependencies":{"@dnd-kit/dom":"^0.1.21","@dnd-kit/state":"^0.1.21","@dnd-kit/abstract":"^0.1.21","@dnd-kit/collision":"^0.1.21"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.4","svelte":"^5.0.0","publint":"^0.3.2","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.22.0","@sveltejs/package":"^2.0.0","@sveltejs/adapter-auto":"^6.0.0","@sveltejs/vite-plugin-svelte":"^6.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte_0.1.2_1757200833898_0.002050081522046332","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@dnd-kit-svelte/svelte","version":"0.1.3","keywords":["svelte"],"_id":"@dnd-kit-svelte/svelte@0.1.3","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"dist":{"shasum":"9fd5743ea069dc0b9c1131fd95977c50aedd97f7","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.1.3.tgz","fileCount":66,"integrity":"sha512-2Zz0y+YsvppwY1YwY4y7nHx3ge4nB4Zd0mgJOlGgDSM6Rz+CuRMIOq+fNq6Ah6giRl15xiXfXBTvbHITnXJYmg==","signatures":[{"sig":"MEYCIQC88mAS91XHcVi6elcQ5GvYn+megGLGNf9355qR2HVwZgIhAKU63mn1UjZKiR0JQDf+g75eK6Wtzqo0glTINJoe7vOH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54355},"type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"}},"gitHead":"e10684f55a6e92fd72509e492f6e6342e6bf613c","scripts":{"dev":"pnpm watch","build":"pnpm package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","watch":"svelte-package --watch","package":"svelte-kit sync && svelte-package && publint","dev:svelte":"vite dev","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prepublishOnly":"npm run package"},"_npmUser":{"name":"hanielu","email":"hanieltobi@gmail.com"},"_npmVersion":"10.9.2","description":"[![Stable release](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://npm.im/@dnd-kit-svelte/svelte)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"23.11.0","dependencies":{"@dnd-kit/dom":"^0.1.21","@dnd-kit/state":"^0.1.21","@dnd-kit/abstract":"^0.1.21","@dnd-kit/collision":"^0.1.21"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.4","svelte":"^5.0.0","publint":"^0.3.2","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.22.0","@sveltejs/package":"^2.0.0","@sveltejs/adapter-auto":"^6.0.0","@sveltejs/vite-plugin-svelte":"^6.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte_0.1.3_1757203341693_0.9954703236054248","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@dnd-kit-svelte/svelte","version":"0.1.4","keywords":["svelte"],"author":{"name":"Haniel Ubogu","email":"https://github.com/HanielU"},"license":"MIT","_id":"@dnd-kit-svelte/svelte@0.1.4","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"homepage":"https://github.com/HanielU/dnd-kit-svelte#readme","bugs":{"url":"https://github.com/HanielU/dnd-kit-svelte/issues"},"dist":{"shasum":"73bab818bf6d2a5e262ad92abdb4a8b9adf474e7","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.1.4.tgz","fileCount":66,"integrity":"sha512-0vG4CSJQN7GZT6T/0Nhi21rS/ABMsiNgk0y1Yu+01WtAMKA6HPQ8zc95vsWIYAmgR6FesLXlA7XgVt7PcAkB8Q==","signatures":[{"sig":"MEQCIEktOYe5kvs1Gspd0f/ISsf4kTyI/l+STzK/W338yaBfAiBXi/VoZmjMMawBgxpWoNztsJVWh2x31YQUnCFgylhRhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54594},"type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"}},"gitHead":"280b8ea0749c36c83b06678f5fd27ad45f9a3592","scripts":{"dev":"pnpm watch","build":"pnpm package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","watch":"svelte-package --watch","package":"svelte-kit sync && svelte-package && publint","dev:svelte":"vite dev","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prepublishOnly":"npm run package"},"_npmUser":{"name":"hanielu","email":"hanieltobi@gmail.com"},"repository":{"url":"git+https://github.com/HanielU/dnd-kit-svelte.git","type":"git"},"_npmVersion":"10.9.2","description":"[![Stable release](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://npm.im/@dnd-kit-svelte/svelte)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"23.11.0","dependencies":{"@dnd-kit/dom":"^0.1.21","@dnd-kit/state":"^0.1.21","@dnd-kit/abstract":"^0.1.21","@dnd-kit/collision":"^0.1.21"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.4","svelte":"^5.0.0","publint":"^0.3.2","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.22.0","@sveltejs/package":"^2.0.0","@sveltejs/adapter-auto":"^6.0.0","@sveltejs/vite-plugin-svelte":"^6.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte_0.1.4_1763573397793_0.008982390910168725","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@dnd-kit-svelte/svelte","version":"0.1.5","keywords":["svelte"],"author":{"name":"Haniel Ubogu","email":"https://github.com/HanielU"},"license":"MIT","_id":"@dnd-kit-svelte/svelte@0.1.5","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"homepage":"https://github.com/HanielU/dnd-kit-svelte#readme","bugs":{"url":"https://github.com/HanielU/dnd-kit-svelte/issues"},"dist":{"shasum":"89dca25517ee97f0c65377714ad40889a038d27a","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.1.5.tgz","fileCount":66,"integrity":"sha512-ACZveYr17/OJmQOb6IIbPfROXfoo2qQwkRFmb5/ycm3/lJX9gddK3QJn0jmYeWRIHk8tlO/TUtgGN5G5fXCCRg==","signatures":[{"sig":"MEQCIHRDY8lO3mhoTwW3tHFr/n7ABoMwppjEzvok9vV0Eyy7AiBTXVe6fOCW9LtX+0u2a3n1uX7gM3Ug2NHUCSNi02KLrA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54600},"type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"}},"gitHead":"a1df4786d69f4ede930b00cebee15e6d1b676539","scripts":{"dev":"pnpm watch","build":"pnpm package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","watch":"svelte-package --watch","package":"svelte-kit sync && svelte-package && publint","dev:svelte":"vite dev","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prepublishOnly":"npm run package"},"_npmUser":{"name":"hanielu","email":"hanieltobi@gmail.com"},"repository":{"url":"git+https://github.com/HanielU/dnd-kit-svelte.git","type":"git"},"_npmVersion":"10.9.2","description":"[![Stable release](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://npm.im/@dnd-kit-svelte/svelte)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"23.11.0","dependencies":{"@dnd-kit/dom":"^0.1.21","@dnd-kit/state":"^0.1.21","@dnd-kit/abstract":"^0.1.21","@dnd-kit/collision":"^0.1.21"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.4","svelte":"^5.0.0","publint":"^0.3.2","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.22.0","@sveltejs/package":"^2.0.0","@sveltejs/adapter-auto":"^6.0.0","@sveltejs/vite-plugin-svelte":"^6.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte_0.1.5_1763574058816_0.30131028630107193","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@dnd-kit-svelte/svelte","version":"0.1.6","keywords":["svelte"],"author":{"name":"Haniel Ubogu","email":"https://github.com/HanielU"},"license":"MIT","_id":"@dnd-kit-svelte/svelte@0.1.6","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"homepage":"https://github.com/HanielU/dnd-kit-svelte#readme","bugs":{"url":"https://github.com/HanielU/dnd-kit-svelte/issues"},"dist":{"shasum":"f6024c616bdadd565849b9be3a795d5aec3b4a35","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.1.6.tgz","fileCount":72,"integrity":"sha512-kpmNWeQoPFrJ4SNB0thRkdWtN3kiYMQI/SvEj6MTKTQ8W5VyHBrbXDRm+mdiTj9tzmG8jgCPg+Fgp3aYIU+Hug==","signatures":[{"sig":"MEUCIDxJFo2K75fJNkeP75TMZ+pUulgzrXdmT1u884Hdz58LAiEAxxk+eEE367vPoNNbMqhKVrhZ0gQ5piuh9XsoVvDG1Wo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61050},"type":"module","types":"./dist/index.d.ts","svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"},"./modifiers":{"types":"./dist/modifiers/index.d.ts","svelte":"./dist/modifiers/index.js"}},"gitHead":"0a1f9c959a3eeedb2b08122a11a26d71902e4814","scripts":{"dev":"pnpm watch","build":"pnpm package","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","watch":"svelte-package --watch","package":"svelte-kit sync && svelte-package && publint","dev:svelte":"vite dev","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch","prepublishOnly":"npm run package"},"_npmUser":{"name":"hanielu","email":"hanieltobi@gmail.com"},"repository":{"url":"git+https://github.com/HanielU/dnd-kit-svelte.git","type":"git"},"_npmVersion":"11.7.0","description":"[![Stable release](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://npm.im/@dnd-kit-svelte/svelte)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.19.0","dependencies":{"@dnd-kit/dom":"^0.2.3","@dnd-kit/state":"^0.2.3","@dnd-kit/abstract":"^0.2.3","@dnd-kit/geometry":"^0.1.21","@dnd-kit/collision":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.0.4","svelte":"^5.0.0","publint":"^0.3.2","typescript":"^5.0.0","svelte-check":"^4.0.0","@sveltejs/kit":"^2.22.0","@sveltejs/package":"^2.0.0","@sveltejs/adapter-auto":"^6.0.0","@sveltejs/vite-plugin-svelte":"^6.0.0"},"peerDependencies":{"svelte":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/svelte_0.1.6_1770368324703_0.925973590545133","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"_id":"@dnd-kit-svelte/svelte@0.2.0","bugs":{"url":"https://github.com/hanielu/dnd-kit-svelte/issues"},"dist":{"shasum":"56162964b30f29732544b7fab52ccabe402f9007","tarball":"https://registry.npmjs.org/@dnd-kit-svelte/svelte/-/svelte-0.2.0.tgz","fileCount":50,"integrity":"sha512-Fp/De3uXdnUMfzdizBvL7jJTyzO3DT99jm6+N8S6OLe/K575NFjkRPQh8/j66I2GoQMZZiJU2gnN8PQpVvTsuQ==","signatures":[{"sig":"MEUCIQDGwnek5tLYnzhGK4IEZ9gBbyfdsFZN/d3thumkcUZErQIgCy3PSGJJXHg8BKgISIlbyRmXXp9XPire1Fkn+ne4LB8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBoZVQe9fIbl12bc0PsvJ7oLwuREv4cpZJOUMePNLSUcAiEAoFPO+bYJdyag5t6tP9airiSGuq756irSpNVt9uJmoSk="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dnd-kit-svelte%2fsvelte@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58938},"name":"@dnd-kit-svelte/svelte","type":"module","types":"./dist/index.d.ts","author":{"name":"Haniel Ubogu","email":"https://github.com/HanielU"},"svelte":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js"},"./sortable":{"types":"./dist/sortable/index.d.ts","svelte":"./dist/sortable/index.js"},"./modifiers":{"types":"./dist/modifiers/index.d.ts","svelte":"./dist/modifiers/index.js"}},"gitHead":"f527dcbb031ab0e1557ad291d3d550898baf0965","imports":{"#lib":"./src/lib/index.js","#lib/*":"./src/lib/*"},"license":"MIT","scripts":{"dev":"svelte-kit sync && svelte-package --watch","build":"svelte-kit sync && svelte-package && publint","check":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json","prepack":"cp ../../README.md ../../LICENSE ../../NOTICE.txt . && bun run build","prepare":"svelte-kit sync || echo ''","check:watch":"svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"},"version":"0.2.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"f7839ca7-82d9-46e3-a389-c9f5f026c2b0"}},"homepage":"https://svelte-dnd-kit.vercel.app","keywords":["svelte","svelte5","sveltekit","runes","dnd","dnd-kit","drag-and-drop","draggable","droppable","sortable","kanban"],"repository":{"url":"git+https://github.com/hanielu/dnd-kit-svelte.git","type":"git","directory":"packages/svelte"},"_npmVersion":"11.21.2","description":"dnd-kit for Svelte 5: draggable, droppable and sortable primitives, a drag overlay and modifiers, built on @dnd-kit/dom with runes and attachments","directories":{},"maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@dnd-kit/dom":"^0.5.3","@dnd-kit/state":"^0.5.3","@dnd-kit/abstract":"^0.5.3","@dnd-kit/collision":"^0.5.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.3.5","svelte":"^5.57.3","publint":"^0.3.21","typescript":"^6.0.3","svelte-check":"^4.6.0","@sveltejs/kit":"^3.1.1","@sveltejs/package":"^3.0.2","@sveltejs/adapter-auto":"^8.0.0","@sveltejs/vite-plugin-svelte":"^7.2.0"},"peerDependencies":{"svelte":"^5.40.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/svelte_0.2.0_1793868481347_0.6938812542196728"}}},"time":{"created":"2025-09-04T11:11:05.798Z","modified":"2026-11-05T08:48:01.890Z","0.1.0":"2025-09-04T11:11:06.107Z","0.1.1":"2025-09-06T22:23:08.265Z","0.1.2":"2025-09-06T23:20:34.079Z","0.1.3":"2025-09-07T00:02:21.918Z","0.1.4":"2025-11-19T17:29:57.994Z","0.1.5":"2025-11-19T17:40:58.998Z","0.1.6":"2026-02-06T08:58:44.861Z","0.2.0":"2026-11-05T08:48:01.495Z"},"bugs":{"url":"https://github.com/hanielu/dnd-kit-svelte/issues"},"author":{"name":"Haniel Ubogu","email":"https://github.com/HanielU"},"license":"MIT","homepage":"https://svelte-dnd-kit.vercel.app","keywords":["svelte","svelte5","sveltekit","runes","dnd","dnd-kit","drag-and-drop","draggable","droppable","sortable","kanban"],"repository":{"url":"git+https://github.com/hanielu/dnd-kit-svelte.git","type":"git","directory":"packages/svelte"},"description":"dnd-kit for Svelte 5: draggable, droppable and sortable primitives, a drag overlay and modifiers, built on @dnd-kit/dom with runes and attachments","maintainers":[{"name":"hanielu","email":"hanieltobi@gmail.com"}],"readme":"# dnd-kit-svelte\n\n[![npm](https://img.shields.io/npm/v/@dnd-kit-svelte/svelte.svg)](https://www.npmjs.com/package/@dnd-kit-svelte/svelte)\n\n[dnd kit](https://github.com/clauderic/dnd-kit) for Svelte 5: draggable, droppable and sortable primitives, a drag\noverlay and modifiers, built on `@dnd-kit/dom` with runes and attachments. The API follows\n[`@dnd-kit/react`](https://dndkit.com/react/quickstart), so its documentation applies here, with the Svelte\ndifferences below.\n\n**[Docs and examples](https://svelte-dnd-kit.vercel.app/docs)**\n\n## Install\n\n```sh\nnpm i @dnd-kit-svelte/svelte\n```\n\nRequires Svelte 5.40 or later. Helpers such as `move` come from `@dnd-kit/helpers`; plugins such as `Feedback` from\n`@dnd-kit/dom`.\n\n## Quick start\n\nHooks find their manager through context, so call them in components rendered inside `DragDropProvider`.\n\n```svelte\n<!-- draggable.svelte -->\n<script lang=\"ts\">\n\timport { useDraggable } from \"@dnd-kit-svelte/svelte\";\n\n\tconst { ref } = useDraggable({ id: \"draggable\" });\n</script>\n\n<button {@attach ref}>Drag me</button>\n```\n\n```svelte\n<!-- droppable.svelte -->\n<script lang=\"ts\">\n\timport { useDroppable } from \"@dnd-kit-svelte/svelte\";\n\timport type { Snippet } from \"svelte\";\n\n\tlet { id, children }: { id: string; children?: Snippet } = $props();\n\n\tconst { ref, isDropTarget } = useDroppable({ id: () => id });\n</script>\n\n<div {@attach ref} data-over={isDropTarget.current}>\n\t{@render children?.()}\n</div>\n```\n\n```svelte\n<script lang=\"ts\">\n\timport { DragDropProvider } from \"@dnd-kit-svelte/svelte\";\n\timport Draggable from \"./draggable.svelte\";\n\timport Droppable from \"./droppable.svelte\";\n\n\tlet dropped = $state(false);\n</script>\n\n<DragDropProvider onDragEnd={(event) => !event.canceled && (dropped = event.operation.target?.id === \"droppable\")}>\n\t{#if !dropped}\n\t\t<Draggable />\n\t{/if}\n\n\t<Droppable id=\"droppable\">\n\t\t{#if dropped}\n\t\t\t<Draggable />\n\t\t{/if}\n\t</Droppable>\n</DragDropProvider>\n```\n\nA sortable list:\n\n```svelte\n<!-- sortable-item.svelte -->\n<script lang=\"ts\">\n\timport { useSortable } from \"@dnd-kit-svelte/svelte/sortable\";\n\n\tlet { id, index }: { id: string; index: number } = $props();\n\n\tconst { ref, isDragging } = useSortable({ id: () => id, index: () => index });\n</script>\n\n<li {@attach ref} data-dragging={isDragging.current}>{id}</li>\n```\n\n```svelte\n<script lang=\"ts\">\n\timport { DragDropProvider } from \"@dnd-kit-svelte/svelte\";\n\timport { move } from \"@dnd-kit/helpers\";\n\timport SortableItem from \"./sortable-item.svelte\";\n\n\tlet items = $state([\"a\", \"b\", \"c\"]);\n</script>\n\n<DragDropProvider onDragOver={(event) => (items = move(items, event))}>\n\t<ul>\n\t\t{#each items as id, index (id)}\n\t\t\t<SortableItem {id} {index} />\n\t\t{/each}\n\t</ul>\n</DragDropProvider>\n```\n\nWhen each item is one element, you can skip its component and call the hook in a `{const …}` tag inside `{#each}`\n(Svelte 5.56 or later):\n\n```svelte\n<script lang=\"ts\">\n\timport { DragDropProvider } from \"@dnd-kit-svelte/svelte\";\n\timport { useSortable } from \"@dnd-kit-svelte/svelte/sortable\";\n\timport { move } from \"@dnd-kit/helpers\";\n\n\tlet items = $state([\"a\", \"b\", \"c\"]);\n</script>\n\n<DragDropProvider onDragOver={(event) => (items = move(items, event))}>\n\t<ul>\n\t\t{#each items as id, index (id)}\n\t\t\t{const { ref } = useSortable({ id, index: () => index })}\n\t\t\t<li {@attach ref}>{id}</li>\n\t\t{/each}\n\t</ul>\n</DragDropProvider>\n```\n\n## Differences from React\n\nSvelte components don't re-render, so values that change reach the hooks as functions, and values that the hooks\nproduce are read through `.current`.\n\n**Inputs are values or getters.** Any input field can be a value, read once, or a function returning it, read\nwhenever it changes:\n\n```ts\nuseSortable({\n\tid: item.id, // fixed\n\tindex: () => index, // follows `index`\n\tdata: () => item,\n});\n```\n\nGetter properties (`get index() { return index; }`) and a component's rest props work the same way. A field whose\nvalue is itself a function (`accept`, `collisionDetector`, `plugins: (defaults) => …`) must be wrapped in a getter:\n\n```ts\nimport { Feedback } from \"@dnd-kit/dom\";\n\nuseSortable({\n\tid,\n\tindex: () => index,\n\tplugins: () => (defaults) => [...defaults, Feedback.configure({ feedback: \"clone\" })],\n});\n```\n\n**State is read through `.current`.** `isDragging`, `isDropping`, `isDragSource` and `isDropTarget` are\nlenses (`Lens<boolean>`): their `current` updates the template on its own.\n\n```svelte\n<div {@attach ref}>{isDragging.current ? \"Dragging\" : \"Idle\"}</div>\n```\n\n**Refs are attachments.** `ref`, `handleRef`, `sourceRef` and `targetRef` go on elements with `{@attach}`.\n\n**Lists sort through state.** dnd kit's `OptimisticSortingPlugin` reorders DOM nodes during a drag, which a keyed\n`{#each}` can't recover from, so `useSortable` leaves it out of its default plugins (and out of the defaults a\n`plugins: () => (defaults) => …` callback receives). Move items in `onDragOver` to sort while dragging, as above, or\nin `onDragEnd` to sort on drop. Sort columns or groups the same way, with their own array in state.\n\n**`DragOverlay` renders a snippet.** It receives the drag source:\n\n```svelte\n<DragOverlay>\n\t{#snippet children(source)}\n\t\t<Item id={source.id} />\n\t{/snippet}\n</DragOverlay>\n```\n\n## API\n\n| Export                                                                                 | From                               |\n| -------------------------------------------------------------------------------------- | ---------------------------------- |\n| `DragDropProvider`, `DragOverlay`                                                      | `@dnd-kit-svelte/svelte`           |\n| `useDraggable`, `useDroppable`                                                         | `@dnd-kit-svelte/svelte`           |\n| `useDragDropManager`, `useDragDropMonitor`, `useDragOperation`, `useInstance`          | `@dnd-kit-svelte/svelte`           |\n| `KeyboardSensor`, `PointerSensor`, event types (`DragEndEvent`…)                       | `@dnd-kit-svelte/svelte`           |\n| `useSortable`, `isSortable`, `isSortableOperation`                                     | `@dnd-kit-svelte/svelte/sortable`  |\n| dnd kit's modifiers, `SnapCenterToCursor`, `AlignTopLeftToCursor`, `OffsetBottomRight` | `@dnd-kit-svelte/svelte/modifiers` |\n\nFor what each one does, see the [documentation](https://svelte-dnd-kit.vercel.app/docs).\n\n## Development\n\nThis is a Bun workspace: the package lives in `packages/svelte`, the examples site in `docs`.\n\n```sh\nbun install\nbun run dev    # the package in watch mode and the examples site\nbun run check  # build and type-check everything\n```\n\n## License\n\nMIT © [Haniel Ubogu](https://github.com/HanielU). Contains code adapted from dnd kit, see [NOTICE.txt](NOTICE.txt).\n","readmeFilename":"README.md"}