{"_id":"@caldwell619/react-image-lightbox","_rev":"3-14f5bf553bac888c1591848afe0d5da9","name":"@caldwell619/react-image-lightbox","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@caldwell619/react-image-lightbox","version":"0.1.0","description":"A lightbox component for React","scripts":{"lint":"eslint --ext .ts,.tsx src","format":"prettier --write src","build":"tsc && npx tscpaths -p tsconfig.json -s src -o dist && cp src/style.css dist","build:watch":"nodemon --exec npm run build --watch src --ext .tsx,.ts --delay 2.5","publish:release":"sh scripts/publish.sh","predeploy":"cd demo && yarn install && yarn run build","deploy":"gh-pages -d demo/dist"},"main":"dist/index.js","license":"MIT","homepage":"https://christopher-caldwell.github.io/react-image-lightbox/","repository":{"type":"git","url":"https://github.com/christopher-caldwell/react-image-lightbox.git"},"bugs":{"url":"https://github.com/christopher-caldwell/react-image-lightbox/issues"},"peerDependencies":{"react":">=16","react-dom":">=16","react-modal":">=3.15.1"},"devDependencies":{"@emotion/react":"^11.7.0","@emotion/styled":"^11.6.0","@mui/icons-material":"^5.2.1","@mui/material":"^5.2.3","@types/react":"^18.0.21","@types/react-dom":"^18.0.6","@typescript-eslint/eslint-plugin":"^5.39.0","@typescript-eslint/parser":"^5.39.0","babel-eslint":"^10.1.0","eslint":"^8.24.0","eslint-config-react-app":"^6.0.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.20.3","eslint-plugin-react-hooks":"^4.0.8","gh-pages":"^3.2.3","nodemon":"^2.0.20","prettier":"^2.5.1","rc":"^1.2.8","react":"^17.0.2","react-dom":"^17.0.2","react-modal":"^3.15.1","standard-version":"^9.3.2","tscpaths":"^0.0.9","typescript":"^4.4.4"},"dependencies":{"@types/react-modal":"^3.13.1"},"keywords":["react","react-component","image","lightbox","modal"],"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2022 Christopher Caldwell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@caldwell619/react-image-lightbox@0.1.0","dist":{"shasum":"ffcd427ca2104cae220cd9430b36c445522a697d","integrity":"sha512-CJZv701/SlnBjEudNOww2V293ITMtS4JXN0UFR79+V7K9L0VE99n3doANN3tbe6U9pAMcVwf7t9jnZe/yaOM/Q==","tarball":"https://registry.npmjs.org/@caldwell619/react-image-lightbox/-/react-image-lightbox-0.1.0.tgz","fileCount":52,"unpackedSize":171921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDu5fk4e49J+IM4UX3r4s4bWNiHM+zgsgglNu6mazW/IgIhAPeQ/llBpn9qLw0W2UXXVO2vqfRJKbNSBhaBQwr1PMWt"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjP0kbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIrA/8CXMqQ6WR7Kgcp78YdL/EjiIoL5ENQG/9YRkF/wKjxC/UDH4+\r\nWUvBdz41lLcJ2pb5ZNDTUpTlvoiUeeIo50aMolfT/7I06bILXssT9+gzCpTp\r\n0FQB8PIYNkigi/0Cf9CaWhcMVH81NoAwLjkijM4Vtws+mex3POyXxch2cLF6\r\nz9yMdkQk6HhUNieRo+u+azrqYNqoyXqxDDmveoBcn8bipqhLRJTAr8n9jnKk\r\nFnn18z1yLu4d9AaHfZbozmY8rkJkb+rnvF2oOfykuGmSiH/TlFP4QR66lBOr\r\n+IrPRNppr46AGD35j9mP3SOQrP/qCP8zlaqrqgVb1wdkt44Ir2ELpJvDTYOS\r\nMl/kQRB03v2wpo6oT/gsu+kADLODKgNbxzE4PzzhX/1ZSh4jN/dHiGeQyPuA\r\nzu18RFqwJLPDc/2eIkG2aD5LCvJy1fznLgmrsgl/mW7UWGfJJMhiNESC9PFe\r\nkMLInls21QKQZP8ToOVqaCuarhYOxryfhuAfW0CHIOjXTwAbZ9Ds+YmOPbRR\r\n0DaxghzL1+nMbFW/GN9Ro01Th8aAM9Z5ifitAC6hv4SLlRc+YAVgLorKw78d\r\nv3UpTjZa7OZGJ5NAE0ff6sUqP4n6MLQKbABzcejSn55G5QhaZygKsAVWDdqi\r\n7FyArnU8iPCcqpUWhar0sjIsTBnWIdQVMEI=\r\n=Q7o7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell619","email":"caldwell8814@gmail.com"},"directories":{},"maintainers":[{"name":"caldwell619","email":"caldwell8814@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-image-lightbox_0.1.0_1665091866872_0.8838283824768141"},"_hasShrinkwrap":false},"0.1.2":{"name":"@caldwell619/react-image-lightbox","version":"0.1.2","description":"A lightbox component for React","scripts":{"lint":"eslint --ext .ts,.tsx src","format":"prettier --write src","build":"tsc && npx tscpaths -p tsconfig.json -s src -o dist && cp src/style.css dist","build:watch":"nodemon --exec npm run build --watch src --ext .tsx,.ts --delay 2.5","publish:release":"sh scripts/publish.sh","predeploy":"cd demo && yarn install && yarn run build","deploy":"gh-pages -d demo/dist"},"main":"dist/index.js","license":"MIT","homepage":"https://christopher-caldwell.github.io/react-image-lightbox/","repository":{"type":"git","url":"https://github.com/christopher-caldwell/react-image-lightbox.git"},"bugs":{"url":"https://github.com/christopher-caldwell/react-image-lightbox/issues"},"peerDependencies":{"react":">=16","react-dom":">=16","react-modal":">=3.15.1"},"devDependencies":{"@emotion/react":"^11.7.0","@emotion/styled":"^11.6.0","@mui/icons-material":"^5.2.1","@mui/material":"^5.2.3","@types/react":"^18.0.21","@types/react-dom":"^18.0.6","@typescript-eslint/eslint-plugin":"^5.39.0","@typescript-eslint/parser":"^5.39.0","babel-eslint":"^10.1.0","eslint":"^8.24.0","eslint-config-react-app":"^6.0.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.20.3","eslint-plugin-react-hooks":"^4.0.8","gh-pages":"^3.2.3","nodemon":"^2.0.20","prettier":"^2.5.1","rc":"^1.2.8","react":"^17.0.2","react-dom":"^17.0.2","react-modal":"^3.15.1","standard-version":"^9.3.2","tscpaths":"^0.0.9","typescript":"^4.4.4"},"dependencies":{"@types/react-modal":"^3.13.1"},"keywords":["react","react-component","image","lightbox","modal"],"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2022 Christopher Caldwell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@caldwell619/react-image-lightbox@0.1.2","dist":{"shasum":"b079822bde2dff2cef0fe083fb3ac9f9335fe3f7","integrity":"sha512-ZwHCciL8cSxvsnZajXBzFzRiXrZQwQlcVLAP8IiXCy4WUglSMMV2CwgAs8qipG25q59Iqol2qO4OeDc7jZKiCQ==","tarball":"https://registry.npmjs.org/@caldwell619/react-image-lightbox/-/react-image-lightbox-0.1.2.tgz","fileCount":52,"unpackedSize":173257,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbuRp14od6v8PkV/na4QXzWS2ErCQWDybhAAwFAVtjnAIhAIsLKGjpLKNYvVuVscMACDXJo38DOhAJlYVVaagytPvD"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjP3VPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqpGA/9ExgsgVSCeRfGikPMY60sVhcrukERRO8Iu38ctKUkCmwF1b6K\r\nv3r/bz5Q4dzAlRzphPc6zQQ4mlPwNx6PP8g9T/fHXFs5EDkV7W64VQ+6QEGd\r\nYqRVWJzncjy8ZngD3yY4udamP8iAYnJsaR2TJ97wF8SOicjZDgrafiKOUx1E\r\nodNhn3ORwBrC8PBsOdoh06DPfvel7Nb86MHnTox7MIWXp6J/fCITY88c6ne+\r\nTjY/4XQeejEhMP9Jdr3fIeIjFTWHF5dqreazRLOfFOE2Jzxjl93wl07bsFeP\r\nrfde87zYfZ5Kjlk052rQnn1x3oiJ9FTx5l67nOJ6hpit5ZMF26HnFlc7GnHQ\r\nBV9MF+m8kChhGgoNVqrZ9SJJVP4xjFqKgKXYYMjLaUvFkJnwkXI1KWSrkJ80\r\n/6dZxXygp0cv0TUTeROp9Bg9e8Lw6bYdqZL5ci3zs38wfkrKdp4w6Nf4BXWn\r\ny7naAl8Ye11illT7FdN0MliB27OLMPRU7IcMW1HBoExeQMN8QEsG0/ufphgt\r\nvLJo5j7M1Lt4dO9kYasVtVh+REvhsRm+fZNEnaf7TusYefWbijyzIw4/cSGX\r\nbqmMHZWzHRZt2cpwplnD2vdRYtmPE84ySJ8AbRQz1/2ifRNmAFU/HMYgFbo2\r\nevxbIxbDFNinBbkD+oyoX2QOz68fFIv33sY=\r\n=y8Hq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell619","email":"caldwell8814@gmail.com"},"directories":{},"maintainers":[{"name":"caldwell619","email":"caldwell8814@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-image-lightbox_0.1.2_1665103183022_0.789293597915895"},"_hasShrinkwrap":false},"0.1.3":{"name":"@caldwell619/react-image-lightbox","version":"0.1.3","description":"A lightbox component for React","scripts":{"lint":"eslint --ext .ts,.tsx src","format":"prettier --write src","build":"tsc && npx tscpaths -p tsconfig.json -s src -o dist && cp src/style.css dist","build:watch":"nodemon --exec npm run build --watch src --ext .tsx,.ts --delay 2.5","publish:release":"sh scripts/publish.sh","predeploy":"cd demo && yarn install && yarn run build","deploy":"gh-pages -d demo/dist"},"main":"dist/index.js","license":"MIT","homepage":"https://christopher-caldwell.github.io/react-image-lightbox/","repository":{"type":"git","url":"https://github.com/christopher-caldwell/react-image-lightbox.git"},"bugs":{"url":"https://github.com/christopher-caldwell/react-image-lightbox/issues"},"peerDependencies":{"react":">=16","react-dom":">=16","react-modal":">=3.15.1"},"devDependencies":{"@emotion/react":"^11.7.0","@emotion/styled":"^11.6.0","@mui/icons-material":"^5.2.1","@mui/material":"^5.2.3","@types/react":"^18.0.21","@types/react-dom":"^18.0.6","@typescript-eslint/eslint-plugin":"^5.39.0","@typescript-eslint/parser":"^5.39.0","babel-eslint":"^10.1.0","eslint":"^8.24.0","eslint-config-react-app":"^6.0.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.20.3","eslint-plugin-react-hooks":"^4.0.8","gh-pages":"^3.2.3","nodemon":"^2.0.20","prettier":"^2.5.1","rc":"^1.2.8","react":"^17.0.2","react-dom":"^17.0.2","react-modal":"^3.15.1","standard-version":"^9.3.2","tscpaths":"^0.0.9","typescript":"^4.4.4"},"dependencies":{"@types/react-modal":"^3.13.1"},"keywords":["react","react-component","image","lightbox","modal"],"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2022 Christopher Caldwell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@caldwell619/react-image-lightbox@0.1.3","dist":{"shasum":"1ea447ff642d9eff9bed8c7cba38ff1c5981d7c4","integrity":"sha512-uU1ckVHTLKRH58s0tAzD0Kz/CGMPm4JygJJ25WBIgSMFmO6NUhbsrXTjpOAksdCJajuiRBMsbKI+7WvXqSBR/A==","tarball":"https://registry.npmjs.org/@caldwell619/react-image-lightbox/-/react-image-lightbox-0.1.3.tgz","fileCount":52,"unpackedSize":173706,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU1HSmsr8AszHXwrMincGZE22XofLHp0TiOhK5SK5dkwIgcPTnfFVsfFvr8/8gYbomclTB98dZ2VZ1clxWszqdmYE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjP3anACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtOw//U0++sTl+DDYFIyzFqzD86BEKYXef7l73uejiTQmGXthoDuhd\r\niEbgzMBY1ednmAcZKT/wTMKFVgOcmGORQEH1LaRx8kmaMRvtQn/iZUKJistu\r\nXhN8LhSqrTdU8JPPujTc+Vkma7URrIF+nwxOkbk9IG6hlEKY2j4BcV2KIZFY\r\n7ri3JL6qILsiEL8y8by5SxkRBNG5ufmZ/OuuVVauIeziBpGNZgnyf3xkpCWQ\r\nqO3EngHezP6eeLN9EjsO7B92P7IwrmuMaXAAlbtjchhDdeTsGxLsdhLFdKzm\r\nwH23r3ea2J4G+9JxRQX9G1WNve5tZh1YBSrqXV55/nHulsWtSUIVwVlI7BIV\r\nPh7cYmUDFbJaau9s3V/AMQcuI9WxX1LuWn+TpPeRhWLWtgksMqnGvuwRe1rW\r\nYdrVlf4eAR4O5CREXDUAxRQSHldfq04WswI4Zprk7u57T9FgJSkKc6UANl8T\r\n1DixiQwaj/SJE21b6rpCcn0TWpKrlEhvMcav1RaqKYOqxZ9QPwomES9fwtD8\r\nxpxEFf5i8Zry+bgqoKP/BSiqyeanghLNiDOw80cgrAHmPfrSVEbuEEwqn1TS\r\nAKYkugct76Xm9i9nXJaSJZlB2kYBczBPzfOcID6sB43ciUbZSHc0tfdNvhr8\r\nLQk0gItl2ia/K6ym6NvwX/7ZGYV6sx45mk8=\r\n=48xM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell619","email":"caldwell8814@gmail.com"},"directories":{},"maintainers":[{"name":"caldwell619","email":"caldwell8814@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-image-lightbox_0.1.3_1665103527127_0.8953377342853683"},"_hasShrinkwrap":false},"0.1.4":{"name":"@caldwell619/react-image-lightbox","version":"0.1.4","description":"A lightbox component for React","scripts":{"lint":"eslint --ext .ts,.tsx src","format":"prettier --write src","build":"tsc && npx tscpaths -p tsconfig.json -s src -o dist && cp src/style.css dist","build:watch":"nodemon --exec npm run build --watch src --ext .tsx,.ts --delay 2.5","publish:release":"sh scripts/publish.sh","predeploy":"cd demo && yarn install && yarn run build","deploy":"gh-pages -d demo/dist"},"main":"dist/index.js","license":"MIT","homepage":"https://christopher-caldwell.github.io/react-image-lightbox/","repository":{"type":"git","url":"https://github.com/christopher-caldwell/react-image-lightbox.git"},"bugs":{"url":"https://github.com/christopher-caldwell/react-image-lightbox/issues"},"peerDependencies":{"react":">=16","react-dom":">=16","react-modal":">=3.15.1"},"devDependencies":{"@emotion/react":"^11.7.0","@emotion/styled":"^11.6.0","@mui/icons-material":"^5.2.1","@mui/material":"^5.2.3","@types/react":"^18.0.21","@types/react-dom":"^18.0.6","@typescript-eslint/eslint-plugin":"^5.39.0","@typescript-eslint/parser":"^5.39.0","babel-eslint":"^10.1.0","eslint":"^8.24.0","eslint-config-react-app":"^6.0.0","eslint-plugin-flowtype":"^8.0.3","eslint-plugin-import":"^2.22.0","eslint-plugin-jsx-a11y":"^6.3.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.20.3","eslint-plugin-react-hooks":"^4.0.8","gh-pages":"^3.2.3","nodemon":"^2.0.20","prettier":"^2.5.1","rc":"^1.2.8","react":"^17.0.2","react-dom":"^17.0.2","react-modal":"^3.15.1","standard-version":"^9.3.2","tscpaths":"^0.0.9","typescript":"^4.4.4"},"dependencies":{"@types/react-modal":"^3.13.1"},"keywords":["react","react-component","image","lightbox","modal"],"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2022 Christopher Caldwell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@caldwell619/react-image-lightbox@0.1.4","dist":{"shasum":"16289729c5cbc4dcaa2255bb3f0f8dcfd58678e8","integrity":"sha512-aero2d/JCYCSrNjc9wTs7nCJrNK6o4ogRp4kmbzvGJENhHtuF1N352Zwf09wr1G0BTDDgqvuguxPx5p6Sdy9CQ==","tarball":"https://registry.npmjs.org/@caldwell619/react-image-lightbox/-/react-image-lightbox-0.1.4.tgz","fileCount":52,"unpackedSize":174040,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZngVe7wKs4MHq29ecb1UtYFC+qcdZz0ZqfnUTwlpmuwIgOBtcjCsY1JcdM7r4cbNVDCcg2Ec3UOOkq+LOTY6IOXE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjP4IBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZlA/8C5rhSjF0cive9Ai+bUExUmk8RRcoRe9ofcSKBZNJ6+FXSzkK\r\ngd9EKL5DituT/K9i9FHGdSPDmglqp6Kukj53TbTCO+UMUILf0BhrLg4GKa1E\r\n00OT7qTdql96OOTTwvM7US2SvhJiaNaChoFoMRs4ZgCwGwHOJh5ud52tUHrp\r\ngwxz0fqL6Ca1NQIQ7fEt4tANamy7o0oeCU6VTRaYK+aM82BR/GEaYGLGQ2UU\r\njRKz7Ty6C9ghEMWcec/oIoyXjo7XztDTa5O8rZGg360W6cPHznZEakrocEug\r\nexHRJPFZGBaqG8FS85X/k8lGycvql9cSehBdoHYVB8dDHnDyvMj9QKd8KJ55\r\nFB7Kc/gKN3tt/O/EXO//eCeXdnoweiCzbxCDnGUmIWTKgAZr4MKJmqDz0MmI\r\nX8F/uZb9V6NrqYBLzftDaE2RPllwBxLjYgDv0T4dw8yamh8tIsqRfdNqbHUO\r\nG2g7FIpESE5BRauuyLjZzWyRv102iMfT6a4Cfw12MqPC9SEqLaBgv6Mn9aa4\r\nxYvIToktCJu63gTc9JVcwg2zW+nzkO3AcBnhQ4AP2/adharla4d/fJPWi5km\r\ndosMvx2po99dEHnUeSf6obAZOumNcDo2kSHz9BJZvOtRRewt/O6gVtTn4Asq\r\ntZGlTgrgaCCLO//lXs3kReiS5CST1vmPabs=\r\n=78R7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"caldwell619","email":"caldwell8814@gmail.com"},"directories":{},"maintainers":[{"name":"caldwell619","email":"caldwell8814@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-image-lightbox_0.1.4_1665106433454_0.6959375632239935"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-06T21:31:06.816Z","0.1.0":"2022-10-06T21:31:07.055Z","modified":"2022-10-07T01:33:53.811Z","0.1.2":"2022-10-07T00:39:43.220Z","0.1.3":"2022-10-07T00:45:27.421Z","0.1.4":"2022-10-07T01:33:53.717Z"},"maintainers":[{"name":"caldwell619","email":"caldwell8814@gmail.com"}],"description":"A lightbox component for React","homepage":"https://christopher-caldwell.github.io/react-image-lightbox/","keywords":["react","react-component","image","lightbox","modal"],"repository":{"type":"git","url":"https://github.com/christopher-caldwell/react-image-lightbox.git"},"bugs":{"url":"https://github.com/christopher-caldwell/react-image-lightbox/issues"},"license":"MIT","readme":"# React Image Lightbox\n\n<p align=\"center\">\n  <div />\n  <img src=\"https://img.shields.io/npm/v/@caldwell619/react-image-lightbox\">\n  <img src=\"https://img.shields.io/bundlephobia/min/@caldwell619/react-image-lightbox\">\n  <img src=\"https://img.shields.io/github/last-commit/christopher-caldwell/react-image-lightbox\">\n  <img src=\"https://img.shields.io/npm/types/@caldwell619/react-image-lightbox\">\n</p>\n\nForked from [react-image-lightbox](https://github.com/frontend-collective/react-image-lightbox).\n\nA flexible lightbox component for displaying images in a React project.\n\n[Demo](https://christopher-caldwell.github.io/react-image-lightbox/)\n\n## Why Fork?\n\nThe main reason is that the original seems to not be maintained anymore. The last commit was [July 2021](https://github.com/frontend-collective/react-image-lightbox), and many of the issues are stale.\n\nSome other issues:\n\n- Didn't have TypeScript types.\n- Class based, which isn't an issue itself, but more about the enhancement. It was all in one file, 1500 lines.\n- Dragging an image caused a console error about preventing the default on the event.\n- Demo was class based.\n- Using React Modal incorrectly. They recommend to keep it mounted, the og library has you conditionally render it.\n  - This is slightly opinionated, but `react-modal` should be a peer dependency to avoid version conflicts if you also use it.\n\n## Features\n\n- Keyboard shortcuts (with rate limiting)\n- Image Zoom\n- Flexible rendering using src values assigned on the fly\n- Image preloading for smoother viewing\n- Mobile friendly, with pinch to zoom and swipe (Thanks, [@webcarrot](https://github.com/webcarrot)!)\n\n## Example\n\nPseudo code to get your started. See [the demo](./demo/src/App.tsx) for a full example.\n\n```tsx\nimport { Lightbox } from '@caldwell619/react-image-lightbox'\n// This only needs to be imported once in your app\nimport '@caldwell619/react-image-lightbox/dist/style.css'\n\nconst images: string[] = [...]\n\nconst App = () => {\n  // Define logic handlers and state\n\n  return (\n    <Lightbox\n      isOpen={isOpen}\n      mainSrc={images[0]}\n      // ...rest props\n    />\n  )\n}\n```\n\n### Logic Helpers\n\nFor convenience, there is a set of logical helpers you can use for next and previous functionality.\n\n```tsx\nimport { Lightbox, useControlHelper } from '@caldwell619/react-image-lightbox'\nconst App = () => {\n  const { activeIndex, isOpen, toggleOpen, moveNext, movePrev, nextImage, prevImage, mainImage } =\n    useControlHelper(images)\n\n  return (\n    <Lightbox\n      isOpen={isOpen}\n      mainSrc={mainImage}\n      nextSrc={nextImage}\n      prevSrc={prevImage}\n      onMovePrevRequest={movePrev}\n      onMoveNextRequest={moveNext}\n      onCloseRequest={toggleOpen}\n    />\n  )\n}\n```\n\n## Props\n\nFull, yet **WIP** [list of props](./docs/props.md)\n\n## Contributing\n\nWIP guide [here](./docs/CONTRIBUTING.md)\n\n[Contributor List](https://github.com/christopher-caldwell/react-image-lightbox/graphs/contributors)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}