{"_id":"solid-focus-trap","_rev":"10-9d9d65eab6974a6e5dd8b5f221d9bd41","name":"solid-focus-trap","dist-tags":{"latest":"0.1.9"},"versions":{"0.1.0":{"name":"solid-focus-trap","version":"0.1.0","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.0","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"f7dabefa1ab6ba9fe1aa339bfe9579a66e824a28","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.0.tgz","fileCount":5,"integrity":"sha512-cqeXkqEq13+KvDtHxTTT0uVXIXa+jXRLFGwQThxaDxg8ZA8N3LiN21bm6TlLNKRQo4dwQuLR8bve6onbMNZlzA==","signatures":[{"sig":"MEYCIQCf15FxfdFRu7MLXw4cavayF/tEIgYH6vqpskQ46uncIAIhAP2wwQ48rUXO4uPjguTXBZydUlmKHN4+rZ+8SFZi0MUN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3899},"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 traps focus inside a given DOM element.","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-focus-trap_0.1.0_1704924889289_0.40455717302954874","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"solid-focus-trap","version":"0.1.1","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.1","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"b6340903e3d1b6a73fe60e549096facf8f55f427","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.1.tgz","fileCount":6,"integrity":"sha512-UV5bhAg+crfxL1pkoZcnnPmuHpFvKNki6zYBhawXqJpuOQhvR33teLh5D25D3RPMTd1AUIFMNCaY6Slhgm4QRg==","signatures":[{"sig":"MEQCIHvUEPGppX5i+wGWMJD8RlP+SUyx8/oUiW/AmlVg1RsNAiBOvFfZOPCVJpAQ4XBUNZN1KJB+fYCMfiPYEMrDnLh4Fw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4974},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-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/fbac1c6b6dff587d6d5008c3a1892cf9/solid-focus-trap-0.1.1.tgz","_integrity":"sha512-UV5bhAg+crfxL1pkoZcnnPmuHpFvKNki6zYBhawXqJpuOQhvR33teLh5D25D3RPMTd1AUIFMNCaY6Slhgm4QRg==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that traps focus inside a given DOM element.","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-focus-trap_0.1.1_1706456064177_0.0011243480988820664","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"solid-focus-trap","version":"0.1.2","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.2","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"c41efbb2bbf7a3afb726bd354079b4e39f463629","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.2.tgz","fileCount":6,"integrity":"sha512-xNyDIqoiy7kkm7OOpnEY9Dcej8GdtvMzURAkyVNt92sknryb/zL5g0O3rhC/5OCOcSu7nAmPUJVXh5nmkyFsPA==","signatures":[{"sig":"MEUCID5PWiu8rm55lZgaiitTCClMs4CmPh+1uh0AFCPr9++gAiEAyxGPWXb7/iQqg2q7M8Q6KIpMutzFVvesgzVtCWP4i6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4974},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-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/9238e742879ed51a89b6da715230e24e/solid-focus-trap-0.1.2.tgz","_integrity":"sha512-xNyDIqoiy7kkm7OOpnEY9Dcej8GdtvMzURAkyVNt92sknryb/zL5g0O3rhC/5OCOcSu7nAmPUJVXh5nmkyFsPA==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that traps focus inside a given DOM element.","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-focus-trap_0.1.2_1707323975916_0.8769880641762986","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"solid-focus-trap","version":"0.1.3","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.3","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"8300d2b045150e549b56a6d43b5e980d6f9fcf15","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.3.tgz","fileCount":6,"integrity":"sha512-7lV30f75kp5CtMgEVzHPs8QY8Czs4c8ugpOQwBXOUr5mepOOt3rLvoxnybfotQhq6ap6Ocqn4G772oKgoZE/8A==","signatures":[{"sig":"MEYCIQDalLNqthfNYSGr6Cy0UkxypY73DSZFOHUhcWmzI+ERmgIhAMRC7G6wlgEEPcsiY3fiPg6xRaHCGvNVmaAVCyTKXSX8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17500},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-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/d7c8ae259f1ddae3c1e85a72499e46ce/solid-focus-trap-0.1.3.tgz","_integrity":"sha512-7lV30f75kp5CtMgEVzHPs8QY8Czs4c8ugpOQwBXOUr5mepOOt3rLvoxnybfotQhq6ap6Ocqn4G772oKgoZE/8A==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that traps focus inside a given DOM element.","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-focus-trap_0.1.3_1708964334284_0.9562973342663355","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"solid-focus-trap","version":"0.1.4","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.4","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"2c80d913dca6326cf08d38169d3de0aaf0dd13b4","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.4.tgz","fileCount":6,"integrity":"sha512-c/AP6h4JEsgw8tUF6n9KxLyvIzmvH3obJU71LmSmsitKq78h4pBauOV392jgwWCvrHoZXFoMiT0lahMH94R7KA==","signatures":[{"sig":"MEUCIGnxAe8/l4bEJQ8s87IuNeIp0E0GDptm3sg+1AtQ5tHWAiEA1z8yvG8vodOEFTKfYmZRtJ5tQ8y+6x8dHPA7/IkhUTI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17544},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-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/e60697f6cb1914474425d173a8aab401/solid-focus-trap-0.1.4.tgz","_integrity":"sha512-c/AP6h4JEsgw8tUF6n9KxLyvIzmvH3obJU71LmSmsitKq78h4pBauOV392jgwWCvrHoZXFoMiT0lahMH94R7KA==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that traps focus inside a given DOM element.","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-focus-trap_0.1.4_1708981743108_0.7542144232797829","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"solid-focus-trap","version":"0.1.5","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.5","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"232c1be83fb9f02c3b48ab3c7a5572349a712cd9","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.5.tgz","fileCount":5,"integrity":"sha512-8qTlDJDRhKE+qWt4T5MLaeuv7RMJ13tEEmHASjieO6q6/nCmw842T4lG8kAly4VC1bKCxUf0/oCczo9TD5096A==","signatures":[{"sig":"MEUCIAqlvuXNoh5KMAlwLm897ayELvsHu0oIqcEPA8ZkukoDAiEA0lQScn8nkIERS2nckm3Bz8bhCY1jLZKrowetfDGQU9w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12061},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-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/9e6c27a2981a2213d00c3288809534d9/solid-focus-trap-0.1.5.tgz","_integrity":"sha512-8qTlDJDRhKE+qWt4T5MLaeuv7RMJ13tEEmHASjieO6q6/nCmw842T4lG8kAly4VC1bKCxUf0/oCczo9TD5096A==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.2.4","description":"SolidJS utility that traps focus inside a given DOM element.","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-focus-trap_0.1.5_1709067862028_0.39082281893966364","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"solid-focus-trap","version":"0.1.6","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.6","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"3cb306c47f4f7b6ab6a1441054dcb9ef765dbe24","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.6.tgz","fileCount":5,"integrity":"sha512-KH/HpzXwILGppO4G0bKRZr2e5VLj38p/JFUlwtcO0HZ7FUwWOWwGIfC6LfMKj1cJ6MUKs1cKIaKdt74zCeZ9Jw==","signatures":[{"sig":"MEUCIQDTZGU80t9incCInwjT6WXcVkvzzz2HXI6P44cj+OpylQIgb7J2OwFGxxX9hHDq95QezZzu3IpAiai3uy0fh8Y/+SM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12183},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-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.json","typedoc":"rm -f typedoc.json && typedoc --json typedoc.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/77e7e273bc3ebbcfc8a91c4e1604bf27/solid-focus-trap-0.1.6.tgz","_integrity":"sha512-KH/HpzXwILGppO4G0bKRZr2e5VLj38p/JFUlwtcO0HZ7FUwWOWwGIfC6LfMKj1cJ6MUKs1cKIaKdt74zCeZ9Jw==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.5.0","description":"SolidJS utility that traps focus inside a given DOM element.","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-focus-trap_0.1.6_1715617402069_0.843178459088314","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"solid-focus-trap","version":"0.1.7","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.7","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"bd094d503649eb79afae6a0f09a99d7b018efca4","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.7.tgz","fileCount":6,"integrity":"sha512-NSJiIkL+WTWGgca+OKQA9rV3bD51lT23iLn1Z+Ap1Qk3rJBxQ8SoEAQ0FvXoQThtyXFKAK1ibcVBBMMEcu6YMw==","signatures":[{"sig":"MEYCIQD8+O+kenUd79xhTKILEFD4RY7dFIKnZtMhugaOIvay4gIhAKBHa4cQM13K0aOMCc963RxHlkAa1333wVNauqOz+jCs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17659},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-0.1.7.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/2e24652acf1351be3c248f8268d6d32a/solid-focus-trap-0.1.7.tgz","_integrity":"sha512-NSJiIkL+WTWGgca+OKQA9rV3bD51lT23iLn1Z+Ap1Qk3rJBxQ8SoEAQ0FvXoQThtyXFKAK1ibcVBBMMEcu6YMw==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.7.0","description":"SolidJS utility that traps focus inside a given DOM element.","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-focus-trap_0.1.7_1718810437361_0.8604401302996527","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"solid-focus-trap","version":"0.1.8","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"author":{"url":"https://github.com/GiyoMoon","name":"Jasmin Noetzli","email":"code@jasi.dev"},"license":"MIT","_id":"solid-focus-trap@0.1.8","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"homepage":"https://corvu.dev/docs/utilities/focus-trap","bugs":{"url":"https://github.com/corvudev/corvu/issues","email":"code@jasi.dev"},"dist":{"shasum":"518eba02d6fd34fedcb21b9b3b1eef4fa579b228","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.8.tgz","fileCount":6,"integrity":"sha512-HbyCCfyytaOUJcKzAI3iRBincqCErUHA2J680nP9TftNbHsk0vVAmOd702iNlvNMORcu0XlV2mdZnGxkKg1ITA==","signatures":[{"sig":"MEYCIQCIdjFO17RkT17g1vkj/J5yNCvhVjOcxKMPhRRds/GPKwIhAIDaJtTq1tyYye/hCyhILJ+ZxdkBwZczzTVr+0yIZm+Q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18518},"main":"./dist/index.js","type":"module","_from":"file:solid-focus-trap-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 api.json","typedoc":"typedoc --json api.json --entryPoints ./src/index.ts"},"_npmUser":{"name":"giyomoon","email":"npm@jasi.dev"},"_resolved":"/tmp/082ba6ec4a9966383bad61c3302082b8/solid-focus-trap-0.1.8.tgz","_integrity":"sha512-HbyCCfyytaOUJcKzAI3iRBincqCErUHA2J680nP9TftNbHsk0vVAmOd702iNlvNMORcu0XlV2mdZnGxkKg1ITA==","repository":{"url":"git+https://github.com/corvudev/corvu.git","type":"git"},"_npmVersion":"10.9.2","description":"SolidJS utility that traps focus inside a given DOM element.","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","dependencies":{"@corvu/utils":"~0.4.2"},"typesVersions":{"*":{"*":["./dist/index.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","eslint":"^9.18.0","typedoc":"^0.27.6","prettier":"^3.4.2","solid-js":"^1.9.4","typescript":"^5.7.3","typescript-eslint":"^8.21.0","eslint-plugin-solid":"^0.14.5","esbuild-plugin-solid":"^0.6.0","eslint-config-prettier":"^10.0.1","eslint-plugin-prettier":"^5.2.3","@typescript-eslint/parser":"^8.21.0"},"peerDependencies":{"solid-js":"^1.8"},"_npmOperationalInternal":{"tmp":"tmp/solid-focus-trap_0.1.8_1738194405501_0.5226671514204673","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"solid-focus-trap","version":"0.1.9","private":false,"description":"SolidJS utility that traps focus inside a given DOM element.","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"homepage":"https://corvu.dev/docs/utilities/focus-trap","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.26.1","esbuild-plugin-solid":"^0.6.0","eslint":"^9.22.0","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.3","eslint-plugin-solid":"^0.14.5","prettier":"^3.5.3","solid-js":"^1.9.5","tsup":"^8.4.0","typedoc":"^0.27.9","typescript":"^5.8.2","typescript-eslint":"^8.26.1"},"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"},"_id":"solid-focus-trap@0.1.9","_integrity":"sha512-LTyNki6GUJPRLXV5uMWPkYClB07SUMubbr2EkAddiR0CJCF/I283txilMU9RURSr/P8EewMfXWu2o3aWrK7A5A==","_resolved":"/tmp/4adae3229595e0fa04363aac2c5d50eb/solid-focus-trap-0.1.9.tgz","_from":"file:solid-focus-trap-0.1.9.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-LTyNki6GUJPRLXV5uMWPkYClB07SUMubbr2EkAddiR0CJCF/I283txilMU9RURSr/P8EewMfXWu2o3aWrK7A5A==","shasum":"c06795f4f223a0423f52d1689cae2843b4e15c25","tarball":"https://registry.npmjs.org/solid-focus-trap/-/solid-focus-trap-0.1.9.tgz","fileCount":6,"unpackedSize":18596,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCcwCr2wExKytTBiD4wHV12WmJE4kKhHKkF1lha0mx2dgIgSx2wDruhXrlNBLEFarDCmE19WOHWPY3vyHCkZItTyqs="}]},"_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-focus-trap_0.1.9_1742141024649_0.3287980883308801"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-10T22:14:49.289Z","modified":"2025-03-16T16:03:44.982Z","0.1.0":"2024-01-10T22:14:49.455Z","0.1.1":"2024-01-28T15:34:24.349Z","0.1.2":"2024-02-07T16:39:36.073Z","0.1.3":"2024-02-26T16:18:54.494Z","0.1.4":"2024-02-26T21:09:03.279Z","0.1.5":"2024-02-27T21:04:22.182Z","0.1.6":"2024-05-13T16:23:22.210Z","0.1.7":"2024-06-19T15:20:37.533Z","0.1.8":"2025-01-29T23:46:45.687Z","0.1.9":"2025-03-16T16:03:44.816Z"},"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/focus-trap","keywords":["solid","solidjs","focus","trap","keyboard","accessibility"],"repository":{"type":"git","url":"git+https://github.com/corvudev/corvu.git"},"description":"SolidJS utility that traps focus inside a given DOM element.","maintainers":[{"name":"giyomoon","email":"npm@jasi.dev"}],"readme":"<div align=\"center\">\n  <a href=\"https://corvu.dev/docs/utilities/focus-trap\">\n    <img src=\"https://corvu.dev/readme/solid-focus-trap.png\" width=1000 alt=\"Solid Focus Trap\" />\n  </a>\n</div>\n<br />\n\nSolidJS utility that traps focus inside a given DOM element.\n\n## Features\n\n- Watches for DOM changes inside the focus trap and updates accordingly\n- Properly restores focus when the trap gets disabled\n- Very customizable\n\n## Usage\n\n```tsx\nimport createFocusTrap from 'solid-focus-trap'\n```\n\n```tsx\nconst DialogContent: Component<{\n  open: boolean\n}> = (props) => {\n  const [contentRef, setContentRef] = createSignal<HTMLElement | null>(null)\n\n  createFocusTrap({\n    element: contentRef,\n    enabled: () => props.open, // default = true\n    observeChanges: true, // default\n    restoreFocus: true, // default\n  })\n\n  return (\n    <Show when={props.open()}>\n      <div ref={setContentRef}>Dialog</div>\n    </Show>\n  )\n}\n```\n\nThe first focusable element within the focus trap element will be focused initially. When the trap is disabled, the focus will be restored to the element that was focused before the trap was enabled.\n\n### Custom initial focus element\nThis example shows how to customize the initial focus element so that the focus moves to a specific element when the trap gets enabled.\n\n```tsx\nconst DialogContent: Component<{\n  open: boolean\n}> = (props) => {\n  const [contentRef, setContentRef] = createSignal<HTMLElement | null>(null)\n  const [initialFocusRef, setInitialFocusRef] =\n    createSignal<HTMLElement | null>(null)\n\n  createFocusTrap({\n    element: contentRef,\n    enabled: () => props.open,\n    initialFocusElement: initialFocusRef,\n  })\n\n  return (\n    <Show when={props.open()}>\n      <div ref={setContentRef}>Dialog</div>\n      <button>Close</button>\n      <input ref={setInitialFocusRef} />\n    </Show>\n  )\n}\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 [Focus Trap](https://corvu.dev/docs/utilities/focus-trap).\n","readmeFilename":"README.md"}