{"_id":"react-scrollspy-navigation","_rev":"22-af36e7c6278da26938eb953a3bdf8750","name":"react-scrollspy-navigation","dist-tags":{"latest":"2.1.1"},"versions":{"1.0.0":{"name":"react-scrollspy-navigation","version":"1.0.0","keywords":["scrollspy","react","component","react-component","scroll","onscroll","animated","scrollspy-nav"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@1.0.0","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://mvzn2.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"dc4890a8fb1beecdd799828388c285a63f80ec68","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-1.0.0.tgz","fileCount":5,"integrity":"sha512-epgioc9O0b3yLgsZHjKd24HRHsnJEC1x5fWgpnCJuKUrkYpkLaSKguJe/Phv+Gum6yR7ww6XPFY9nnVTwBObNg==","signatures":[{"sig":"MEQCICALctWOpL5ihZ/rUYO2WMZj3+PbAYW55VyKxPzsmADeAiB7jceLKVqaYCCBwNGfDDiOZqJqCuixmsVt02kFOzgIMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgINdkCRA9TVsSAnZWagAA82kQAKPgiTlFxwoTAuDwdAYW\nZYV2arzVhW8KObLiVZdYEPN2ZDOawG9QUb/847t7iJ8g8OnNNyMHA0kgv7oL\njaDu3n2Z6VWWhN2Z7RJpNeK0VCOqXJ0RX7wMBb4sQKS3Mi2cQ7hBc4dGK8VM\nw+PoFllT1PWJCW1E1Ti7huuzE7F/h+bHYQW9Lc7kunDcG6qPzEbmcvHgyZOE\nH8Ni0mS7lL/ZeXT/Z7l0V8qVlsdxOsxWD1Yhs4FpY8H65FpFbyEUYQ6T3JNj\n8u7j4tZ+NA0DGLkd4t7PjfP7NIpmiWb/uvdpzXGGFNc4gRwEkgURDOL0aSKk\nHz18CzjNt3xOg2WPbt4tfeWLsMr1cRuudD/FiDfHIzrzxDsRA1wAMFMs0Ixn\nLA2TnvixHvGxPJpTSgwkTuxJkbNxxh1+sYGp27gyD6ZUWhiiAZk8oyQ7t5Oa\njPvwwJO6JSSiF8ddMvpp2/TVh9r98BXt9TPMAQGVKreugt/XDkgbElbTmxCM\n6HsEEmnIhU41Lla0PJ2HdfEEiC8GI01N3VvHUQMr0GszLQGsmggLLRz2k/Oi\niyd2nDhdUNk4wDkA8Rnc6IdlZzTXyOkxZPm0GSlRqnMwnmTFswGbE3xy0TmQ\nKSLWr/08JR84A/Sp544EKabsIKhpd+d2Y7fM10HpJdiMR2nh4bSU8pJz8efP\nQ0S7\r\n=lILT\r\n-----END PGP SIGNATURE-----\r\n"},"browser":"ScrollSpy.jsx","funding":"https://paypal.me/toviszsolt","gitHead":"b51271e0cf729469f961e6e0b884e9f39fb2f628","_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"deprecated":"1.x is no longer supported. Upgrade to @latest. Documentation: https://github.com/toviszsolt/react-scrollspy","repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"_npmVersion":"6.14.4","description":"Scrollspy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":"17.0.1","react-dom":"17.0.1"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_1.0.0_1612765027945_0.5730901591502346","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"react-scrollspy-navigation","version":"1.0.1","keywords":["react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@1.0.1","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://mvzn2.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"fab54c566a9e375fc720c0a151e87ce05140b618","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-1.0.1.tgz","fileCount":6,"integrity":"sha512-nk540rfDHp8J0YhSEt5m9SsQotGx/IFJmvLN8wVdz5ijCraFOxdS3jJJGZWrUq7NMHQyOBqiVu1+WMYftrMB5Q==","signatures":[{"sig":"MEUCIFGP6iCnQtFsuZrXg5fvc5yLxL9CCX4NsBH5oXzIBBijAiEA9+46J8xMY5cqko/Ix4r3guFd9h8zSheJiKyrxvw+JAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIOnNCRA9TVsSAnZWagAAghYP+wf3wM4+K0z7JhR2Sv8A\n6VfxyRXxqWx44xGBNxHO08jbRwtcdmH4WyXbSLQcifvd+bfW66y2EkbNmJZZ\n9jy2byqYcFQ0GFp9WWeRpXhHkh/HZGD6Cei79CMBdAiml38n4g5zzpLBw47D\nIxjOKXuMGuy2BkEABWjNcvu8zzhRzatFk1ci8ewzgiiG5Mpfx94DOa6ExOEZ\n6MSAmqbDQ1YXe9uoJo3JpLvhEaw6bKSeckok0BHgFUBtptvrKLv474jsAmTd\nR4L5LNYrZfbihyNuWvNK/mM5znBrg02DW7AQJo8Vm9T1Ps61+nCQPdGvCAmO\n+wlb7KIfmCyg2MvOugULgH1+rpjna7947vVr62LUYQh0TQXhNbUqmudN7/Lw\ncFsMG5h6vpiTQKuvNWwOCUz3CJHjxnc6d+Tms8wVx4iLd+/o37psOVu6EWFF\n+tnTx6C/WnliepNS/5+lKCW2+7zH/WDepKFzFihJ6YU1NOZQSC8X32bkwJU9\nLT+NY6/VC9XkiULr/EXUC/x5Gx533/ghLTbAe80T4Z9s9Vssos0vq7+Y7lAd\nvzF0ecmjxHKsyeyLRWPOiOLzfo7L/xA4NbzaMX6Y9k75GAuqjqjxWPWhqyqE\n7ZrFA8ExwjCVmVjAibL+5BEeTuQhgWWdJ2Le4ziUBJYqqi6c0d8Q8di0x+oY\neq4z\r\n=Tnly\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","funding":"https://paypal.me/toviszsolt","gitHead":"8f3f566a15971764963eff5439bde5a49241fb29","_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"deprecated":"1.x is no longer supported. Upgrade to @latest. Documentation: https://github.com/toviszsolt/react-scrollspy","repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"_npmVersion":"6.14.4","description":"Scrollspy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":"^15.5.4 || ^16.0.0 || ^17.0.0","react-dom":"^15.5.4 || ^16.0.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_1.0.1_1612769740756_0.45361289324442255","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"react-scrollspy-navigation","version":"1.0.2","keywords":["react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@1.0.2","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://mvzn2.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"51f77a48de497b7418036965a1a964259dc41606","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-1.0.2.tgz","fileCount":5,"integrity":"sha512-4cuQgTu35GoP9p3wBNL0VLPQSQg04QchVR6oTu+PgBO+dVsUeEuVbxeOAcGrP8DOPqXl4FsodG0CIINna4JtFg==","signatures":[{"sig":"MEQCIFrml4OhD5et1zMPHNddIpA8WM3wxe05yjTSO3kFX/yQAiB/HvChssYVc69v9WEslxZOp+o6VnOiYzGFIeStVHAbNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIqzECRA9TVsSAnZWagAAryUP/2ikRa4GupJZzAgrSR+f\nKmlV3D/6vjtdR28gyfy+S64gC73jSl+Q2iiopZKnRILusEmfNS5bLgH2zSxe\ndyP9C28gGnUEBobr6OwEQl3L/dkI6DiChq13DEIT8ta8qiaMdIcSRsT+ZQUe\nChR6gR2aJtgGgzciV69tXYiCz784Q2PQY+yILK4/eapIyoRQgTMyk6s978Wk\nTkBwqFVOVpug8ANj9HdBoFPECjQ/qhinyX9mqivJVPPf/e6SxznV1WQrq/SC\nLKVmLY6e1M8NKdcYZRIqwkTNbikOJ0Rm2PuUKnD4UM+SMPsakWtDhDq+x/Gt\nQdG9XCH4yBedKhhtnUWglF335SX9S8CKs8PZ8zBUXrV1SgeFLHhJafAegseF\nx5YGWAfEndp3EPqV7tyU8QMAvqKgTyG7ucU255qI5DUdkAfT8uHIAHjYzXmj\n6dS1BjQfbEYL6OsYFciWI6Nokxvwk+1O8j8VfL/O1oC2/85zI17SRjUkpGF1\nvKVAEA4RPbSqqSIUXLKOMEhPwwujJmcy83VLVoNa3x7I6+wn10q8cg9v0AER\nYT+tt+z9MKvWlUI4iGJXCM4TxPUd7/2UDRwMksjm859KEvtudjlz4tzSrZ3d\nqKSFIX5YdNyTqqjhAsUREzUPjJTAcCtPjvGeZOq/+fHr+JAtJcJSlbe5dMwR\nscEM\r\n=mM4s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","funding":"https://paypal.me/toviszsolt","gitHead":"cc2880dcd6df716af39daf1aea17ba3caf868bf6","scripts":{"build":"babel src --out-dir dist --copy-files"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"deprecated":"1.x is no longer supported. Upgrade to @latest. Documentation: https://github.com/toviszsolt/react-scrollspy","repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"_npmVersion":"6.14.4","description":"Scrollspy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"_nodeVersion":"12.16.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@babel/cli":"^7.12.13","@babel/core":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13"},"peerDependencies":{"react":"^15.5.4 || ^16.0.0 || ^17.0.0","react-dom":"^15.5.4 || ^16.0.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_1.0.2_1612885188030_0.7245633281462076","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"react-scrollspy-navigation","version":"1.0.3","keywords":["react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@1.0.3","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://mvzn2.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"a23204ab75241b53400120408810d479f8463596","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-1.0.3.tgz","fileCount":7,"integrity":"sha512-jziPhU2flmcfg4q+e2PQZUVXvZj1ES3iOeS5sBdHQJwTp51Yk2c0aQono+3nucpoPkCb5Hov1aZprWN8xXylmA==","signatures":[{"sig":"MEYCIQDOh7dVOz0lPEwaVmIB638sch+mTWAFQf4X6oYg5RZhYwIhANKUNWtzGVe6pPPTQLfR7GxSjcE1RwbdH98vKCQFU6cY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjs4jJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUig/+Nt9vDjq3p66FbW7soiW8gn5Yg0SQxWZ7NG8F/BShj2nocHkP\r\nHjyQaTVbrCYBxuewwUvueHz4rEozu4JfXg6e2iuABf9F9AKoJUjtPIv3Kkpm\r\nH/MhrJkyDoyd4A5s5JSUUQSJva2PXLAGXYNsC8xD3y1yIjpnLSq8wQxIB/cJ\r\n8REsD+YI23bmhapF/8s/ixabNoKgSwjfNEzkcPafVv3Nu3V3nx0UdcaFkdqF\r\nJHlBbb2ya8NnHg26MWo+NKeSEdsv0ULNJuWfLp/yp7JKv2y447M7fpQF7o1w\r\nSa7ib3jJQmXXpAJYPyrpPuSeMPJ/EotU/7chL71OEP+XykR/zEGkbcYts1ft\r\n/PAcB6uiLuP1jOW2Bv+37IjarPssQHoThasVSRKsJ1IEc2ND6mZfx3RJz8dF\r\nUtnxMk9EI5lc0iDDwTvw8Ppmz/zkYfp1fOOPCI7B2C0u2oyoEPqd27Q3bVJ6\r\ncPO3gSLCQIYtjzttGsUNQyvUIcXLmfqIgZr3dddac2QTKSJ4wyMJXup2vJ1g\r\n3BOzmaJj0GFT5TgCzOmFycPA4oX7fmXInFXQJV2hIYrNzzrKQeQnLtxU4DCy\r\nAHHtjk2OplXPkIXCR3TIbrf+Ly0LXQQ7WGAe793bdcM+o03Qm8SBAMUoATQy\r\nn/RYMHT9cwKVl2Rkc9Otq7JP/Jru1m0mPmo=\r\n=o2RC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","funding":"https://paypal.me/toviszsolt","scripts":{"build":"babel src --out-dir dist --copy-files"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"deprecated":"1.x is no longer supported. Upgrade to @latest. Documentation: https://github.com/toviszsolt/react-scrollspy","repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"Scrollspy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@babel/cli":"^7.12.13","@babel/core":"^7.12.13","@babel/preset-env":"^7.12.13","@babel/preset-react":"^7.12.13"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_1.0.3_1672710344849_0.8854986950857495","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"react-scrollspy-navigation","version":"2.0.0","keywords":["react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.0","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"feb89dffbce7e751be7fcddf007e6f81c3685bb5","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.0.tgz","fileCount":8,"integrity":"sha512-7VHXN+w07nR04S55UJNjuOEt4ZLgCErKoOsxzrrfjmXnWliU7JlZP6b0WiE8G1VRBbwYV2r2ka4vh0smks059A==","signatures":[{"sig":"MEYCIQC4uxZ3WLWBMo2tyhFP2RUvMyCVLBpJwoUG3JP7RBD9XwIhAJbYO353J+ehLChqToSrzF+KNP6XxkRwCxgJfelBjmCm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19077},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"Scrollspy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.0","react":"^18.2.0","eslint":"^8.57.0","react-dom":"^18.2.0","@types/react":"^18.2.66","@nextcss/nextcss":"^0.4.3","@types/react-dom":"^18.2.22","react-router-dom":"^6.22.3","postcss-preset-env":"^9.5.2","eslint-plugin-react":"^7.34.1","@vitejs/plugin-react":"^4.2.1","postcss-flexbugs-fixes":"^5.0.2","vite-plugin-static-copy":"^1.0.2","eslint-plugin-react-hooks":"^4.6.0","react-scrollspy-navigation":"^2.0.0","eslint-plugin-react-refresh":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.0_1711572349361_0.6406266984342575","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"react-scrollspy-navigation","version":"2.0.1","keywords":["react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.1","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"ccd0310903ab9b3cbdd9490ff8d324a7b086db5e","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.1.tgz","fileCount":8,"integrity":"sha512-ZWCj8T+9uzO/Ew2FeucLjrIiFMSzEbrzmmKKwkgBMjd+q4KrOO/RCDYwJRBOfk0bJkxdSjmvXoXAK9Y027NjpA==","signatures":[{"sig":"MEUCICAPca11wXkDQd51P+6iL4UapIUEf2RbherYOo8yMsAoAiEA5fIS04PJ8hBf4a1pdiSBDnTcf2gXyKpdWxcf6HJON24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19088},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"Scrollspy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.0","react":"^18.2.0","eslint":"^8.57.0","react-dom":"^18.2.0","@types/react":"^18.2.66","@nextcss/nextcss":"^0.4.3","@types/react-dom":"^18.2.22","react-router-dom":"^6.22.3","postcss-preset-env":"^9.5.2","eslint-plugin-react":"^7.34.1","@vitejs/plugin-react":"^4.2.1","postcss-flexbugs-fixes":"^5.0.2","vite-plugin-static-copy":"^1.0.2","eslint-plugin-react-hooks":"^4.6.0","react-scrollspy-navigation":"^2.0.0","eslint-plugin-react-refresh":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.1_1711572649875_0.4401755749750278","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"react-scrollspy-navigation","version":"2.0.2","keywords":["react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.2","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"0afaba3fa81f7403b5221bc44d84bd2889e5619f","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.2.tgz","fileCount":8,"integrity":"sha512-l9ZoGzBmYIOfH4bkJxhJHDHBcTa5eB73LMYgU/UuwworuO9LSExInapejwcBgkmbSkgSd1lVVmzil3swACi2Eg==","signatures":[{"sig":"MEYCIQDkI+gkHH9zhd76q6wkm27CMCDZvMhT6P0hKJzyyX0CYQIhAOYYFPmq1HJZW6FT87G1rvG8xseJ79XYnfPWm3jhWHXc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18960},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"Scrollspy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.0","react":"^18.2.0","eslint":"^8.57.0","react-dom":"^18.2.0","@types/react":"^18.2.66","@nextcss/nextcss":"^0.4.3","@types/react-dom":"^18.2.22","react-router-dom":"^6.22.3","postcss-preset-env":"^9.5.2","eslint-plugin-react":"^7.34.1","@vitejs/plugin-react":"^4.2.1","postcss-flexbugs-fixes":"^5.0.2","vite-plugin-static-copy":"^1.0.2","eslint-plugin-react-hooks":"^4.6.0","react-scrollspy-navigation":"^2.0.0","eslint-plugin-react-refresh":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.2_1711574105649_0.6602339979760155","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"react-scrollspy-navigation","version":"2.0.3","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.3","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"2a581660374fbdc8ef9200b17d83ce2dbc8d7cac","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.3.tgz","fileCount":8,"integrity":"sha512-5x8CTRgJhOXgBLcLj7ViSm/t7qQ/DliFRBMJ+qtIYBzDCIFtXSh9TYCx3b2hiqhy3mJMGVg/Yn74qTkU1CDeVg==","signatures":[{"sig":"MEQCIEAB2J9duLRml5NTia4axzqnaew9qkwlkUMWDXGEOQt9AiANy3zXitvmoVRmDtEI5RcMyQ21TI+gIFc0/MVMRBTcww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19174},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.0","react":"^18.2.0","eslint":"^8.57.0","react-dom":"^18.2.0","@types/react":"^18.2.66","@nextcss/nextcss":"^0.4.3","@types/react-dom":"^18.2.22","react-router-dom":"^6.22.3","postcss-preset-env":"^9.5.2","eslint-plugin-react":"^7.34.1","@vitejs/plugin-react":"^4.2.1","postcss-flexbugs-fixes":"^5.0.2","eslint-plugin-react-hooks":"^4.6.0","react-scrollspy-navigation":"^2.0.2","eslint-plugin-react-refresh":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.3_1711649714870_0.756375860090422","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"react-scrollspy-navigation","version":"2.0.4","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.4","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"c06319491e454546963fb912343addc4f4a35f3e","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.4.tgz","fileCount":8,"integrity":"sha512-NLea0bohoOuxIyr9pWMAhdza7tQIarYi/CwBfG6HPTZoUxNGUnbt/7ex7GjeSg34KVtdJLdZ07fJrpxVR05BwA==","signatures":[{"sig":"MEUCIQDZINQqEX5Rpsnz6WuP21CumRWIWsXPy3n1iyAfC0T4mAIgfvxTY0zAWH1GTC6KmgX6HMOSOQGrY3KnnTh6q0CAMjw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19191},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.0","react":"^18.2.0","eslint":"^8.57.0","react-dom":"^18.2.0","@types/react":"^18.2.66","@nextcss/nextcss":"^0.4.3","@types/react-dom":"^18.2.22","react-router-dom":"^6.22.3","postcss-preset-env":"^9.5.2","eslint-plugin-react":"^7.34.1","@vitejs/plugin-react":"^4.2.1","postcss-flexbugs-fixes":"^5.0.2","eslint-plugin-react-hooks":"^4.6.0","react-scrollspy-navigation":"^2.0.4","eslint-plugin-react-refresh":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.4_1713530911477_0.5123935416834697","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"react-scrollspy-navigation","version":"2.0.5","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.5","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"b16ab80c55e39bbff08739dbc9d867726084f5ef","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.5.tgz","fileCount":8,"integrity":"sha512-hx/nsaQ2viSAwk1YPZQ6twYbpw+qrZAAHerWtDl6sK5sJhiQPDODFj4LYFDHCcRMW/IKvwEZDXofl1qHzds6fA==","signatures":[{"sig":"MEUCIC2f4aIRzmgdKQ37fX9v6Rkprz0oKLf+S2peUEReQ2DIAiEA8VnLz7iO+7yNSTEOtEJy16Qr8xsZ/lhh2xcA/HgeqRQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20436},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.0","react":"^18.2.0","eslint":"^8.57.0","react-dom":"^18.2.0","@types/react":"^18.2.66","@nextcss/nextcss":"^0.4.3","@types/react-dom":"^18.2.22","react-router-dom":"^6.22.3","postcss-preset-env":"^9.5.2","eslint-plugin-react":"^7.34.1","@vitejs/plugin-react":"^4.2.1","postcss-flexbugs-fixes":"^5.0.2","eslint-plugin-react-hooks":"^4.6.0","react-scrollspy-navigation":"^2.0.4","eslint-plugin-react-refresh":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.5_1716466246289_0.882821203727091","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"react-scrollspy-navigation","version":"2.0.6","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.6","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"1267d5cbceccef672ad412afa7f02e79844f1cfc","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.6.tgz","fileCount":8,"integrity":"sha512-BBnIEI9BsCPIMnp3z/OIEJ6mRSlDgGYf8wty5IjR8nOIhIeRhQp6eDUAKFMyHRoM2RUInA2NDu5DutIFTphoKQ==","signatures":[{"sig":"MEUCIQDsZ4ZNkiYyCwwgB2lY6Z01STrWZDdWMmge/fUmpjmAOAIgZA8BEoMO8+QJZTbd+GZqoRiZ9c/N6RwDl6kmiaDFmJA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20517},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.2.0","react":"^18.2.0","eslint":"^8.57.0","react-dom":"^18.2.0","@types/react":"^18.2.66","@nextcss/nextcss":"^0.4.3","@types/react-dom":"^18.2.22","react-router-dom":"^6.22.3","postcss-preset-env":"^9.5.2","eslint-plugin-react":"^7.34.1","@vitejs/plugin-react":"^4.2.1","postcss-flexbugs-fixes":"^5.0.2","eslint-plugin-react-hooks":"^4.6.0","react-scrollspy-navigation":"^2.0.4","eslint-plugin-react-refresh":"^0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.6_1716466598240_0.9901205655784573","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"react-scrollspy-navigation","version":"2.0.7","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.0.7","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app/","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"8ac83fec3057cd78532c78475facf39d23b7e475","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.0.7.tgz","fileCount":8,"integrity":"sha512-4OJtVV9EebdNeeJlhgabeG83JFJLxjClWANioZe3vGbEPJl2B68pLP7vVZFBRO0ckaw9QtOonkvvPNjkZxazgQ==","signatures":[{"sig":"MEYCIQCfRtOMOsj7w7w1s+wQTYkMXszwIF6Qbjnv1G8rBV4ToQIhAJuAY8uNxBDnUk1XlQ+YuHO5cs9QFpPsrx1Z3Bffe5Yb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20498},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Zsolt Tovis\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.\n","_hasShrinkwrap":false,"devDependencies":{"vite":"^7.2.7","react":"^19.2.3","eslint":"^9.39.1","react-dom":"^19.2.3","@types/react":"^19.2.7","@nextcss/nextcss":"^0.9.3","@types/react-dom":"^19.2.3","react-router-dom":"^7.10.1","postcss-preset-env":"^10.5.0","eslint-plugin-react":"^7.37.5","@vitejs/plugin-react":"^5.1.2","postcss-flexbugs-fixes":"^5.0.2","eslint-plugin-react-hooks":"^7.0.1","react-scrollspy-navigation":"^2.0.6","eslint-plugin-react-refresh":"^0.4.24"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.0.7_1765498084892_0.2531264283677537","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"react-scrollspy-navigation","version":"2.1.0","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"author":{"url":"https://toviszsolt.github.io/","name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com"},"license":"MIT","_id":"react-scrollspy-navigation@2.1.0","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"homepage":"https://32jhvk.csb.app","bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"dist":{"shasum":"e993aa8f760a24f21a40a59447b21bd8bbf75373","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.1.0.tgz","fileCount":6,"integrity":"sha512-2AIUf5buJH15g1jwjgiTk1HHHjqHcbjYibm46AW/5gAvhoIX8u2sIHxtE6V4JhU3WMLYrWNb1TQuXuLf7y/vow==","signatures":[{"sig":"MEYCIQDFncz9iq4MlHNsnu1Bjv0tnPi8vAYc1lIQ3rTZ99x4gQIhAOh3lt7C2ghJm4ZnLDiYiIU0JpN9RTMAqBqizkHJunaE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-scrollspy-navigation@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20427},"type":"module","types":"./dist/react-scrollspy.d.ts","module":"./dist/react-scrollspy.js","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"funding":[{"url":"https://github.com/sponsors/toviszsolt","type":"github"},{"url":"https://www.paypal.com/paypalme/toviszsolt","type":"paypal"}],"gitHead":"152f1c77dd93da211f0506d3923b20e22990acd9","scripts":{"dev":"vite","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","build":"vite build && node post-build","preview":"vite preview"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8b543258-a14b-4d21-9675-182266f750b2"}},"repository":{"url":"git+https://github.com/toviszsolt/react-scrollspy.git","type":"git"},"_npmVersion":"11.13.0","description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.0","react":"^19.2.7","eslint":"^10.6.0","globals":"^17.7.0","react-dom":"^19.2.7","@eslint/js":"^10.0.1","@types/react":"^19.2.17","@nextcss/nextcss":"^0.9.5","@types/react-dom":"^19.2.3","react-router-dom":"^7.18.0","postcss-preset-env":"^11.3.1","@vitejs/plugin-react":"^6.0.3","postcss-flexbugs-fixes":"^5.0.2","eslint-plugin-react-hooks":"^7.1.1","react-scrollspy-navigation":"^2.0.7","eslint-plugin-react-refresh":"^0.5.3"},"_npmOperationalInternal":{"tmp":"tmp/react-scrollspy-navigation_2.1.0_1782522820816_0.6763932326875959","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"react-scrollspy-navigation","version":"2.1.1","description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"type":"module","main":"./dist/react-scrollspy.cjs","module":"./dist/react-scrollspy.js","types":"./dist/react-scrollspy.d.ts","exports":{".":{"types":"./dist/react-scrollspy.d.ts","import":"./dist/react-scrollspy.js","require":"./dist/react-scrollspy.cjs"}},"license":"MIT","publishConfig":{"access":"public","provenance":true},"author":{"name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com","url":"https://toviszsolt.stacklegend.com/"},"funding":[{"type":"github","url":"https://github.com/sponsors/toviszsolt"},{"type":"paypal","url":"https://www.paypal.com/paypalme/toviszsolt"}],"repository":{"type":"git","url":"git+https://github.com/toviszsolt/react-scrollspy.git"},"bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"homepage":"https://32jhvk.csb.app","scripts":{"dev":"vite","build":"vite build && node post-build","lint":"eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0","preview":"vite preview"},"devDependencies":{"@eslint/js":"^10.0.1","@nextcss/nextcss":"^0.9.5","@types/react":"^19.2.17","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.3","eslint":"^10.6.0","eslint-plugin-react-hooks":"^7.1.1","eslint-plugin-react-refresh":"^0.5.3","globals":"^17.7.0","postcss-flexbugs-fixes":"^5.0.2","postcss-preset-env":"^11.3.2","react":"^19.2.7","react-dom":"^19.2.7","react-router-dom":"^7.18.1","react-scrollspy-navigation":"^2.1.0","vite":"^8.1.3"},"gitHead":"b327adbd9f2445e05e7473df18ded545171251c5","_id":"react-scrollspy-navigation@2.1.1","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-f/WQMkjda8BAFk96pt4phTVzd8+Ms65wLAPHn/3NSbAzWXb0zdsqtQ81vxhuZ3pZlS/GJCxNcujzzD4/nOukKQ==","shasum":"ec10140898b18658bd25614bdc3309e14c26d52b","tarball":"https://registry.npmjs.org/react-scrollspy-navigation/-/react-scrollspy-navigation-2.1.1.tgz","fileCount":6,"unpackedSize":20699,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-scrollspy-navigation@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAJsI13Mu5t7FZvKLvxPJdOGaFSLu/EPT2IT+NCXnV4xAiBGe8l6Vu5N81CWYZ1c1i2TsaHFvJ+W6sG7zz3XiBtFaA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8b543258-a14b-4d21-9675-182266f750b2"}},"directories":{},"maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-scrollspy-navigation_2.1.1_1783056196175_0.3520230912806921"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-08T06:17:07.912Z","modified":"2026-07-03T05:23:16.590Z","1.0.0":"2021-02-08T06:17:08.069Z","1.0.1":"2021-02-08T07:35:40.865Z","1.0.2":"2021-02-09T15:39:48.183Z","1.0.3":"2023-01-03T01:45:45.037Z","2.0.0-pre":"2024-03-27T20:17:06.852Z","2.0.1-pre":"2024-03-27T20:35:14.156Z","2.0.0":"2024-03-27T20:45:49.546Z","2.0.1":"2024-03-27T20:50:50.078Z","2.0.2":"2024-03-27T21:15:05.791Z","2.0.3-pre":"2024-03-28T15:45:33.957Z","2.0.3":"2024-03-28T18:15:15.040Z","2.0.4":"2024-04-19T12:48:31.646Z","2.0.5":"2024-05-23T12:10:46.443Z","2.0.6":"2024-05-23T12:16:38.421Z","2.0.7":"2025-12-12T00:08:05.039Z","2.1.0":"2026-06-27T01:13:40.958Z","2.1.1":"2026-07-03T05:23:16.303Z"},"bugs":{"url":"https://github.com/toviszsolt/react-scrollspy/issues"},"author":{"name":"Zsolt Tovis","email":"tovis.zsolt@gmail.com","url":"https://toviszsolt.stacklegend.com/"},"license":"MIT","homepage":"https://32jhvk.csb.app","keywords":["scrollspy","react-scrollspy","react-navigation","react-component","react-components","reactjs-component","react-scroll","reactjs-es6","reactjs-with-es6","react-animate-on-scroll","react-scroll-to-component","react-scrollspy-nav","react","reactjs"],"repository":{"type":"git","url":"git+https://github.com/toviszsolt/react-scrollspy.git"},"description":"ScrollSpy React Component - Automatically update navigation components based on scroll position to indicate which link is currently active in the viewport.","maintainers":[{"name":"toviszsolt","email":"tovis.zsolt@gmail.com"}],"readme":"![Poster](assets/poster.png)\n\n# ScrollSpy React Component\n\n[![GitHub License](https://img.shields.io/github/license/toviszsolt/react-scrollspy?style=flat)](https://github.com/toviszsolt/react-scrollspy/blob/main/LICENSE)\n[![npm](https://img.shields.io/npm/v/react-scrollspy-navigation?style=flat&color=red)](https://www.npmjs.com/package/react-scrollspy-navigation)\n[![NPM Downloads](https://img.shields.io/npm/dw/react-scrollspy-navigation?style=flat&label=npm)](https://www.npmjs.com/package/react-scrollspy-navigation)\n[![Run tests](https://github.com/toviszsolt/react-scrollspy/actions/workflows/main.yml/badge.svg)](https://github.com/toviszsolt/react-scrollspy/actions/workflows/main.yml)\n[![GitHub Repo stars](https://img.shields.io/github/stars/toviszsolt/react-scrollspy?color=DAAA3F)](https://github.com/toviszsolt/react-scrollspy/stargazers)\n[![Sponsor](https://img.shields.io/static/v1?label=sponsor&message=❤&color=ff69b4)](https://github.com/sponsors/toviszsolt)\n\nReact Component, that automatically update navigation components based on scroll position to indicate which link is\ncurrently active in the viewport. It also scrolls (navigation) to viewport when click on a navigation component.\n\n**[Demo with example code](https://32jhvk.csb.app)**\n\n**[Sponsor me on GitHub](https://github.com/sponsors/toviszsolt)**\n\n**[Sponsor me on PayPal](https://paypal.me/toviszsolt)**\n\n## Table of Contents\n\n<!-- TOC start (generated with https://github.com/derlin/bitdowntoc) -->\n\n- [How to install](#how-to-install)\n- [How to use it](#how-to-use-it)\n  - [Step 1: Content](#step-1-content)\n  - [Step 2: Navigation](#step-2-navigation)\n- [Configuration](#configuration)\n  - [Optional `ScrollSpy` props](#optional-scrollspy-props)\n  - [`onClickEach(event, internalClickHandler, container)`](#onclickeachevent-internalclickhandler-container)\n  - [`onChangeActiveId(currentId, prevId)`](#onchangeactiveidcurrentid-previd)\n- [Compatibility](#compatibility)\n- [Example code](#example-code)\n- [Guidelines](#guidelines)\n- [License](#license)\n\n<!-- TOC end -->\n\n## How to install\n\nInstall via NPM or Yarn package manager\n\n```\nnpm i react-scrollspy-navigation\n```\n\n```\nyarn add react-scrollspy-navigation\n```\n\n## How to use it\n\n### Step 1: Content\n\nAdd a unique `id` to content blocks or heading tags for the elements you want to spy on. There is nothing more to do\nwith the content elements. It's awfully simple so far, right?\n\n```jsx\n// Content blocks\nconst ContentWithBoxes = () => {\n  return (\n    <>\n      <section id=\"target-1\">Content here</section>\n      <section id=\"target-2\">Content here</section>\n      <section id=\"target-3\">Content here</section>\n    </>\n  );\n};\n\n// Heading tags\nconst ContentWithHeaders = () => {\n  return (\n    <>\n      <section>\n        <h2 id=\"target-1\">Target 1</h2>\n      </section>\n      <section>\n        <h2 id=\"target-2\">Target 2</h2>\n      </section>\n      <section>\n        <h2 id=\"target-3\">Target 3</h2>\n      </section>\n    </>\n  );\n};\n```\n\n### Step 2: Navigation\n\nWrap your navigation structure with `ScrollSpy` component. Use only `a` tags whose `href` attribute is the hash link of\nthe `id` of an existing content element. You can use structures of any complexity or depth in the `ScrollSpy` component,\nand you can nest multiple `ScrollSpy` components (although this works, it is not recommended). Don't worry, `ScrollSpy`\nwon't add any additional structures to the child component.\n\n_Note: If you are new to URL hashes, here is some information: https://en.wikipedia.org/wiki/URI_fragment_\n\n```jsx\nimport ScrollSpy from 'react-scrollspy-navigation';\n```\n\n```jsx\nconst Navigation = () => {\n  return (\n    <ScrollSpy activeClass=\"nav-active\">\n      <nav>\n        <ul>\n          <li>\n            <a href=\"#target-1\">...</a>\n          </li>\n          <li>\n            <a href=\"#target-2\">...</a>\n          </li>\n          <li>\n            <a href=\"#target-3\">...</a>\n          </li>\n        </ul>\n      </nav>\n    </ScrollSpy>\n  );\n};\n```\n\nDon't forget to specify in the `activeClass` prop what className to add to the currently active link. Congratulations,\nwe are done, it was that simple. Continue reading the documentation to find out what options are available to configure\nhow `ScrollSpy` works.\n\n_Note: The much loved `Refs` used in the previous version and React were thrown away._\n\n## Configuration\n\n### Optional `ScrollSpy` props\n\n| Prop             | Type                            | Default                 | Description                                                                                                                                                                                         |\n| ---------------- | ------------------------------- | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| activeClass      | string                          | ''                      | Class name(s) to be applied to the active link                                                                                                                                                      |\n| activeAttr       | boolean                         | false                   | If true, the active link will have an attribute `data-active` attached to it.                                                                                                                       |\n| offsetTop        | number                          | 0                       | Offset the final scroll position from top in pixels.                                                                                                                                                |\n| offsetLeft       | number                          | 0                       | Offset the final scroll position from left in pixels.                                                                                                                                               |\n| behavior         | 'smooth' \\| 'instant' \\| 'auto' | 'smooth'                | Behavior of the scroll animation. See: [Element: scrollTo()](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo#options)                                                             |\n| root             | HTMLElement \\| null             | null                    | Root element for the intersection observer. See: [IntersectionObserver: IntersectionObserver()](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver#options) |\n| rootMargin       | string                          | '0px'                   | Root margin for the intersection observer. See: [IntersectionObserver: IntersectionObserver()](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver#options)  |\n| threshold        | number \\| number[]              | [0, 0.25, 0.5, 0.75, 1] | Thresholds for the intersection observer. See: [IntersectionObserver: IntersectionObserver()](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/IntersectionObserver#options)   |\n| onClickEach      | function                        | undefined               | Callback function for handle the click event                                                                                                                                                        |\n| onChangeActiveId | function                        | undefined               | Callback function for handle the active element change event                                                                                                                                        |\n\n### `onClickEach(event, internalClickHandler, container)`\n\n- `event`: The original click event\n- `internalClickHandler`: The internal function that scrolls to the element. This should be called at the end of the\n  `onClickEach` function, as you want the internal click handler to run.\n- `container`: Container element that is being scrolled. Always try to find the scrollable parent of the linked element.\n\nExample:\n\n```jsx\nconst Comp = () => {\n  const onClickEach = (e, next, container) => {\n    console.log('The clicked element:', e.target);\n    console.log('The target container element:', container);\n    next();\n  };\n\n  return <ScrollSpy onClickEach={onClickEach}>...</ScrollSpy>;\n};\n```\n\n### `onChangeActiveId(currentId, prevId)`\n\n- `currentId`: The id of the active element\n- `prevId`: The id of previous active element\n\nExample:\n\n```jsx\nconst Comp = () => {\n  const onChangeActiveId = (current, prev) => {\n    console.log('Active element changed');\n    console.log({ current, prev });\n  };\n\n  return <ScrollSpy onChangeActiveId={onChangeActiveId}>...</ScrollSpy>;\n};\n```\n\n## Compatibility\n\nThe component depends on the following functions or classes, which define its compatibility.\n\n- Scroll methods on elements (scroll, scrollTo, scrollBy):\n  [supported browsers](https://caniuse.com/element-scroll-methods)\n- IntersectionObserver API: [supported browsers](https://caniuse.com/mdn-api_intersectionobserver)\n- Supported Environments: `ESModules`, `CommonJS`, `TypeScript`\n\n## Example code\n\nCheck out the interactive demo and example codes.\n\n**[Demo with example code](https://32jhvk.csb.app)**\n\n**[Sponsor me on GitHub](https://github.com/sponsors/toviszsolt)**\n\n**[Sponsor me on PayPal](https://paypal.me/toviszsolt)**\n\n## Guidelines\n\nTo learn about the guidelines, please read the [Code of Conduct](./CODE_OF_CONDUCT.md),\n[Contributing](./CONTRIBUTING.md) and [Security Policy](./SECURITY.md) documents.\n\n## License\n\nMIT License @ 2021 [Zsolt Tövis](https://github.com/toviszsolt)\n\nIf you found this project interesting, please consider supporting my open source work by\n[sponsoring me on GitHub](https://github.com/sponsors/toviszsolt) /\n[sponsoring me on PayPal](https://www.paypal.com/paypalme/toviszsolt) /\n[give the repo a star](https://github.com/toviszsolt/react-scrollspy).\n","readmeFilename":"README.md"}