{"_id":"solid-prevent-scroll","_rev":"12-4fbdb7321379d79ca0007d932307ec2d","name":"solid-prevent-scroll","dist-tags":{"latest":"0.1.11"},"versions":{"0.1.0":{"name":"solid-prevent-scroll","version":"0.1.0","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.0","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"f8193f4ce27d2bdecda8dd87c4da5eeb09987c99","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.0.tgz","fileCount":5,"integrity":"sha512-c0arzjBxf0Fy851RRX3O4WNjY7C8BdmhFFx5kEvUIWd4XyWObHW2KBHBfg91H7LXg+RKsI9K4I+GcRhDo6UVfw==","signatures":[{"sig":"MEUCIGOLyDWkrfrGsKf66MdBW43ZfWn1HP7I3FPztFJsqcwsAiEA0TcHx7bQMwr4fxZ6/HJhh8PInIklSYJoE5aZ4ZdpzbM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3987},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"b7f8bc6b441083fc2d1fa317ebb8cdf3d7e7350e","private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"pnpm lint && tsup","watch":"tsup --watch"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.3","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","dependencies":{"corvu":"~0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.1.1","solid-js":"^1.8.10","typescript":"^5.3.3","eslint-plugin-solid":"^0.13.1","esbuild-plugin-solid":"^0.5.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/eslint-plugin":"^6.18.1"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.0_1704924850523_0.013854813536655852","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"solid-prevent-scroll","version":"0.1.1","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.1","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"3e4eee051809c2dc35cce7c8935534c60d5775c2","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.1.tgz","fileCount":6,"integrity":"sha512-uNQmcfLTo2YmktYMkgjBPrzu5m1qkYiNjxqnBRJDj2xyMi8fANkXsKMQcBodtfV8CwMkbZ1yTEyAlqFL3mraNg==","signatures":[{"sig":"MEYCIQCbTcWkAe+8k+8JAfAIi75MozSLvtS/8fFSTZdmeZQF0wIhAIAYcmBnjgD71pqiGRJi7ZPO8uv9FnylJz1byNy5jnhX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5062},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"pnpm lint && tsup","watch":"tsup --watch"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/private/var/folders/jk/5twlhm4x2699kmhf2yc7c7lm0000gn/T/e3975240918e17439822623eed4d92bd/solid-prevent-scroll-0.1.1.tgz","_integrity":"sha512-uNQmcfLTo2YmktYMkgjBPrzu5m1qkYiNjxqnBRJDj2xyMi8fANkXsKMQcBodtfV8CwMkbZ1yTEyAlqFL3mraNg==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","dependencies":{"corvu":"~0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.2.4","solid-js":"^1.8.12","typescript":"^5.3.3","eslint-plugin-solid":"^0.13.1","esbuild-plugin-solid":"^0.5.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/eslint-plugin":"^6.19.1"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.1_1706456135201_0.5479426156392895","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"solid-prevent-scroll","version":"0.1.2","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.2","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"2fcdccd66a75625ca4151b80bf5fe011439aa32a","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.2.tgz","fileCount":6,"integrity":"sha512-tzv1SyGnDJfGYo9PaP9UaGQkYXg4dHFtj11h4wRs17LPb1sSz7fVpCYP5h+jheR0Toh7IfIQJ82C5zmnuqPTyQ==","signatures":[{"sig":"MEQCIHa9SyKF09QkQ2HLpUcQ+AB0srJVZd/g79i0Q2pt2PVmAiB3XiTEb6SnFyZG0S9xlTL3ZqvRT5Vz/c4GE1o9MVh3lA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5062},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.2.tgz","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"pnpm lint && tsup","watch":"tsup --watch"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/private/var/folders/jk/5twlhm4x2699kmhf2yc7c7lm0000gn/T/f7b64ce2bdf2ef5f1924426d8a7f9124/solid-prevent-scroll-0.1.2.tgz","_integrity":"sha512-tzv1SyGnDJfGYo9PaP9UaGQkYXg4dHFtj11h4wRs17LPb1sSz7fVpCYP5h+jheR0Toh7IfIQJ82C5zmnuqPTyQ==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.0","dependencies":{"corvu":"~0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^8.56.0","prettier":"^3.2.5","solid-js":"^1.8.14","typescript":"^5.3.3","eslint-plugin-solid":"^0.13.1","esbuild-plugin-solid":"^0.5.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/eslint-plugin":"^6.21.0"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.2_1707324036520_0.6981580566875845","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"solid-prevent-scroll","version":"0.1.3","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.3","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"9e18704b95190a52569ada695562a2ec21215f16","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.3.tgz","fileCount":6,"integrity":"sha512-9fYs1+6bRuJHTilgP9xhSmh1mw16d8/FAVuFfE+v/ECstgNjFonH2EtXMkXyF956w1bajLL4Zw8Z52fWIjU1iw==","signatures":[{"sig":"MEQCIGIpfMP3W658JMDb1yzwAmLUwdcrbh6lkGi22p5NEVJzAiAA8TIeGBeP8lkWiK9DGCD2FIlb+fWTUrFlQKizRoEp6A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17701},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.3.tgz","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/private/var/folders/3_/_zx4ddt90bsdlh71hmrty4n40000gn/T/6d0825602038acbacbf0758ad7fdc099/solid-prevent-scroll-0.1.3.tgz","_integrity":"sha512-9fYs1+6bRuJHTilgP9xhSmh1mw16d8/FAVuFfE+v/ECstgNjFonH2EtXMkXyF956w1bajLL4Zw8Z52fWIjU1iw==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@corvu/utils":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.57.0","typedoc":"0.25.4","prettier":"^3.2.5","solid-js":"^1.8.15","typescript":"^5.3.3","eslint-plugin-solid":"^0.13.1","esbuild-plugin-solid":"^0.5.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/eslint-plugin":"^7.0.2"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.3_1708964406806_0.37925777267712735","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"solid-prevent-scroll","version":"0.1.4","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.4","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"cd0f1506a745dfc1b1c1c62d4fb3d49f8a851305","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.4.tgz","fileCount":6,"integrity":"sha512-sMWZfGx0OtkTUFRwJjL9cgK2JGbzl9Ex8iXAXKSH01uarbqQh2tlHkEnGMABB8wlyL9UQxBl7ag//ATLFo0VxQ==","signatures":[{"sig":"MEUCIQCoLzRoCL3TbhgiFkTdJEfEA3g6PfQLTDWsh0j1XHtH1wIgLsL7UJXh7ynShJo4CStjhw5OVn50X5o8VrdzjmE9qrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17745},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.4.tgz","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/18d04675e93ac2f6f16d09fd03c60477/solid-prevent-scroll-0.1.4.tgz","_integrity":"sha512-sMWZfGx0OtkTUFRwJjL9cgK2JGbzl9Ex8iXAXKSH01uarbqQh2tlHkEnGMABB8wlyL9UQxBl7ag//ATLFo0VxQ==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@corvu/utils":"~0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.57.0","typedoc":"0.25.4","prettier":"^3.2.5","solid-js":"^1.8.15","typescript":"^5.3.3","eslint-plugin-solid":"^0.13.1","esbuild-plugin-solid":"^0.5.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/eslint-plugin":"^7.0.2"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.4_1708981748507_0.4471944023493839","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"solid-prevent-scroll","version":"0.1.5","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.5","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"2e1f75c5e7ad0cc4aa4979e8680f6274cd410018","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.5.tgz","fileCount":5,"integrity":"sha512-8sIlHqaSclBGQJrsPabRlnlAKJib1+gfYWiQLG265tyxao+6yIaccIgbo58QHgPtRrRavANK7Io7DtAUBtP6QA==","signatures":[{"sig":"MEUCIHQX2EmD5etCoirsSUd2doPvBtYlJKLIeY6XMTh4ddCSAiEAnqcT20j9Ls82JIrckIEVvzmYtaJ8JlcwkLbaqm9/juM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11970},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/c2e232838a8d8c8f0b9ab8307b0e8a9f/solid-prevent-scroll-0.1.5.tgz","_integrity":"sha512-8sIlHqaSclBGQJrsPabRlnlAKJib1+gfYWiQLG265tyxao+6yIaccIgbo58QHgPtRrRavANK7Io7DtAUBtP6QA==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@corvu/utils":"~0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.57.0","typedoc":"0.25.4","prettier":"^3.2.5","solid-js":"^1.8.15","typescript":"^5.3.3","eslint-plugin-solid":"^0.13.1","esbuild-plugin-solid":"^0.5.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/eslint-plugin":"^7.1.0"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.5_1709067872900_0.8799819147695749","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"solid-prevent-scroll","version":"0.1.6","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.6","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"71e3491c081d449836fa6cd2e177837ec69055a2","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.6.tgz","fileCount":5,"integrity":"sha512-uLyVFx5bQL0/Gw3dr7BRsFiZ5CGyPUeqVW44dMxcSGt4eC7N40QJirMUTbLDaYeOTTyQ2MtXfk7Td3FdaBfAFw==","signatures":[{"sig":"MEYCIQDC8ZPXT8DHjdXqO3p5RxI2RlL6suVAj5euu9lOgDwzgAIhANgcZhIX/QzQMlL1JnBZRPPikeDJXP71kuTby/wpsKjK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12208},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.6.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/a3ba5923abfeda3160180e3f700215c2/solid-prevent-scroll-0.1.6.tgz","_integrity":"sha512-uLyVFx5bQL0/Gw3dr7BRsFiZ5CGyPUeqVW44dMxcSGt4eC7N40QJirMUTbLDaYeOTTyQ2MtXfk7Td3FdaBfAFw==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@corvu/utils":"~0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.57.0","typedoc":"0.25.4","prettier":"^3.2.5","solid-js":"^1.8.15","typescript":"^5.3.3","eslint-plugin-solid":"^0.13.1","esbuild-plugin-solid":"^0.5.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.6_1710715409339_0.16637310191584787","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"solid-prevent-scroll","version":"0.1.7","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.7","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"c85fe900c42fe5208950da3c0ca9aaae10d61255","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.7.tgz","fileCount":5,"integrity":"sha512-DLafct98/nCX9l54MQ+mPbUgmmskSvVr/qxtFEt89SpSvYQkjyX4uviy91TFmzslhSyiVNNBlChpVzRO8eAwzA==","signatures":[{"sig":"MEUCIHHqnZ97NfRfyBQgVQk6yZy5yU9tiNPr7RLwTkEBcdvMAiEA8fKgXKusmtR5qTcpbYl9At1cJN8hLktOmfHzHWsDNnA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12416},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.7.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules typedoc.json","typedoc":"rm -f typedoc.json && typedoc --json typedoc.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/56a54983e84f95457ddc3fba0d1456b9/solid-prevent-scroll-0.1.7.tgz","_integrity":"sha512-DLafct98/nCX9l54MQ+mPbUgmmskSvVr/qxtFEt89SpSvYQkjyX4uviy91TFmzslhSyiVNNBlChpVzRO8eAwzA==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.5.0","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"@corvu/utils":"~0.2.0"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","eslint":"^8.57.0","typedoc":"0.25.13","prettier":"^3.2.5","solid-js":"^1.8.17","typescript":"^5.4.5","eslint-plugin-solid":"^0.14.0","esbuild-plugin-solid":"^0.6.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/eslint-plugin":"^7.8.0"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.7_1715616271791_0.47552585123448665","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"solid-prevent-scroll","version":"0.1.8","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.8","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"ad8ff401fad859455c35682ffd898b0064888a2d","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.8.tgz","fileCount":6,"integrity":"sha512-15lgvZB807h3vqtS9kPpTIktHrvfnXto4gyaNueutk7/IPm0ZdlX0xDHCfMpMCThpq2P2jPTQXGbvJLQI2vO6A==","signatures":[{"sig":"MEYCIQDz6g65SCv2YXN2PNy5R9y2YBq4eOe26pZ0gTlMriwoiQIhAKJDKT2EcXYKpI40NtRNWCQSLayzcFvQSYHUsFocu0nP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18444},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.8.tgz","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules typedoc.json","typedoc":"rm -f typedoc.json && typedoc --json typedoc.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/6d51a4f741f71f8d62b0c9c35fd348a6/solid-prevent-scroll-0.1.8.tgz","_integrity":"sha512-15lgvZB807h3vqtS9kPpTIktHrvfnXto4gyaNueutk7/IPm0ZdlX0xDHCfMpMCThpq2P2jPTQXGbvJLQI2vO6A==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.7.0","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.14.0","dependencies":{"@corvu/utils":"~0.3.1"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^8.57.0","typedoc":"0.25.13","prettier":"^3.3.2","solid-js":"^1.8.17","typescript":"^5.4.5","eslint-plugin-solid":"^0.14.0","esbuild-plugin-solid":"^0.6.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/eslint-plugin":"^7.13.1"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.8_1718810440560_0.7974938391783881","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"solid-prevent-scroll","version":"0.1.9","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.9","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"28ee0c508d607bf96223607c52b10b4d4e7db7ac","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.9.tgz","fileCount":6,"integrity":"sha512-KuZG4K8ZN48EeopB9NKquxxL3sX8JzYuRtMZ4jXLQd1ggqtTklahEUhXFFQs1kxWmyKyK068Nq4iN0jk5fgD1Q==","signatures":[{"sig":"MEUCIAePW3TCi45zqs4uJMtUyfAMOwUkxnY6Z8cE7jhgA0MtAiEA8c4GxEQV4NrzSMvaOHn1FJlOvvNUGf+WWO5qIYUfU6U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18922},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.9.tgz","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules api.json","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/31ad706864662cd32254d3d9d2edbe66/solid-prevent-scroll-0.1.9.tgz","_integrity":"sha512-KuZG4K8ZN48EeopB9NKquxxL3sX8JzYuRtMZ4jXLQd1ggqtTklahEUhXFFQs1kxWmyKyK068Nq4iN0jk5fgD1Q==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.7.0","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.15.0","dependencies":{"@corvu/utils":"~0.3.2"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.1.0","eslint":"^8.57.0","typedoc":"^0.26.3","prettier":"^3.3.2","solid-js":"^1.8.18","typescript":"^5.5.3","eslint-plugin-solid":"^0.14.1","esbuild-plugin-solid":"^0.6.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/eslint-plugin":"^7.15.0"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.9_1720131573739_0.372660472523741","host":"s3://npm-registry-packages"}},"0.1.10":{"name":"solid-prevent-scroll","version":"0.1.10","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-prevent-scroll@0.1.10","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"709580dd858cd51ef3b9c2ec4389a56684d6eac3","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.10.tgz","fileCount":6,"integrity":"sha512-KplGPX2GHiWJLZ6AXYRql4M127PdYzfwvLJJXMkO+CMb8Np4VxqDAg5S8jLdwlEuBis/ia9DKw2M8dFx5u8Mhw==","signatures":[{"sig":"MEYCIQDtDqfp+mexQlqK+54K+4AIDDMEZc3pXc0QPv2EQY5H7QIhAJbG5bv/pRzXSgvdgazSDslCkbNhkn3kDN8aHtOj8+tQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18436},"main":"./dist/index.js","type":"module","_from":"file:solid-prevent-scroll-0.1.10.tgz","types":"./dist/index.d.ts","exports":{".":{"solid":"./dist/index.jsx","types":"./dist/index.d.ts","default":"./dist/index.js"}},"private":false,"scripts":{"lint":"eslint --max-warnings=0 .","build":"tsup","clean":"rm -rf .turbo dist node_modules api.json","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/bcba17bb180bd240e1786eace3fd90b4/solid-prevent-scroll-0.1.10.tgz","_integrity":"sha512-KplGPX2GHiWJLZ6AXYRql4M127PdYzfwvLJJXMkO+CMb8Np4VxqDAg5S8jLdwlEuBis/ia9DKw2M8dFx5u8Mhw==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.8.1","description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","directories":{},"sideEffects":false,"_nodeVersion":"20.16.0","dependencies":{"@corvu/utils":"~0.4.1"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.2.4","eslint":"^8.57.0","typedoc":"^0.26.6","prettier":"^3.3.3","solid-js":"^1.8.21","typescript":"^5.5.4","eslint-plugin-solid":"^0.14.2","esbuild-plugin-solid":"^0.6.0","eslint-config-prettier":"^9.1.0","@typescript-eslint/eslint-plugin":"^8.2.0"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-prevent-scroll_0.1.10_1724102689479_0.9461789022940039","host":"s3://npm-registry-packages"}},"0.1.11":{"name":"solid-prevent-scroll","version":"0.1.11","private":false,"description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"homepage":"https://corvu.dev/docs/utilities/prevent-scroll","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"repository":{"type":"git","url":"git+https://github.com/corvudev/corvu.git"},"license":"MIT","author":{"name":"Jasmin Noetzli","email":"code@jasi.dev","url":"https://github.com/GiyoMoon"},"sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","solid":"./dist/index.jsx","default":"./dist/index.js"}},"main":"./dist/index.js","types":"./dist/index.d.ts","typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"dependencies":{"@corvu/utils":"~0.4.2"},"devDependencies":{"@typescript-eslint/parser":"^8.65.0","esbuild-plugin-solid":"^0.6.0","eslint":"^10.8.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","eslint-plugin-solid":"^0.14.5","prettier":"^3.9.6","solid-js":"^1.9.14","tsup":"^8.5.1","typedoc":"^0.27.9","typescript":"^6.0.3","typescript-eslint":"^8.65.0"},"peerDependencies":{"solid-js":"^1.8"},"scripts":{"build":"tsup","clean":"rm -rf .turbo dist node_modules api.json","lint":"eslint --max-warnings=0 .","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_nodeVersion":"24.18.0","_id":"solid-prevent-scroll@0.1.11","dist":{"integrity":"sha512-2PComVCDHaQN/5t7ogEqUYeHasritZKXZ8Sb/VLkl0Web8o9YhEwOo8LSujJEahvMlYCNyKt0zRJeHldOAeWZg==","shasum":"4d92aeff067ec3c10e3461b850e09b5c9f9ab4a6","tarball":"https://registry.npmjs.org/solid-prevent-scroll/-/solid-prevent-scroll-0.1.11.tgz","fileCount":6,"unpackedSize":18651,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD90EF/hHJtP0fC8QXGvvFFhRNvq6yFBCWYg5MCO0+sDgIgF2v4XWLbvKwVNXkL8SNwgBVezW0DajqcGGwPPpg4BF4="}]},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"directories":{},"maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/solid-prevent-scroll_0.1.11_1785508391248_0.8086771222186881"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-10T22:14:10.522Z","modified":"2026-07-31T14:33:11.571Z","0.1.0":"2024-01-10T22:14:10.703Z","0.1.1":"2024-01-28T15:35:35.379Z","0.1.2":"2024-02-07T16:40:36.681Z","0.1.3":"2024-02-26T16:20:07.038Z","0.1.4":"2024-02-26T21:09:08.634Z","0.1.5":"2024-02-27T21:04:33.129Z","0.1.6":"2024-03-17T22:43:29.479Z","0.1.7":"2024-05-13T16:04:31.993Z","0.1.8":"2024-06-19T15:20:40.727Z","0.1.9":"2024-07-04T22:19:33.946Z","0.1.10":"2024-08-19T21:24:49.650Z","0.1.11":"2026-07-31T14:33:11.400Z"},"bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"author":{"name":"Jasmin Noetzli","email":"code@jasi.dev","url":"https://github.com/GiyoMoon"},"license":"MIT","homepage":"https://corvu.dev/docs/utilities/prevent-scroll","keywords":["solid","solidjs","scroll","prevent","disable","remove"],"repository":{"type":"git","url":"git+https://github.com/corvudev/corvu.git"},"description":"SolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"readme":"<div align=\"center\">\n  <a href=\"https://corvu.dev/docs/utilities/prevent-scroll\">\n    <img src=\"https://corvu.dev/readme/solid-prevent-scroll.png\" width=1000 alt=\"Solid Prevent Scroll\" />\n  </a>\n</div>\n<br />\n\nSolidJS utility that prevents scrolling outside of a given DOM element. Works by preventing events that else would lead to scrolling.\n\n## Features\n\n- Supports nested scroll containers\n- Works both vertically and horizontally\n- Removes the document scrollbar without layout shift\n\n## Usage\n\nBy default, it also hides the scrollbar of the body element and adds padding to it to prevent the page from jumping. This behavior can be disabled and modified with the `hideScrollbar`, `preventScrollbarShift`, and `preventScrollbarShiftMode` props.\n\nIt also adds the CSS variable `--scrollbar-width` to the body element, indicating the width of the currently removed scrollbar. You can use this variable to add padding to fixed elements, like a topbar.\n\n```tsx\nimport createPreventScroll from 'solid-prevent-scroll'\n```\n\n```tsx\nconst DialogContent: Component<{\n  open: boolean\n}> = (props) => {\n  const [ref, setRef] = createSignal(null)\n\n  createPreventScroll({\n    element: ref,\n    enabled: () => props.open, // default = true\n    hideScrollbar: true, // default\n    preventScrollbarShift: true, // default\n    preventScrollbarShiftMode: 'padding', // default, `padding` or `margin`\n    restoreScrollPosition: true, // default\n    allowPinchZoom: false, // default\n  })\n\n  return (\n    <Show when={props.open()}>\n      <div ref={setRef}>Dialog</div>\n    </Show>\n  )\n}\n```\n\nUse the `--scrollbar-width` CSS variable to add padding to fixed elements to prevent the content from shifting when the scrollbar is removed:\n\n```tsx\n<header\n  class=\"fixed top-0 inset-x-0 z-50\"\n  style={{\n    'padding-right': 'var(--scrollbar-width, 0)',\n  }}\n>\n  Header\n</header>\n```\n\n## Further Reading\nThis utility is from the maintainers of [corvu](https://corvu.dev), a collection of unstyled, accessible and customizable UI primitives for SolidJS. It is also documented in the corvu docs under [Prevent Scroll](https://corvu.dev/docs/utilities/prevent-scroll).\n","readmeFilename":""}