{"_id":"yet-another-react-lightbox-lite","_rev":"29-ac60a77cec1702521bd40a02f0d9a5d1","name":"yet-another-react-lightbox-lite","dist-tags":{"latest":"2.1.2"},"versions":{"1.0.0":{"name":"yet-another-react-lightbox-lite","version":"1.0.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.0.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"1287f80859af932aae4e5ac85aee1cb20e6381a0","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.0.0.tgz","fileCount":7,"integrity":"sha512-0gQEbYDhNVUlZzpU5pF3CDj2gCXCI+nmsKwl1M4ktXQQXJ3lqgkOhDpVW1Cor3RrT0zxH02S6wBnE9+uwdHozw==","signatures":[{"sig":"MEUCIF1SmP21oo1pW66k51Ow8WIJqtlxNiiZPEGexoLO3uP7AiEAyRBdJPhgkPGwP/Db6o70H22TNd1GR7XefbfYRNBzP48=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31846},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"20351ba5bf65af0d4b02a0b736c816a133de0b01","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.0.0_1723164158484_0.5240077176281481","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"yet-another-react-lightbox-lite","version":"1.1.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.1.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"9ad6620857956f24c9795bef8ecd14358a6caa59","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.1.0.tgz","fileCount":7,"integrity":"sha512-xoKeBFNjOHsupS0N506Kmna4ViRvgbAtUHrfoWeYdJgoT+vlao4ZQ8AqFZ8hXSuIJM5rfQgdt9a/uOobzpWz1w==","signatures":[{"sig":"MEUCIQCMVqZxgn/6BtmKOAqoZ0D7tLn+ZaqjGTHFcJRWs4DqUgIga+rSThkgQYpqNtuahw9LWGGRQJ/VfqTQAgBALIE6j+c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36304},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"6282ef0b8aa1ebb5b3724a56a58756ce6498f1d0","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.1.0_1723219179446_0.5343198048994073","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"yet-another-react-lightbox-lite","version":"1.2.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.2.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"6303246b118e4c2b33ad63c9b0fe27f097c89a72","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.2.0.tgz","fileCount":7,"integrity":"sha512-75nAQxL+gbkyBvMAny7vW/WHQIoZTkDiYa/oBOniZsCNrnF0F6F+IBjzdAop4bJUBJbCv9+I5mcrTQ4I4UEadQ==","signatures":[{"sig":"MEQCIHYxiDAZZs3tTKR10LoQMvTaSFYzfy1ABQP8i++eTmzXAiA+Evizm3xkVT7UR+tlyTcAiADhhIt4XD6t7AHw1tPVxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37592},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"d9ef27693a3aec13c209a669b3968cdc929298b1","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.2.0_1723307368880_0.04312439204629048","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"yet-another-react-lightbox-lite","version":"1.2.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.2.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"7212a156f9d9d1485a7d570cb2b077085ba7ea77","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.2.1.tgz","fileCount":7,"integrity":"sha512-VQk+f4XbgB1mt8NfDRs7EHhQsq+H7iQ59X5Mw6/DgqDC6dVNgbuK/ovYn4Su+bjSPjevqGGCuNz3rl0Fz74h7g==","signatures":[{"sig":"MEYCIQCLG9JTVa0+oZOtO5wrPdHiGOq3sAXpfrFIxUJzKahzRwIhAN4Fnhrh+GlcICB7cwOor4NAPy/1oPy8dIFcREqn6jze","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":37585},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"16e80a7d52446f3d7fc8397c847ac422a888891b","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.2.1_1723343283838_0.3216751902735624","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"yet-another-react-lightbox-lite","version":"1.3.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.3.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"4bdcfdfed95aeda30aff7d4246df3e2271de6f2d","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.3.0.tgz","fileCount":7,"integrity":"sha512-3PsAFeucBj2UxDVLwMpOokq+DL5niucgyiM8kNemNIU0lChl3tMeK3PBwXqNeVi5mVZ9vW0EYfxqx0mjAYaKkQ==","signatures":[{"sig":"MEYCIQDhuhl3atFqJ4V3gempreYAkaDic++PC/u2C/dtkvyZpQIhAIIM6RhDU8OvhUiiRqYMhYV3tPP1/lYlbAiwwkDW7aV0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49021},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"fe46a898a0379506b5c1094aebbb8577dbc6595f","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.3.0_1723841090699_0.9949412353975626","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"yet-another-react-lightbox-lite","version":"1.3.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.3.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"2339c6f3d16946c31ece954b02a7703887bda114","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.3.1.tgz","fileCount":7,"integrity":"sha512-p8oWz9hp9+QUcXc0SFh+1kSersy4jPZu4oLJjhIRUjDBgCXAbcXe4X0u+qhpTxZudtOzJUCDsw+IjonjEO/ZbA==","signatures":[{"sig":"MEUCIQC5ADzrkTz1S2EAFIEZMiM4HQWQfmuwkfojFQ1+SI3JZAIgahOaSgpgCqVclBROKBE0VDJNJjseGXhZBD5KNDtUGy8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":49305},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"82d011b9e58535bfe44b80737e51156ccff77f63","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.3.1_1723992882288_0.7954795713843792","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"yet-another-react-lightbox-lite","version":"1.4.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.4.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"a2b2943391f54b2e3315040c61ebe9ba4117f9ac","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.4.0.tgz","fileCount":7,"integrity":"sha512-OqYqVr8TsNFCIGm/1FFYGrGB6Y5QH3UNDG2j9xDNBCHCd78CVMf1shdzdpNRTj+BtU3YvgpY3Obi4lRmBDWeEg==","signatures":[{"sig":"MEUCIQD7NHWQn/kb6VcfHpsswcVQWQ+qO5EpVF1vVmqsW5iKDAIgcUmF5So30AFoPEjc//1GsUGUQYnAU+U4y0CI4UPpbZQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50312},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"03ec1627b02b545eafc234db29bfa80dca75bf2e","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.4.0_1724453000514_0.46881407293168653","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"yet-another-react-lightbox-lite","version":"1.4.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.4.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"0ea9596fe07a2e1c326a6a42226b65550e02f739","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.4.1.tgz","fileCount":7,"integrity":"sha512-n+aT3Djfvd1+RoTTblFvf4Z44zCadRIH6gxV3bEL/oM/D/OsvffPyO9tn/byZ/BuZ2hC3UgXMCfBHrHJY/F4YA==","signatures":[{"sig":"MEQCICy+C6yzjR/wndapSDnN13RmbIQWPbIiozAIBrWhp+WiAiBAKrZY+RjK5iJAK4+wku/CHvs3Fauu17Yyp8XfMVR69Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50622},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"100ff4902ed121c363e0dc6d320879b69cd3cb70","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.3","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.17.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.4.1_1726179094062_0.08573744444859388","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"yet-another-react-lightbox-lite","version":"1.5.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.5.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"f1433e2f8e0d7e2116900b2c0bee9ec209528e59","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.5.0.tgz","fileCount":7,"integrity":"sha512-XSs7YdJY6+Ibq7680FmKz5q8yq2rNAQS4m1Bn0qQCpA0QI9UOEan1B858mZsri/E6fhTn0T6tJvq+la/nDHBGQ==","signatures":[{"sig":"MEUCIB/8NFYAsgZYpFjgWd+Whk24zJm5TGiVSZpQVTMftNhDAiEA6FhjdUPCfUWjopSwY6fYtTxGwn/Q6LTImP7r+klEfAs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50804},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"a990a5b9819efeae2bc75764e7460de57779767a","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.8.3","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"20.17.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.5.0_1726774941314_0.03436399902447196","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"yet-another-react-lightbox-lite","version":"1.6.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.6.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"1e80c8a5741fbdcedf82b9b685994dcaac1d255e","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.6.0.tgz","fileCount":7,"integrity":"sha512-4p+xQfoKd/bE4aOVSreyOv3puyFIbnxI9GYGkc46GmZw3DK4coBTcuGLsRFnl4kccC5KghPenx7WbBst+MBFBg==","signatures":[{"sig":"MEUCIEcA6fxm3/nQ/SG7+Ts7w7h9WQcHt9LySkd4ZHxgBPMxAiEA6NgT05pSgaTeyy2AvWUAuwI4PRX7QjESJZcDRl5rYcw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51122},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"208f1f63ec3510f50207d27937df7df598edaa2f","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.9.1","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"22.11.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.6.0_1732373551566_0.048953326421704135","host":"s3://npm-registry-packages"}},"1.6.1":{"name":"yet-another-react-lightbox-lite","version":"1.6.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.6.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"955f7a08e009d056f27ee3ac7fd77324190fc73f","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.6.1.tgz","fileCount":7,"integrity":"sha512-3Ob0cDBn8YREl8yYF/uUKlReNcZLuOz9bRzXZ0o4rOwXBS0rW4A5t7B3yaSOawuTLaFashnFKdFLudW2D57yNg==","signatures":[{"sig":"MEQCIFDapye5c7mPF76n4l+tIYn1YulhdSMBqMRwpOMYxj51AiBeSMXxaFLM2zh1d7V5zsZszAVqpS6pEUV5Xs8o6JbMHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51091},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"0209c49e26bcd57ec78050b877eda165b93a1830","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.9.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"22.12.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.6.1_1737591136316_0.32521930522055453","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"yet-another-react-lightbox-lite","version":"1.7.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.7.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"cc60dad9b397fc9e6641f94708e5521ab353870d","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.7.0.tgz","fileCount":7,"integrity":"sha512-Xa9FESTAPuTcP4Z6SSyH+KWd2thKfJewwJfmXYU9j2RFghC29rxSyGRx9/aAPCOBlybTeiGiBlIKmPzzPiU/AA==","signatures":[{"sig":"MEYCIQCRvDEEay11r4g513bCMZ6w2HeN63iv71Y0ha7jYOpoXAIhAIAkvUy0xzWPU37R0/0TtJ+LuIlM6jqv1uu1SX2S8quK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51576},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"67dc71ea650a788e1393c60d7b4530616853bbe2","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.9.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"22.13.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18","react-dom":">=18","@types/react":">=18","@types/react-dom":">=18"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.7.0_1737691565212_0.6147654891645489","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"yet-another-react-lightbox-lite","version":"1.8.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.8.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"bec1b7bbfc74dd642799640a24d765bcfd392820","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.8.0.tgz","fileCount":7,"integrity":"sha512-Ms81RONxbm9cyBp0ZD2G2V8YNXGv5vngQ0EO/7ZzWklAUsPdqaH+LYRJO2wqJxGG3uJ9zGlIZG1+f7gIbV15EA==","signatures":[{"sig":"MEUCIH/h8ru8iSAFIW3jmg5Qq5JV/tyeSJHIbhY1u5yjZhsAAiEA/G4QgIKJ7D1zKfHg+ZmTwPkQcx28h2D+jCS7Lk15LGo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51348},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"707ced78dc7bebd7e8b27e3371ea9341a46e0991","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.9.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"22.14.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.8.0_1743199849465_0.8900049439386788","host":"s3://npm-registry-packages-npm-production"}},"1.8.1":{"name":"yet-another-react-lightbox-lite","version":"1.8.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.8.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"44e029e087ac98d64e14edd9ebb5d60593b14b33","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.8.1.tgz","fileCount":7,"integrity":"sha512-jjQJ/xTiSGPytkIINf7I/rT/3zr5inIP4IGzhRjrEo3ooLq06K9to7bTu+iyzIKuyEYLuntgRQ79aC2TFuhr2w==","signatures":[{"sig":"MEUCIAZgOB9R57wcYwzzc7WmkrG2zNztbU0oFD8b8GqoYigrAiEAlPJGi9KgkQeU1G2DEFs0ftactKTlUGj23s0VE12SgXw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51493},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"9e9c0af8e1df754f76b5cbc9cb1669a0ff273482","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.9.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"22.14.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.8.1_1743483227950_0.2673374174425873","host":"s3://npm-registry-packages-npm-production"}},"1.8.2":{"name":"yet-another-react-lightbox-lite","version":"1.8.2","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.8.2","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"29d6605723dcb006946ae0211944f8626fd50077","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.8.2.tgz","fileCount":7,"integrity":"sha512-qfplxSQk6DZBQgoUAP+Gf8HfCB5Q60bypdkqePATvpNZ4w1IqnepMLZlLAEXcNcVH7xMiqJJFERR+o3uXYd1lQ==","signatures":[{"sig":"MEQCIC5sxsDZMM0LdqYzz2P6KlnKuMgaPxJUpl26QgBDuD1vAiBB+rI4+DyatEBWmAS/rwyHat7Kpi0CKyfltmoHNnX6vA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.8.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51516},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"76dc9a25b276c6c485cba840684a8c86fdbcae0d","_npmUser":{"name":"igordanchenko","email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.9.2","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"22.14.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.8.2_1745267234570_0.6557619308261573","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"yet-another-react-lightbox-lite","version":"1.9.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.9.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"b1941cb8392014b660d934e15b3b74bba381d424","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.9.0.tgz","fileCount":7,"integrity":"sha512-u4uumosz7BYCj+pVYX7GoNVxKenr627KCpacqvPzkGCZs8rehHTbHYy48Fnhbxj4qsh9JdGkfB3kx4/npJbSIA==","signatures":[{"sig":"MEQCIFINSN3ilNXG0FJC7fffFlwsIP/4+9IXodd+Wjb5XMimAiBrsIkdgyMo54h6LQqFICLWtYNgcZwM/UJbwtkW+oAQUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52821},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"38e84faa358d57b8ec8f239790afafba867c2d52","_npmUser":{"name":"igordanchenko","actor":{"name":"igordanchenko","type":"user","email":"igor.danchenko@gmail.com"},"email":"igor.danchenko@gmail.com"},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"10.9.3","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"22.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.9.0_1751412849617_0.6456606014670208","host":"s3://npm-registry-packages-npm-production"}},"1.10.0":{"name":"yet-another-react-lightbox-lite","version":"1.10.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.10.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"c031a3e45507ed035a36e2f08890d9fcf7c6cdd2","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.10.0.tgz","fileCount":7,"integrity":"sha512-T9zsIN3bEgbnnCegqhurlHifBuG3tIe/WflmGMQ4KyyGB3//WoCN4f5KrWnuG2oz69MuefJq/E5rARhanNr02Q==","signatures":[{"sig":"MEUCIHIQAqnK88pfOcfmUizDACSh3pBejFNRFts+hKg03eyfAiEAi7/Tkp9ZRO2gOBRErGZkJFrDWD+fvPZRPm69ib98WYM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52679},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":{"types":"./dist/styles.css.d.ts","default":"./dist/styles.css"}},"gitHead":"3ec51057acf7277100c228796775d6ea604c4d24","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.6.4","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.10.0_1764919324206_0.2978681819157327","host":"s3://npm-registry-packages-npm-production"}},"1.11.0":{"name":"yet-another-react-lightbox-lite","version":"1.11.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.11.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"de0b99cb2f7c79a8f5e20772fcfd08117756c006","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.11.0.tgz","fileCount":6,"integrity":"sha512-HbMybiFAgKNUhGV2nLabrqNzM/4ZtU8ofD8sD6sM30munDo0D0dPYdkBKRtcZJ7luVNbxw/sU+MfjYVS6g0umA==","signatures":[{"sig":"MEYCIQCL3ze6u4RipP2PbpHs9XDY1D29ZDWqA2siI4f+mEANHwIhAMj+ot2oLuECaVKr3Rcx4u7sdoMWft7Xgx5QLWmFJMzj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54347},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"a3dff2d746f7a0d31a6e351f3dea12fffa07e0e4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.10.0","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.11.0_1770862295496_0.4979558213412396","host":"s3://npm-registry-packages-npm-production"}},"1.11.1":{"name":"yet-another-react-lightbox-lite","version":"1.11.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.11.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"135c5b14abbc72ffe04fa36eb99d0098e662b152","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.11.1.tgz","fileCount":6,"integrity":"sha512-FWsdEyP7E55xwbcoxpDFiNYThgR3pR/fD6rxKuD2Cp27x6Igc3YWCfNynRkEu1L8FBYokYaNf05bauvweS2Iww==","signatures":[{"sig":"MEUCIQDBzHbNcQS83oZb10BC5uyfFJIuLz84EVjdJEkbQOyRyQIgY55zdn8gUYiI+vxQpBW4L/AdlRiAouUhqvPcjzCPmKU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.11.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54769},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"10e16563499e25d3892faa9f7095c3ff6cc14c3b","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.10.1","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.11.1_1771541656560_0.7244919582894844","host":"s3://npm-registry-packages-npm-production"}},"1.12.0":{"name":"yet-another-react-lightbox-lite","version":"1.12.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@1.12.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"a500dae931ea1ab1fb4caf72a7f8d7f27080168b","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-1.12.0.tgz","fileCount":6,"integrity":"sha512-hmNbMhUhrW/qQENgbPyKsFQCH6WWxVx0PCJTzAunCj3pgp+t9n5tq8CaMgX8QpB21FBLI61TbVTQ+iGHHvEQdA==","signatures":[{"sig":"MEUCIQCSXYJJHdD9zRUq7R6QfL7b5YaSx2H6Bq8TDcREpWT3cQIgTdiA7YmTB9Gn/ThHE/6owShueaKQaYBRUYx9+FiFCxg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@1.12.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":55123},"type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"6e773f275d4e47fd6aca393c1a8f917763f12d56","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.13.0","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_1.12.0_1777671998019_0.7357874985379522","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.1":{"name":"yet-another-react-lightbox-lite","version":"2.0.0-rc.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@2.0.0-rc.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"388746a71c73750fd2f07271021f08c26cee9e67","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-2.0.0-rc.1.tgz","fileCount":6,"integrity":"sha512-x4iCWwh1/xtOpLOpzHdRRXApRgFxp36tbQieN4b6En020AunwRyNjr2sXkjjJ4n0VzqkkrhG2NsKUMfnmPhe6w==","signatures":[{"sig":"MEQCIGAAPOSXPSx/aynuDIjT6uvTUOMMvGxLQyslA08vAGZLAiA6A4D8Qbvb32cCRdk3lcYL4ZJXyX5ZN9JIleGfSG/lvQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@2.0.0-rc.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":72483},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"d2382f755b1201742bde856a61b4fd19974802ba","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"deprecated":"This release candidate has been deprecated. Please install a stable release instead.","repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.14.1","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_2.0.0-rc.1_1778903541055_0.7189331678954023","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.2":{"name":"yet-another-react-lightbox-lite","version":"2.0.0-rc.2","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@2.0.0-rc.2","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"50381ee9c93d047dabd6373f9de87cbbd571feb3","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-2.0.0-rc.2.tgz","fileCount":6,"integrity":"sha512-k1kSF/KgkEFq9TwcdV8nmIoFNo7vS0KadM4W/COOeL0FOI9MWjN5+xld58R26PacbuLUY2Qw21SMU31EU40vIw==","signatures":[{"sig":"MEUCIQDMzKuHhuz/0vow3tAzdyoQ2/EdqIK1t9uVpybwPYVuTwIgBo8z0SdvP30sBi4RCWPVdLsy0/I37UnxEQ5qN8riRLA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@2.0.0-rc.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75827},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"af6765f7f001a83cfb9d1b6f847f527c0b63dd3a","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"deprecated":"This release candidate has been deprecated. Please install a stable release instead.","repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.14.1","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_2.0.0-rc.2_1779163835537_0.2644995549683047","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"yet-another-react-lightbox-lite","version":"2.0.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@2.0.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"f10b1b9759e18e37808b0e5c59b8371a8afa81ea","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-2.0.0.tgz","fileCount":6,"integrity":"sha512-V0Ig15XjPH1zjx5N+aqiAJGwn9GJc4/5hsZef5PGcREIp/0g+gO0nBL3eUQpBLWdeqHEUuPtJbc3vvdrpz2C1Q==","signatures":[{"sig":"MEUCIQC59NuQk7lQqzQmt1q00IIJ71TswrwyCDhTDbd3SoA6XQIgHIBSFV9InRXUeWHaJt//yuSSQe6eRgP2EzH60SCvmio=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75822},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"29788028e899c24a736c348fa6b8efa72a338d38","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.16.0","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_2.0.0_1780617400689_0.2074151389141865","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"yet-another-react-lightbox-lite","version":"2.1.0","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@2.1.0","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"a200c6c282b5da94376efb0e45c2823fc088c908","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-2.1.0.tgz","fileCount":6,"integrity":"sha512-EKrzLKNiYAy1cmRyr6JoJdSo/5x/vUIE9FsXuVZSHbqzYzBn5/GmfA6GiztyuLNF6ob5wD8ARHv5c/aD+op7tg==","signatures":[{"sig":"MEUCIQDaBaWhgPTtSTP/w5ozaC33Q9UtD1wXUN2fPz+wG7pymQIgZrHcFM1RWm9RKNxetHPl++kJIpWxJINToSmVhNqZhts=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77079},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"92b98a5c7459d6d4bfb3ff75fe8bc6c4a7a8ad9f","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.18.0","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_2.1.0_1783480259060_0.5214521256346567","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"yet-another-react-lightbox-lite","version":"2.1.1","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"author":{"name":"Igor Danchenko"},"license":"MIT","_id":"yet-another-react-lightbox-lite@2.1.1","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"dist":{"shasum":"3e8baf981322f0a5cca900cdbbb9f0739e4d15e7","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-2.1.1.tgz","fileCount":6,"integrity":"sha512-z35zpEBLGM5GjdkO30crPLm2Z0Eqfb8smiWMgN/p91DIrNqKrvTZ5Mlk10ioMP4gsibah0v9+ZP1C8VcVZI9Tw==","signatures":[{"sig":"MEQCICXq2LG0EfeQ02w+CWTUqNwBe9sTeaGycQypDk9jG18SAiAj97vsYciqB357tK1IFkfBtPFPLwWLRYL0KWTty1YNFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":77382},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"funding":"https://github.com/sponsors/igordanchenko","gitHead":"06ad4e65693b913ecbea8b486b1e033d17f1c6d3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"bundleSize":"5.09 kB","repository":{"url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git","type":"git"},"_npmVersion":"11.16.0","description":"Lightweight React lightbox component","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"peerDependencies":{"react":"^18 || ^19","react-dom":"^18 || ^19","@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/yet-another-react-lightbox-lite_2.1.1_1784952571484_0.919603973031111","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"yet-another-react-lightbox-lite","version":"2.1.2","description":"Lightweight React lightbox component","repository":{"type":"git","url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git"},"homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"funding":"https://github.com/sponsors/igordanchenko","author":{"name":"Igor Danchenko"},"license":"MIT","type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./styles.css":"./dist/styles.css"},"sideEffects":["*.css"],"engines":{"node":">=22"},"peerDependencies":{"@types/react":"^18 || ^19","@types/react-dom":"^18 || ^19","react":"^18 || ^19","react-dom":"^18 || ^19"},"peerDependenciesMeta":{"@types/react":{"optional":true},"@types/react-dom":{"optional":true}},"keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"bundleSize":"5.09 kB","gitHead":"967e6a9fd6a56c0bbe0822a450c9dbad890eae66","_id":"yet-another-react-lightbox-lite@2.1.2","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-3MaTCzUlVqLp1Bt/qUcxsTcXbYrsdf1Rd8FgvI4oOgCCD8TODyELwzqtf++R8EyhCHMsZN/eLGh6B3Ui12HV9w==","shasum":"d6cff8d11d665e78d4c1d836b20ec67b198fd05e","tarball":"https://registry.npmjs.org/yet-another-react-lightbox-lite/-/yet-another-react-lightbox-lite-2.1.2.tgz","fileCount":6,"unpackedSize":77859,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/yet-another-react-lightbox-lite@2.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIErxrOR/PAxjWflMDwCq8ZS4EHTYaI+mX2w4PR66xkd8AiEA5EGZ1IvoRDVbArehWX1hD9Llxvu0hPvHunmQmNHC478="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dedf53df-d39a-4d64-b798-be54b9b22f25"}},"directories":{},"maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/yet-another-react-lightbox-lite_2.1.2_1785370763712_0.3420115976006315"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-09T00:42:38.374Z","modified":"2026-07-30T00:19:24.212Z","1.0.0":"2024-08-09T00:42:38.747Z","1.1.0":"2024-08-09T15:59:39.589Z","1.2.0":"2024-08-10T16:29:29.106Z","1.2.1":"2024-08-11T02:28:04.075Z","1.3.0":"2024-08-16T20:44:50.859Z","1.3.1":"2024-08-18T14:54:42.457Z","1.4.0":"2024-08-23T22:43:20.749Z","1.4.1":"2024-09-12T22:11:34.285Z","1.5.0":"2024-09-19T19:42:21.560Z","1.6.0":"2024-11-23T14:52:31.750Z","1.6.1":"2025-01-23T00:12:16.489Z","1.7.0":"2025-01-24T04:06:05.448Z","1.8.0":"2025-03-28T22:10:49.664Z","1.8.1":"2025-04-01T04:53:48.157Z","1.8.2":"2025-04-21T20:27:14.820Z","1.9.0":"2025-07-01T23:34:09.798Z","1.10.0":"2025-12-05T07:22:04.349Z","1.11.0":"2026-02-12T02:11:35.645Z","1.11.1":"2026-02-19T22:54:16.804Z","1.12.0":"2026-05-01T21:46:38.171Z","2.0.0-rc.1":"2026-05-16T03:52:21.202Z","2.0.0-rc.2":"2026-05-19T04:10:35.753Z","2.0.0":"2026-06-04T23:56:40.843Z","2.1.0":"2026-07-08T03:10:59.266Z","2.1.1":"2026-07-25T04:09:31.632Z","2.1.2":"2026-07-30T00:19:23.928Z"},"bugs":{"url":"https://github.com/igordanchenko/yet-another-react-lightbox-lite/issues"},"author":{"name":"Igor Danchenko"},"license":"MIT","homepage":"https://github.com/igordanchenko/yet-another-react-lightbox-lite","keywords":["react","lightbox","react lightbox","react lightbox lite","lightweight react lightbox"],"repository":{"type":"git","url":"git+https://github.com/igordanchenko/yet-another-react-lightbox-lite.git"},"description":"Lightweight React lightbox component","maintainers":[{"name":"igordanchenko","email":"igor.danchenko@gmail.com"}],"readme":"<p align=\"center\">\n  <img alt=\"\" src=\".github/assets/logo.webp\" width=\"180\" height=\"180\" />\n</p>\n\n<h1 align=\"center\">\n  Yet Another React Lightbox Lite\n</h1>\n\n<div align=\"center\">\n\n[![NPM Version](https://img.shields.io/npm/v/yet-another-react-lightbox-lite.svg?color=blue)](https://www.npmjs.com/package/yet-another-react-lightbox-lite)\n[![Bundle Size](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fregistry.npmjs.org%2Fyet-another-react-lightbox-lite%2Flatest&query=%24.bundleSize&label=bundle%20size&color=blue&cacheSeconds=3600)](https://github.com/igordanchenko/yet-another-react-lightbox-lite/blob/main/.size-limit.json)\n[![License MIT](https://img.shields.io/npm/l/yet-another-react-lightbox-lite.svg?color=blue)](https://github.com/igordanchenko/yet-another-react-lightbox-lite/blob/main/LICENSE)\n\n</div>\n\nLightweight React lightbox component. This is a trimmed-down version of the\n[yet-another-react-lightbox](https://github.com/igordanchenko/yet-another-react-lightbox)\nthat provides essential lightbox features and slick UX with a really modest\nbundle size.\n\n## Overview\n\n- **Lightweight:** around 5 kB minified + compressed, with no runtime\n  dependencies\n- **Universal input:** keyboard, mouse, touchpad, and touchscreen navigation\n- **Zoom:** pinch, wheel, double-tap, and keyboard, with a configurable zoom\n  limit\n- **Transitions:** built-in `fade`/`slide`/`none`, with custom effects via CSS\n- **Preloading:** configurable preload window keeps memory and bandwidth in\n  check\n- **Responsive images:** built-in `srcSet` support for automatic resolution\n  switching\n- **Fully customizable:** override any element via `slots`, `render` props, and\n  exported hooks, or add custom slide types\n- **TypeScript-first:** extend `slides` and `labels` via declaration merging,\n  with full autocomplete support\n\n![Yet Another React Lightbox Lite | Example](https://images.yet-another-react-lightbox.com/example-lite.jpg)\n\n## Documentation\n\n[https://github.com/igordanchenko/yet-another-react-lightbox-lite](https://github.com/igordanchenko/yet-another-react-lightbox-lite)\n\n## Examples\n\n- Live demo -\n  [https://stackblitz.com/edit/yet-another-react-lightbox-lite](https://stackblitz.com/edit/yet-another-react-lightbox-lite?file=src%2FApp.tsx)\n- Examples -\n  [https://stackblitz.com/edit/yet-another-react-lightbox-lite-examples](https://stackblitz.com/edit/yet-another-react-lightbox-lite-examples?file=src%2FApp.tsx)\n\n## Changelog\n\n[https://github.com/igordanchenko/yet-another-react-lightbox-lite/releases](https://github.com/igordanchenko/yet-another-react-lightbox-lite/releases)\n\n## Requirements\n\n- React 18+\n- Node 22+\n- modern ESM-compatible bundler\n\n## Installation\n\n```shell\nnpm install yet-another-react-lightbox-lite\n```\n\n## Minimal Setup Example\n\n```tsx\nimport { useState } from \"react\";\nimport Lightbox from \"yet-another-react-lightbox-lite\";\nimport \"yet-another-react-lightbox-lite/styles.css\";\n\nexport default function App() {\n  const [index, setIndex] = useState<number>();\n\n  return (\n    <>\n      <button type=\"button\" onClick={() => setIndex(0)}>\n        Open Lightbox\n      </button>\n\n      <Lightbox\n        slides={[\n          { src: \"/image1.jpg\" },\n          { src: \"/image2.jpg\" },\n          { src: \"/image3.jpg\" },\n        ]}\n        index={index}\n        setIndex={setIndex}\n      />\n    </>\n  );\n}\n```\n\n## Responsive Images\n\nTo utilize responsive images with automatic resolution switching, provide\n`srcset` images in the slide `srcSet` array.\n\n```tsx\n<Lightbox\n  slides={[\n    {\n      src: \"/image1x3840.jpg\",\n      width: 3840,\n      height: 2560,\n      srcSet: [\n        { src: \"/image1x320.jpg\", width: 320, height: 213 },\n        { src: \"/image1x640.jpg\", width: 640, height: 427 },\n        { src: \"/image1x1200.jpg\", width: 1200, height: 800 },\n        { src: \"/image1x2048.jpg\", width: 2048, height: 1365 },\n        { src: \"/image1x3840.jpg\", width: 3840, height: 2560 },\n      ],\n    },\n    // ...\n  ]}\n  // ...\n/>\n```\n\n## Next.js Image\n\nIf your project is based on [Next.js](https://nextjs.org/), you may want to take\nadvantage of the\n[next/image](https://nextjs.org/docs/pages/api-reference/components/image)\ncomponent. The `next/image` component provides a more efficient way to handle\nimages in your Next.js project. You can replace the standard `<img>` element\nwith `next/image` using the following `render.slide` render function.\n\n```tsx\ndeclare module \"yet-another-react-lightbox-lite\" {\n  interface SlideImage {\n    blurDataURL?: string;\n  }\n}\n```\n\n```tsx\n<Lightbox\n  render={{\n    slide: ({ slide, rect }) => {\n      const width =\n        slide.width && slide.height\n          ? Math.round(\n              Math.min(rect.width, (rect.height / slide.height) * slide.width),\n            )\n          : rect.width;\n\n      const height =\n        slide.width && slide.height\n          ? Math.round(\n              Math.min(rect.height, (rect.width / slide.width) * slide.height),\n            )\n          : rect.height;\n\n      return (\n        <Image\n          src={slide.src}\n          alt={slide.alt || \"\"}\n          width={width}\n          height={height}\n          loading=\"eager\"\n          draggable={false}\n          blurDataURL={slide.blurDataURL}\n          style={{\n            minWidth: 0,\n            minHeight: 0,\n            maxWidth: \"100%\",\n            maxHeight: \"100%\",\n            objectFit: \"contain\",\n          }}\n        />\n      );\n    },\n  }}\n  // ...\n/>\n```\n\n## API\n\nYet Another React Lightbox Lite comes with a CSS stylesheet that needs to be\nimported in your app.\n\n```tsx\nimport \"yet-another-react-lightbox-lite/styles.css\";\n```\n\nThe lightbox component accepts the following props.\n\n### slides\n\nType: `Slide[]`\n\nAn array of slides to display in the lightbox. This prop is required. By\ndefault, the lightbox supports only image slides. You can add support for custom\nslides through a custom render function (see example below).\n\nImage slide props:\n\n- `src` — image source (required)\n- `alt` — image `alt` attribute\n- `width` — image width in pixels\n- `height` — image height in pixels\n- `srcSet` — alternative images for responsive resolution switching (see\n  [Responsive Images](#responsive-images))\n\n### index\n\nType: `number | undefined`\n\nCurrent slide index. This prop is required.\n\n### setIndex\n\nType: `(index: number | undefined) => void`\n\nA callback to update current slide index state. This prop is required.\n\nSetting `index` to `undefined` unmounts the lightbox immediately, skipping the\nexit transition. To close with the transition (same as the Escape key or the\ntoolbar Close button), call `close()` from the\n[imperative handle](#imperative-handle) or [`useController`](#usecontroller)\ninstead.\n\n### labels\n\nType: `object`\n\nCustom UI labels / translations.\n\n```tsx\n<Lightbox\n  labels={{\n    Previous: t(\"Previous\"),\n    Next: t(\"Next\"),\n    Close: t(\"Close\"),\n  }}\n  // ...\n/>\n```\n\nThe `labels` prop accepts the built-in keys (`Previous`, `Next`, `Close`,\n`Lightbox`, `Carousel`, `Slide`, `Photo gallery`, `{index} of {total}`) and any\ncustom string keys — useful for translating\n[custom `IconButton` labels](#iconbutton). To get autocomplete for your custom\nkeys in both [`IconButton.label`](#iconbutton) and the `labels` prop,\ndeclaration-merge them into the exported `LabelRegistry` interface:\n\n```ts\ndeclare module \"yet-another-react-lightbox-lite\" {\n  interface LabelRegistry {\n    Download?: string;\n  }\n}\n```\n\n### toolbar\n\nType: `object`\n\nToolbar settings.\n\n- `buttons` — custom toolbar buttons (type: `ReactNode[]`). Each button should\n  have a unique `key` attribute. Use the exported [`IconButton`](#iconbutton)\n  component for buttons that match the built-in styling.\n- `fixed` — if `true`, the toolbar is positioned statically above the carousel\n\nUsage example:\n\n```tsx\n<Lightbox\n  toolbar={{\n    fixed: true,\n    buttons: [\n      <IconButton\n        key=\"download\"\n        label=\"Download\"\n        icon={DownloadIcon}\n        onClick={() => {\n          // ...\n        }}\n      />,\n    ],\n  }}\n  // ...\n/>\n```\n\n### carousel\n\nType: `object`\n\nCarousel settings.\n\n- `preload` — the lightbox preloads `(2 * preload + 1)` slides (default: `2`)\n- `transition` — slide transition effect, `\"fade\"` (default), `\"slide\"`, or\n  `\"none\"` (see [Slide Transitions](#slide-transitions))\n- `infinite` — if `true`, the carousel wraps around from the last slide to the\n  first and vice versa (default: `false`). In this mode, the controlled `index`\n  value drifts beyond `[0, slides.length)` to encode navigation direction; treat\n  it as opaque navigation state. If you need to persist which slide is showing\n  (e.g., to URL params), persist a stable slide identifier and resolve it back\n  to an in-range index on load — don't round-trip the drifted index through\n  normalization, as that would break wrap animations and the preload window\n  during a live session.\n\nUsage example:\n\n```tsx\n<Lightbox\n  carousel={{ preload: 5 }}\n  // ...\n/>\n```\n\nEnable infinite (wrapping) navigation:\n\n```tsx\n<Lightbox\n  carousel={{ infinite: true }}\n  // ...\n/>\n```\n\nTo customize image slide attributes (e.g., `crossOrigin`, `loading`, `lang`),\nuse the [`slots.image`](#slots) prop.\n\n### controller\n\nType: `object`\n\nController settings.\n\n- `closeOnPullUp` — if `true`, close the lightbox on pull-up gesture (default:\n  `true`)\n- `closeOnPullDown` — if `true`, close the lightbox on pull-down gesture\n  (default: `true`)\n- `closeOnBackdropClick` — if `true`, close the lightbox when the backdrop is\n  clicked (default: `true`)\n- `closeOnEscape` — if `true`, close the lightbox on Escape key press (default:\n  `true`)\n\nUsage example:\n\n```tsx\n<Lightbox\n  controller={{\n    closeOnEscape: false,\n    closeOnPullUp: false,\n    closeOnPullDown: false,\n    closeOnBackdropClick: false,\n  }}\n  // ...\n/>\n```\n\n### render\n\nType: `object`\n\nAn object providing custom render functions.\n\n```tsx\n<Lightbox\n  render={{\n    slide: ({ slide, rect, zoom, current, slideIndex }) => (\n      <CustomSlide {...{ slide, rect, zoom, current, slideIndex }} />\n    ),\n    slideHeader: ({ slide, rect, zoom, current, slideIndex }) => (\n      <SlideHeader {...{ slide, rect, zoom, current, slideIndex }} />\n    ),\n    slideFooter: ({ slide, rect, zoom, current, slideIndex }) => (\n      <SlideFooter {...{ slide, rect, zoom, current, slideIndex }} />\n    ),\n    controls: () => <CustomControls />,\n    iconPrev: () => <IconPrev />,\n    iconNext: () => <IconNext />,\n    iconClose: () => <IconClose />,\n  }}\n  // ...\n/>\n```\n\n#### slide: ({ slide, rect, zoom, current, slideIndex }) => ReactNode\n\nRender custom slide type, or override the default image slide implementation.\n\nParameters:\n\n- `slide` — slide object (type: `Slide`)\n- `rect` — slide rect size (type: `Rect`)\n- `zoom` — current zoom level (type: `number`)\n- `current` — if `true`, the slide is the current slide in the viewport (type:\n  `boolean`)\n- `slideIndex` — index of this slide within the `slides` array, always in\n  `[0, slides.length)` (type: `number`). Not the same as the controlled `index`\n  prop — for preloaded neighbors it points to a neighbor, and in `infinite` mode\n  the controlled `index` may drift outside `[0, slides.length)` while\n  `slideIndex` stays wrapped.\n\n#### slideHeader: ({ slide, rect, zoom, current, slideIndex }) => ReactNode\n\nRender custom elements above each slide.\n\n#### slideFooter: ({ slide, rect, zoom, current, slideIndex }) => ReactNode\n\nRender custom elements below or over each slide. By default, the content is\nrendered right under the slide. Alternatively, you can use\n`position: \"absolute\"` to position the extra elements relative to the slide.\n\nFor example, you can use the `slideFooter` render function to add slides\ndescriptions (see [Custom Slide Attributes](#custom-slide-attributes)).\n\n```tsx\n<Lightbox\n  render={{\n    slideFooter: ({ slide }) => (\n      <div style={{ marginBlockStart: 16 }}>{slide.description}</div>\n    ),\n  }}\n  // ...\n/>\n```\n\n#### controls: () => ReactNode\n\nRender custom controls or additional elements in the lightbox (use absolute\npositioning).\n\nFor example, you can use the `render.controls` render function to implement a\nslides counter.\n\n```tsx\nconst slides = [\n  { src: \"/image1.jpg\" },\n  { src: \"/image2.jpg\" },\n  { src: \"/image3.jpg\" },\n];\n\nconst [index, setIndex] = useState<number>();\n\n// Fold the controlled index back into [0, slides.length) — needed because\n// `infinite` mode lets `index` drift outside that range.\nconst normalizeIndex = (i: number) =>\n  ((i % slides.length) + slides.length) % slides.length;\n```\n\n```tsx\n<Lightbox\n  slides={slides}\n  index={index}\n  setIndex={setIndex}\n  render={{\n    controls: () =>\n      index !== undefined && (\n        <div style={{ position: \"absolute\", top: 16, left: 16 }}>\n          {`${normalizeIndex(index) + 1} of ${slides.length}`}\n        </div>\n      ),\n  }}\n/>\n```\n\n#### iconPrev: () => ReactNode\n\nRender custom `Previous` icon.\n\n#### iconNext: () => ReactNode\n\nRender custom `Next` icon.\n\n#### iconClose: () => ReactNode\n\nRender custom `Close` icon.\n\n### slots\n\nType: `object`\n\nCustomization slots let you override HTML attributes on the lightbox elements —\n`className`, `style` (including `--yarll__*` CSS variables), `data-*`, `aria-*`,\n`crossOrigin`, etc.\n\nSupported slots:\n\n- `portal` — lightbox portal (root) `<div>`\n- `carousel` — lightbox carousel `<div>`\n- `toolbar` — lightbox toolbar `<div>`\n- `button` — lightbox button `<button>` (Close, Previous, Next, and any custom\n  toolbar buttons rendered via the exported [`IconButton`](#iconbutton)\n  component)\n- `icon` — lightbox icon `<svg>`\n- `slide` — lightbox slide wrapper `<div>`\n- `image` — lightbox slide image `<img>` (object form, or a function receiving\n  the current slide and returning props)\n\nUsage examples:\n\n```tsx\n<Lightbox\n  slots={{\n    portal: {\n      className: \"custom-portal-class\",\n      style: { \"--yarll__backdrop_color\": \"rgba(0, 0, 0, 0.6)\" },\n    },\n    image: { crossOrigin: \"anonymous\" },\n  }}\n  // ...\n/>\n```\n\nYou can also use a function form for `slots.image` to provide per-slide image\nattributes. The example below augments `SlideImage` with a custom `lang` field\n(see [Custom Slide Attributes](#custom-slide-attributes)) and forwards it to the\nunderlying `<img>`:\n\n```tsx\ndeclare module \"yet-another-react-lightbox-lite\" {\n  interface SlideImage {\n    lang?: string;\n  }\n}\n```\n\n```tsx\n<Lightbox\n  slots={{\n    image: (slide) => ({ lang: slide.lang }),\n  }}\n  // ...\n/>\n```\n\n`slots.image` is the only slot that accepts a function — image is the only slot\nrendered per slide, so it's the only one with per-instance context. The other\nslots are singletons and accept objects only.\n\n`className` and `style` from a slot are merged with the lightbox internals\n(library classes stay, your additions are appended; library style entries stay,\nyour entries override on conflict). All other attributes are spread last, so a\nslot can override any built-in attribute (including the lightbox's own event\nhandlers) — use with caution.\n\n#### CSS Custom Properties\n\nThe stylesheet exposes the following custom properties for theming. Override\nthem via the `slots` prop shown above, globally via `:root`, or scoped via a\ncustom class on the lightbox (`slots.portal.className`).\n\n**Portal**\n\n- `--yarll__foreground_color` — foreground color, inherited by descendants\n- `--yarll__backdrop_color` — backdrop color\n- `--yarll__portal_zindex` — portal `z-index`\n\n**Transitions**\n\n- `--yarll__fade_duration` — `\"fade\"` preset + lightbox open/close duration\n- `--yarll__fade_easing` — `\"fade\"` preset + lightbox open/close timing function\n- `--yarll__slide_duration` — `\"slide\"` preset duration\n- `--yarll__slide_easing` — `\"slide\"` preset timing function\n\n**Layout**\n\n- `--yarll__carousel_margin` — margin around the carousel\n- `--yarll__toolbar_margin` — toolbar offset from portal edges\n\n**Buttons** (toolbar icon buttons; inherited by navigation buttons)\n\n- `--yarll__button_padding` — button padding\n- `--yarll__button_color` — idle foreground color\n- `--yarll__button_color_active` — hover / focus foreground color\n- `--yarll__button_color_disabled` — disabled foreground color\n- `--yarll__button_background_color` — background color\n- `--yarll__button_filter` — button shadow effect (`filter`)\n- `--yarll__button_focus_outline` — focus-visible `outline`\n- `--yarll__button_focus_box_shadow` — focus-visible `box-shadow`\n\n**Navigation Buttons** (Previous / Next)\n\n- `--yarll__navigation_button_padding` — padding (larger hit area)\n- `--yarll__navigation_button_offset` — horizontal offset from the portal edge\n\n**Icons**\n\n- `--yarll__icon_size` — icon width and height\n\n### zoom\n\nType: `object`\n\nZoom settings.\n\n- `supports` — slide types that support zoom (default: `[\"image\"]`)\n- `maxZoom` — maximum zoom level (default: `8`)\n\nCap the maximum zoom level:\n\n```tsx\n<Lightbox\n  zoom={{ maxZoom: 4 }}\n  // ...\n/>\n```\n\nEnable zoom on custom slide types:\n\n```tsx\n<Lightbox\n  zoom={{ supports: [\"image\", \"custom-slide-type\"] }}\n  // ...\n/>\n```\n\nDisable zoom entirely:\n\n```tsx\n<Lightbox\n  zoom={{ supports: [] }}\n  // ...\n/>\n```\n\n## Custom Slide Attributes\n\nYou can add custom slide attributes with the following module augmentation.\nAugmenting `GenericSlide` extends all slide types, including custom ones. To\nextend only image slides, augment `SlideImage` instead.\n\n```tsx\ndeclare module \"yet-another-react-lightbox-lite\" {\n  interface GenericSlide {\n    description?: string;\n  }\n}\n```\n\n```tsx\ndeclare module \"yet-another-react-lightbox-lite\" {\n  interface SlideImage {\n    blurDataURL?: string;\n  }\n}\n```\n\n## Custom Slides\n\nYou can add custom slide types through module augmentation and render them with\nthe `render.slide` function.\n\nHere is an example demonstrating video slide support.\n\n```tsx\ndeclare module \"yet-another-react-lightbox-lite\" {\n  interface SlideVideo extends GenericSlide {\n    type: \"video\";\n    src: string;\n    poster: string;\n    width: number;\n    height: number;\n  }\n\n  interface SlideTypes {\n    video: SlideVideo;\n  }\n}\n\n// ...\n\n<Lightbox\n  slides={[\n    {\n      type: \"video\",\n      src: \"/media/video.mp4\",\n      poster: \"/media/poster.jpg\",\n      width: 1280,\n      height: 720,\n    },\n  ]}\n  render={{\n    slide: ({ slide }) =>\n      slide.type === \"video\" ? (\n        <video\n          controls\n          playsInline\n          poster={slide.poster}\n          width={slide.width}\n          height={slide.height}\n          style={{ maxWidth: \"100%\", maxHeight: \"100%\" }}\n        >\n          <source type=\"video/mp4\" src={slide.src} />\n        </video>\n      ) : undefined,\n  }}\n  // ...\n/>;\n```\n\n## Code Splitting (Suspense)\n\n```tsx\n// Lightbox.tsx\nimport LightboxComponent, {\n  LightboxProps,\n} from \"yet-another-react-lightbox-lite\";\nimport \"yet-another-react-lightbox-lite/styles.css\";\n\nexport default function Lightbox(props: LightboxProps) {\n  return <LightboxComponent {...props} />;\n}\n```\n\n```tsx\n// App.tsx\nimport { lazy, Suspense, useState } from \"react\";\nimport slides from \"./slides\";\n\nconst Lightbox = lazy(() => import(\"./Lightbox\"));\n\nexport default function App() {\n  const [index, setIndex] = useState<number>();\n\n  return (\n    <>\n      <button type=\"button\" onClick={() => setIndex(0)}>\n        Open Lightbox\n      </button>\n\n      {index !== undefined && (\n        <Suspense>\n          <Lightbox slides={slides} index={index} setIndex={setIndex} />\n        </Suspense>\n      )}\n    </>\n  );\n}\n```\n\n## Body Scroll Lock\n\nBy default, the lightbox hides the browser window scrollbar and prevents\ndocument `<body>` from scrolling underneath the lightbox by assigning the\n`height: 100%; overflow: hidden;` styles to the document `<body>` element.\n\nIf this behavior causes undesired side effects in your case, and you prefer not\nto use this feature, you can turn it off by assigning the\n`yarll__no_scroll_lock` class to the lightbox via `slots.portal.className`.\n\n```tsx\n<Lightbox\n  slots={{ portal: { className: \"yarll__no_scroll_lock\" } }}\n  // ...\n/>\n```\n\nHowever, if you keep the body scroll lock feature on, you may notice a visual\nlayout shift of some fixed-positioned page elements when the lightbox opens. To\naddress this, you can assign the `yarll__fixed` CSS class to your\nfixed-positioned elements to keep them in place. Please note that the\nfixed-positioned element container should not have its own border or padding\nstyles. If it does, you can always add an extra wrapper that just defines the\nfixed position without visual styles.\n\n## Slide Transitions\n\nThree transition effects are built in:\n\n- `\"fade\"` (default) — cross-fade between slides\n- `\"slide\"` — horizontal slide\n- `\"none\"` — instant swap, no animation\n\nSelect one via the `carousel.transition` setting:\n\n```tsx\n<Lightbox carousel={{ transition: \"slide\" }} />\n```\n\nEach preset exposes its own duration / easing CSS variables:\n\n- `\"fade\"` (and the lightbox enter/exit fade) — `--yarll__fade_duration`\n  (default `0.3s`) and `--yarll__fade_easing` (default `ease`)\n- `\"slide\"` — `--yarll__slide_duration` (default `0.5s`) and\n  `--yarll__slide_easing` (default `ease-in-out`)\n\nOverride them via `slots.portal.style`, `slots.carousel.style`, or anywhere\nreachable in your CSS cascade. For example, retuning the slide preset:\n\n```tsx\n<Lightbox\n  slots={{\n    carousel: {\n      style: {\n        \"--yarll__slide_duration\": \"1s\",\n        \"--yarll__slide_easing\": \"ease-in-out\",\n      },\n    },\n  }}\n/>\n```\n\n…or in your stylesheet:\n\n```css\n.yarll__carousel {\n  --yarll__slide_duration: 1s;\n  --yarll__slide_easing: ease-in-out;\n}\n```\n\n### Custom Transitions\n\n`carousel.transition` accepts any string in addition to the three built-in\npresets. The library applies a `yarll__transition_<name>` class to the carousel\nelement, so to register a custom effect, choose a name and write the matching\n`.yarll__transition_<name>` CSS rules. For example, a zoom effect where the\nincoming slide grows in from a smaller scale:\n\n```tsx\n<Lightbox carousel={{ transition: \"zoom\" }} />\n```\n\n```css\n.yarll__transition_zoom .yarll__slide {\n  transform: scale(0.85);\n  transition: transform var(--yarll__fade_duration, 0.3s)\n    var(--yarll__fade_easing, ease);\n}\n\n.yarll__transition_zoom .yarll__slide_current {\n  transform: scale(1);\n}\n```\n\nFor direction-aware effects, every preloaded slide also carries a `data-offset`\nattribute equal to `slideIndex - currentIndex` — negative for slides before the\ncurrent one, `0` for the current slide, and positive for those after it. Since\nthe `[data-offset^=\"-\"]` prefix selector matches any negative value, the three\nrules below cleanly target the slides on either side of the current one\nregardless of the `carousel.preload` value:\n\n```css\n.yarll__slide {\n  /* default — slides after the current one (positive offset) */\n}\n\n.yarll__slide[data-offset^=\"-\"] {\n  /* slides before the current one (negative offset) */\n}\n\n.yarll__slide_current {\n  /* the current slide */\n}\n```\n\n## Keyboard Shortcuts\n\n| Shortcut                                                                    | Action                                                             |\n| --------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| <kbd>←</kbd> / <kbd>→</kbd>                                                 | Previous / next slide (pan horizontally when zoomed in)            |\n| <kbd>↑</kbd> / <kbd>↓</kbd>                                                 | Pan vertically when zoomed in                                      |\n| <kbd>Home</kbd> / <kbd>End</kbd>                                            | Jump to the first / last slide                                     |\n| <kbd>+</kbd> / <kbd>-</kbd>                                                 | Zoom in / out                                                      |\n| <kbd>Cmd</kbd>/<kbd>Ctrl</kbd> + <kbd>=</kbd> / <kbd>-</kbd> / <kbd>0</kbd> | Zoom in / out / reset                                              |\n| <kbd>Esc</kbd>                                                              | Close the lightbox (see [`controller.closeOnEscape`](#controller)) |\n\nIn `infinite` mode, `Home` and `End` stay within the current\n`slides.length`-wide cycle rather than jumping to hard-coded `0` /\n`slides.length - 1`: `Home` moves to the first slide of the current cycle, and\n`End` moves to the last slide of the current cycle.\n\n## Interactive Custom Elements\n\nThe lightbox sets `user-select: none`, `touch-action: none`, and\n`-webkit-touch-callout: none` on the portal, and captures pointer, wheel, and\nkeyboard events for navigation and zoom. If you render custom content that needs\nnative behavior — text selection in captions, form inputs (including their\narrow-key cursor movement), scrollable panels, range sliders, iOS long-press\nmenus on embedded images, etc. — wrap it (or apply directly to the element) in\nthe `yarll__interactive` CSS class. This class restores native browser behavior\nfor those three properties and suppresses lightbox gesture, wheel, and keyboard\nhandling for events originating inside the subtree.\n\n## Imperative Handle\n\n`Lightbox` forwards a ref that exposes an imperative handle for programmatic\ncontrol. The handle is attached only while the lightbox is mounted (open or\nclosing); when the lightbox is closed, `ref.current` is `null`, so a guarded\ncall (`ref.current?.next()`) is a safe no-op.\n\n```tsx\nimport { useRef } from \"react\";\nimport Lightbox, { type LightboxRef } from \"yet-another-react-lightbox-lite\";\n\nconst ref = useRef<LightboxRef>(null);\n\n<Lightbox ref={ref} /* ... */ />;\n```\n\nThe handle exposes the following methods:\n\n- `prev()` — navigate to the previous slide\n- `next()` — navigate to the next slide\n- `goto(index)` — navigate to the specified slide\n- `close()` — trigger the animated close\n\nIn non-infinite mode, `prev()` past the first slide, `next()` past the last, and\n`goto()` with an out-of-range index are all no-ops.\n\n## Components\n\nThe library exports the following components that you may find helpful in\ncustomizing the lightbox UI.\n\n### IconButton\n\n`IconButton` renders an icon-only button with the same styling, ARIA semantics,\nand `slots.button` / `slots.icon` integration as the built-in Close, Previous,\nand Next buttons. Use it to build custom toolbar buttons that look and behave\nidentically to the defaults.\n\n```tsx\nimport Lightbox, { IconButton } from \"yet-another-react-lightbox-lite\";\n```\n\n`IconButton` accepts all standard `<button>` attributes (except `type`, `title`,\n`aria-label`, and `children` — owned by the component), plus:\n\n- `label` (required) — button label, used for both `title` and `aria-label`.\n  Accepts a known `Labels` key (translated via the [`labels`](#labels) prop) or\n  any custom string.\n- `icon` (required) — icon component rendered inside the button. It is rendered\n  as `<Icon {...props} />`, receiving the `yarll__icon` class and any\n  [`slots.icon`](#slots) props, so it must spread the props it receives onto the\n  underlying `<svg>` — an icon that ignores them renders without the lightbox's\n  sizing and coloring.\n- `renderIcon` — custom icon render function. When provided, takes precedence\n  over `icon`.\n\n`IconButton` must be rendered inside a `<Lightbox>` (it relies on the lightbox\ncontext).\n\nUsage example — a custom Download button rendered in the toolbar:\n\n```tsx\nimport type { SVGProps } from \"react\";\nimport Lightbox, { IconButton } from \"yet-another-react-lightbox-lite\";\n\nfunction DownloadIcon(props: SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 24 24\"\n      focusable=\"false\"\n      aria-hidden\n      {...props}\n    >\n      <path d=\"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z\" />\n    </svg>\n  );\n}\n\n<Lightbox\n  toolbar={{\n    buttons: [\n      <IconButton\n        key=\"download\"\n        label=\"Download\"\n        icon={DownloadIcon}\n        onClick={() => {\n          // download the current slide\n        }}\n      />,\n    ],\n  }}\n  // ...\n/>;\n```\n\nStyling applied via [`slots.button`](#slots) and `slots.icon` is forwarded\nautomatically. Note that slot props take precedence over the caller's props\n(including `onClick` and `className`), matching the behavior of the built-in\nbuttons.\n\n## Hooks\n\nThe library exports the following hooks that you may find helpful in customizing\nlightbox functionality.\n\n### useController\n\n`useController` exposes the lightbox's navigation controls so that custom\ntoolbar buttons (or other elements rendered through\n[`render.controls`](#render)) can drive the lightbox from the inside.\n\n```tsx\nimport { useController } from \"yet-another-react-lightbox-lite\";\n```\n\nThe hook returns an object with:\n\n- `prev()` — navigate to the previous slide\n- `next()` — navigate to the next slide\n- `goto(index)` — navigate to the specified slide\n- `close()` — trigger the animated close\n\nIn non-infinite mode, `prev()` past the first slide, `next()` past the last, and\n`goto()` with an out-of-range index are all no-ops.\n\n`useController` must be called from inside a `<Lightbox>` (it reads the\nlightbox's controller context).\n\nUsage example — a custom bottom navigation bar rendered via\n[`render.controls`](#render):\n\n```tsx\nimport Lightbox, {\n  IconButton,\n  useController,\n} from \"yet-another-react-lightbox-lite\";\n\nfunction NavigationBar() {\n  const { prev, next, close } = useController();\n  return (\n    <div\n      style={{\n        position: \"absolute\",\n        display: \"flex\",\n        bottom: 16,\n        left: \"50%\",\n        gap: 8,\n        transform: \"translateX(-50%)\",\n      }}\n    >\n      <IconButton label=\"Previous\" icon={PrevIcon} onClick={prev} />\n      <IconButton label=\"Done\" icon={DoneIcon} onClick={close} />\n      <IconButton label=\"Next\" icon={NextIcon} onClick={next} />\n    </div>\n  );\n}\n\n<Lightbox\n  render={{ controls: () => <NavigationBar /> }}\n  // ...\n/>;\n```\n\n### useZoom\n\nYou can use the `useZoom` hook to build your custom zoom controls.\n\n```tsx\nimport { useZoom } from \"yet-another-react-lightbox-lite\";\n```\n\nThe hook provides an object with the following props:\n\n- `rect` — slide rect\n- `zoom` — current zoom level (numeric value between `1` and `maxZoom`)\n- `maxZoom` — maximum zoom level (`1` if zoom is not supported on the current\n  slide, otherwise the configured `zoom.maxZoom`, default `8`)\n- `offsetX` — horizontal slide position offset\n- `offsetY` — vertical slide position offset\n- `changeZoom` — change zoom level\n- `changeOffsets` — change position offsets\n\nUsage example:\n\n```tsx\nimport { IconButton, useZoom } from \"yet-another-react-lightbox-lite\";\n\nfunction ZoomControls() {\n  const { zoom, maxZoom, changeZoom } = useZoom();\n\n  return (\n    <div\n      style={{\n        position: \"absolute\",\n        display: \"flex\",\n        bottom: 16,\n        left: 16,\n        gap: 8,\n      }}\n    >\n      <IconButton\n        label=\"Zoom in\"\n        icon={ZoomInIcon}\n        disabled={zoom >= maxZoom}\n        onClick={() => changeZoom(zoom * 2)}\n      />\n      <IconButton\n        label=\"Zoom out\"\n        icon={ZoomOutIcon}\n        disabled={zoom <= 1}\n        onClick={() => changeZoom(zoom / 2)}\n      />\n    </div>\n  );\n}\n```\n\n```tsx\n<Lightbox\n  render={{\n    controls: () => <ZoomControls />,\n  }}\n  // ...\n/>\n```\n\n## License\n\nMIT © 2024 [Igor Danchenko](https://github.com/igordanchenko)\n","readmeFilename":"README.md"}