{"_id":"bpk-component-infinite-scroll","_rev":"413-f10fcbde52650156d169a56396e1560e","name":"bpk-component-infinite-scroll","dist-tags":{"canary":"3.0.4-beta.25","css":"3.0.66-css.0","latest":"5.1.2"},"versions":{"1.0.0":{"name":"bpk-component-infinite-scroll","version":"1.0.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.0","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0fb5fd630362515399ff9321b093df62914539d7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.0.tgz","fileCount":10,"integrity":"sha512-+/iBsPUARsIW8GzDHZw7bRu3Ym7ZFoog8iGiSSpwmcMyZ1CsnBTRLq1EOpkVgSIsrVGzdaSgfQh+JamA24J05g==","signatures":[{"sig":"MEQCIGgwmDFJfm0gJs/8oShT0jKYjuzbOsRreeC4T88J0J+XAiA4fOGe4kiN8/G9TRrSeb4/A6uoua9Xahl5WGDP5lwTfw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIjOrCRA9TVsSAnZWagAAenAQAKBWhvdu7tV2OM1el6fo\ns4fQA/7pix1WMtUtWSijjj+AdvdU4oqPJ0uFsm8JJ5qVwQWKst5dCAaUSKbY\n4HJusKQVrhDIq64GpviVoh6RrJt9LoM7AWhbNy+SaLRfwdjOv7Cc1rkRnsEM\nNYRzVzQH+yWQPTLkXfmGo+PzYCYOH3LgZ/BYWMkoD9tPInuRpfQWVcMh95o3\n/bnlwQ7xcy35LRaRPbvlZnF6oyU5i2NjNvVoK2YEW26lcdxwM95tUzAaaBQK\nq7i2VtJD3NpamIVpP2FsMr9RrVI0Dfa3cJ9b5twDVaY8mEH/dO9GSggkjzNP\nhWN2wxlYvx5gn3rl+yj0RRQa9jyXn33CriiRl7epTUFAU6x3PfGHjH0+x9hW\ndIpdej5YIdUk9r9gtyhaI9vwjFfZnyS8VxYIsCeO8lS42MhoSYhzMYm2huIt\n4fdY7a3EjFTmzbEOAaDM9fiNgs1Vvxk2/ljXM6FsHCDMbxdfpYrBag9xnd/j\nAWl/nMPEC0DT7OCwBDbcLgsRwa4FLWWDqr/kckYfpQMX+LT/AAKWmQ2X1PEz\njK6fx76A6m2TS0E13dr7eGMdT/hP8cTlzrg5yXqTKbyZsiiK+goTP9uPMNRd\nIOoPNJGIu9c6rGkJcDSZwlP9iVy5OJ5BtdwuY1UhOvGtrUJJmkyhRXUjyOCV\nV+Jx\r\n=SNgi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"amolgupta","email":"amolgupta1989@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.10.1","prop-types":"^15.5.8","bpk-react-utils":"^2.6.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.14","bpk-component-button":"^2.1.0","bpk-component-spinner":"^2.2.31"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.0_1528968106944_0.9321257723525602","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"bpk-component-infinite-scroll","version":"1.0.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"462611810d790a4225e869bc679f511dcedac66b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.1.tgz","fileCount":10,"integrity":"sha512-UlIhQ7a7STW6bo7ccKU3407DoA+k9sEF+eyJ9IWzW1Pwvc+6DSRA1UBtLg4cPrzuttBo85da9N+BNdvH377rzQ==","signatures":[{"sig":"MEQCIDSGNTCII0oMXNAXhowqk71SHsPidwpjNM8EtwtrTQ5EAiAlhfJE9bvmOCF/W/O3MEspLMATCXkig47OIWzl3eE6WA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKSfSCRA9TVsSAnZWagAA+BoP/ROXB9EI1eBT+vDNSlHC\n5/Y2Fr9pYe6pWzIKQFFb2MbSnklr2rma654X5On/7PtVtDnSdgMb0tpiHjdb\n5Qvhjj2ndlDgVZLf7ZHR94SWjpkfJVA0ibq9HPErNH2+kMIRaakb4e5SLJTx\nRT/eNVCX5iWGUJpMkBC9M80H0jE1TsJ7bRgNRxAzEoMC4kJTjzo7iU06Gu1N\n0ZTkBQQX2A3jQRjXa/VIIJumV3cSa8nTsMHcOnw9l62fcCpVVrluhoVMMxXQ\nhK3Y5aQHBheg0/8y0c+JHdLcFuH+KFdPL6BHFYKcx0qlSBEIYr+stuoB7xg8\n8rm783x+1B9iRkl9xHljztuJZbo0eXTr6CpZgtQE6PVYbHsWmp3uTwjm/5Zy\nWlMA4RK89+8cO4kre7szfMGickXE/mAgh8xX97NojTvvdbix+3eeyd6nVHGx\nQFESucXIs35tPKzRTP4AMq/4pq9C1277WtNTJyqcegphXyjWkRUVl5HUFWMp\n5VX5Z/0k8axhY6UqwbOharvMpN2AGwrxXHWqlufxs1mgEgCUTC5U7rlK5glK\ny6LbMxZ6E8xCIZnJmCWdhAYXfdwIfTKNwI2t6J8wNFM/Gzj+CwUBeu/hDTyX\n/HeckAcHJMrqrxq1pWW8DhbzmKVjEPR5Z3lSPlETPnCCblkGK6h+is12oxpl\nRuh8\r\n=v1IE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.1","dependencies":{"bpk-mixins":"^17.10.2","prop-types":"^15.5.8","bpk-react-utils":"^2.6.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.15","bpk-component-button":"^2.1.1","bpk-component-spinner":"^2.2.32"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.1_1529423825955_0.7984599842005973","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"bpk-component-infinite-scroll","version":"1.0.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.2","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1b4f75a18b55ed3f28b714b8da8488d26d330204","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.2.tgz","fileCount":10,"integrity":"sha512-WZDUqxbakpbPExLWu4g49YPlemy6YElgLsFv07ur42rJKUy4thrN2mThMG1uSGveW5XLQ0iRQoeFZNHhNZXIWw==","signatures":[{"sig":"MEUCICjIhuOLUVtHgFeId0LXFJeo8A+jTA19uUcw8nlJ/sJqAiEA//UvPwDEiq/bvimnBmX1/FvdiQfRly3sc210ptYmIBk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKnvZCRA9TVsSAnZWagAAFGoP+wVfmQqs1uZTsR8Ugv1t\nROQLLXYHMirbUBnMLIUFsksBGA+EyobTQiejWSyiD/rUISzcuaEAR7W+8XCy\ncushyUVBDvDIPgZHk4FBfj1bqUnyzjwuhAJJS4ch7zCqi6MW89BHp9w8Lr3S\nAr3Un3Njq4elweSjstlLOfndxCn/24jnQIHBgwbApmy+inLoUMydwDkwolS+\ndb8tLo6ntsrwfgWCQAmEL5pvZZLaWsmYVVYrspFxHe3pArJTxXF5LXRKbdaw\nWD7kLJ904iXpcSHY8nbu6KI/cbJ2xOudHLFAZMbaX1eOXc6+TbGzY+lTh4MI\nsJaUsJ3YLrLiWKj6aMrGEgMFXUfLFpDENQGDESlx9jNkNh7tlxiOcjtbw4qm\nypzO1PH2JLW0GcLA1uHHIapL+3vcPlxThuRQS1nTcAZIIvISWYLlPNNIBlXr\n0Q+5uoipzUYHk/Ls9QFUUrWtrRaDFhPY6jlrj724z9114HRn07OEOZmCukCz\nhQTHb1SYP+YvlSMZmHJ/ND39s6FF40ZVj0c7E7ucOtjFW9hHa4DzEUbyBNmo\naVRUdu+ibMw1JH+fsTWYNxHCBLm+x7n+OWkXBKav9F0nSTW0ANInkdawNlQC\nKTSw7kXBuT1mbKGojx9eese+30iCobH+sCe2cnhFg1HnqkWWKvmjloQPFrXK\ntdMA\r\n=F5Ot\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.1","dependencies":{"bpk-mixins":"^17.10.3","prop-types":"^15.5.8","bpk-react-utils":"^2.6.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.16","bpk-component-button":"^2.1.2","bpk-component-spinner":"^2.2.33"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.2_1529510872604_0.9232213979180486","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"bpk-component-infinite-scroll","version":"1.0.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.3","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b6d2b5a7761d539a772645d6a694480bf358cf9d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.3.tgz","fileCount":10,"integrity":"sha512-ij7Uj0F/qmbU9Rm3x4d9NzPZsv62bz7eZs6b3fNZQyvs/MrcvPLeERD1nyOEirBj9FBSGQoYzKAS336xcfaX/A==","signatures":[{"sig":"MEYCIQCu4lr0VorWgpWTrAPqscWqGK/ADB7D9/6XLJU5rW2ftAIhAMrVg3oDb1tWve2ynarZNLDOrXmoUETrcI4w6syl8Evh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLQo0CRA9TVsSAnZWagAAoMsP/ROntaUKbNMLeFzqFlu7\nbf1wruIYoUH8KEtJ5NaSBaUX+1IOqTwUt0sFHYIZhLonA9vfmvOBN2NT3U+I\nvK8U0LZKnEYTmVr1PmcZ2ZToH8+7ByEUIIroOTs/QpM1v+/zyUNRVJxGcaMS\nooBoPKAFVTdFObF0UIjE5E8Ow6FjsMJRcTRsOEUxFLVRvIn+k5tiQ/t/XmKJ\nzM8dHiuzR8Dr1Vs1SPkfGVs32qTg7wQ9T96AkSApibCn/p+lejvUKV2aczh5\nD0wgucDl93Gm4vY/P9xh9F9XlSPQ6JUSbmteKKlTWiXfaVCxoUtcqpYb7SFo\nPORn+ksf1OEVq4td4Tinxhk850WyzO616Uuk6vbkVsoosrsQbLsHZovRiNAc\nhZCfcSOBYvOZKvdlzlXupGqZMvC8UUGJSPXoIjFihPLRhu80I0CKgg1KWbp+\ndtuaHkkcqDLG/5SMHSJy4F1NuwqvgKhszFVvVlNQjQGJ7zWnVtpIEcp2/K1q\nAR+2+9Ttdtuj+P3iCECzxEXIqi/su6Q8HCHLkCUcYc1woXiVBsgJAxlUEQd/\nu219Jpv6l7G+Z1cWEGIBxDDx0A9yY6FdmTpIrM8K4KqFM3k70fmc2w7krTaT\nQAVomBau5XqX4dOhCyGB2RKBvDB9FXnMgrm5Dxc1l5BO35diiWA5WSXXGPRH\nFOyC\r\n=UWV8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"amolgupta","email":"amolgupta1989@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"bpk-mixins":"^17.10.4","prop-types":"^15.5.8","bpk-react-utils":"^2.6.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.17","bpk-component-button":"^2.1.3","bpk-component-spinner":"^2.2.34"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.3_1529678388129_0.7880073812912156","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"bpk-component-infinite-scroll","version":"1.0.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.4","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"067494656e984f7792552baba2f99928aa50965f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.4.tgz","fileCount":10,"integrity":"sha512-IlNwA2EpKVdUYX+ANTStEJG+mdU2INmd+QSTcMx4unEHipLJgCx3qr+HIYGvbFLvHrl5g4D/qpiQADlNjQlFjQ==","signatures":[{"sig":"MEYCIQDd0ES0J0LAletN2miY/M7paKyDF2RZ7w2X/BUtMUSmwgIhAKK+W7uB+F4BqJDw0PuopZC2A/3fVqZXwKa3UIXg8job","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRc3ACRA9TVsSAnZWagAAT9kP/jZD+ZsiNiViTY6RdE5H\nYN12Wn06UW8VV5B2sG90fc2v0phPYTOJmv4D3GktoW5R54VgaQ5Bk4lmhSmZ\n2nmcOMBuof4j76GAZdGxLu1bIlI2u29OM7BUT59LPL17cxo4Tv0AK2Otc1us\nEOfB2aaVLCHYBtZrcE5UPdrkBchhcYkHLzvhBx8gkvrLYilE0LRzgvutoeT+\nhHT6/MUb08P7VZ6rtaTj8hgAhZwoe7cNFpoNeTR0o+411yxTMrj+Q+EOEeqj\nr1gTZQWnP+bhNqIoPoO8B/kgIORJi9c7Afe6EHX93odhHCWq2meCVSCOtTXx\n6QEAJXZAphpoEPmoIzo6Gj32ofFVi7zlnUIei0VLLMHA+osWHfYVo5A499b/\nnRGAWrN50iYgUr9RuT9p4wLpuyeJKLoFI4AiU9mgy6n4eOoOJUJLSyaIvQRO\ncQigXHIO+ociTlExa9ryH6cQ8QIf0wwBOtDjwrgnFbW/ZSCqFM7Yq/aHM+9q\noNHtoy0fTcAvV7oRty3XmIvI8M6VeGhLu37F1tZwGvUrAYbLLbRfsWHBJbvV\nHRpxCCFZHEjaWjGCSBLhByURzR3NxJBSVaH3HbAj1/xgpEjqGgsXNQiVbnub\nGlyaEbbzJ1mkrRrGbnKkiJkp7enYUmO7uSDkigyHOWqizq3tHpcnbl5NZFH7\nfrWr\r\n=ow9r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.10.4","prop-types":"^15.5.8","bpk-react-utils":"^2.6.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.17","bpk-component-button":"^2.1.4","bpk-component-spinner":"^2.2.34"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.4_1531301312706_0.2166202560970918","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"bpk-component-infinite-scroll","version":"1.0.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.5","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8c02d6110932e9f40e29e1b5e2dc3bf6de29b5ec","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.5.tgz","fileCount":10,"integrity":"sha512-kmqTeJSPeQwp8oc256ADn48nRlhyP2+FAvIkCXmS2oGq3CZj7wqzaDVXTOB7lJA9uPVJ/JpGoZw/MRdD21EfEg==","signatures":[{"sig":"MEUCIQDC4XVUfTk49ioKKq8uVoPi6K4i7JLdnwJqTIPktrPxKgIgJLiFC4h+uB4wyP3K0/54o3NIv8WxAG1m3eGHfTmen2k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRzmJCRA9TVsSAnZWagAAMnsP/3k/OjfWcaFdPPvpU6ks\nxt53PJ3lAzRJjlqkRx1cNXsypT6cpfM3Ez1NOJ4fg4UKccGeOep1ugi/TPdm\nv9v5FuO1VjCWZEK0HksQ9+YoFTRfcjVSf/hVYmWHXU0RZDd0ePi0w/vkmanB\nvGRSuYdC4BFLy+1aNSxQGGjrxdQKVqwZN90t1MY7ss90IYJav+S09tAmYv0p\nlOtqHHLAiEIQiM4aa0AlD2MnP9nJvtQxBKBHII/OfgnzL3hFdD8DRBqK8iNu\ncPe8u9FTxSvem6eUFkAeuLzbl1++Z1SLbGu2tP5vG6L2CTVPNbz7ca90h+tK\niqMjoechKRx3ery1uGjRGso73xTldDeH5ifvNFwQjMCjCXGl6ESdkHB0l8pf\n7LWNiNljkyK5mT63+w8bHQjjIQMz4xOSXoAYC4wIg/fc4RJcbuO6h0vgMvLw\nE+iy599jMoXgP9Dp/dqhRbHsmg9JMlgjAac9riF95W5HkssIvl2vE6m88LiA\nTHRukbBwe/QfWFTZKL2BIWuB1UdCpJOMH6LBQ3x6k4EJ6Ss4emPnEpeYU7Er\n8ZYKqaPx9fet2R1TMukO8mQDct6JEHIUqcs5/7mKMya9481Yc0eZQHKYlA8j\nxxso28Y0EowMa/5+/3QZaq0UffEZpQAbS8kRA5oIOxf1kOj/kj3K/dXftxMz\nrMeN\r\n=Y2Cw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.11.0","prop-types":"^15.5.8","bpk-react-utils":"^2.6.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.18","bpk-component-button":"^2.1.5","bpk-component-spinner":"^2.2.35"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.5_1531394441638_0.28042719054704834","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"bpk-component-infinite-scroll","version":"1.0.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.6","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fcdad2e94fb93b88b028bfa23a622a695961eb9c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.6.tgz","fileCount":10,"integrity":"sha512-nCgoeZEM9ObP2MgFh9b7f7WlSXSxE1069WCXUfKY6nuA3yQVrZiDILgSsL2W87nyBXxZ/+ATS2RDllFapocDiA==","signatures":[{"sig":"MEQCIFm2btVFf6EBqplP35UJHuwbGxiyvhUAUoHT/n27rf5kAiBNnRIdPDb6o5ipJiFlDDianqpgeg6QxI4KvMEieTsg+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbTgUTCRA9TVsSAnZWagAAuW8P/22uOz6gvnIpunM1HtVh\nnfChQhJbmHzGMDQx9L75X2M1WuFRN5wCopgmJv218zZ9efX80id6iy9VTBFM\nGa/8UeWbWbLIxuyyMEFt3QJhhrmMFFq4T9ARYaGlpkkhL5PhbGQYAz02KXog\nWQqYYtTXEEyyQ9l1xrs+DjDBlZYUdb9PpJmBBu8FM0afcFmK7f9FVtNTwp6Y\nteJfb7bQMHhq8i7hTDtNHMfNn/Kf9BVD0BOCBFN6WdSn/uijp95pa2CkS3+L\nVcYCiqkqrWisD7i2hIz/zCqrWzLXCVw2Eh716Re4zvoDTqqKBmrRaimnk3f1\n/CMZXEu0Tawn2J4j2RAiCb1mFLqqv3sxFOmQnsMi+XiEZ+hTQvAO4Oot+Fb3\nO5NrZqtxrETIUVZRFioAlfYvurcuDvrPMYQMDaY/WWjS9dEzrYeQF29JIuIw\nOIkeFoNYFsKRPpx19I+Eu/JbIKJhkUpK7mStlwj28mZKLLZO2wh5xAA2AFPX\n+2oHkOscezJOtu/KosHQ9scZRX7iDn0Jkaht8qG8ZMr9OtfH+yLBso4rKVbc\nQcDdhhDo99ix/WcME8PeVcPGTuW0jNdy76twrJPWCFIQlSOPwx2AS7BdQ5Rq\n5l4u2MIULT6lY3tZt60wscbEEwtzVdVtqAICllYqesJ7jCuNWnAwIvyhiRAr\nvXvc\r\n=USC2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"bpk-mixins":"^17.11.0","prop-types":"^15.5.8","bpk-react-utils":"^2.6.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.18","bpk-component-button":"^2.1.5","bpk-component-spinner":"^2.2.35"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.6_1531839763012_0.1594902087564003","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"bpk-component-infinite-scroll","version":"1.0.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.7","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0b2426eccfe462fca1a7c7ef8e75870091c0327f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.7.tgz","fileCount":10,"integrity":"sha512-un+CbP400B7H8LCS/uQv5Xrab7T1JEMPCgDDUcvX6RYf4inXtV0sI1c1x0jjNVC6FtyU2PcWzXD9ZeDyZ2+ttw==","signatures":[{"sig":"MEQCIAEOkJB867KsPJmQXZmeocUzIYhyPJ7isvSsMYdgBO2DAiB6jGv8TZKD0OGq/QJ4sDRqNxLrNexmPscyPsTjC5D7bg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUgMnCRA9TVsSAnZWagAArhQQAJ4t1oygVaNnM7ki7NO3\nRwRFYcj3wFYy0xU8IfNpRcysvmgLiPsQx74sEzS3Dm/gN87kY/yf91OkdX26\nkqKm47T+7b84wt4KXiASU+pkXMQbYXqVBCK1b2/OcicuzODRNya//8agoxP7\nRGIiTafBwyE3PzgZMKThxVNFqGFslb4E+fd6me4RgPEZbdxTcThVtqJAPbgF\nnTdUSGOKbeIgPWhx34+UrojWr9D0HQXYnMnY+VeNkg7qw+ZPRV1dS0N7W50/\n8/oLVxACiTkA105hlDxsyBeL9mCW/ts13aaXJwCdvEmxZ53e0j3ZUR/Jlff/\nzw5Z2VpYym05VYi1tOpYxxEusEbUBrMa3xYSIiUuW69usAdWx8BMeEjmMY+Q\nOTQAoeGGBhimgKoYvVnmRDFa78eL9G1K6URsJM63nkm+bJknLtUG7xAMZHwG\n6H/pABzYZXci6g+IrLISmeJArHQlmBiovik66PVT+ArZ+kWGIVhhGdXN6u8u\ntIj5bsOCdMXWnqXHrvXbC0oi58KCoIRebQZLcvjnSNTEJvy4BmYxJmmAEP0y\nzDf8uLoU5ZwzJONPGgdyc8iQX2jxJrFakWGolmTSIqp8FwBGkbdmW1fNK2i8\n+2dUDFBoPRDK7ddTsBvCYJq24suUxdyQGuOh1lAz0kaFzTuIgG4Egb5MxgHe\n0tGc\r\n=1ZY9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.11.1","prop-types":"^15.5.8","bpk-react-utils":"^2.6.2","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.19","bpk-component-button":"^2.1.6","bpk-component-spinner":"^2.2.36"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.7_1532101406235_0.6954149508083989","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"bpk-component-infinite-scroll","version":"1.0.8","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.8","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b1e1620f25dc7d121e0f65e6480131d97805ca71","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.8.tgz","fileCount":10,"integrity":"sha512-1dvRwaeNo+uC57meMNdaHX/k23aAAVog8qOLlU1RCHT7vplw3QSH8yeGfaFFzJ1TCKT3SLOJW1pyVtfYU0U5lA==","signatures":[{"sig":"MEUCICllnNqHubXOej0YcZwsQPhthkGUKuQrjt0VRruzIWM+AiEAypemwCbf3OxQ1yGZRYCeGeCyLuVvDvyN61XCqCuaCB4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVaIdCRA9TVsSAnZWagAAgvMP/izxc7Us2sygvyYz33hY\noxWxrdDpKsdtJJlNExEYpd39zdQbecyIJ7HjoVQ2+qgusWqfAhXXOHWszmji\nZSpLFOHwcKGpjh1DmUsuycA6nl6yf7Hf8+R1KEaUFHjs1+H4Tip7Jn7/ijnz\nEmYrIMbo7Nsp0V8V+cbMsaBuXICAgfq54RQ6dQ7fL1BOf46dX7XOZD/iRqAI\n7GpInaY2HfF8W/ky9TkFNO9csNd54zJ+pRHxsP6FKvcyiEb7DeH0AWDdHCoN\nueA+OYpeLcrL6KwSRCLTrHTD+/uV7d/DXxh8BQomLZEBxmEP2iZW+SAg1rJo\nh5VdC3pmmux3kk0XJ+c2lhXC+XVZYgQ8m/gAhL5hAlr+gjPimXM7+TdQOo3X\nKYVQcspTFOALTijsQdQCFw56I+1wsP820mJWhEa31E54qucqkmm99qP0Mc/3\nZ2MtZ9k/6p8MHqa7uc8oLIYhOFqa5ZhGtRycQIzBhPDhbdyhiSujP8Bj54LI\nvetWZpokywi+VqyTLLbQxgQePONw2lzCN2XUe2QUKFCy+evu/m3M3rSrgr6s\nyyLzWCpwOo1UAUQ7LJy7EmYU5SizvUqDLI1qyI43Vm+dzGtX6D63iiDWrbx/\nNSt3RcHCbTZ6OCwmIbkVoyxh6I0kVB+9XKhGHbSYBjea680sW30AtfkuZjPZ\nbD6q\r\n=IQ2m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"bpk-mixins":"^17.11.2","prop-types":"^15.5.8","bpk-react-utils":"^2.6.3","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.20","bpk-component-button":"^2.1.7","bpk-component-spinner":"^2.2.37"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.8_1532338717352_0.6953119977455655","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"bpk-component-infinite-scroll","version":"1.0.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.9","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a4a4d8795e433fc4ce77fb8a34487eaf718e7657","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.9.tgz","fileCount":10,"integrity":"sha512-I5MQxEpUYXMKVubNRe3O414aV9bDLiF2gt5l9gEWWiYNeKxnJZpqvyvaZdv0Y6afTmF6WRKQjEXAgXxT6Nw/Qg==","signatures":[{"sig":"MEQCIB4zqspM5hpeYIG97FgN6e1iU5W47QMEQJrMW4oIkrBlAiADUrLKyzuLl5Ygxt9fJSTfrZtN/awFHFlR4z0s5KGpMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVzNlCRA9TVsSAnZWagAAXEEQAKLCOA9GEWjrIf51X9/J\nuCGihoBPUY1P2UPxCKv7Okn7mNnCNZWurIUNyanIsK1Dw15w5W1pQ7gke3eO\n2J868zkF8/EBpBRQH8rv7771C0mlfhp5P2/AF+CblVS+lVQPCkGn9XFRVqyK\nEW4OFv/w8sPFB52o8hNF0ilm2OfvZrZ9F31ABa9HK9UXOOPqguSI+kDFbDO8\nibaJpthPb/KMtzPkwOXKbT/xQo93v6YG7Kz3RmEu+1NmLA5t1gg6V7y2t6Oc\nqKJrbovD8ewJo6txmGG0TJJyWYS0xwZoMO35fLNYxx1zg1T2fB2uGlmti1nQ\ndtdDbMISaCbNQXJGlGhGeduxhBSwl0fgG7cbQ/+fLpybNeQ7JIwJ7wv0P/0v\nQOTtvXr6yCwXUq7n9LRqA2EMHrRscl2HobPUIkCUNCwEE8nohroBjOwNhmkS\nBsLpYbHnaKFJDhPMPUM1kUSXshs9rpJazz/9lTX0ZOfHrQi78mpDQAEkvcmk\nM8vYS2ayOGmJULZF7kYZR9AoF6zQ0DxlSFnehPPq2sV1vgYWJl9A3nS085ND\nilNZmsEWA9F0uhXHJzYGKqG5QHdxWZpLjnedPQaCmTofmd79mcFJOVcQBAsa\nNGeuK6oaGR77CUC8SvGufda9zC4tb3gM/h8NKWuQN0NiaHWO2b0xXSM9ctNb\nVeH0\r\n=QbOP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.11.3","prop-types":"^15.5.8","bpk-react-utils":"^2.6.3","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.21","bpk-component-button":"^2.1.8","bpk-component-spinner":"^2.2.38"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.9_1532441445317_0.8168621050361757","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"bpk-component-infinite-scroll","version":"1.0.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@1.0.10","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0bdf6413ef9149158f9d7965b32e89d10af137d0","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-1.0.10.tgz","fileCount":10,"integrity":"sha512-gmfUcfZrU+X7Fn95bMYafvBAeKYQUfvD+HIXFigwFSs8Wp+mAR+6le1t9LgMa9VRp5Cu+sh4u26kZzrfEc103A==","signatures":[{"sig":"MEYCIQC5oq9ASkuNtFxUUmiev1y/bpMM3cckC28wkYSaDHZvMwIhAKoAdGLaInrNqb89K1cMHETTxseO65bgmrUhjoa1wWie","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXzf/CRA9TVsSAnZWagAAzL4P/iz/cKt/CUTCn7mGURkj\nsxunUMdk6/kVcuVjJRZoDUo3Vo0lY57FKQOn6L/3oY6tYxBKx/lggZMUQXBO\nZPQ4WnFc515lnCdJCDQ1Rgy/xWLM1VCyLqtCv8cZ0sCOfDCYXQIk1rnE8w9/\n9PxJ40igJtaSnx09sdeoZdAIlAhLFLo0TlkfRClbBKRy8Qx0JA1PVPx8/SDj\ntu7R5lfciVWzv63IA/bZydujl/AnGya1ukeYMhi4FiPkrPw5n91zBnFmDsBh\n9UuBNQZojvFMaGA4Ww47a9ue+lG5z0otAvDapZJjTkiNOJsIb4ozf8x504gI\ncwZ79Y4FjXDvKjCKbNyM8oaf/xdHY97WffPt1/yI4X59ZGkiu/j58iTdzYsm\nCDEoGTU899O25n64udFpYM0x0XWd/VufqqkHuo/X3IQ9385FfSow/06OexuW\najs1ToWcQIYFC/xIVRKa0GAbDF+N4FgaZ9KY/3mXFfG9C+JXDVhYY8QRtchn\nT8VDH6ZYRSfx7VfdgP1OiRy8+GzE2EbtLftsZ2+lmR9BFcwsT52smPHRK5sE\nCPqnCcGt9QcCIM7Z5Jycm8fkeC9IY4VC4P5atjrFqPPGGlaCVqB4BgDk6QXJ\n7trVMHZekymU/qHY4Kj6L83E8lg+NCA05ybcBbg6StFSbCH0AFhbCkevf/4g\nAP3V\r\n=Dg3g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.11.4","prop-types":"^15.5.8","bpk-react-utils":"^2.6.3","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.22","bpk-component-button":"^2.1.9","bpk-component-spinner":"^2.2.39"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_1.0.10_1532966910821_0.10037249163068873","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"bpk-component-infinite-scroll","version":"2.0.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.0","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"309b24deaff6bf0a340f5192829257673f32ae8e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.0.tgz","fileCount":11,"integrity":"sha512-FxvIGGERvtJuo3iljAWkzpIoqvaQ6FD8gCzmnik0jgnpT20xfGNX5vkxoDBHlWGDpM0vmDwI1uH9inmFHJ39sA==","signatures":[{"sig":"MEUCIFZX3xydoBM8oTuJihZizQof/7GjwEpuAbDRQDaWJurtAiEAqPTqYAqNiRimf/no5Ij50A/pYxQskc9UjCH/CcS8Tfg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYY5RCRA9TVsSAnZWagAAD0cP/1bl29FUQc8zbG64cfLK\noCmD/IbbIBRD3ytBlKBYdjx6EKxjyBd6mF91KhQ8NrPZSkR45GBhHOHvznCz\nzyaCx1j0WJ5Gaol3fuAFuYgsz1eWE8V5M+tquxSyeo8FNTVR0cq3FMrVEKt1\nHxUUCwU9sAXhV2C9FXLQ1+rtnjXzrYgF3vW5bcRXHpA9fO2Wh74DYa6Fi4YO\n5kPxVLeHKpx8IfIVOGBwgL9IE3FpNIXkP2+qlscOkhPmT7K9RLC0XfT5dZq4\nRLecrkz5X13IoqMhvjQsDXuscyAI7AQz0VoZSQizO2VHhw+tbxDr095Oao/H\n2TzbMnCI8cILmzPTnsaz2qLxuWtDx47CdjIcaxD31VIn/HWbmNn1u3E9b/CG\nKa/zXrXNoP799QF6x1z3KN+0XnDOI7J9vrr27lNQyNoGWdRYd6YXWBY0karD\nM+C8hopTwlI/EDcfFKIx4IMECIwIwgqNyYQgojbHz4IOQ1xZFrz7iPkrhev1\nKp+BGcxRzOyu+Ko0RRNGOUOHUhE4zpBQ49WbbuBf18MXHVeNbxoP+4Gcrjqy\nfLeoGTETpeZuApSa6gu1SuxWjONkTAWPt65fmMNhUSCdCbo3+0g1aNF549QA\nb4DZVfNL0dQW0BauGmIWoDVDtUxVsczXzxt3/52BE9bItTkbtBlxlY5O55iK\nZkCp\r\n=VRSF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"mhdev","email":"info@matteohertel.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.1","dependencies":{"bpk-mixins":"^17.11.5","prop-types":"^15.5.8","bpk-react-utils":"^2.6.3","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.23","bpk-component-button":"^2.1.10","bpk-component-spinner":"^2.2.40"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.0_1533120080854_0.9347496738842027","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"bpk-component-infinite-scroll","version":"2.0.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b16d0af70bcb9c8732f89332134e98412f7ddb44","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.1.tgz","fileCount":11,"integrity":"sha512-jbwwgPbBTdSBcBrBiBoxnh+y7VG5wRp7JmpFyjeug89bkrUHK6KODECWY4kyMK5SXoLXpx+PElJKYS8xJzxw7w==","signatures":[{"sig":"MEYCIQCy4BUYJZqPRx/1ZGR1g27yE2aw+QPKshGHGqDU6NNV/wIhANCsOYF7XxZbDhWe5n6O9wyhVAhGEA6Brmdnj4CcCfDl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYbW9CRA9TVsSAnZWagAA6VwP/1XCFDKefDXKib9jLc8C\nxD0B9SiQ7gXCuY3M4Pfx4TjhKo2Sq/noiF3UrsgYFke/25LioqLdEdoFCPnG\nxTs4ex7Eh/ioW2FOdEpmQQMBOyOoOx5rJHdkQQToAYlZdSxRcX+L30Egi6t7\nPd+P25lgQRlopAIgqC6zJi0D9lcn6ImaeO3Z4R6r4sBxwExO+0frG75F/jZ8\ngcYIUdLz1VNiNQwxB8Gx6eOVqFmMWWdEW+jOBFj2SdfBW0LroxYz4XPpwsM0\nP8+vIWJOdPi05/ojD0vcRaLdi7BLZBquToTnezO8W3fT5IjHIavSLjJPZMPU\nsQi31Ih6xb/3M6YPg5LMotpXzb2/cUztXpxVBdGSzCJO+ya1Wz+ffLIBTZUn\nRskasaqBLaP3B1za59+wgwvAbRSrvPwud9T/0hPpMLMzsKSQrCUF7E5uyQZH\nKqZjtpI0MqBWKyCe1pMezSSxhIMrjg+2kaZwpwWnpmTN6s+o0lpnqBgm+0vd\nzXm1JKyLsx4uPqeYpnh1t2jtumJWjm9NzUCPoCDGxymZI5Mule+ofbnE5cLn\nhCHtzG1S3ESh/z7mzcqanxKlNS5AUsqHttrdZ8K3Kh+gF4yIcqv9pGXnFo7O\nq83NuKoNbTzD77C4SpWTwFhu+316feWMfhaVbK34Ns0b7Y5TFZ/872XtiJV4\nW+MM\r\n=Dk5l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"mhdev","email":"info@matteohertel.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.1","dependencies":{"bpk-mixins":"^17.11.6","prop-types":"^15.5.8","bpk-react-utils":"^2.6.3","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.24","bpk-component-button":"^2.1.11","bpk-component-spinner":"^2.2.41"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.1_1533130173195_0.7304568263441684","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"bpk-component-infinite-scroll","version":"2.0.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.2","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b3ce134a684f9628742cbe8c369c5824e1556256","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.2.tgz","fileCount":11,"integrity":"sha512-ApxvjmFLgCqDa2J37REdPQd/JeclQqL7+tYPgiZh5fOqlW1tlsVN2hxaMoL+RX06a13C2VL8CevpPF1vPdYARg==","signatures":[{"sig":"MEUCIQDHiPL6dhoSBCAJ91gFsubFVEl2i0KUhqN3Ub349l+VwgIgc08iBxvdVFbnJYpXs+10FYyDs5hcSOrdapVvM1zQmXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbGjfCRA9TVsSAnZWagAAyG0QAI0APmNkX9IXC4yER2zT\nomQbOzmtYpnBItEt048B4pNmHX4Xe38t2q1NCi5nEBNSM1+SUDX42ATzrlrp\n1DpyB7Tr+/dR5a3XQTAtLVjaUn4hGWGTNn64pj25ChYrMLzjSs4/Rig4rsCA\nwMUct8APNG2eUhXRfuqIZl73ugyxAo+kUqq5v1Q+eHPVaPJinkg+lbuO0KRB\naaP/Q/iMvhifZlYvtSPgF2qlELWeFCGJbM6U5XkSKikZ6ZG3ibZ8JUzpDRNb\n3kngypXUAQOsrpGi91UoLwjjeitOcqKLVTwkUBshtM7yTZs+FN77LNI+WqQV\naFBMPmkxXLQiU8HfQHVaeyOXn70xx5KysFo25DBi7vwYeVhQpfMqnwpfd9BF\n+UqSwAap5kJRUYxhevRV5HaxffgQyUqWTsparsUQMaIiMgN/McHDhT6+Q0Kv\neZ69HUz74cUY/74sdL0fi1QTs3KF333J5FWzrLfO6eHBIoQZ5ATP8xkBUhyV\nxnQcFL8SPrhPP3d1hRJUecgmyZL1AosLQ3+ru9tPAzSawNPl2nWykMN7NMvH\nSaNUIK9ojY7ZzTPJd2yyRmk3GMW1n9JULGF2yanQnlQE8s5Ttvgtkwj74WHa\nweBsHS5VZXXmfIe2vSmXpznWAaAOoJUePg8Ejc4aIsGYrr9oLvbnFXn2IEWJ\nTcW8\r\n=WkV1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.11.7","prop-types":"^15.5.8","bpk-react-utils":"^2.6.3","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.25","bpk-component-button":"^2.1.12","bpk-component-spinner":"^2.2.42"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.2_1533831391388_0.5088332954008814","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"bpk-component-infinite-scroll","version":"2.0.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.3","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"133c8b1d5b3e205100525ddd850da7dc08234d3c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.3.tgz","fileCount":11,"integrity":"sha512-ErrWOKpqy2kyKFC26RayKk2JvmJsY5Jyp1OzBHUpwYyjj8NxsxvgXGjbksPxzeLwHxht19DRHt7fC39l9QEsEg==","signatures":[{"sig":"MEQCIEoNfh/y5muSpeHcNK0teiToKgaSMqHVl91Dn8TLbXKBAiA2qGKhokr1FiwE4raXbWpNAfUCnasqQOIOunS+8Hg8Pw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdDEYCRA9TVsSAnZWagAAdLwQAJQ1dTPqIk4p1qPcXuaU\nkKYe+/n7F0mylfjNqw661fKawy59UEbwpCw5Vc0CashKwm4MwJ+vihOVimM5\n5Y893FoFY+4j5rnRylre3JQ9qhT41XPCH15nHCwwbPcQsj3HfLqIrxy/UOw5\nwhWBSOGAXuKH2o0JRg7x4OoNtJln2ei69qjSJieAG0c+CveIgf+cRm+MfQyV\npZWnJ4caVYZ/1f2mdHIR/LH7v4rktmUsGL2+ZUkY/cV1LjamKT3+VHIgXMNM\n9167keuQ5HS5S5j3G1aIaUaLHW2bG96FwQQXynnK2OgpZc+gPxBRIm7m7rLM\nXmimgLikaNbjrUgY4Tbb6Lsrs+2My9HcSOZq02ESUXDtJm13WnAB2QYU7yDy\nJ7tWAZTB5W6Lpi68gmQPEDY1k30nofpUnVn8t2mirVTc36Gl0KB9N1FVSFU6\nlxScOHIuJT2+l114YvtefXnLJVNzIdUu94K2JKpYFegiJfvHUx7W2uZjvytu\n4PZOp/BaIM/bz+4BVwmXZckOwDi2TmrYdR8XwlXqgU/wWntRInTbl8zS+uaT\nGCPthO142gPIHqgS/Ek/4hYHZji6+saL4QNe7h+zkORK2n7VhiR3uJg2eXjW\nuvapo5YtNmcGWXczsDAMz6gofCtLvyjHsUQVrpS7+Qk3A6nViw9AsKp06cyV\ngZvQ\r\n=z09s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.11.8","prop-types":"^15.5.8","bpk-react-utils":"^2.6.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.26","bpk-component-button":"^2.1.13","bpk-component-spinner":"^2.2.43"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.3_1534341400222_0.6858633391734341","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"bpk-component-infinite-scroll","version":"2.0.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.4","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"edd9a7881b5854c1db5f21470afec88bad1d6f23","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.4.tgz","fileCount":12,"integrity":"sha512-e15lqDEVWj4tGP8HW3i4fGYhfC2irkBWKmdB3/aIhQ4K2szb/IN7GqbXY7UeezD7XzXEVthbWqnqHOE2I3L7Dg==","signatures":[{"sig":"MEQCIHjiAslI9DLhEvhmWobDxI5B1Sw2YtoFIiw5bskM+1f7AiBmVdhkA+uWOglDPXOfGfsqVwLAY7845XE7sXegtpXHtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfCdWCRA9TVsSAnZWagAAhc4QAJrFJYkKsJ2krDhjJJ66\nhVsaIOAKw45c4kxbJ74ILa4+G6Bg1TnEaDsGgaZn2d6OPw6Ek/5g0ScZX/Hj\nq0mZ97pYw2JMjcA6qwBQbBwgngi7ASaY+Vw2ReNlViNSh2MxTJMd7SoQ/Jpr\nn9OE1nL3+tO8rkO/hTm/hsBFpE24z6zeIWiEYnrIjJfrv+qbEK7shU8MfbRs\nTbO6ugqFrF2HdXdqxlMwsi2dJhJd93LlvzZ6KKQsIVjbZOY80nPomyjSuiIP\nLISos4QNkVzfJ7A/h6vH/gFVQeCJ1ln4jbUdmv5wqd6S1AXoZ3A1goaQeaZO\nSOnC42iBHMafRqNedTTXgyKN7hof3pFNv0Xq8zqnZRN5JLV/fV2sYx189DpQ\n5HruqzrRK9WIlMnKd4QGrbor7SAclF8d7OjDmjAUdSVd9HMHWwU6D9HNd5ET\nbC22KtNQBNuXovdBo7cI2Cm0lOtWhYj74bhCcn9QY0PQY4jBMQKwPtnPyGTe\nisAO5XJ+X0fDBpLIDIQTbuzQg98vNyWgwH7sKfMS8BdVMrYByroJEuYQ/yBZ\n7mnIffL1sPcEoVWamiQv7KXvzr5657Lf0zovikWD+QtLOUvS0vZrG0YNvf4k\n/QbGOfcWAICQO/A0mt8Wqczo0gF371Q7XTmSgA3FX7Qky+HyLj+nh71llnht\n3Y0D\r\n=BAV8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"95d6b1c79937d90e447236039051436f41eea88a","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.10.0","dependencies":{"bpk-mixins":"^17.11.9","prop-types":"^15.6.2","bpk-react-utils":"^2.6.5","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.27","bpk-component-button":"^2.1.14","bpk-component-spinner":"^2.2.44"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.4_1534863189697_0.1363663876988359","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"bpk-component-infinite-scroll","version":"2.0.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.5","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d2e9aba0c7d2ac248d776373c588709e33f48d10","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.5.tgz","fileCount":12,"integrity":"sha512-8A0Q4idcGZ4qAFirssMpFhxKSxBLrwyFdeMUSeuX5A/TknU8MPH93C8XLA93ij6AsafhDa/G7469yhjNbWNzHA==","signatures":[{"sig":"MEUCIAR0kpH5g9pOpB2K1uJgNObnajMP176g2OJBAHDWBIO0AiEApRgtof85nUfNIlDVmclHdl+uowmfekTx92ErwEwVWAc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfYxECRA9TVsSAnZWagAAH0YP/1UXgW6DMPrt0+i0Ew6n\nWITlWtpNPjLkY/+u+KYwS+YrpYGwQ0eNGKco0NLJgw2+IxkGa9XzRjkRQ54B\nBTSDMkBgehvPi836CD0mT24mHVS+6gjQog+4hSLtfoYDJoqjQHBj2KI/rQuR\nNgVKWIPdW0Pb97UujKokDXrPysaI5/gOcvjYoEBwnr96VJprZnQJoL7voioc\nO6DqqiUryxgN8By3fMK0UhNJQPEG8WgbTkfVX9fh+8emcdzQAyeYOexinsBH\n9udX1JDUIYtwCdS82qP7rC5Gh6sMbfb7Vf704V+6fjsYRyzzPtOq+XTPHFg+\ncaUue+DLuWiIq2qUk+KkkVqPFFfOTX0pok7LE+T4S9N7O3KiQlNdBlTiRVkY\nzJog4Q3K2ULKm9aeh57OG4U0+3iX6v8oJWTiHH3gZapIzT+ZnO2uM7mcX2yX\nHfD/qC/e313i7KL/q2y+AxAhgBb72gEchZYHjlApCPdLeoj+0u6YVj1MiWwK\noU/4DjElV1IDdBeDoTor3owGFm8K2BQFHGwfPINmUp+ozAM3QvNDIPrILSyJ\nuCQNbVLbr7I9357f1yX//EXsyrJhlyUa8uXUbGkrK495pDNdwBjcU4OgzjMt\n7DP2nVchVxXDIL3S0Lfkafb2PziaNT2bMzunJbLmiET7BXsR1vXnQkJ2EFfA\neUBu\r\n=puYh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"315fcd9b8e5c34ae646b9196db755143658cdc12","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"bpk-mixins":"^17.11.10","prop-types":"^15.6.2","bpk-react-utils":"^2.6.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.28","bpk-component-button":"^2.1.15","bpk-component-spinner":"^2.2.45"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.5_1534954564192_0.24046171138746342","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"bpk-component-infinite-scroll","version":"2.0.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.6","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ba8251c5ec535e05c121b248ef743391c768a5ed","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.6.tgz","fileCount":12,"integrity":"sha512-H501sL889QSNzx9/DFbkmMR4n9QRuxkzuFVouWyjJAhefLCKxODayCcHhhSk2+mE6R7fIPYoHiUNgEksLi2/iw==","signatures":[{"sig":"MEQCIBc6blhTGdhKUiAVUmxMjwhxC6F1ncs16TAVOyqGo/i0AiAkY2Qk7RSnYEhNI7wHhGwA1LsCoV1kykTkcmHSJNM3Gg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhS5WCRA9TVsSAnZWagAAO1kP/jmpu2Tyk34Xt7DiUugr\nWR22QAmzPAnyfSCvXzkZ/EcORROGFDzjMtpScj/9gNEXabeUTomkyS3Sk6PJ\nH5t1lG6MMfJ2HycDwS/l4Sc7e3mxxxMSsoLbZQDZYs2Rdh7ONGxssNkTuvh5\n/lNkLhaMqukzeNKBMT7lRI6KmWgLj3OaoG9yOyFSlLsovxfAY5jXGahPzgqD\nwx7bS8OZFVwN6750GFv4jU52sSE0c3ynHdBDeGweTXbMWudx0MBy95LuXovM\n3H+JyuqmBRTqGAIXv8GnPVKh9ypZ0PS4PSXNMTFoGgvGGE681HwK6jMZmcne\ngMnYCTHNat8/b8+3RykiRvtzofR9MZ6eaitVb+Wxo6aIm9DZ214nlO12e+z4\n0u9prHQ8mx0drJPNX6s8dvNkAuylCaNM5+3CS1BH6aB/CST1gDn/Dn+BcgwU\nboLZhQGwarUnrdKVwsS1LcY36e+jk9BkzICGqkQID3JrlIdJwTiq9s0gcfiA\n7KiPS4eRZmFkpwA9NKvzIjvFlpirT5MdUEZI1nKooDm0F4rM2Tt879U3B2Kc\nVfIMM1JivCiljDN4Fy+tHzrnIDJCeKlet3EPXGWAGuBq0vl2Nizj3dNI9kn7\nHRoBWWvWvEbIqdJgfEimJ3n2rcZ7IOzJskh8ROUsC5UWhh54Gu6C8rySCZON\najdg\r\n=C5/W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"578a22c0e9afbf8e705f5ab7d0501cf8085ddd8b","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"bpk-mixins":"^17.11.11","prop-types":"^15.6.2","bpk-react-utils":"^2.6.7","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.29","bpk-component-button":"^2.1.16","bpk-component-spinner":"^2.2.46"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.6_1535454805490_0.4421647378847515","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"bpk-component-infinite-scroll","version":"2.0.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.7","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"837f81c2d34b665abd27ca986c2000747a064954","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.7.tgz","fileCount":12,"integrity":"sha512-rGwvh8e1CJQMA5LvEGMXVv7Ym2X2979zT5GKWSTlUwwJ+p14P5EoaPa3AatUfrKnirK7JpYr6e0D4pxqL6sIaw==","signatures":[{"sig":"MEYCIQD9sz5p45UqQiyVA/4wteDCX1Agj74TBCkm/FtM6Psb9wIhAIw+M73TcwSZGboz7HEbBtM2dIqmKoG9erS/QRTxx9LK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiVusCRA9TVsSAnZWagAAdhwP/3GqUg+azIab08mt/LCF\nPmU17f6ESrX9Sdibj6IWE4gsC8qXBI7rrnF19vZocE7JQ8+2F1xSyq4fWH/G\nZXF2y54PNIghSenw4hCa7LmJZEV9haKOq1prVYH/HvMBxjRBE2FLhC9ptO4j\nZ6K80/ERRFD/uus1FbdooPX6yNdN/UfWvcwAztnj3puCeAahaFyK2RLRCYFh\nJSrnhRqMoNxBfh+VODTMKzB1hONSw/F5fnKmjCzGC+uvNbPTwwUYla1mdxpi\n6rkwop4HoseEulVQjQSAiNW+7FqXqb0FtlzrEUQpVqtaB5/wfV9NvyT5uts4\n6Mmi/PDzNKbhYjEdU3kUfR7BIzMOWuQjz4AqyChjsADRj6UJ36xICVHymg2U\nIHTrBmLPBSeYE1QHdaD1UNtSVqYBaz5MaQVxKs3Ub0S+UlvKge7yM0chEelv\nV3ZpECmb11f4PUkTSf0JA6/0XrOwJltYS2a6487FBBzl0vmmpmjfgi5xH5Yj\n3Z8MS89prms8a8gSrmpbswAvQid0AFAVk33LSzTenMxIiAZtQ7xPDE0x6+3d\n+7pwDsmEfUZI4gzZFJ9lfiDduT/F/MvoWmy9tOUs/7BqMqlmuqVtKYYRG6By\nwifBK7lggW997vw4uh+0/3JxtKMAtlvasMqtqWVNybYfmrujIC9pK/0zVQlt\nLFsP\r\n=FKsS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"544218c83fe1f761c3de74b82b71cff520d02739","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"bpk-mixins":"^17.11.12","prop-types":"^15.6.2","bpk-react-utils":"^2.6.8","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.30","bpk-component-button":"^2.1.17","bpk-component-spinner":"^2.2.47"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.7_1535728555597_0.2994419101816992","host":"s3://npm-registry-packages"}},"2.0.8":{"name":"bpk-component-infinite-scroll","version":"2.0.8","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.8","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"686c38c750acd461d520e62865c97c31dbb712ca","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.8.tgz","fileCount":12,"integrity":"sha512-Bhp3XBk/1JmM0EedVgx74g5SIr64zqWpirVflf3LsqIo/uxJPPgX1JPbiYzjIj/T9INCeR9jAq4MlpNP4DbX4g==","signatures":[{"sig":"MEUCIBaG1t1+A08xF1NHgVj4PZZ82lBQ3fYgP36IctA3N2GiAiEAvFBBeuQ6QMY8Gr23vOY5urBfCeXLrG4oUtRA7VY5rtk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbj9JRCRA9TVsSAnZWagAAPQQP/jsVqHdRwhtcp39ZPN0/\nwoDbjR95gLb2QdGysGg4fqts4gFoTH1k0lfcg9dF5M2KXFlprp6rdrtAkiqY\nEgciemUSixnHGZtFeN50fyrbzATHvxqvkYko7VDB1b+WgA56j9kwcQGkD54V\nkeCKly1YtGcZRrGyVGq2Os5g+quTkJZElxa5DhL5KdAiCz5p18lS4jR0nIj/\ncgKqQzKTdqrmXl6qBthtesIC6+k7nK+HUCvvA4+62vXcDthumu1aWaQqPvaK\nXYPJlKV0H9lm0WnsZVjwEpQ5tvXvCB2Ucjh9XoOC5SfCbRnDUpdpt63v6dCP\nhOqb0r0ZcB2EkxDnBFAjUC+lujKNus+I3I9SzH7cPatrbj5uMJwhtY2ZxhsS\nIY8NomwTK1BkafV8BAI09jrTF9UBNYcSV+rEUrT7ji2Y+NodCW6D0d8hRoKl\nj54oUJ7EMcUSepHvUINGnG/BRCACTlB7SBdMo7SgdwzPXdPGRolPebixFgXD\nLrE/8PP2ilZzYK5MUd78RQzhVUi51OagMEoLhb04sRb99YpEMDQ0JPKBMNqL\n6BMuBmB2HNg327eFl3NptyH6isOH+y7YrXMoPG1OpJIfKopOSlpzAK+z/KgU\nPX5nhYFN7STGs+4i26cBSymHqo9MNnORMSKYU6AXNwSVGzl2j/sEx7XML+9L\n035n\r\n=HpiC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0cfe19947e01d634faadf0a5bdcd31ab67b7e5ad","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"bpk-mixins":"^17.11.13","prop-types":"^15.6.2","bpk-react-utils":"^2.6.9","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.31","bpk-component-button":"^2.1.18","bpk-component-spinner":"^2.2.48"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.8_1536152144817_0.7013073199021176","host":"s3://npm-registry-packages"}},"2.0.9":{"name":"bpk-component-infinite-scroll","version":"2.0.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.9","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"cc6fb53768820758b4e4db4675dd3085bf8b798e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.9.tgz","fileCount":12,"integrity":"sha512-ABfQHnerGlMEGTUB8W/geNG2Uvn0GoquPts8HAFGXuB2EnZQa7QSn55WteK86DC0Gx240EgNPz7GA8T9iFUuZA==","signatures":[{"sig":"MEUCIF8PjcNjaYkUIyDblga83cHXNNYp7lxqBsy6cXuOzbaRAiEA0lyFb3i1nM8gYrKqLF6aAtRs7XHwsYFAVYKK3BDCbV0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkUKqCRA9TVsSAnZWagAAMX4P/0HyGjZXqbL4bf9e8POo\nJ0krOVyti8q4pS31OsjxUCk5uTY3ZGeRaf5euJk0zrqWeBCzqz3mtO44aOUg\nX3grXQiJXwhB7RBUuQXIMsgsZ4oTbyv2SHSuLP6uXm3wfYhLhznARlWWnC0u\ntcMMRYWQobnZpQFVE0o7KKcnhKPDwCySIMHuxawCN3s09tRXSNDzsBhZnpnS\nHNVR6us+BWlzVjHTTDIyN3cy4YSJbCY1J3pp6bjJVd4cLqodfohi24mvyGN1\nnsmStrEII9AcuFIZe77N8IIHcs2n2j77KcW3MgGw3LQb9poLL12q+3km3tw1\nPL3H55bVkmK81fhypPx5q+zyRbOaWjUOvKEFBGMM6hkOGHdUXBayoAWVYPAG\n5BgqQRY8qWy87r45lsmvEWuSgnhqKJFQMMj/DwUDRKHLIhTC/kzDp3toJLWV\nwiklg9j48j9cqPWPRAr5DD9RFFJo+Z6dSY7AqxpXQE/sWcQ0dlSUpw+I19fJ\nnPsISyJ7LUU+EFLDio0PN674VtsLUfBl66/B2CprV3Hp8n/PPvfjMNxLYhFW\nKRNB+9+wlFQVb3oymg9TfA3vhS5Pf4tIIlZ066Je5drawqEDFDsZmoL6ZmLZ\nBzbiA4GTxSAnE7GUNhbDH14wueClr8P5hD+gwMcTfPGeCOnLpd+68LeXu3lF\nLiJq\r\n=p8TT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5e199600b2b82e3c783b67a54d1a8a3fba4056f5","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"bpk-mixins":"^17.11.14","prop-types":"^15.6.2","bpk-react-utils":"^2.6.10","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.32","bpk-component-button":"^2.1.19","bpk-component-spinner":"^2.2.49"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.9_1536246441942_0.724219443537677","host":"s3://npm-registry-packages"}},"2.0.10-alpha.2":{"name":"bpk-component-infinite-scroll","version":"2.0.10-alpha.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.10-alpha.2","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"aa1aec8af99ecf64a7c55029295f445c54005098","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.10-alpha.2.tgz","fileCount":13,"integrity":"sha512-5tNoC1AUj+OQN5CFD/C0NpSqpuBJVJu3jCIlq61rTP2YTW7ZHd5mztQ2ItJwnT2apJNX3RSu9fkojCNm/15GKg==","signatures":[{"sig":"MEYCIQC4If08LLfPliDKkOM//tei1jJQZHWB1nlJc3WMoaUVugIhALWyqAlA6R6pExFZdqjYqBbsAaQqc5ouVlgionX2MsgU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbloT5CRA9TVsSAnZWagAA0+MP/33ynlaHFfiuIPXqzgYa\n+WrroKLoXJNhmRSTakoXYFc6y0EHI8UtCPbobdsHuAxnzedTAnJohS2IqFxI\nsYI9ds4oMKfEBjsKQgY+q2A96xHrt0F4BoC2qAss2jQHPLYrXtrr6ByRl8LI\nAPxFAUn5J5DOMaST7Tgtp7k4JX+pGDER80IoAQ8N85/kDDNKkdzosdbS2k7T\ncIkWGQZ3iqfFAcTyonilEAITmPw0tWYHmBO1NEzROLy0Ne12rKeieFqVGgyp\n6jp+rTggQq8HeTYXLdWlgAR4HcXP3X4Iv43r4oKM01b3K5+wzp5PeNGguXlp\nIVAxgE/EZDeho5MCP7FigNsJ7jg4Zg09kLgcP/JV8V6in6wm+j+bG9zfSssh\nKNjkkJpgaija4Jflc9U9oQb1kYDX5qPDyufpfeJxkY71ukpUOaQbPrtS/UKh\nnNKOGotJx+bVPHZuENkC1C8lv4LE48YG02Dm8GpPNldUKTQNkL1UzTyrOn8n\n8VXcFHV4OWUhIa6+OwpqVvnfF25SsPksEJE2BQrIY8xsVrbehF+joq5ZLbBW\n+Jl1NNPCqklDA6SSM4ieEpXcopLK9DU8oeZ66CmJmLQzikCtj0nb7J9Z060/\n7IY3TlQrufsIP30qx5yuLHBgn1EGHeh4VOUR2kKWNx0w2M3UYLzXHHj1XVHm\nouOC\r\n=CMQh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, { ArrayDataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({elements}) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n)\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n]\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n)\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the InfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n```js\nfetchItems(0, 5) // should return 5 items starting from position 0\nfetchItems(5, 5) // should return 5 items starting from position 5\n```\n\n*Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`.*\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n)\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners(); \n    })\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList\n    dataSource={new RemoteFlightsDataSource()}\n  />\n)\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n*refer to the `DataSource` methods section for a list of all methods*\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property               | PropType                | Required | Default Value |\n| ---------------------- | ----------------------- | -------- | ------------- |\n| dataSource             | instanceOf(DataSource)  | true     | -             |\n| elementsPerScroll      | number                  | false    | 5             |\n| onScroll               | func                    | false    | null          |\n| onScrollFinished       | func                    | false    | null          |\n| renderLoadingComponent | func                    | false    | null          |\n| renderSeeMoreComponent | func                    | false    | null          |\n| seeMoreAfter           | number                  | false    | null          |\n","gitHead":"d77ea53f9035c59196ad45193b12db6ae060a939","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"5.6.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"bpk-mixins":"^17.11.15-alpha.2+d77ea53f9","prop-types":"^15.6.2","bpk-react-utils":"^2.6.10","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.33-alpha.2+d77ea53f9","bpk-component-button":"^2.1.20-alpha.2+d77ea53f9","bpk-component-spinner":"^2.2.50-alpha.2+d77ea53f9"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.10-alpha.2_1536591096720_0.25585510778068077","host":"s3://npm-registry-packages"}},"2.0.10":{"name":"bpk-component-infinite-scroll","version":"2.0.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.10","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fe47ee0d15c1d5101ea0ad9f7e0db830d6129dac","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.10.tgz","fileCount":12,"integrity":"sha512-R4gNKHBSLl6DGNtQZxnq8fm2Ti1f50YqQYqa+L6eHBgrw3ouG5JZhj0jVbi43e3peSlK9SbtuH77F1WWlhhcEg==","signatures":[{"sig":"MEUCIFMwpXUW0lIiXaMx4yfoC1pte3aWbD3uWUi6EkZdE9/SAiEAjNmzEuLUSfAepeMKts7mqoO6F+iPFbAG6clmUB/7Z2I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmoOQCRA9TVsSAnZWagAACrcQAKNC6ZqYc3xlk8uvFcFe\nYWff/j6Mceo5yzLIWywwYg+F7zFi037BhNIcKg1Onh871+G539tj2Mzyvv5i\nzGDV5+ivgE6GTOQQ46hKHT9p077ikOrQ8Y2+nT+9SCeYTPrkDT2cXYkmQTLU\nF7FwodQwMtvR+Gahc7ktrsK4mSCppd+/yjyC+BJaJed7olt7NWWNhFP7rRBh\n1q771YUSqI3GfdCOQ1n9FU+qWkvPLl+DPYXu4N2NHLBQazghs4Aoka1DFFwY\nZGcMolXML/eb94T3i724sg8gdHFWmiCZo0OdpiKU34VDeRdXF6H0spcGcgbu\nNdJiXu4tKh8DfRNzaRBqOg9DViqtqsPNIWM4Hel/JsXUF1GWKzbjJLCjiYCt\n9M8ffKGGjUWfBdBIdtXES/Mk7wiJ5/83vLF2psSZ2eny6h4xQlQFNGA3ODQ2\n6Xpz0gIjUQAMdOIpz9P/6NuouRoK0FVvvGYlQ6KlU8X/jtoc0N2AGUM0vqdC\nli29GT61f2Gr8y7Au3m01wh07RYi0sqQ6Luaiof5lnBwydUnVsaZog+f7VYI\nDxZ0ma3B/P/bRwfFYMq00UcTlaeRFEjmIn+l+ldBACtuGFvYEesB/hHrwY4k\n6S1nAGl6ugijtxbB+tEE+tCbC7HH8P8WCir+15NV/JyaBejZLY2/0UXqBgNZ\nr0lI\r\n=gK8V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.0.10.tgz","gitHead":"90be1f2e920047955832b9579f48811ecf44d335","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.15","prop-types":"^15.6.2","bpk-react-utils":"^2.6.10","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.33","bpk-component-button":"^2.1.20","bpk-component-spinner":"^2.2.50"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.10_1536852879382_0.6812592463124092","host":"s3://npm-registry-packages"}},"2.0.11":{"name":"bpk-component-infinite-scroll","version":"2.0.11","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.11","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fbe06985c9ceec535c2fce03f60b62125d3ad0da","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.11.tgz","fileCount":12,"integrity":"sha512-LS2pB/qRQoxYwi6GNRxc+ZIK1go/ZVoFsuoNYvk9uD3c1ittjRuFoxcZyA79Xdblg037CbH2L8miO/+Fgzmfgw==","signatures":[{"sig":"MEQCICp1iHnwtvdOV5OckIKDqgJeayXc0Oo/mNQDBYRwYZHEAiBrTW5ohhef1GWgbRQDYFTGD5C67kE+Q1LGcYoUyGRnwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboWSvCRA9TVsSAnZWagAAgg8P/3oWFUniaTw6NVf6KTNy\nfdE/kuBfKyCFGPdELpG4kf3RF4LDqAgLjG/YqG+MDUQXyi23nU6xaAGeFqh1\nr0vKVgtGBlkgkVdVMaQErwBjJnDLZ3+dcL0+9OHZc4+eqhEpB0DHM4UBx7/O\naJu/ccBsX/pMrWfBF3xRebeq5b1m4ySn2GGzteD7Maumc6Gvj9q/XGJttn/t\ncJxCyfKrsiqlcLnm8BuVxE70e0T/pbrz1xkB4ALcMhKPoJ5beSEhXESxkeKQ\n7ExUrK4X6wVdm06kpFq6lUc1V2KcI83YX2xjkEZYN7FtizI0yUmgG/GC0TH2\n2NDARpxSy8F8CRsUr8yefwh5KIvXtpEh4grYNl+4po5/SVlwH11sS9Z87OXC\najX7kLx9r5u9WktLaF48W2HRM1aOsiFY4CYwhMqsGyxkYhUDhxWddR8BP/TG\n292iPZjZW0X6y1QE/x2Y8YqpDdJvHpWHNA/eaxCHuuSUpHdNGy5qqKB/AcF4\nGc2KqwjiG6CATL03yWwMUe7YhOc53AArhcn96oy4ikzEuCYRMV+jdaa1g7YN\nl3vVA9mCB5UEadtV1fimaE/oUNEgWf2lPAOwMkyNCEDjBpsdvtxXeglhQosU\nZ4IZ3BS3AVxJwgfPp4V2pk5Ds48Ck/CC+OE2ZzGN3L7bXl0qAvAvjBml7bIC\nIZGe\r\n=H3wl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.0.11.tgz","gitHead":"2874de1c51587ed43a3a75a0e2f0ecfae5053d98","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.16","prop-types":"^15.6.2","bpk-react-utils":"^2.6.10","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.34","bpk-component-button":"^2.1.21","bpk-component-spinner":"^2.2.51"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.11_1537303727195_0.18043525258943438","host":"s3://npm-registry-packages"}},"2.0.12":{"name":"bpk-component-infinite-scroll","version":"2.0.12","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.12","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"dba1a63a10b46bab50014c8b86a2e826757870d0","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.12.tgz","fileCount":12,"integrity":"sha512-rz3eYV/aHC8Nt9a0ldgGEBzx7eDcBZ7oJIHwzDEP8FfUEXdNHveSHlSd7g8NzLgVudKyjrv9jrusURJlcamNpg==","signatures":[{"sig":"MEQCIHI2BgAPyIv+VDfC5yh6Jnax0EJ9kElxup7jSg/OQFIkAiBQfmurSfAbYtY4zn6+oc+uJRzy4VL3OHar7/dzt9tcHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtMNcCRA9TVsSAnZWagAA+m4P/2wCoIZpuDj5QGLHtUQy\nfwlTBAJL2Q6M9BAoPQanFZyi3TS4F5gcSHx3MDLaV2KLugb+z1kOA7O2yCF9\n2yU1vF8gp2O6f0HrJULV18uOZY5/da8v6ZViSVwxHCBQzNJ2iIlPsNgEhyqI\n1II9EVEdj3luqxtJjEOglq4aiXfYf7QoLC+WieXaOuGcRmCid2zw2sAbztTk\nKhCpW+nKD4ukMtBPuiCUUAYDYetcCUTfBOXgoHJzTMWpUJPKbWQnp0fDZ5jk\nJcvooVroRSF3+zhF7yUkvM920iGQy3S74m8tAnkfH4Nk/k3IPLPYFR8b+uiI\npnLuVBNbyOJP5zjmtFDSy5ph1RUIxJXnQObNudrhovqGU4n41/LD1iHA/GiL\nR4iFrXFluflSsI+QOS0Sjl2AfehDoLGyAd31i106MV4Gc4ZgkPXpwna8H4p0\nlOHuwG3z+3mZrSlxKaRO/p+SwvivElbugKZ4ZXemEWCOxNTkTavVw8PbS06d\nYQN2PNN4aZ6fyqGKdeCYrTt3hI/QPGZhwoegAfiyjrcAqFNyGhnjwFavbGzB\nLdSOBFuDR5AF3B2eHBICX0kP6pcVKynCWC1MAGB49lTPnLnc3XhRc8nhElN+\nBl7sYHsA6yY0EQkuYb5ZFCJX52OKVBIsNyU586eN2BydAqGw9La6zDco/twy\nFr+F\r\n=/h+S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.0.12.tgz","gitHead":"a0e0ceaf92092cda04a7ff895d35a12015b30a0a","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.17","prop-types":"^15.6.2","bpk-react-utils":"^2.6.11","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.35","bpk-component-button":"^2.1.22","bpk-component-spinner":"^2.2.52"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.12_1538573147640_0.27220024356816386","host":"s3://npm-registry-packages"}},"2.0.13":{"name":"bpk-component-infinite-scroll","version":"2.0.13","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.13","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9133ea705bba16f484c3eef82ff5473a29d6ca60","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.13.tgz","fileCount":12,"integrity":"sha512-cTuuAppolZSULItBx0AfjPw4ZVHzvUzktqyW+B66dflDgLBBf9ez2ugT13DEBC3fpVX91Ad4qdDGxsFTfdZqJw==","signatures":[{"sig":"MEUCIQDysXBfM2FYDMUoL0erdIs+FYbElDCMlu7olYUFfkkoawIge/B6TMfJ7Glg4kA3yIssxW/e3//fmOzFa81HcMR+yIo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbth26CRA9TVsSAnZWagAAkmYP/A1gelqRkroeH4XDzhL0\nBxgozBQsn84ESMXyO4fXcQdo7d9KWMnKytTfoQ2TXVF/4nHDDe+f8oQPnZ16\npuEAmVbY9O8usGfNUXjsUxj+WLe97haWvNsnwm6joBZNJ+QNVzn94CnqNkDq\nnDOiQV6CWrRcFkIoHkrr3g85VDQ+lz2PRKXUCMUrP/M9nW4AXgZxBwR5xQ9/\nrFzQMp87c0kNSYgA+UDxcMUN1phipq+vplr5McJAttHfNLLqajDfuqqyX1qv\njRfvYRfprq8R+QrHaJyA2EqUeCUHfhloI0h8mqXKAyvhyDAMJLaPej+2bpmT\nICWLWKvmSgLal7qDpAByc1nkUPfePKIZCA37kRtUQpSPM22ZP8XwYlYyG+x5\nkzqyKOkti8PZliVwpJY9426beKEnoiUjDI7mFljxy0StwMSBTSaVEdtFdaOY\n/cijCzZy6jeCayQLTlrQ7TF73IERAntA9Da5B8CgFwhG1gg9ij2ZJXWw5keA\n2ctL55Tw4c7yPBpygS4V6KtHTwk1zBhsiOtTwwFvvKCHtdB1dWFfkzWnT3/R\nuUxkpl3fAET46T4MMwRCCUqaSUPskeIQuqLnY976W6X6C3sC6VmReAOEG8sy\n2NBK99YS3fWDYTinuEAXkhm/7cIMV/MWReFLlDaJFkLrgFSoHakBK3fFAthw\nEqDV\r\n=6L4i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.0.13.tgz","gitHead":"9a8a33b7253d1444b199cfba565bc785afc92169","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.18","prop-types":"^15.6.2","bpk-react-utils":"^2.6.11","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.36","bpk-component-button":"^2.1.23","bpk-component-spinner":"^2.2.53"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.13_1538661817600_0.1761790962155032","host":"s3://npm-registry-packages"}},"2.0.14-alpha.12":{"name":"bpk-component-infinite-scroll","version":"2.0.14-alpha.12","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.14-alpha.12","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5441ae523fe1653671954ffab686c61e1e44b918","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.14-alpha.12.tgz","fileCount":13,"integrity":"sha512-0Pxh7xIhquxiOWR+kCrjGhj+48mTLYhCx01WoIYLEFwm9p/U9t/LNQK9RK4FQcgjl2FOeGLXCv9asdkm7MBJAA==","signatures":[{"sig":"MEUCIQCv+ZSE+X4sOx8R/d9hatVvt1rsY6FrDSs6+42vV8K2OwIgJh0NDLH7BMOcl57zTfRaSL0OJ1H4CP1SIkh/tptaVnE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuyjJCRA9TVsSAnZWagAAD0cQAJlay+QKM54wEQPX/QLA\nQG0HghKkCI6XyksVyxJNihEqeGovGneTDxDvtqZWYMnhbVP/rWxmGOy6Hpru\nrGAvleyDtotzf86ncKNY92m+28M/AlolCjz7CFE2O5lSqkXEWluwVWTPLghK\nBqpqoTKdfu35sWXUQ+QxzhAsDGZ/cyctQn5ITqGyLvoIUHCicF2VWCNYAFRP\nuRuVvDRG0SESc1o+TKJU5/70Yl7s3B2DvWa20Zb9RJKKzz+lG1KLPJprLHsv\nAjJmQGdaBO4v4E2J0KN5uLow71l2jnQxc/ZMe5JwHuSVdtI6EQninwje5Mqv\n31GJ6wQ18K4V4JeZFDdFC2k0ZeLgbRN8/sMt+xRX2Ki25W7vUGlo4OhkV0VH\nyiypGD8b0ANuT787AOzJbWYo7FaESdbD1idq4nZRzV0CFxROaWUczJOvipWE\nO0U9j6lVDv/CDPhd0MdLZaH6X/hr9uWOp9VozKjFyAhRRWWlVRa6/6AMp+up\nupwLXj51vu9fj8Ji1JLqreiGXdCcf5uIBbtuX3993xVvJyRaE4UhK4wKMsCh\nPLMasZDkPxkzpCkvvepJt2CjhUrKShrxQqlODVHujwgHR58XEfVMoUhTcGN2\nZa13DwNmIDXBqnERDNMDGO/LyJIF9JBkDgHOy0voq2w7s7I9NEPoiyL18qQk\nlPFo\r\n=PjSc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.0.14-alpha.12.tgz","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, { ArrayDataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({elements}) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n)\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n]\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n)\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the InfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n```js\nfetchItems(0, 5) // should return 5 items starting from position 0\nfetchItems(5, 5) // should return 5 items starting from position 5\n```\n\n*Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`.*\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n)\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners(); \n    })\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList\n    dataSource={new RemoteFlightsDataSource()}\n  />\n)\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n*refer to the `DataSource` methods section for a list of all methods*\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property               | PropType                | Required | Default Value |\n| ---------------------- | ----------------------- | -------- | ------------- |\n| dataSource             | instanceOf(DataSource)  | true     | -             |\n| elementsPerScroll      | number                  | false    | 5             |\n| onScroll               | func                    | false    | null          |\n| onScrollFinished       | func                    | false    | null          |\n| renderLoadingComponent | func                    | false    | null          |\n| renderSeeMoreComponent | func                    | false    | null          |\n| seeMoreAfter           | number                  | false    | null          |\n","gitHead":"75a669b1988e24748cc4686dfd742b772078af55","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.19-alpha.12+75a669b19","prop-types":"^15.6.2","bpk-react-utils":"^2.6.11","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.37-alpha.12+75a669b19","bpk-component-button":"^2.1.24-alpha.12+75a669b19","bpk-component-spinner":"^2.2.54-alpha.12+75a669b19"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.14-alpha.12_1538992328405_0.7859683982987282","host":"s3://npm-registry-packages"}},"2.0.14":{"name":"bpk-component-infinite-scroll","version":"2.0.14","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.14","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"76df79ee3132720cc2b7f1b280b93a8796f0086b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.14.tgz","fileCount":12,"integrity":"sha512-DYlPMc06451UuKLWt5vPnXJhwp5MIhTeZz/6cz9MiZh5rMb0YDeahTnzTMvcgRzV7/sWFjQNQbgJd9UOt5sgZA==","signatures":[{"sig":"MEUCIQCn89TR2k5Bugder975VOnmoSu+eXP9VgomoH0l4lJN7gIgXGyTHrDvV/PqiKtTYoBAAUBeudkNDI0AZ6AgQb51HTg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwHoKCRA9TVsSAnZWagAAyh0QAJOvM0GeWjwtZj/PEx+n\noalWtJ7VKOEdfaZaR9uGVdF9inoOXpY7Sad/7n62JFTaiRV+GNPrfRX/VfbF\nw/7fTPkkizqunGNcIs44BOgU9Em74jPKQJIDNFMrlXHUq2pzA6puv3X/uVxJ\ndyOOizuo6DNZi1XpARE3Rarj0c35uRaqvwgUh+gOYeMxCYj5Tla4AqRzD002\n+yTXzI9e4EC/1okpgqsGhw7PpIvHRPZzE8XYYfUdVEnbO4pJc7s3HAmOcj7k\ndu2n3ej9Z2prKiohPAecjlMTRKEvRTG46W+CPSyU2nyT9mlbFEKAtn7wa0UW\nSmOmIrCWVP4eCLJgPQAC9v95Vm0EYtRhyJLQ3fAQGBbWb1CTTuw25H6JC1Ui\noP7BE44fLwNNnYAztSF0QN0uj01EU9ChIytLk41675Qa6BfARDtNB68Nn9ab\ng3k6jq9si4SEzPvsVi3ibGSsNVAzIbMzKVgdSigfSAFTm1wnSdNUj/s2uEjQ\ne62yWQMZV+rWLPEvF0HBiQjcGcx2sWy5Jo+zPbyojpKYD/gdq638eqg2X8ii\nJKdJWCJg0cerf3oJOqSwYgdK9JfjDqsBPHto7A/xWGrDJvm5PKKlkdB5IQ1C\nkAOGta5r5+H2YfVsnPWIlbjZlqXLPSclRT4d8qXEMuc8tx7wqw/7u+xDkrko\noL/i\r\n=DU7i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.0.14.tgz","gitHead":"f90dd016435cf93b3813d7b924a971ae33fcd080","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.18","prop-types":"^15.6.2","bpk-react-utils":"^2.6.11","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.36","bpk-component-button":"^2.1.23","bpk-component-spinner":"^2.2.53"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.14_1539340809649_0.3967061966212777","host":"s3://npm-registry-packages"}},"2.0.16":{"name":"bpk-component-infinite-scroll","version":"2.0.16","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.0.16","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"74931e5bd33a0efc136e534611305e0b57ad3f77","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.0.16.tgz","fileCount":12,"integrity":"sha512-Q92MdqLUxt4MhvYdWOR9JBtdxMasPXJ98CnPC+kh/SYpcm56V2H20masHhl5vYuEhEd7GnKmwvrikJJWZ+wbrg==","signatures":[{"sig":"MEYCIQC/DViM+rWMDMQWONYxqeoOLuC2s1/isb5Z0+k3vRQQNQIhALNuPuorNbmSpHzaD6H74qyx2bAXIFKct2ZHKECYWiB/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0HbMCRA9TVsSAnZWagAABaIP/1WX1iY0kxojxuYBpMAI\nh8e1HB/YaBbjcu2IEt6Mr7oVYSEIiDUpfO3RZdA6bexaFTE8eUSvah/lXXMj\n3d2QQ7ZkPJ4GUGCUU/PNhktXT7yz5BDKB8g6VYpx1z5/LYaSDbZEf8/HWlg7\nvtyMQ4Jz3gjxHQBta0avOoFUOilvdnc8riW5zvDNFmyoJJ8wMQie99F/63yv\n6PTkwW11Rr8sSz81EFS/ofg0JqoinnwBdK3jLaC+eb4xttVDGCaca+AKAxml\n6llnP26zkcvYloMi3yF4ecFP0dvJgh7GsHe0BwZi+Q0yahrKmx2+WmJBdoyj\nQKJQLouPiCjC4xnx24uSzIiMW+5LRroAi+Bcl5ayo4XqKMjCHN+Qix+FePVK\njemhVdyRqxreA5bzBRZSTL0H8jjVMTf25j5PvQ+rGpzsuPM1yz+0iVdIUt1M\nBS0VIH3ciQH/hWcA2tIWNNodJV1+iBHefC6dHdKpVG6Xp/dHL2ywuEhN1RPf\nqjeV/NXjlhyh8NshJQv4zrs7c1Lj2Fk23CvNu3RUHBfvakQEMo1/VTsRPkO8\nyW+4/YjyNIuPoJ6H3PqqsGgwAAGmy0Kjdg8fov0zFyhK4MyM/9rUzbtWQBuI\nc2XEuHuURRu2VsNrOeFS9YBhwCueGxccoSZ4YQXZyB3T3oNs6eHn4xBmDNkz\nNlDC\r\n=Uwqw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.0.16.tgz","gitHead":"64063af65236712540be5cf6a1a67ee8b50f00d5","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.20","prop-types":"^15.6.2","bpk-react-utils":"^2.6.12","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.38","bpk-component-button":"^2.1.25","bpk-component-spinner":"^2.2.55"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.0.16_1540388556086_0.17053279280094813","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"bpk-component-infinite-scroll","version":"2.1.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.0","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7f9be3680a9edce70339ef343b3c1b7b3851c57d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.0.tgz","fileCount":12,"integrity":"sha512-M4TMdw20Q08JCLllvXB0zUxgoRt53Hc1aWxYW3Elzs+tfvl8PuWd6gThjgncJmzgwidnrUtlflgi2w7eqyAqVw==","signatures":[{"sig":"MEUCIQD+ReLmJqF76lWYkfo18lDhJ0Pv9YntM44zGDFJ0KYs6gIgGNyI2SXKidqKl5o1psAh9v4uQzcX/nh80/ai4bkaq/g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0Z54CRA9TVsSAnZWagAAof8QAJVS4kH0jULFR1vqBNT4\n21vlXYovLErZUdo172jc1g5GJuKDK/hGcEGfCaSDm+k5WnU6YBJhKFyKy1ny\nR56lb3okAOzBqxurPAPnAyLyApCGttNhY3xfMguUt598z9XVF8GLe3buvfUV\nrw0vPsWoXr+UjmLSpGaaHOzEnEMLk9bQ/sFuG1TqVIu/lMFiiXVHcVx1DEA5\n8foTY1McyScAm5zAeX56WerKaYQhmjqVCe30fcH14tyrP5x3ek1AfQxorpEc\n8vBbZP42514nIF/CYi73PvQBB2aVXeu5PSngOwbL0bwbVdsPP9rggNOslztk\nxzxn/8D9QqU3IjcB+2VLpbC4s/MaSljFpoW/iE/zRPdxvGvo0JY8xVntlMZ1\num5tQLl5Bd2ZjFADvoRKa5BZJOl3zcDeCqm95YunIDmqeT4D9EQt8Paa5Act\nY/lfsJ7xlGRow7tFX9HMHNYV9wIzxW1UCONw4FspzMT9HICueimLrI+RCS51\n9sYeZTJQB/z0iGamf7eWppW0CTbRboxuGmmBC6ru2yZzOQTXOalFjw4eUdvU\ngf4INTDkwHents+5CBMyS4O3oaq7c16z1nctx8bqZ7S2HEl+EraSRC8FAs5m\nw26VdR8dmylwnGznRKrC67Lfzi9Qm+P2NiuYe1lc79S4z3H7TvzoKOawOK3B\nXGC1\r\n=ERIc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.0.tgz","gitHead":"a58c9860fa83cc0363abbfea0a316d69d1168bb4","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.21","prop-types":"^15.6.2","bpk-react-utils":"^2.6.13","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.39","bpk-component-button":"^2.1.26","bpk-component-spinner":"^2.2.56"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.0_1540464247499_0.9413075791879149","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"bpk-component-infinite-scroll","version":"2.1.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c648605e58fbc8a7f33f89a8d2189f5175ff8bc4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.1.tgz","fileCount":12,"integrity":"sha512-oU29kReivubnLLApCQXIJMTp73N35zENN0M25pWd5t99i2xXrACWnPYRDlklYeF9/BGsMZRv6xqUWan/8zb+hQ==","signatures":[{"sig":"MEYCIQCF9amxK7DXc03Y6Qr4wCVmdjxcU2Wo6M6DgjA5RJtf1wIhAK0pCZKtnV6HiKmvzIGgUEq91ONwkAVKHLMQSQNJZn3n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2alWCRA9TVsSAnZWagAAMKkP/29SwBmRZhH2D3WTXRxO\nfvhrD6dAj4JAtK12miWd8ZGO/owpo04Dx2l4Hr8+NDE72J9F4App7o5bv31u\n6NdShDVeBJF3oucVKUtd54j03AelI450bIbt8i4YdDNxj0GIld6QESRl1iCb\ny6/xsqxOAteUL8vGPII6Y26cofFm2ZDyDtDUHWuM5vT0bighR68D1VQWtYwG\n70yp/OJnos07CkgdqUikqjxOWqTcOL04YKilwWL8I/jIPcJ3w1L+ZQ4vbL/q\nFfx34EE0Xm6YrJ55Iivm6Q7oDIoujS7HEZ8OSrEAJ1RHyNum2rEsA5sootoO\n5daBdFeWEI8rnYzpob/HpBSKTQU/3InyfUR3yjoSHK1Ox71hca019Dqb64AJ\nE9VIA0NQjOzTRot8LPMEjuylpysBb00W98avd0XfjYzHezNrHoBhX9w2FW3e\n+cfs9HtLY0pYTxwduwWRcVjFXhzKfL5k/uTgZ0nDMXjhi7+ZYjs89vqnejH2\nLOxBoQ9JF5GneaUWxID/yygu5C1j2MVCsHwk+JzWDC8n4xVsWhhODsbSvIzt\nFoPjSt76CT5a9g47iPb61A63ycUsk7W8NkfILKXu8sHq8GCRCnn0WX/Tvv7q\naEWIcgU/Eb/5fiT36AXP7OJADBv3kuNo3Y0aChVmBQHhWRy5zVNEeNDdXFK5\n+Lku\r\n=DOUJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.1.tgz","gitHead":"87c84b9d03491f2314c9ca8dde543622947ec773","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.22","prop-types":"^15.6.2","bpk-react-utils":"^2.6.13","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.40","bpk-component-button":"^2.1.27","bpk-component-spinner":"^2.2.57"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.1_1540991316753_0.13858587564031621","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"bpk-component-infinite-scroll","version":"2.1.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.2","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"06a1d0c8b9af79636a23fa9a280b494039b16976","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.2.tgz","fileCount":12,"integrity":"sha512-1npeUdUs7DfFd9P3n5StSxVqBURzYxWjV0nLfo39aQKA6e5EraExfWMvYtYg4811jPeLGICEp5VhNOWtvZHOcA==","signatures":[{"sig":"MEYCIQD3yupXn3E1GKDDGEAhP82JjjB/2wa6wUjFOS5PcdtVtwIhALRm7wOxHfXUgF83t+oDBS8PoNQUYRpKsyNq27GDUsID","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7EULCRA9TVsSAnZWagAAoHoP/RHsxbDJKIA9U7M5cYxH\nBaA0TlyF689ZOKZD/rKj7DK/uJX2gqDQWjxb+Qzy1vmokue6MPsVuRnIK6ya\nESujqDTKYGLsOjLKqBOFYOZCbCGRcLeE1cTCJLRL+6b/8s0rZvgug2bABLbn\nffPuJzK/nvZsWrhG18H33cTChO1SvGe7ZVQMR7w/OkTqbTGvJ84vwkIUG4Gj\nQ3U+FP7mC25yxMbuWBzsfZsWrYGzHJJiKCrrVBmfvdqZ/0svh/nc7TBe5H/9\ntA3iUlbb4EVTF5RblozwTURhGmPjk9enXJ20bhcdEmwMv6IcLPUyTEi+K8Ds\nktPs1JHPPcnfe8SJcySaozK1SBtbHE7r0JOiaVsVxu5UTIYKCGDWLQN7053l\nytozx13N0gXfnyIs3vSNfcj0/WaKXJH9RfHM/DivZbu+9VtfIMOHn4iDaErw\nU9jKqwwDuZLZEqCFTjYQ96TBs04dEzgMSwiUZOKaSxl7EcmCsGIA1gnsMCXm\np7cAU7/Q80/7/ssyw41Kx+gZwAAoi7nUnyd4uKUvKDguNQbNnBJV8HFJubur\nT39/+jUWTyKnhtgta/GHm7ZY6ZOvZEeWQl4FW5wyD8nNbOmeHS4s+a7kIsmA\nBVb5XQf9dqt8qnEMNbnKscyJslitsLugznu5ruSEJIowehEooSv0QUcAdixg\nL/J/\r\n=NwsJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.2.tgz","gitHead":"4b55e017dacdb1606ca1505656839617b21f37c1","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.23","prop-types":"^15.6.2","bpk-react-utils":"^2.6.13","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.41","bpk-component-button":"^2.1.28","bpk-component-spinner":"^2.2.58"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.2_1542210827238_0.3528839247619693","host":"s3://npm-registry-packages"}},"2.1.3":{"name":"bpk-component-infinite-scroll","version":"2.1.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.3","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e8bc9f476cfebf3afc4a07c5179cf4208d9cba47","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.3.tgz","fileCount":12,"integrity":"sha512-OmtWfI94kVDZ90gtFq6S1qGzmqeHILmhBV5onlhoJEh+us7Qot3fEfHu7P0RtOxXHGDbCcDzQk217mZadHtzxA==","signatures":[{"sig":"MEYCIQDXLo+spOrbi9Bi2FYzDZ+Ai7TPAqQvVYr8TLzMYw8rNAIhALMTDsNizIDwF8IlOmv/4RpCcEVu0TyTRsD/f+m+5wfn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7ZXrCRA9TVsSAnZWagAAVCgP/2GWxMAIY+p2+1chGAq7\nnUxl47HDxeD0ejqlnecSbU9AZSUDFoYrl21y2T+w6kkZkuXYZZB5Iq0anAn5\nIljN1PUzZcZBrbbI0lwJzphEDdlmB8k1aoQqVf9LHml76T0OlI1xf8gsWMyl\nohN8grxpgQR2tebQc/L03d0ghRJcI4V2TRqe1vv6B/aHkU37aQFC86sDCmOH\n6R7FsX/Asoe3aR/c5h4amLZqbFqGxJemJtHHOJDkB6feJKYUN19f7RyoaDNQ\nQic+BhHy0/o8V6BRKl+isJl1upVmi5xIlanHHBREel7t4JdXFDTK2Zrmugwb\nPuh+RWk6b+ifZdpHh1sIwemLsqMFKAMFBh52O6c6CydB36i7rByljo62GJXu\nw9nwGX1Rb51m9lfTxINwxkRd33hf74I04haX7alw4Nr7Bf3Wdf0LG2I4WrId\nKQgUMmYv/FTAX4jylj+Ae4K0PNR2woycqcBZREo8pQrT1uPreU6AVt/okBK4\n04EzwMgqheqGZnCOWdyXjcosZkQDjUjXzFD9usVZoUD8OB09iz7HgGra9tXh\nNDq9s59ez9YuBthkvu6TocSvnjO5fe8VehRjYC9c9fBIgzhwvWQXeTGH5d8w\nif8r7v3N0UrcN5WUNgdEeb6z0P65fBgEz2fve/mShyigAHJ9KdzGdLDUKMcn\nE7Zk\r\n=skpn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.3.tgz","gitHead":"6e49c4eda48534c52bc3bea067015b8feb39b6d4","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.24","prop-types":"^15.6.2","bpk-react-utils":"^2.6.13","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.42","bpk-component-button":"^2.1.29","bpk-component-spinner":"^2.2.59"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.3_1542297067164_0.6323700668430408","host":"s3://npm-registry-packages"}},"2.1.4":{"name":"bpk-component-infinite-scroll","version":"2.1.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.4","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"georgegillams@hotmail.co.uk"},{"name":"jamesferguson","email":"james.ferguson@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"453fd36e76d1542c85070e38637816e7d465cee3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.4.tgz","fileCount":12,"integrity":"sha512-cSazpvbGRbjn11b/HRz1aWAW9B1X42iSkgSQXrTXHt3fOwQmfrCMaJuRwbuuyyiSqkPiitRwBE29UBVbZbJBSA==","signatures":[{"sig":"MEYCIQDX7Hkgygb6HunTs27HPtcUHq3kFj40wUuujAdl+GEhnQIhAMMjzJqV8Mu60TSzRlyguNVUzb75VvXDw/vx2bejp87z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7vBGCRA9TVsSAnZWagAA08wP/09qLboFABz79epEPfxr\nWAUzFXSRvYzo/ZCOUxLuxkYQrk0dG6A1I8QYjf3fwanShx5KhSdGhdJOoCtX\nZK9HrHxybyDyFMgTQIbuH5wziu8YUl+mfehZk0zGKpqXLGyXey9ZvXGc1o70\nXCBcsKdGHhv3NM8T4z/4O+WuMNDmzj3ueRsDGMum9LxTvzXzv/ySZljWmhZi\nx2bViDUcWJzia9fNSFKBeNvEqiac+HHdY+UUjriE9jiHYom94ZRlRadWUb83\niccsCNNlOWIJzy0QE/IoyU0Vs2W7RmLv35znNjTOOGB0tbPtTka08DrGUyC5\nsxmzGvuC3iQi78+0RBR+QKOfSiSQt2nH+k8aAYvKrXsIYCOieenGL1NCv/Nf\ncwpkzfox8TZJTjCEvqdyatlGjq56gddsrXJfbOti3nOm6hdkP7ZDeehTB+s/\ndx4v043O2RWCbWJdvUWD6GAcgDfhBMxc5/pLejcm54PlnQNZXRtp6mkyT2s/\nyThwXXGSB7HNtCQaT+GXAzC4K6GTzdY1/ql+FGt/78PW9i8bbLD33Q+SZw2e\ndUfBk7wuvBqJ7mdd4bq7jplvCy2ulZ68DduyuPzhQEgjRTBl1WmPRD87bsMD\nS2cy8eAbpHmsO7rXr16GZIVDIvhF89FjK8YWS84qA5NINFbxHuFiopDyhcEU\npJ5D\r\n=+nLg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.4.tgz","gitHead":"261c51b83651686de683d722a1fde9384cf79810","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.25","prop-types":"^15.6.2","bpk-react-utils":"^2.6.13","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.43","bpk-component-button":"^2.1.30","bpk-component-spinner":"^2.2.60"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.4_1542385733762_0.6466175551168045","host":"s3://npm-registry-packages"}},"2.1.5":{"name":"bpk-component-infinite-scroll","version":"2.1.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.5","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fb8b48d6ce064609effcb49cc0940b3406efdf14","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.5.tgz","fileCount":12,"integrity":"sha512-HysOitt2ICLHW0eaqFh/w81zVh15MlrRd69CdSosHaQMjAV1lK2IHd+31N9G0odRliBBZHq8M8XJXhKEXTGYfw==","signatures":[{"sig":"MEUCIQD6UfKKNGPL9gOaCa5EevgDw2n+DDMqOt68Lqzm49N80QIgXZfEgd2ZVFvJy1WJuNqCMGKvNVjZyGLpvduT9yGlKh8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9r3MCRA9TVsSAnZWagAAIaEQAI8mi4DaQOtRbCPg1TRW\nb+KRufZi9ZgHC4KCNFe7tLH6gvsdyIQ+qqeub4dU5aG+c4HtS9z7W9jzq2aU\nRGlJ2wVigBP2NIeK05lR7WYjyv7TwHX1k65lbIVBlEww7SuU9CHFirqFgnky\nZOQJzD++WT7dLSIs1zVvjSGyPk2SZu5HulRTYwwdWBifkKe/exJSMdEUoF3b\nSSOIB9OwwwYv138xelPjQQAAuLtLgTsqf7e3UKNG7GPKUQ2nsRyBs58F9A07\nvYcnsFpwmoKce4y/zEd/WWB0lZRQtkKkqTnkEKQ1PIBnFm3RMrB+SghxlozN\npzVRNAdCuH47a2+cfs8tXIE1HcjYleIOaDp/0tUwCm8cdORhOu1aUpdHZ07L\nWP5CuF6hGoz6IYVqKmcayY5PylHnFyiKVbEuuh8Bp7ZMkfvADBxpRV1BGsX0\nkXCqgnHIq6ozmpcB82dWBogT5HdZMnzBjJ6CeDxNiBdTFYLiPg/5qATlfFUG\ne0nsoNc6VjCwIUNR2zAbuk/BpnCi2hKGx3KdR5gBZm2zqalbXFw72B6rnVXB\n9GWUZ4TVh6MZIoL3n3J5QbFG5+C0O27TllO3ttK3hxRDeKPTYHkZUUzeLN1t\nXe9sHGS0eoMk5kIzaXZu0EsyPqLjJnynneW1HHWmUDsXAupCKSOpWvI086O5\nCU1F\r\n=yqDd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.5.tgz","gitHead":"a9e0f6f7281ae6b9d2a499d73aa51d589a6e83a6","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.26","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.44","bpk-component-button":"^2.1.31","bpk-component-spinner":"^2.2.61"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.5_1542897099750_0.8645733090795014","host":"s3://npm-registry-packages"}},"2.1.6-beta.1":{"name":"bpk-component-infinite-scroll","version":"2.1.6-beta.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.6-beta.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"474e775d184323e30197556e88ff3c0928a2efc4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.6-beta.1.tgz","fileCount":12,"integrity":"sha512-oOPQhGfhPKn7T3HK5LSzKMW3MaaS+QmQsbDLfRzhFuTz8cpdNQHY7ZwGwnSaJrNPk+MsN2pdhXvcBad1SleBEg==","signatures":[{"sig":"MEUCIQDo3EU4Dw80x3z2JaFiEAPOF260s0O+XqU/JXiXmWmz7wIgXfAHGQYIi9rYU2ABmOrEFiP73mq4L8jliXNengNzrvQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9/UrCRA9TVsSAnZWagAAOfgP/0CgPnlP5Kz2b4x80D5Y\nZjlhB0joEv+wmbJ21QlDdk9jaXr/xM4odnOEGxjO6Y1OxJJtijVXRLkJxkyx\ngD4+q9eLb1LhHqhQ+7Lf9pnI7DK1iVr3obUR5m8890KhAJVxKdprvbdLdHjf\nhjxGDhaQFk/DtGk+NttBoyXPXKeXa9NGl0OEYVlfkHvK7IFdHIvz58eH0+v0\nniOsRpMGz6xk5y/KMODg4yLT71MItasyL2d32poULPFlIsqiQ6CrfvHjvRQY\nTub7yCR54bQUkBMwU/PJ01mVavsbQMWlkhu980inZZ4fK/zQ1U9jVdKuKv7I\nQtGFfwl43uN1POQpZ5G5dV5boLjVw/A2XaIksx33sJ6K1WJWcdl8GkSnzWxK\nBT/mzlA6fX0/ve1Te1ShS0WL+bH4gK5sPPWOQ6TLwFmxW02L9TAzalszPsp+\nGkklhkwXajnnYim+dMoQklIQvKmggy5+M95kmmwqFeiO3359xm5aJNONtVgO\nVGWghF0wOVbqQ0uWx16vnDSuNdXxCE+IHtfvx0TctWNvhJMQwF/Cb8VxIgNv\nNjMoJDSG9EGaxoQKm3hyDqLlu8OWKgweTzmqv/Wd7li0uk8jQqVY0QYVBMZO\nA7Q4e3N6+z63rYU18TtsVASSr0/SfyPqmjxXaWMgqcF6oGjva3+RdhXPrJqd\n6PwZ\r\n=OiGP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.6-beta.1.tgz","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the InfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType               | Required | Default Value |\n| ----------------------- | ---------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource) | true     | -             |\n| elementsPerScroll       | number                 | false    | 5             |\n| initiallyLoadedElements | number                 | false    | 5             |\n| onScroll                | func                   | false    | null          |\n| onScrollFinished        | func                   | false    | null          |\n| renderLoadingComponent  | func                   | false    | null          |\n| renderSeeMoreComponent  | func                   | false    | null          |\n| seeMoreAfter            | number                 | false    | null          |\n","gitHead":"817d36a73ce99837a069eed5f535877bd27e8d97","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.27-beta.1+817d36a73","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.45-beta.1+817d36a73","bpk-component-button":"^2.1.32-beta.1+817d36a73","bpk-component-spinner":"^2.2.62-beta.1+817d36a73"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.6-beta.1_1542976810842_0.9538653415014566","host":"s3://npm-registry-packages"}},"2.1.6":{"name":"bpk-component-infinite-scroll","version":"2.1.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.6","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"54830ef4d959259c777d6162ce698cdfdd47aef9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.6.tgz","fileCount":12,"integrity":"sha512-xDahCpF6GhGs68+GRvqrOa0bVWqLhBnAQ6p8B0aVkl305TZmdJ/3Af/oj5Pi7MW5L/URwRhBOpm9AAP11XxBcQ==","signatures":[{"sig":"MEYCIQDzexV9haaxGnp+zlC45r2EZX+llg+oXqvEiITtn5BZjwIhAOWOuu9/pOluK22TIKjHe4gYhHZsIsXpgiVUe8iDQ1q8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+9bGCRA9TVsSAnZWagAARd4P/0GfWgmbbXTOudyU82eF\n6xH0MtuIckYnty6/P3OnHiEykoiy2F3ROvtGsD1mpqNiFArHShkr/TtGeQPh\nqFrq/CFitI9zY8UZG2Z0/9JctZcq19Z5cSvkTsycT+tJf8fqbobK/oB+o3z/\neQA5P7iz/NEMAuOj3+Kfs+w2Z1WxKVBEWZNbPpaWkncCkT1VHQBG8WbZ03nT\n709xtofWC3vHDFG9XEHg8Vr++iF+q1v0IHS+pPaFS8waDfN53LyGEC0nqasD\nGa+QFIpBvBYyH708lOEpswnfSsxWMSE0x1nJiZmzhNQjUJdv+v6KIgvV5PZw\nj8HVamdGrUzQQzrH039wcjC1lvK2dFQVqz5ntzlrltKeiQIOZbCJJ9EkqFe9\nIsyP/IkHey5yFEpXeOS8C+2Z/a9f+lpQd7QO1a5qp3CDqJz6kWTTgjf7Kuvl\n3vOzIqQtYpIgNhbVK4I0VzaO1XvWGqRYXImmH4wCPELXFcpCHAlF+ZQkB/vr\nfhzGQXbSOdR0fdhR/v1Li+TPprhEu5mhKWZSQsXuBKoCZal50gOIEiaylwKv\naXCaXF+KMVnF2aqiPapKhlSH3AMu4n/I7O5kjVi5DnAz98cfBSFCXhTdPz0R\nXrAlBjCTgYxuNj9yiqzVYg+RuHkTwIE9HEwKeQPTt7riqYCMVEetycfQ28DZ\nmmhQ\r\n=qj6+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.6.tgz","gitHead":"94fb4db37a61b88d542c9b8a904b84337b02ca51","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.27","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.45","bpk-component-button":"^2.1.32","bpk-component-spinner":"^2.2.62"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.6_1543231173558_0.019031123459161137","host":"s3://npm-registry-packages"}},"2.1.7-alpha.3":{"name":"bpk-component-infinite-scroll","version":"2.1.7-alpha.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.7-alpha.3","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4686e657c5cc8c60524704f7371158fbabc3894e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.7-alpha.3.tgz","fileCount":13,"integrity":"sha512-BBXSRfon5M1suXfSjgy/mYQb0H9ZaR8wqx15Dk74fmPScOfWpdWfpZFNRc9EfTVV9g6ZO5d5oPWMfM4Cmck1og==","signatures":[{"sig":"MEQCIDUiaBYnrCUANvYukthPalRNx6SZTapGqYMT9poMkZ8DAiAk0ZXmh2IjjidTI6GcXZTZNJYU7Bww0B+78Khp1/3qMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50680,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/CJuCRA9TVsSAnZWagAAWZEP/jPLe6pz4UjsR86KqDww\ndMDFtcgxzzxQw0m0H3TdktTYZe4BYEhbnn14aLOUPUhABbc50mY6tJ1SiTPx\nDCEmGg8oKTzv+n/Rr/zFegAt0siAWVvSyA0LHzf4Mp1DyzVTjD6ojErfttXn\nf+y4IbtNUaxmOotRYU65RHG40WAyoFWnQEQn5iztSWVqlNngHVHj4vYRDqHC\n/OdsyyCa3XfZ+BVQj6dl0ZY4sZkXfnG0cQEvmXp9o41p4pDgls4qZ4S6yw37\nGkvSNeL/6JRV8TyBnVC3dhcguVmCwOdlyE4Pkj5ijMrHsSqppuJNNY3hn2gC\ndQkmPE11QO3f1OmOEtCUa+XUdKuNE8nXi3ZqVZwTc+MDJ3sRVBCBKKhHEoeY\n8wQiwG4DCZ1+rJSdVeaJukfk2dQjLN4uBfUHvG5+szL43xwIGJ2eQy71FBEu\nisjWtxYIxauv5E/DJSV3vKwRT3YCFS35w2035dL6T9oOG78HgGBw359JIIPL\neL4V8U9LOUrpzswXXPnp8RnHoCIc7GwvvYH5j8kZfIFd4xlM4CGyA07RwVSU\nnL2tUxQU0AuvCdA7erRpM5kNT7EakwgDmtpfkU+vs18abLCTXAzGWmHJc+bv\nC1R9YhO1DXo6jMIdawy1AdxzMFZP0lhP3F1FrPKhnTauI5FG9YHqnDAcMDvK\n9P0T\r\n=fFj/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.7-alpha.3.tgz","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the InfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType               | Required | Default Value |\n| ----------------------- | ---------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource) | true     | -             |\n| elementsPerScroll       | number                 | false    | 5             |\n| initiallyLoadedElements | number                 | false    | 5             |\n| onScroll                | func                   | false    | null          |\n| onScrollFinished        | func                   | false    | null          |\n| renderLoadingComponent  | func                   | false    | null          |\n| renderSeeMoreComponent  | func                   | false    | null          |\n| seeMoreAfter            | number                 | false    | null          |\n","gitHead":"3901fddcf2043f2119a05fdda2573196bf7e3997","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.28-alpha.3+3901fddcf","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.46-alpha.3+3901fddcf","bpk-component-button":"^2.1.33-alpha.3+3901fddcf","bpk-component-spinner":"^2.2.63-alpha.3+3901fddcf"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.7-alpha.3_1543250542072_0.17837928195882324","host":"s3://npm-registry-packages"}},"2.1.7":{"name":"bpk-component-infinite-scroll","version":"2.1.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.7","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"722673eefea7319d02d91e671638ca05bbe04e62","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.7.tgz","fileCount":12,"integrity":"sha512-MOwqj7sz0zXR6pEWtHlz+uJiQICT/f3UrxPbc8Kwf/tn4FlgkBgZQK6i+a/NXOP6NqbjYCqIHM+kHp0vHsJtzQ==","signatures":[{"sig":"MEQCIHH3asj3iNiJtU8gFbMeZ4HRRnaodN85NPBsTqR0Zj3YAiBdpm6ww31smewgajkf30nOkBhnaqPh7Ij7KiiocdyayA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEQkUCRA9TVsSAnZWagAAJXMP/AsdCgxVHCE+QsGvlaVY\nlGpb8yKDIvn3+DaDLcx9fiBy8EiCL4t5k1Ts7KigqOnZk4EhUMgwPiYoTnLt\nN3yqA/cD/aNmEX1ElR6OM9keyPaH/5JttGFM9gdSsQGB3vaOYQWTZtIjHKsc\ny6BmzLCGAbe1wdNv6Sm2mvwSVYQ2pVkFxeeqFlJL+PeNstyoOqI9l4Mtyo57\nwy9ozeZenaRdlg7x7OK5Neuujyjlw/n7NrlwtkRr8lDh/ToAhaCDa9OhPJhC\n2pjXq+2/TBwvDItovT/PIYyQKIRYyX25wGdQu8XX4r1o16OTY0/Xzpyaxd04\nKli5S+n6hwY0orME+2/I/QpSU8JpOrOUzkISUnLYVIEwmNOiOvsNdlkMZGAZ\nkBMYZjw3lda/P4OUA0RsMSiyDHvoi6RXfEZkyB9rk2uSsK4QdIBjVVPXwGnc\nX7fM/3sTlilOPNIkw4LLA54/s+LszSE1ei+kPOdt7UFUW1tof579bH8YjvS4\nZ9X/ab061DhdSUGiu8HCtJIZVgTCAsamCJqEblqmoORMLaLl2u2G378uwTb5\nRYmOtyOS20rPgQxtYh/dfNDA0wUoJXVZnRs89jNKmBj1hbZklrVSwuRDcnwi\nDzgNEzIaug8Y1MVhHmt8HDuBAREGnOIgb1am2s+Igi09Z8DBfwHVYHoSrSTo\nOXRu\r\n=T7OM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.7.tgz","gitHead":"75668f7eaf00ca5f916151bbd36bcbd3ed3643db","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.28","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.46","bpk-component-button":"^2.1.33","bpk-component-spinner":"^2.2.63"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.7_1544620307808_0.6012635997114983","host":"s3://npm-registry-packages"}},"2.1.8":{"name":"bpk-component-infinite-scroll","version":"2.1.8","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.8","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ce4af52c040319ce6de83f88b6ba4613734ee036","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.8.tgz","fileCount":12,"integrity":"sha512-98H0fBkhl0GWEEXhMWzFqvqjK2ZTbvLXSoPIJbmCkXzs4rm6ZD3CZ5RyEPjeTsfIu5MgWnc5StoB7zILu5hFww==","signatures":[{"sig":"MEQCICoUICPMYZVF71wtRl5U4l1Cr6/Eou82bbB6G63Nr1UfAiBYtU2uyxn47a4j52+3qrqrBjmJV3B6rj7vnYMBK2M8yQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGNLhCRA9TVsSAnZWagAA1vQQAJLhxazUnBUImnIY+Je9\nbMyKEPFrIvSvS2yjWY5omZF3l0hQqQMJJgoA0ChLSXLWBOKr45CuTBYFZfLU\nvNsiV8/EzBEvRZdrQTM8u+4Vn43BLoZCxmfZosl3+yR4NqysgDOv0ziqeW7w\nD8LNp3xkxEHHBAUOddvwru5sBLjGcxHRRcdq7Dladzd61GiXhliVoKuREmYO\nYoXieVfQSDEoVmth5NI+z/a2I6ZnpNvZ9GaqwLXFV6Qqq1empFB2m7sKd0J9\nv1ed/3XmDXImorqauY+1zAhvU94aBLX401hIVdrl+/CN13liHGjQ9kUD6NkD\nyKfuWXwcw20iEjhNzZ7dIagNhbqbc5vaZ+oE4bdC1bYoVY+wGzUwXsbIOZCi\n+i58CV8wwA7i74efnE4WXbWI4tdSCtu6RSp/N/34k4O0airLpS5HKwlOBnyn\nQ+Fa1JcqFTyIAXbjx4Qy/ZrN+gKyfWz63mMmi1PXj6RWr5EPJZ217wlCevXp\ne59W9+2ygFcIGDlWmGhi4QP2YCFMX2tvox4NkI60UZNW4DlaAcDeVPUbD4pN\nN6tRlRitpZzL5595XZV25w33KT9BdFSTvq1t0PTGF+VAIns2UxGYdHlo/q89\nUKyumMDQ0epNcRpt15fXVmtKqm4G+yAO83yDahdbMiHRBvYmErMZUda+cMGx\nNeMR\r\n=zLoX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.8.tgz","gitHead":"1a88d34c0004e3c8f5a201a855201954a87525ca","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.29","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.47","bpk-component-button":"^2.1.34","bpk-component-spinner":"^2.2.64"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.8_1545130720589_0.15480447200129221","host":"s3://npm-registry-packages"}},"2.1.9":{"name":"bpk-component-infinite-scroll","version":"2.1.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.9","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c9125e77989642bca872cba13f8e37cd594fbea9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.9.tgz","fileCount":12,"integrity":"sha512-2lPqvTlrDuMXuiMpwf2lZ3sAu/iMLjh7C/KB49Y4609WnXjqqh/Avx7WphAHZENzemrQ8EwDvRWSPZaxpxZOHQ==","signatures":[{"sig":"MEYCIQDEVqUKITlWxDDLvlxTxWzlvEv7/0TPJ/V1VfvxTKZXwgIhAKAdQEnslYnbsV033mJLp9+srAveqIlB4QJcUNOoEjzm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGln9CRA9TVsSAnZWagAAyDAP/RZdPG04fcCP7kQpmjsw\ndzZ5bib0/kvYYV0HNCZHmUFxeLP7DYjRtH3O0PPBq5aHIoKj+vTma3z/Fz6M\n0hKXZZQEcxdS9GdpUz6WHxHXtwPfYLXtdCpYTAM76S5IR+nXEdN3h8pJhCRR\nqTux5o/aYUsi5Vw0f6YCyomkCkJc470Lxm3VDcVtci53Q5IsxtNnbs4nMtKe\nnRr08ba0WGMqUa8wvPSco2A8bMik5qx2UUNrsSGkz7aJoRxd/JzWpPsOuIwx\nI9K2tikEWxhdvBuIxhjC7uWRO8m3qpRNXMrMcK9fvS3j9WHNIWAgTkZoDLeV\n8DHDc1AdO+XobX61vBZMOrD9rQUhAdQRtue5cjTTKjMSgq+ve4yOJ0yEgdkj\ndrusV0Ffei++Yba+1DzunauMcastCzPQgFfYpQ+vvBSUsQxHmkyxnnCE3x2b\nMqX5Ds3qwC6kXRy0XoSJPChSJnpP8M0JEfzqigjPt+73+suYavAGQ/AB1ZB2\n6BXQVlLEAM5L57AoMBFH84RfzcCp/67JH0DAZZAFaclvPtJjKR6yubjODH8R\novUbAJDJKHOjC5XNRXzO5GngD6dpqd9wGdmZEyrEC1sBc4eou8imTLc6Ra8V\nxKc3ZkyqlKH/HbNQ3edRGdbtpgoZJ9k9GdK3n/HciyAWosJ5/bFeTcQfDsCd\nkcBr\r\n=fe78\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.9.tgz","gitHead":"6e02c6610f1442d09f32bd0688ebe60378afffd9","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.14.1","dependencies":{"bpk-mixins":"^17.11.30","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.48","bpk-component-button":"^2.1.35","bpk-component-spinner":"^2.2.65"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.9_1545230844593_0.46195508812277564","host":"s3://npm-registry-packages"}},"2.1.10":{"name":"bpk-component-infinite-scroll","version":"2.1.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.10","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"442d3b2f7ec543271ec6aaa24bc0d2b8eb2a8dc8","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.10.tgz","fileCount":12,"integrity":"sha512-5Gr3MlayA+N/0+erypLACCwlqjeSZsL0NMD36SPvPsZ8DcE1mcsJe6Y7drejIaaLozrwaDMPb5uLgtSC8cmPhw==","signatures":[{"sig":"MEUCIF5e2iQ1ER7i6JK83vXMx3wd2ktgwCkJ0bXm9s27PubBAiEApQ0cdh50z/gcVpZdMonuToxlrJyOQBrMLh85yzquJ2U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGm7uCRA9TVsSAnZWagAAwc8P/2t2VuzJNxpaKVR0+0dO\nlWWy5s4rc1nZW2RCmu9Epkm3pIiDlERLU98p3K5RWHCgfVdJTTskn7ps+B0q\ne1Pea/RWDucTnYOOuD0sZpJ3RV2vF3ahOqnN21UfqAH1VTb5Utje397KkWhR\n/LKqSRaImYionWyKqKjjqyVWqEIMP7teo+Azu6DWXTNL/R9gLJX2xNmy9VFj\nDt4a6yDgbeCAaTOWMLwzW0k7GTzeVxI0/0LXolWBGEqGe4Cl+ra1YgZy7qap\nAuBTtybZ0yLvbH9MKdYaPnf8DLfm3Co+AbO/SwJdsRsLRz5cwsJTkfkCHSPY\nUttU+1UKLUElU3S/r5BvPNN/vW9XjZiMPBhCkKxL/P1BpNlPG3E/c7v7UrZh\nvjpEOXjOUldoFhhMEAxOw2aTqKCZqOao609XjCUd/eyyWporQYVOj53makBU\njViGsN9prCbJ3ACRr0JzTmDMVoadHcXGjc3LCY7EZhCkDkRD/OpvjQ1kSghG\nTgrJkMxhqRmnet07u7CScUcXbhEJCp0ZnnLaouCAM6RtJtt1OIp2rcYHx63b\nLeUcurzqMsUfDqxTAaQJ38nVr4utWsS1ni+y5r4BPz2wrOqjDClOov1QH+rj\n3Z4+LWqqXGY8mSjJ146/XWgG3xPnQCgM/Vqz6BIrasaavPJcqS0y3ADqdKqw\nN+Yu\r\n=PaUM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","_from":"file:bpk-component-infinite-scroll-2.1.10.tgz","gitHead":"94151d49147902d82b6598648c93f6b25039603c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"_resolved":"","_integrity":"","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.14.1","dependencies":{"bpk-mixins":"^17.11.31","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.49","bpk-component-button":"^2.1.36","bpk-component-spinner":"^2.2.66"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.10_1545236206286_0.06581540841888","host":"s3://npm-registry-packages"}},"2.1.11":{"name":"bpk-component-infinite-scroll","version":"2.1.11","author":"Backpack Design System <backpack@skyscanner.net>","license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.11","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"dist":{"shasum":"6b1d1675f49318a0ed5dc8796a73524e5736ecd1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.11.tgz","fileCount":12,"integrity":"sha512-lJPrMQ51jS7hiSHAAu7KsHb+B1NeGWK8g+VRFv46NiA2cOA4n2vNHJbuCYapQorhjHZco/PzMaHx9kfcAQfX+A==","signatures":[{"sig":"MEQCIGaGhLsF/6VA1MkVUdPR6dOwdsYGmJBfd8BknUqAgT0HAiB3d9K33Id6ms9kqrm3LzZgTwYfB9rqw9LmmC/ZiDYvXA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcMw3BCRA9TVsSAnZWagAA2U4P/iRjmXjUzsizA6i5GW7q\nJi0iDm5EU51UHS/7H5L5KhfpVAY6FYfGH+wTEyipzy3aLSDUewoRvbmO8Vy2\nOLdBMDDJrysw67/0BbiI2B/UXaRGQh572RdlkfwB+V2GfIzicQXMfhCGoBkp\ntsnFrkxNWM+Qb8N7991UI38ZZ2rnK+dNPb1xkTg3Tr1MAC3adwuIParzj6zT\nfIx9EW9Z2Uymeq1mt/eMoc80ZxdOORlGdiAkmVmWAs6ENzFW4vKVIMT0Qu3h\nwMpBtiQ8NdkapmeYGDO33lXOOdurogrFt0TpIS1e9gfvTquet0wEcgRbDb78\nWtaEN23nuIeAuBK6RWHmzLEjyWyINq6ppfL53PZgoQ3v5O93VEj+3YDzQhbT\nAV3faTB/ax+yizqE8ZKUjjlvbrnZjrd6BDkFY/2loI3tyM77H/pfHciPrv3m\n2OHBzjzM4pRla81Je/jjX9R3xGvvbhl2m5Qjq+79qMCdDg9Ad9brxC/Ksf+h\nTvnE3oHX6ZKOEwFlMOlLIQZRUwXza/xM7NMTPQ8xH0b3/oXJT+onqWfTHcCQ\nD3b/1etNZer9jpUm8YLeJ9fVqP6jV76m66vZe7BQ871W1mYbnU2677zL5ylI\nTRIEbVmEF/dcXprKT1z2tJotoVValAQ+vD91GVHzBjZdQB57p9lZKaG/gf8T\nC1wp\r\n=9BpF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"013c7eaa2d98ce50fbb4c373685bb3900f2f5e9f","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git@github.com:Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.7.1/node@v8.14.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.14.0","dependencies":{"bpk-mixins":"^17.11.32","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.50","bpk-component-button":"^2.1.37","bpk-component-spinner":"^2.2.67"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.11_1546849728951_0.4816209763253938","host":"s3://npm-registry-packages"}},"2.1.12":{"name":"bpk-component-infinite-scroll","version":"2.1.12","author":"Backpack Design System <backpack@skyscanner.net>","license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.12","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"dist":{"shasum":"f8c81147b6342dc3504bb3041359333cc436d1e2","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.12.tgz","fileCount":12,"integrity":"sha512-oCX+124GY2reh/VzgWJL9zrByNJQi2ZUc+EsJznoCDPSuqv0JD21rSUQVKn6uqg1EyLzXPm39YuPPFDo+I2L0g==","signatures":[{"sig":"MEUCIH64oC/EGhmbG0S8z/fZLUz8NhH3Ggj2aS39JkpU9ueZAiEArNS9FuvIcz3YdiAznxgws1bg9rC82pEHEVh8lmgBeq0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNHw1CRA9TVsSAnZWagAAFd8P/0eFzy2AxYUNIQ7KxEYm\n/MPZ1s2ny+A0HNoVSYyp5TkChmQQxV2C4LPwdDMSSx9DXYDGogV1SBX0MP9w\nlzj47DlrukmLJrE96wUrKeDwJdxpD9/4ULTAT4momM70H7cmSRcHP/DYYWXy\n/w1WRiPw58WDx/QOBrq8C15LmWch6pen4IEniR25pQOVAhJHSp+xIzGDEKwh\nPHYv/mS2oyNnVNSaRQ8atjlpB9rZG1HWgx11CiiMA+773AlMlZmWLnJoVuiA\n5aqVKjwIckTONwDpnfUeXNrrsbWSJmRxkXAG0c/OJ0+CkhPdkmuzHrfMy907\nTUCIV3tSzB+cpyhH1lCfxMqYWf/KKEu2a6voyc0/yYVF6XYRwVJuysYAb6Ml\n774n5XMS8QXJjEu4D2apG13PoI8SZ6jvyaXrKU1NE/+ByI3dJAbvZ0UoDQnC\nVUBKujjd80os2bOUmj7CPq1m5A/sf5ftWOdOJe0MboKn5XK3GVxb3RosakZT\nF2x3pGQ4cEpJ+6qIxyoCJIp5W2AvByKGDb5dTGArPV1jjxA+orTPTCVAxrZH\nvVVS+1R+6LZnz/H4WarBnfD/9DGoE1MlpEghDvwvq081CK3a/Gyb5mfWIoj7\nzsgGnmXy9FEdS/bPZVrJBNFtjUnf1NDY7LJKD4zzcmitvmp4E6f1VwIifmUi\nG7Q2\r\n=x3PD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"80253267d4f20cd42a13c929498d9eb77a990854","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git@github.com:Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.7.1/node@v8.14.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.14.1","dependencies":{"bpk-mixins":"^17.11.33","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.51","bpk-component-button":"^2.1.38","bpk-component-spinner":"^2.2.68"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.12_1546943541120_0.02202150333548003","host":"s3://npm-registry-packages"}},"2.1.13":{"name":"bpk-component-infinite-scroll","version":"2.1.13","author":"Backpack Design System <backpack@skyscanner.net>","license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.1.13","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"dist":{"shasum":"3f69d2f089bbab66a82130ed3a1fb4ed0081f02e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.1.13.tgz","fileCount":12,"integrity":"sha512-LIt/xirpIvM27s4HpiqhB1SXYC7Mtpt4v3rwQ68t6+nhxL6f/MQNDoGQd0rUo10A3IF3etacSr1D+YO6bhCXJg==","signatures":[{"sig":"MEQCIGzdVqHi0hEptyP08EhskpJ3rclAC1WMEToGFkZGz0aPAiBChyulBreBlKDs3+rik4WWoDoMIJ4euzqqKdk+ff3Umw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNx/oCRA9TVsSAnZWagAAcPAQAJzbTg46Ep/JCcrsJWad\nEJ5rUQLVLNghD01NVLBC85pBS5mYOKN8Gff04BDLStSZu2NJ+MSrekqS7mup\ngWe4ir42hKoeMZg/E8cgUydH44o8HVxfk8xb9+1s7BN53KNJSyJRs1nyvUjd\nhtei5cW9qh2ED9LIIeWC2jOvAqsVzz/QAO6P/wVNd3ccGrPKI1X3nIwsGcrg\nIv9amTd5doET+lA/o4QJuK8IMxj+j/ujnXy/T95gHeISlM5PBHAaToVF9gNU\nINdcOdP0wejsWL3pJNVscUypl8lm5hwAX3SQ4jKcFJ6xtsFv3A6v3zwfsKd3\nM0g1icsdylRKnQpdhm8rfs/xoqg4Q3gLl7c0lFv5GXw+/uEsAruDIwLzligd\n9gUouiQO9XgMuNRRhN4kgGzJMIZ+ej2sjEIc8CSsliyl5rrQBvtI6DmFvsZZ\nHzRfBPA2+HEwsEMR7Q11yB+opnhMc6PUFWuyGMECdNJ3aH2MfTCTswzSaEsN\nDyfkF0LTTGZt6pjPDX3iV2J2qGCLxb4nd0qMsxYv4w0Roj1ow6VR0Dwr5HS2\n/nKJhiKi3VXWInfDzX+RS2utkeu3Ib0IbUJx1eHQXO/BTViSkaFfM+aJPsmY\nNJs0LYW1BqLcVnqFssIYKOMfztR0O3Wtz7kM8w0quuomaU0T5ni4tuhcbejV\nn4ET\r\n=p+Hr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"639e8ad4511a07d246d8c436d616ecf55dc787e1","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git@github.com:Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.7.1/node@v8.14.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.14.0","dependencies":{"bpk-mixins":"^17.11.34","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.52","bpk-component-button":"^2.1.39","bpk-component-spinner":"^2.2.69"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.1.13_1547116520281_0.9589869289586108","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"bpk-component-infinite-scroll","version":"2.2.0","author":"Backpack Design System <backpack@skyscanner.net>","license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.0","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"dist":{"shasum":"6413a794cccbe6c5fec30e52b408d2cc63f22ceb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.0.tgz","fileCount":12,"integrity":"sha512-yGsbbRL476tU4hAigxhPki/20otqj5wOBO95MZZZaF02efvuttdKcvNA1y2cr+gEHdqJD+vLLUbqP3FkWBGEPA==","signatures":[{"sig":"MEUCIQCrN2HmsnX24pOiX5o9hNB9dE7MsOkCkyAg05iLL049fgIgPu8WQQjuSB3LeSCug3La2G81re6wSz/DATKG7bKDKuQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOGhPCRA9TVsSAnZWagAAxB0P+gPg36nrwUcSZ3XiTZ6C\nQKxpm/oTQHhFTiIDv40uuIiRYexnclHzi11Pna8hFWXHm1llzTFL+w/Kvtwf\nHuNxidjLr5HsvxIhOqMjdFRiu8bclbgWjGqQ6LV71qxw25wFMHbIX+Kj7E/s\nZaA1swwBdXO4Kj/v20vzQWk1kLf3+eEYGWQ+gIGeoLi3ghMAQMD8XJmNX8Xl\nEIo6+nQx0tIQLh5jgiP3dkdQPXqRRHmX61CBX2s+RqtSshGjMa86R31j3Q8S\nRNPC6W1vilS6+dZhXDR2AfOJcCDOFL+QtLC0LdI6ZvjE2aK0PwoeWaGpr+RY\njfQeZPQSXsoGUJg+aXY6oyRMFZjgrymCLXpTBrC2f5PVsynWbh7KbNOyfoQi\nhElqvggt7Y2BRkuZN92c0+U1Wk4jYcaq0l/QPomfDfHY4zAP7zGvqt5oyQft\nig0lSp6rXr941iiz/Mf5hquqWOVrioQf1DNUmNahnpNmtp2sIDfR15YMbG48\nN3IsAtLzsjCj6Lqd11GN4RdxE/jbPAF3MrwXxyZfQ4TPuWvNLN9KCIKBwx3/\n2YwHiadblzFuZtuvsdlemuCyL/OGN6E+GVX0F7f2yO3SwGFSE51ftPr3k2PK\nhShsVPJXB3gCBQRCstu8u7zFyofdEdJxuyMubJ0st6CPeCLbWAV7fO5o7+Jd\ni0KL\r\n=d8NC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d2d60d58cdbbcd8312bf6c7646896adc0a40b8c1","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git@github.com:Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.7.1/node@v8.12.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"bpk-mixins":"^17.11.34","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.52","bpk-component-button":"^2.1.39","bpk-component-spinner":"^2.2.69"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.0_1547200590277_0.7997713056769904","host":"s3://npm-registry-packages"}},"2.2.1-alpha.2":{"name":"bpk-component-infinite-scroll","version":"2.2.1-alpha.2","author":"Backpack Design System <backpack@skyscanner.net>","license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.1-alpha.2","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"dist":{"shasum":"50a1b9c7653973d0c6224dadae1d49665da6660d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.1-alpha.2.tgz","fileCount":13,"integrity":"sha512-kDwWWWR5yAF6xONJjZh16f/QkHKVSHcbRskI5uQbtaDTIRALgID7z8OW3ADdnsgvRCpX7upH5BnDl0nH0i6d/w==","signatures":[{"sig":"MEUCIFwtmSONqK16rG5yxAFDI8kEoy06BqsWUL/gGRBYeZh8AiEAkV9IIChFYOmLHLQC+8jN2JIN4fEp8F+MMYEHOu1G7KM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOIPkCRA9TVsSAnZWagAART8P/3lnsSqisiGqbgQkZOqv\nrYHapHCg66HVXFkGygY5KyQLq7WocTZgk6409GK6SNzWNmWAgushGNeNjokq\nvcu6zYORiIVGNphcyeKn+XrXbgzofOqMeONgMCyh33jsBoVlqKk7nT6czGeh\n+9s+dR1mAjF1HJIv+L/KNs0ujRt029YpYoe9KYIbn3K9fBkQ40bm/ZkgUogF\nylWf+t+z+t6HaBIfWMX/hYjl8/hYcRi+8HAU0R4tQL6h8O9fmaHFiD9Frxr3\nl1eGI1EWyGCsu6N7Z+WDCDIiUtAt0e4vX3f0ELMsucMMNDcTahKg4v3AFyDV\nVtQ6EZARBkEFsl17SuuGHE8B8Ipkcungvx0DHo0TIMsHPxFavmC3uymbN6YM\nxPRFpbn3imeQVjy/7w5sU7lXlzvac2xnzDAVW76NYzqlbUzvX92JwD7HcpQc\nu+WjUHi4a1mbQSaM4X6Ad2Im6TnMMVOMjSdptEpQ5g0HcAKtgPaZ0TAPLc1O\n6qNvfD4ooJL2pN9UNKUtrJky8gxaVsmu7Er+MUYW9MdA7t+P0snNLj/6nEu7\nzWjFq68rt79Iia29UHrMa04gE67Ce4EXk6qZGyeapFtvDntgKPvFwOp06b/Z\nFUkfTIc2bCdKiCSJ1oQjK9OpAD/gY1hdhMjlpgYLJ3rF0lC+m+AA/bqQRMG/\n+RIl\r\n=EHLu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d7a73ea404569e2bf10e9ba7cecb9723a7367708","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git@github.com:Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.7.1/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.11.35-alpha.5+d7a73ea40","prop-types":"^15.6.2","bpk-react-utils":"^2.7.0","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.53-alpha.5+d7a73ea40","bpk-component-button":"^2.1.40-alpha.5+d7a73ea40","bpk-component-spinner":"^2.2.70-alpha.5+d7a73ea40"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.1-alpha.2_1547207651850_0.9423705557399358","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"bpk-component-infinite-scroll","version":"2.2.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b03bd09aa6ebe5fb5fcf6f4c3c3d3fbb23e1d772","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.1.tgz","fileCount":12,"integrity":"sha512-SJAJDvg4RYmTmaMzfdWaWLs6F6ORx5PRkMSpwouGpQYdHKciR9uyUxMFxr6aGBuSKrsIN93bQ5hOmm4CdBvmeA==","signatures":[{"sig":"MEYCIQD9tz1f2FdMrOoY8wafORv/tCTkYFAXXG41XG98+GCJHAIhAKVeagZkpHPwZOx0Ljltn8gxJNapY5nkTOrAL8laNs0x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQaAlCRA9TVsSAnZWagAAJMwP/jx9RcjT33RlEn0c+wqK\nR8ghW2FI5YT8zwojdmPfRyRuw685W0XOAGE/zPdp9Xo8PEWyvpb7XOqaJOaF\nwphBRg6FNe6s1UMWewWXDw36xHRuvKuDaTt6mUvFNHXdJ3yqlUNlIc0VlV3A\nUdAjVo3xLEH4mTsHANYXO6hQnIP5zDKt1QIaT/UNA2ruhJIGfjgIgxEfRRzC\n1G6UU6ewe3Il1U7sAY/pNBE0GkSR++fveCvfMty14pEko1lpP0ZH/KTFajLC\nPX+njAxpJ1XTnPrIrtEC9OzJmqV1GqX3yaKaAXqYaHGH5x/fX9Tt/e08wTrL\n8QPGLeqLz9On+H8xQA6KOir730ja5vQOQSTl/bKlq/7O7u2l5aHwUw02saFz\n6a8mr3URU1kIhQvFttDDrWewcZKIoISbJRllub7pQUwqjub45/zFbh+GZv4e\n+ZGyF4XL3wk2RlvTolpQ0lomO/iPCBfJjOT2kFy6zyz9xHLyDAhr7TSHdZF4\nTpPqkgoJCL/AFSf/QRiSs7A+Rg/ENmkKiQwytAMak0r/CSxwjHGo5IWihyRB\nfoGIQP9asLoH8IOUzNTSpujTy5ClZJNcB/TYSTuXS5rvFo0xI4QtfZldvhU4\njVGsJIMgABxHgvAvw9SxN7E0sLGjySAfH4zE6nRYMjBB0F0CBes4iPsqBn2K\n9klk\r\n=4nUG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f8423565827fb9949086210c13608d7016fcb459","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.11.35","prop-types":"^15.6.2","bpk-react-utils":"^2.7.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.53","bpk-component-button":"^2.1.40","bpk-component-spinner":"^2.2.70"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.1_1547804709242_0.2972247660461209","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"bpk-component-infinite-scroll","version":"2.2.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.2","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ab4897e257a21da53b16605336a69e10543071c5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.2.tgz","fileCount":12,"integrity":"sha512-7KKuAO+AM38CbexQbzDaJ4yyKScL0T9Fg4OiB8REm/+c5PeH1rymF6UeP0aD1LgSYNdLrASQAAh8/sCi8UeOwg==","signatures":[{"sig":"MEUCIQCbxxG+Rp7+6pFHLG8cXyhV5l0LgYyYBoEJq0+bjmy7sAIgY2PyeWWmwxD17BJ7pPR6CBfYJibdqKXimzIYBSwBrVs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSJVWCRA9TVsSAnZWagAA7ecP/2DwceyEUoEcdvCYpTyz\nZVmC4Hf5UthZo7TxOqEJ/zc9A+qvl/4+P5Z1dpokw+Dp8u5E++JUBPqLBLok\nyOhHj3tG4PKqBt7DHjQIRt5dHVq39fT6+Xv/EoTeEXetWARoxVEdttk+pKtf\nyGJHICxGa6kuRuqTefUIEKjJ/FDVcPv4vEpLKr7wxBXF8xxvmFbhqqQ5p8sR\nzH9TUKEg41LdFaWGwsWwMZ/PI5dME0MYYvb5dOzy917SrLL6nPDVr7+3r08d\nV/NR0HVWdOT8EXLJEf575mS2J4HlJ/o9Ty1bsrOJGyJe3pmZfR2fK82OfnqT\nEb8c3tN0x1qlcUaXPseCNsbSsH7/qnXF46kgo0EQ6wIHsKEUv+4ct0vgIKTL\nT0zQGTIcQoox1ekOpMpPIsLujdB5x7E1K/EmLndKRvctCHLRNlT+D5jCw9U4\nQBMEzAF4puYk9KseQ39me+Y62S9duyNkzzmymwNwakv9rtjQEz/AGakSycNs\n1gsgYIbzcKCZY/UojyRv1iSWgP4jyJxOfehZtlpmoayXK6Q1i8/f5lAmQlFv\nFolVmwIHtZPsa6m0TzTMPyzCkQOvuk9ND8pQTSJzkT7AkmfEelZMhUmELs6n\nXgkcFI1fQqUbRSULUeRAZybyuKxhJqjaEFWAXtEJu6giGzA8wKmYOWwo0lkE\ndJD8\r\n=BZgF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"72d7dda69ad470c0c9dd28430a2af6c6692d164e","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.12.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.54","bpk-component-button":"^2.1.41","bpk-component-spinner":"^2.2.71"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.2_1548260693911_0.38309518414275634","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"bpk-component-infinite-scroll","version":"2.2.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.3","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"bb7b53ced647b9784c3adfdc266a608e05e826c3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.3.tgz","fileCount":12,"integrity":"sha512-c/iOoW3NjKAADW2l2MpP/FCQsjAegDaMXcq7uv6WJmrDrGzlH0qfxohDyotzMIIMlFZOFC2Cd1DEUd7xYoXdOA==","signatures":[{"sig":"MEUCIQC4zo1XHW4ZfRPMikEW1RjW7s75s2Bi9xQdnU3C6zljnwIgEvpbGvKiT01bYjIl8yC5c47uBna7h06ZoBB6foouKys=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTv3nCRA9TVsSAnZWagAA2B0P/02nX41lEtewKVR50u3Y\nOpK+9GWvMby+hsi+O8Dd4lcgc9H6M2qf5U3MzV0TyqU2zjogGKSTJYoWd6l5\n6rRPEg3Qtr3ZSfbQJbttTseIhG+Mg7HFljW2A8VC8sypS0c9Zo9WmSnxrgxu\ntTNmoRAzSNNMpo0J6sIsAJwM9zQKOlHDdsDTB/pqheOOsWa2YTz4lHTt5MBR\nXSa5/J4RSVmAqMS6IZWYWKQXuG7bM31p5H5WF3aZMsnCqJNuXg4vu/9ln5qU\nP4JpyBrUeEys1GBXviUKFxPIYLKM/BhmmLZEgiD4B5/rnfmyPM/5O85SSmIK\nSXKfciQCiqVNPxJry2UunIGHwAJUqmHi8Bc/zf2tHo1X5Pkk1RybIkV1ESR7\nu1Mh58yE4tNCLtDsFfODyy9vh4NXVcYs0c5dny3YmtsYWwLXuZNhOSI5va2C\n/OdAlR9ay0oTaw8uYKNTFVA4BwiPlPtfsz7bZYy//uhV8JU1fuGDtNsxFwiu\nNFfIyu0KAKNkc9Y+979gLattbQ2rktPo1uhZuXFfAR70TfTPe8Ejhn333cpE\nIsO4W1Ze+o9C0Wvtn2kWQApKXZ+FgwZD3x+U9K1Ov4y2h/ejWiI12FGttkwR\n63s9CQWuxbmf/ZbKC4riDELV9geFCyYtBtP5E7pUWV2m/Jb28e2aPpNYxmA+\n35B0\r\n=6qPz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b3efdaf43f7dd152055ffea4f745a7d780ddfc07","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.13.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.55","bpk-component-button":"^2.1.42","bpk-component-spinner":"^2.2.72"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.3_1548680679269_0.2783195769425082","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"bpk-component-infinite-scroll","version":"2.2.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.4","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a997692e3b659a16a1fe24441f15ccc4ad73de79","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.4.tgz","fileCount":12,"integrity":"sha512-vnQ1Sp0uBQW46mV8qvgokWDbUqsyHV6GdQDvl8DLuFmSeyqDGT+DkXV5wxevzDjDkiYxFaeFNBySW4+IpSGBjQ==","signatures":[{"sig":"MEQCIHCDb1YvstY8Tau0B4iq49xgYIIArRdJ6pMXGed808hMAiAGLiroeKQ7USAVBzvuCNlBSdNtuJ+HFOuYo5Ah3n+TNw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWF3fCRA9TVsSAnZWagAAzH8P/3Exa4o1ExJpx09/komb\niZwEYMK+dZ72c3LWbS7V+1eK6uN361/+JnHPUgzq0jG3nTGAg2+LNvB2BV5y\nSKt/50duDZxNiWdRgqflGpvfjJrEzSklDGxQTxZfk5TpVPK8LfXDTk3VK0/x\nFywOn4hq6IIqBL4jtRgX82fwe/7vixwvX2tBTFJ1KrdO58QTSRWxlsb+kja0\nRvmc3yojWyPNEBxFKVzPC3VWMLrnn2GQKe2HcWMUSiFKoTmjmBvxeu49WTwc\n8gcXq3XGWkfaXaBzAE8oHOQNFNFO0DjEp0mFxyhjaD4ACYbR/5sKvVR778CL\n3IM1jeiF9swJOC1Jwxjz9fHZDlQOsmnEtwy2LBbKXCBltwM8eYCaID4vdM1q\nFeIKFjex3+1uFxK+Ur7kQ7E4vBy95SGq4QArv1XGCPczyeroKaEAwnZ3xfId\nPI7IRG14ztKwcoA0ZVWYC6JPBHKLBg1TNkDTT5EszWu+X+2NYAVpCYptO8Pq\n9R5SEGy7adcDuKPeyY9Tmc0iYeU/Zj7vxIiZxQNtKBulH5hBgbyjkzvCBgeL\ncWv5rNsmPxpl6sX87u8pAYkCVdstNzd2hDBaqP26GywkfQwA1yRU5CblzOqn\n271KAM9rVPvc2oOk2CpDeW7UIHxsSp4K0NWv9vAwe3pQpP5n/UmpzILkvtfq\nj+un\r\n=ke1M\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"013ad166fe09af36790fd6de2657ebc270c8b8e0","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.14.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.1","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.56","bpk-component-button":"^2.1.43","bpk-component-spinner":"^2.2.73"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.4_1549295071253_0.28177469470443794","host":"s3://npm-registry-packages"}},"2.2.5":{"name":"bpk-component-infinite-scroll","version":"2.2.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.5","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5f2ff551d57b216aa206bca523b15704d80e3f0b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.5.tgz","fileCount":12,"integrity":"sha512-kLZ4+53AcPtB7ehqxNs54TnVgesWX2FWGIN79ECpljYoSvZpvgGm+iqXkue2JdZDGNdCvYFtbJC/1O4TQXFjVg==","signatures":[{"sig":"MEUCIE3LKfsrIzitUyQ7OriONGgWOAGJmgGymL0DBdD32xKLAiEAuREQ1JLLW7KYDRFl9PsQrhsnW4RDJDNexAKeQVQYTvg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWt3DCRA9TVsSAnZWagAASisP/i7yUvg15sGHXFperXjY\nUvvaR78BIVdOf6unAoc/S32s738N6ICJgTkJ/wwPMeA1nGVGBr+bWZCvQ3is\nb+En8cvRx4wmW6Ztktk/9YWsyet2G+95HDUZrThspHiPkMeycGsIoM9vxEM+\nm+Lehc3E/3JHgfk20fpkmLsUJBn0/HzEs8p9M0ltfWOr86f34OTLqGSPqnRE\nDNEbjhXqgnlHoxzjFdUW9otFMpwi173Uqe6zKEWWBZ8G5eFlXbv3UAnr02yK\nrdTLmYnA7ZxMr9sO28l5LUM0cBhVAZtut1OPsghdAxSJ7CMjg4W1U51om7Gt\nQWJU2Mpn/1f4UssMmjzqQPv0a7D+IZuDbHzFKb6NJAn6HNIf/zkEMNghWjkM\nigmf25xTaPGoe9bo4qAG7I92XsCQo0v2hH/wJjwXC9iCyhYRHsMmnCsOJ2Wx\nUXHT2C5whTs0XRXr8oVzYiaYqxk9ePNbhh/s2v/Mt/1xH3SMZb5RXFkrAr3B\n64SjvAcmQYQk3DpmA8mzZeB1vVYnfsipHpFTBQrbj9qpTTiWnaI+gm9CELRU\na2kfVZhN3fTxSY5Vf9DJydaPWFKU4BoJPWf68aIObLXjNJoSmxYyiLg9N2iF\nhkFp/G9IFoYNmkg2T89qQbZjmDN7v5K7jY+IdNWhYjJwZTowpjT6W6UGZSBn\ntuSx\r\n=GkOx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7eecc82014f401da57f44fc3f76dca72e098d975","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.14.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.2","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.57","bpk-component-button":"^2.1.44","bpk-component-spinner":"^2.2.74"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.5_1549458882831_0.03216709524271999","host":"s3://npm-registry-packages"}},"2.2.6":{"name":"bpk-component-infinite-scroll","version":"2.2.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.6","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a3a2e350611298b1105ecda91b9206620e100e23","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.6.tgz","fileCount":12,"integrity":"sha512-fC7TwXZkgp0URu7cS5SLlCSQwYQrKmasGH+5qeQXUCJ4EF6662m487SHqdAVqyBtQ8ANPZrdxuYxnpNKjjHI5Q==","signatures":[{"sig":"MEUCIQDJy7ce6iB0IkJe0/lEmWVNjXCynkNfogw7E4vJqY8DeAIgYDjEWFKGDtfmF0aIS6zM+/R3qNMY5CqJsiIvAMFCkiU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYtjZCRA9TVsSAnZWagAA+dQP/0G2TrJ6UswxqjJoulEQ\nq6zfELzh2VOMcoyF9Wubp8OEPvcgpCPKiTHgD2tNjJdGBSL+EyHxughQRHMC\nHi0zU7N4/NIzFdnKL7BdfgUa36zU3ljRhAMeiCklZ9nHP4JMlPYQ2vYJGN2O\n8MrY7G3M5k5WBmFeqirf3IpZGac4dTPXWEGiDlQygJaE7XOnMVilsoWZhBFh\nYugEXJ9LFgCtDWKIcBeWbyOpp/tgsTVgokc3SLbGfSzIoErVJOoqPjxF3DPz\nLg7zze/jbx5SCupnAMoRyOiUXrFx9U9tPzVfeKivoTNUDfIhe5w8TpTtKofm\nFp06brRXR1FWzgParYSQoVmG6h+FzY4deKIg5MygR+bP7mJEo7HSt/j0AKnl\n0cZLdmLuOySsKB69m4XbN5R8xTky55uilVbDkl+d8BN2fVvxXjTM65lmQXmb\nvFeGWMfXrj2QXOETJBoeHGGdE9DFUXuY4KAwsEUeU6gcTyZ0HTJ5OxNMSMLH\nwkLvT2GPPoRjltt1aRJzhTmDXD0L9Xkk4nkKfvasDkqZUgQvdtgI6ZXSqB4p\nJD7jDmq3c0b4UoS3AHQPXXQfsizEABv+TfV/iay0JiqFIiQN2gKVcpdv/tF4\n7dAxuGAlFyAVV77us78UcekOrI0ia8XbvhQ2DRSnOMtBUs9Zu4MBnNYGi2j3\nKPmn\r\n=jHEd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c700c762161a836772111549e64771f3f46d04d2","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.14.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.2","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.58","bpk-component-button":"^2.1.45","bpk-component-spinner":"^2.2.75"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.6_1549981912306_0.7825838292023481","host":"s3://npm-registry-packages"}},"2.2.7":{"name":"bpk-component-infinite-scroll","version":"2.2.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.7","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7bcc911d5dbca021ad8587611252c215f8231248","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.7.tgz","fileCount":12,"integrity":"sha512-Ve6t7Dv096f3jFlY7C3g/0S1nl3oRXFJTTR7bDKDxoK43FXWqMnrLgH1i6aAeLGUNn2QDIGJqfjMRooylgZOlQ==","signatures":[{"sig":"MEUCIQCPcUxEWF0bfY0nK37qXQ+tFLh4xR4KEywXh8wa1LLivQIgMyKvpNDyouVcUUT586mhjuZ4H4Xzya8XNA7ovCx8yuM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJca+kQCRA9TVsSAnZWagAAVJIP/1BZNXpzaxDadR6S3XsU\nqNhgCLWkQiuazQF6vXzm/LOd3Ab2R2E6E1QfEIEMnSpQE5Zf3aUfpLsjH3pv\ndD7lP9DkCkSPwmNxaCbyoLFhSrVM8cwLJ73fRRDg/3BKO8He/twPwIOiv5A3\nsAOQaphNFi1R8gTHXOsvy2gUQINyjJ7epa9dOFA3s9PuA+dlpWBz6JT6Nvob\nd+h2xmmy3MofpKfyL24PqPiXAduuVUBVADs/oFC1CXxCLg9ITVF+Oo90SzLF\nifabaos95eNGpEp8pOk1cGllyKwunJykm1z0rgJZRauFDnh6kk9UAI1cl2G7\nA5lIci9qzwdYUfQ/0Z3SV57jwxWp6SPKZjPdSLIeEfX5UjEtur7RNxdSwhi1\nUyc+G7JPdYeBkVGEBbxPfYJZAWgKMOz0nkHSMt4ouxkeavtl5xcnNbR+S76k\nfqiATmcF2vnQ5P3Wi+5eP/zlUob30TcNJWqBH//z/KkZ6ukiqkMDBy2WneA0\nVfqrmvRHGbrAuEC5KjowjMTiW3KBu0GWosjn1lcuo3mhFsMIAKUwV0jSrSG6\nbqa+6R8n8tC7PFMFNeML6eDecfdQ9qP5fAdaTpgpZjKreX4c6++6PbizXQ+j\nlVNDbDhNNi6VVuLsrltAtfVq/McD9jLTI77EdbEoJOCb5E9ub+SXV46SHhBw\nQSmb\r\n=6Tc/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a04fb97441ad8f70cc3908bd3230169fce2679d5","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.14.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.2","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.58","bpk-component-button":"^2.1.45","bpk-component-spinner":"^2.2.75"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.7_1550575887833_0.34885918489235124","host":"s3://npm-registry-packages"}},"2.2.8":{"name":"bpk-component-infinite-scroll","version":"2.2.8","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.8","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6e6215c3e228ae662ec6dff90e681b10c1520629","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.8.tgz","fileCount":12,"integrity":"sha512-4T5xB30Lgxy5/aKVmdhLMCa2vGW05Arq1tR6zhdBEG+5VUH18lySLWmg4CfSw4NvdJxXCoJ/jhPlJ5axy+BeKA==","signatures":[{"sig":"MEQCIHlczXV5Bj4wpiTaBVk9GOQCE+cRkH8Xpi1lxCSJLgMgAiACj8cj3jWqKh+YZayC9G76Njalg14Wch2JX2NBRXzKug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbo6cCRA9TVsSAnZWagAALkIP/Rpqqc/8Am3X8VFDy9bZ\n8lYha7aMJET9i2wMxPrZ02ZLSbyROFYcpQFUL8HtbEO29f64/w/4tcZUBvtf\n/BztwPgV8zhEHSAn0+RV6fN9RFI7HNtppdcxyTEmHsOk687MMsVL5t4njIix\nI+ITCLDOGOiPvkx9l9yujFE0oCA2jrthOKCv7gOghgwt9M++Tot8LRLWRy2J\nMA5E2FdyeOa7OEHDAExEz11QV3fzUpbqeBGeKNQ80gTiHR8lM+krlIsHZSxP\n8vA5bSysIr6soFYwcA9Zsm2S/JVm980nS7RQ4Q6Kn4uEVvcZzlXFgyxwUcov\nwmSsH4F8nNSfY4rxZV2PwDb3gS8yNZ+TCceZ8q9HWsdM2dacUR8fBImUeUeT\nSsw+gP1eW0gEIadtkAg96uZLipOf7OgpYBlErQWueegFUNWu4hzLXjYenBhj\n0FOWserLAXJgOA6aABDZZZIo51xjJ1vOoSHXYYPQyVjMCzr3wI8yfGvsVdqh\n3Rkbq7ddf51Y5BH9fWGhTX7Sq2v+XHHBjuNTlRrDByJ/WM5iB+V4SMYuYv16\nPOy16GJqk/KCFEA2Vnwxe0ZHodoi3KlRSOlDnzolcDppZLatlddDHu0/5UC6\nQtXQcJWe/yE2XJPOGXhf74e3ejdkYKymj/ebxjnu9lysnshN1ZxHwruhiAod\nbjuw\r\n=FetX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"766ec8ca329572d1123020addc66d22f3fa39ca9","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.15.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.2","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.59","bpk-component-button":"^2.1.46","bpk-component-spinner":"^2.2.76"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.8_1550749339600_0.23302673907079252","host":"s3://npm-registry-packages"}},"2.2.9":{"name":"bpk-component-infinite-scroll","version":"2.2.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.9","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d285948fe92aabf321e822f15f5043b82002e775","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.9.tgz","fileCount":12,"integrity":"sha512-gQ3HtMPwgG9WzLEu6tv4D94ylyM+nlu5y5VkI1hxPbDILYNw+ix9CxTTh7GaEiF7yGIDtVvDy8VMRMaNTbyxXA==","signatures":[{"sig":"MEYCIQC96A/rFjU4ce/S1s7jOkOuCBcf4GMUWkCAzpy2j2P0vwIhAJsLl+5rMqVXOllvHGWtnhSkFCbsq/HmdiLe8Z997s2U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcb7ElCRA9TVsSAnZWagAA8qsP/3E27qsOufKPgAh3bD1/\nvTZ9ZIUwOPj93KUISv20Xes9I0zbsh9id1D2HBkh3jnC0QmpjUFaX+YiProk\nVWTVkAWgBYLReEkVb7vIjipd26W/5M67R3IN6E+dwDOPzvnwNRjJtwJp5yVu\n5AfD8svaPMhWmoVGYzXjvs/kR0JJh9HVEzawzIXynhH2uhStpYG54LN/0S4R\nltyZK4wPq3+1Pa6rTsgGN37HDpniMLMTP5Fi9+g5h6kL1ntK3i1qBjM3tU2r\nj3ptihPp5876IJQHKwJTFPNAuQ5VbXSKcWQqVBjqPzJP753MBLqTglmMnC7K\nl6CeJuc55AONTWH4Acdk8aLK9olazHGJR1yyQFsPqZkklyFS0WAuSPDkZV8q\nfBNCVuIaoERqWjBnugIEUzr6T6rYCJFGYQTURx78pgIwCFQy6oaLRbzBryyJ\nTyD6eexVWcDoltIe/Si/Jos5jTHEViX8mSemiXhP1accTVYP1i67HfXffJti\nLe9uP401ZDubSEbxZXg+Fzl5/lJIX5JSxqEXknQyD9ouK3+DOSoRMh4wCR9G\nF9REsPElqqx6vjOWWQQOLSPLx8llGfA11KGk9M2P1TJ6VkP5SDie+ZbwK9ju\nCSuCzHIygzs2Z/ZraloH4My+5vPd3srRunBvkVZqIFBmVpZ4Pw0VGAlJLmzV\nOAM2\r\n=xjdi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a80e17d5df188762f4ce85b3334749dc6bf55cd9","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.16.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.2","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.60","bpk-component-button":"^2.1.47","bpk-component-spinner":"^2.2.77"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.9_1550823716464_0.3157632655488689","host":"s3://npm-registry-packages"}},"2.2.10-alpha.1":{"name":"bpk-component-infinite-scroll","version":"2.2.10-alpha.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.10-alpha.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a15c1e4797426bf0bd4ede53d73229dd3403756d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.10-alpha.1.tgz","fileCount":13,"integrity":"sha512-O3AVIcywmZJAw2V1zO1A/ykXglZMUXs9T2D1vadQmuxA2C7XsERzrZ7729/Mt/43YrCg0bMCoAt2uM4FnbX/wQ==","signatures":[{"sig":"MEUCIQDEzSgrI266EE3zv8heHJC/Tc2n+cEVjKQoj7eJtwfCogIgbiG4kRsHHsvqlCHYgQUobdvajmOr5Jc0Y4S/Vshbdjk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc7BxCRA9TVsSAnZWagAAmbUP/Az+IUSGSHhFp0O9M8KA\nuebmqh9cgtzdaQ2Vir1Q7VzbhOH8N/gHUhhZ6d4XTtZjO07KWsipdQG+PN45\nDPfKoUivp/cxpdTCS0ilOGahHXrNDov+uLRDu1VLJ+FL2468WWXXph6bSjO/\nyiIGHXbuZfjoZafXd5eFy0uHu5JI95JN90okvprIdIWQIOH+1dyPP6JfmBif\n0bUQzzFH3moBPT8AUCpGM0euQckloBD5gavZrhsKrUXEgJHuEx6AL9I9uBK7\nX3fJO7uz6x34tJc0okskxleTKMU09MXbBLND8WLin+uGH6g352qvPH17iq1s\nTSuwEO8qcN3KkpYJzAE5nvjtE8QnJA1VzWXil9uBRTwEQKaGV3mV9zhv/1Z4\nFheU2yVFhuhLSkIy7IcO8s5ZlKWhoJ0Y72w19zhpQ2i0dnUialO6HBDdW9qP\nN4tgYAeoTfbtapoNSH8l7LfAUtA3oDF2QpVghHoS4tCghMA3UhVHevNM4Vp+\n4nuDWun2JbxxwzjsVjIXHLan2vUXj7TVe6nacP9QT+yAcBRIoDGLa9hLJYN3\nSYTKb6tbEZMgTYq/kxnNmwSvtUJ5MbzZCbb6p/yGxGnFkp0uxS7L5hHUdFqL\nZEcPznZ5rk/Yo2U3Sw8pKD6yrkdBlz04cltcgphvROkfQA7WLLJCaURduQdq\n8Ct9\r\n=V+Sa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the InfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"8718527f8df9ac4f9b33bf5ba2ae1355e01285bd","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.16.1-alpha.1+8718527f8","prop-types":"^15.6.2","bpk-react-utils":"^2.7.2","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.61-alpha.1+8718527f8","bpk-component-button":"^2.1.48-alpha.1+8718527f8","bpk-component-spinner":"^2.2.78-alpha.1+8718527f8"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.10-alpha.1_1551085680539_0.3720516031879839","host":"s3://npm-registry-packages"}},"2.2.10":{"name":"bpk-component-infinite-scroll","version":"2.2.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.10","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"mhdev","email":"info@matteohertel.com"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d1b82f7f929bcc7ab38fb1ab885d3715276155f7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.10.tgz","fileCount":12,"integrity":"sha512-6GJi7HMXOo5AyhChN8KYA5GL3Y/8jFRxJIoJZ3r7T1TyVDT/zLt2MhrIhqPvUb4OWivtHIHHFhnuxNTYA8OAOA==","signatures":[{"sig":"MEQCIFtbuAqBxusp6rhB55atWeo+gPHcm/RkkJabIAQnmrxQAiBm2LW1nfEG+nrM86yak+NgWFk+FuR03te5s1a2XiuLLQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgoXuCRA9TVsSAnZWagAA1L0P/379sf3qP5IT22nmOTUk\nOhxsbIcBXC2jzBMH7GZgZsLjVYti3LWwLw5r4067Aijvd+QilJZaE8wJ11MS\nrUkDmY5wZBuzOw59yAnnHLcLEFUd8mkmW0v4C0mGIT/n9SSLvL63w9d/+B7E\nTbghre8ICUEyW+7KI0KWBvjPju+9RCRrXQZq3iQiMyI6q9Px0vIjuOa7cFdx\nVijADFmkv3RKe7DZfH7shuQ7pwT02U8lKH5LKw+sryHS+G6s2Yix6qGl8Sfh\n2Ws5UB5blN8m9JeHo2Y1wFxBUoFkg0VupuMifHQy2txd9L6Gde3adeRcfEOF\nfU4FCUtkJ/QH+QTprNCdvtUqwRwhvt3UCS2W9ZWBh30ocmS8SLRYe4L79kDD\nUc6bNvAyjtngtDXd24yKnowzZTCI4mHXHnXrzpwAiwyr946kWJR/SkXnHRu5\nyEEselqlhnVJC/nRMSd7JqO647YDEu2onIrQLpFz6hK3PIPy1gYX3S7moI0H\npZ3FyQyLAT7T5va8OETp3dyy0OgV2MbCtn1INti5ut0I3mTByoAH+oQh8rdp\nR4uLp5HJQMobiN7TTnpy50+G6mrvCqlqFHvLxHyoZM3DRCQjaNH2epC9PKOR\n55zTgTc7WBhpX/eu70IKlrzdOP4kZlEGRjmy3ReOkija5Vmd8Ku/+JVZ+0i6\nSMSF\r\n=y/nw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"27eaa6d945e8cb81d10eeea940a54e8b7cca37ff","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"bpk-mixins":"^17.16.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.3","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.61","bpk-component-button":"^2.1.48","bpk-component-spinner":"^2.2.78"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.10_1552057838258_0.8931159394130725","host":"s3://npm-registry-packages"}},"2.2.11":{"name":"bpk-component-infinite-scroll","version":"2.2.11","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.11","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"754a4f579218eda085e50c3e07fa057dc5c5590e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.11.tgz","fileCount":12,"integrity":"sha512-DqOS9RKXCO7zh6vnvTy14I7gXYJ/Oc1vTThYPlas7xh+jn/X1WLDDJvnMJNI3qsWRLph/769G84HA/Mg883rdw==","signatures":[{"sig":"MEUCIEEIlRf2u/A1wVUcpMqzKW6TEB+3oFW3mUgzvufBAtnjAiEAi594T/Skq/2MMp3B6rYpVJ5xCHhLSeq+rcBSObI4lWk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm6pJCRA9TVsSAnZWagAAqZUQAIXa09gXgXvOrWap7wwZ\nhee3/XLSTvmkNAWFQ5kUQJAo2WQMCKntvV47jJdiL1SE4aEodWT77e27FRuV\n3Il9olOnzWOqE+ncTUOC5pI2/wlcTpONBfR21BLXD/CRZqPEoFUi5XNanKzx\n8+yF5qWxkb2qmdxyaFEPInP1tdMsWP4XFnw3xfGB/AglneZB3G0/GRF1KZF1\ngqKkh1eCnAzjqNKbkEuONiH1NLw3UD7AylkLy6tuLNjqethmewxXKsj4Ts+m\nK1XnnyGPX7Jo/kX59604uTjc4us6PDi4nICmtkg+Havsf3WG/SKyFQSo84+P\nRwOC7g9x9O0UqgF74VWCHHfbRsapVzoW4Ivmn77aLGGeMLnAxcTEK4wanypL\nmHrJ9AKy75Q5Ds9rqytkGvttpCdA2ccg/9hG1D5iVAoovZGr/i1Omrsm4ymI\nskGB3FP4F2LRwvOBetBKVrbkHd0Id7Fpmytj+CWVpS78Rp7MHjONbF/hRI5K\njPZNvbTBMvHaliHl1sr2xWzvAL4LACdFdyN7G8srgb4U4swmVeb2gGcW5gbp\nLeNi3y1BHX49EQ7j3S9gG3x8jMe+4XWgG2LztgjhtkLbzPG4dylQ6Q6PDFPZ\nuTgRq9PTdWA1nJwne2qPz8XiaPzUcU3UpnuhowLPvrK9Mk8ozj6SSo5WPT4G\nn8C1\r\n=Am+A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7219edd0de4b8d85b29f2becd9d0ae4dcdb4efb1","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.16.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.62","bpk-component-button":"^2.1.49","bpk-component-spinner":"^2.2.79"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.11_1553705544690_0.8804958515431385","host":"s3://npm-registry-packages"}},"2.2.12-alpha.1":{"name":"bpk-component-infinite-scroll","version":"2.2.12-alpha.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.12-alpha.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"10346ea379694cad2a64d74d33de66f9baec5ed3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.12-alpha.1.tgz","fileCount":13,"integrity":"sha512-Ww0+a2dMg00MLqwPIa8Uey+yKr4mqjzw5Rijpk17krLadHdfMzm142Wiua1IrwRzQHisJR9/N5xlZxYc4lriBw==","signatures":[{"sig":"MEQCIDGq0W8Hks9UU8150t2Bh03QaJJ0b5rtHC7jlLQn+A26AiB2XTKZ9Rn8eXhDFg1HLLns5njCQoOM4IxyKnuEktRTGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpGXBCRA9TVsSAnZWagAAjLIP/1qtt2dWc+R7Adutu9CM\nIgOBTMDFd6GtYK+F7pUfpv4/MACngUMWspuT4pHXY4fMY4gYOlmSDnEokViN\new496XKq/h+FRuy1XVvdH6G4G7j/SIt8ilBJR9q3wQpHhgFQGH8HxG15OU8N\n+Ak9ZwX9qRJHNW/KnKiNrriumqFyDG9Bl4rXlZ5TJiOx6l925AC0dzdzEimN\ng7RCSFgi5pC6YJDwfsziCKmqBuKKsX7dcpTXG1lzXRwe80JHfbe4lqbwLiy4\nBGnU7z3YL+k9IKiLlO+hMHQhoxaTfyxoQ8/qu5UsmGeGvqvz5t4mcB1ZJQnn\nEL0CXb2bzaIvT1k0ORTXi4uyKWDoK6iKJEXOsoA6LbdJPMtL/YfIZwVKti5V\n9KYCjaujvEqT6KbNhdU3ZlSwPx1T7qgMagbjIfCr7wIkIL8K29j1GKpwYzS3\nXm7xO8TJqQfWpt5r+kDVWPiZoRxgYVT099GfxsTo8kOvBJXnZIcE7NhQn9Dk\nV1rrfVjAXJRIDI2wHs+CgHyb0qMr6WOanQub9FYFsxyknA8ubdyA3D2DIJRP\njTz3QJb7U9Zu34PA8lxn2ou+0Q76Ss2+CGfzGev5PkUP3LQjj31ZjKGPf3VL\nqo6l8WIt+OTIs31o7Wdl0saKTveQvXkBI65gVjpLTWodwQ2MOo6t0QxnHwH9\nsXVT\r\n=mWFh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"b16d9712cf867b285d3a44fda66875ddecb3a5b9","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.0","dependencies":{"bpk-mixins":"^17.16.3-alpha.1+b16d9712c","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.63-alpha.1+b16d9712c","bpk-component-button":"^2.1.50-alpha.1+b16d9712c","bpk-component-spinner":"^2.2.80-alpha.1+b16d9712c"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.12-alpha.1_1554277824803_0.6844793189478988","host":"s3://npm-registry-packages"}},"2.2.12":{"name":"bpk-component-infinite-scroll","version":"2.2.12","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.12","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"cb604a779ceaa53d229ff4e6f13fa180aebe04ef","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.12.tgz","fileCount":12,"integrity":"sha512-noTJl1S72rHPn1YSlxopvIxwCQBQXJX4vaMxFD4g71e3BN4H+tsm8Lg2lG5uNmqkR4gmVVBXyb1HEuGI0pEKTg==","signatures":[{"sig":"MEYCIQC39zD41O+o4k6JqenkvtGGZrHd45SKfDUf7bE63voZfwIhALqbV08iaaHGYrt5CNmRGX2TKqi8BcG9BE+U5YMuXjWT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpgEhCRA9TVsSAnZWagAANFsQAIHO+UvbPOMedmop2RJu\nsUdXsynquuokSRvgFCcQfa8GtqSmnFmvKO933ecUdSjs85Op+QMe02nAKqpP\ndBVsltOyccf8xnc2qsoRSI2xRUiwRgasLjfV9Vt6UH+7SoRy2J8MPvIRAwXr\ny1lH4HWTkC3tYoKUuYnRzJefRAIoyq5zOEdT4jKRUIhR9v2CLK42DIW4ushu\nVgpkHNZ3xTsOGu9v8VouQWXcJM+VMBVP+QwjkObinm8Qor7dCXgSkUtkevU+\nl08rQD3UWVNog0p3GIGFYTXGy1egMdOdDMtbTuHLr4f5W15EYzU9jbUKqWmO\nM6MoJH1LiNtPjuJ7xudIJRZ/5ngCmT5i9G1bJ8CM1AsbwsGjAOmeehOaXtfN\nT8qhkwVm1T1BMlOzNAy+0+eLXMheooxyLrIO70t53ZM/Hbi/QMACS/O+DgYe\nBwZNlqb/kdmiH6UFD+3VUa544nwTrUDeSdEuRzirVr3foN24Q9dOChOQQq3a\nyeo2G7Z/wt0OQG2M6tTVRcdIPz6IvRFeudRDgV05UvMM/FJIobaAVtL3zzrm\nTKm4bho94w9xAd3EiGgZleNw2dg8JFTUJjsf4bUHS6hYfiSD/sQ/3JCojPbT\nBAtzAz1BLReBYm71GzSWz3a7YKb9VKzQJjRM1eQl7GTEurDja7v3jozkUEgE\nOU/e\r\n=Xb7t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2315b4c436adfeb18ea1ab8ac760a848f71bc62a","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"bpk-mixins":"^17.16.3","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.63","bpk-component-button":"^2.1.50","bpk-component-spinner":"^2.2.80"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.12_1554383136382_0.6478920554370033","host":"s3://npm-registry-packages"}},"2.2.13":{"name":"bpk-component-infinite-scroll","version":"2.2.13","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.13","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"22173244b3411d71d2ea07a0d296a22c5efd6ffe","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.13.tgz","fileCount":12,"integrity":"sha512-B3SOs54Iqfc0ufYlZlVmHfFq03kbrK4VoA49iwN3G1E/J9td2rtzYI3bpUnAPGW3//xKcpsKoNBSLiPI9RZu+A==","signatures":[{"sig":"MEQCIH3+PqGvj1oV+/gB1zsRF4pqYqKb0G4Utbq+9yBgxcXBAiB2HEcAWtNnWZgT/UNqcS5cq2nMrM7PidXXL41OXtCfTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq2G/CRA9TVsSAnZWagAARasP/2nJW5e38mSJzJpgMBbv\nSL0nUHg3iR87NaLmiEPk0DJ3zHvwxhavGXPp8KOLZ5O7W9Wgd69okI2BhYsc\nwNZajRRNjnKi8gbdyErKI8RO1kYAFqZRi9NuYwCbCOlNR5ftxD8SX4tj1z+0\n0XrgXb56CGc9kKr3ueroxns0jGNszAv4lO9fHCc1IoG60TpJ5FosqdqOkfjV\nGsTvII0j5BneZ7uDtIZ+ijQzKUr0KS4482s+09NcVVPDWlo9gGlRQ7ZwioF7\nDWvRLrRpjuNVcKgevl7HRmSgNyKUNSgbYYmEdDoxmf+me0d6YLUivGKW5R5V\nf7DCodHwF/ECQ46Q//J9QRKyuKSL0ujdFO8EgADXixYvWj4neBeKikf323TY\nO3UowVU2HligvDAYuaXmxMm5myJoGooGz6hmkzmfpIRO/jMvHn1zh2UNM79+\nMz+y7HdGiXzjSxYafZmI8k2gwO1mbpMbEI2ME3UyaPNfg4+zDdV/slhs4Sjc\nwRyXSM8COFtIeV8TAUkJ6Qby3u31CIojcsBAinomYK5RnZ+eGxunymnKHil4\nxA5Hg5x3eUv/ybFFDbUnlyfGFmwASkloZJHv6SwOXZ3YppHMoKUlkpyxX8Uq\nUouc7cpqibTcbE6Va1wke1BhSU+A6qGrOzUTTOp+K+WJX0VqVPrnONiRDXfn\noujQ\r\n=nO4R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ae88cb14a79e8729ea614c4b1be00ddcc56fb551","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"bpk-mixins":"^17.16.4","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.64","bpk-component-button":"^2.1.51","bpk-component-spinner":"^2.2.81"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.13_1554735550543_0.3105498872675909","host":"s3://npm-registry-packages"}},"2.2.14":{"name":"bpk-component-infinite-scroll","version":"2.2.14","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.14","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"48a3ff0e54775d23b7c6ab2c4f648a32d07a31d9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.14.tgz","fileCount":12,"integrity":"sha512-ecVbV9y7F1d3pMsSBe2nlQt11jxHuNmb3cowvClj2bITvwu5OJjzUt9Oe1T4tR6lccEAsP2H2ZmzNXV0OKOqPQ==","signatures":[{"sig":"MEYCIQD3zxqnCpbpSXsWj7Jj5lpOlnpDD3wU8Q/tZNQ7x3xnQQIhANv0Z0tasoY83nuY1PEqLbizYH8Q3zE4er/YcgYZO3hf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrabzCRA9TVsSAnZWagAA5SMP/3S7cPMrcrC4mkV2XJfk\n6JzZpZ7ZNX0H+ycb3ewa3CJt7o6NQVByCpRH8svF6ARF68OjoapvOvUqYrHS\nuZXH7aQYnKMqrAhUVl/QnheHoHMCk9ILLyvVMs89Cwhthb8WC5Nq6guRAdSS\n+F9WreEpKbgbgzSvc9B9gLXxbQ9E6MpLZIU6WDPgrsCxaQhfpNyFWeYTViL9\nGQp/MZ1ATua0beppPYlaTYmdXxKju2ebhG1bllFibW/Cbg5j6BquB8pnA/7I\ncy95tZmU3W4V/und5rRMBOFcVl6NpLMYxL6T+J2/m4mK94KnhGrbk8clg02e\nCb2WHoeuph36lvZVxSOZv+Z2Xlu39v/pduPs0/siP4wJpt6zXWEvAchocvl7\nqyjg3pePljRSlsh0m5qWLAQTHD8a0vq4JeZBJIO5z5ttoS20Fs3AVPuGqBiP\nphSE+Da4Jd1e3IIJmgzwT0hjoNhKKxQpApNorGnkV4VUXbIu11hqA1bmQBiy\nkm3teY/YVQ7rr8HmRuoqD0f5CTkkGirM+Z9FmJdhQ/z1xmSbi/RZlXerbzEl\ncEY45+BZFb+e3KSUJkqmboV8Paf6qEcnPU27QJGsicD/jDXzXpDGAYmLZqfH\nMnEOEduJ0IfX2tisiFntB4YzKg3r9rUp9HGIypPK4Ktf4aU2wyyhpkVwNbz5\neDwm\r\n=A5X8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a02247b63ef83ed5a8cc24b7088f8863efc5e843","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"bpk-mixins":"^17.17.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.65","bpk-component-button":"^2.1.52","bpk-component-spinner":"^2.2.82"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.14_1554884338829_0.6534485944307555","host":"s3://npm-registry-packages"}},"2.2.15":{"name":"bpk-component-infinite-scroll","version":"2.2.15","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.15","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"268dbf8b41550c5b9538b4c96451435bf438ec97","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.15.tgz","fileCount":12,"integrity":"sha512-ZOrosXWN5kk6O8OGqvvhrlXMIi6eavZKLLESNiBlNI1RrAiM+8Ua1SPeLnO4yE7WkSwAyQJgn+aP19K8E4ngFw==","signatures":[{"sig":"MEQCIEV2GvPSepEURD+QBTLPBEYNxt624EtIxsedVqVwerPeAiAnYxol2nR0Xqw0MvQfBo/iPFOx8aNZCfIcTqv4Ib3dRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrfpfCRA9TVsSAnZWagAAdTgP/34wE2JlgdPOXx+qQ1qi\n6SW/PO8ICPN9c9AWKw8vF8oARwyrfKt8JpgLc7ulc6iQNFk6UPGY9APagzQj\n+fXaa8PfMqXnYIsQ3C+mhO8jakelnmyBhtcU7SmR0k07vyXsvmb+oVqDW9Nr\n8DSKImv+JGO0GFmD/giJsvZjYca+r15Nyfx6uPwqUS7apPE6x3Tdn9LGHzkR\n1577MUt6bKkMje+u3Bl5lUCFDEsNh6CvcbUx5P2/avkCuXg1GC38V2MJ6gwy\nno4G8cwWPDUiGaK3KNcnR8rO79+BAoSlAffsyfC45BHfLS+bJPMsKrPwSqIJ\nFxZ8AfYMRV6ho0Q3lrapQU2UAzGxU/oSo2yy2WskQtWW4apRAhWFTEjoRIvX\n1E8oz2uAdavvLXIgFl25tCUnOuq/jG1mFwC0sSnWdYrxNRVuPeExAfZahdiw\ndzwhrAL3XcAaano+Bq1ElbzDt4KNSN6zgRmlSz8fgXH7vuAvGvVG8ZKBJaTh\nSBUrwtRXvGzx6/bg0cuiMg3ZA0JeGU26UEb6ATAiyleaGjvb6klWINFYmPKX\nR3ONaJp6eC31xMxMmLSEr5pOIYSGT8khRYhWdJftC3FYdJ0DGGhc3uxdn7XT\nIbutBgbPCDyK31IHEcnT5np/5MVB/17YXFaWO8u+OGdyuFuVC7bCvSf8OOV5\nYyV+\r\n=8wg6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fd9765a1749d25c19a8b5c79ec30e54904d4880d","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"bpk-mixins":"^17.17.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.66","bpk-component-button":"^2.1.53","bpk-component-spinner":"^2.2.83"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.15_1554905695063_0.03740881333226853","host":"s3://npm-registry-packages"}},"2.2.16":{"name":"bpk-component-infinite-scroll","version":"2.2.16","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.16","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f29a8da2d38da8c53cd2e8545b342661cbdd15c7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.16.tgz","fileCount":12,"integrity":"sha512-yZ4W/F+UUooL8yYmQhIwa2XXyeVUAKYrqyyMGtwT2u2MqRJxMFfEQrI/W0ExtyfOcREkxID0U8JPSGEi0PZo+w==","signatures":[{"sig":"MEUCIQDB2dFsUf0sfWBpMPAONlig6Hayayksi9fH3ara4eJH3QIgLr1W7d80v2PUn0q/0976QC4GDS7e2JD1eqsZbWKoQHk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsKWHCRA9TVsSAnZWagAAfPEP/3PBZ9GUeVLMuNE7SsBg\nYnMA+KyLkNKRB+BxYsQBUVkLy0UUojx5lgf3x27NLp/RpZdVVX4JCB4rtHo4\nKLBppsvrAby6RyvR+OK4f6UC0DF2dpjTAQsnaHwezrS/Tzn5mnPEbXixJjg5\n9N4N0Rt4QnQ9UaoD2ztJEoYS2aj83oRB1CmT7dWq8+Wel46fATzeBS8hzTJw\n8pZxK6T0yHCMywTBAP1KtJtO2iPdbl9cgqFPzEybkS3qzN83pGGqJ4SqLV7h\n0eXxDnCpxDCbb19STPmzd5p6aNqPPgrJ1ZyXw5uDmF1Xto21cfqNzjL/u1d8\ndRmjN7k9Tg6G8iEEfikyJwErs+FEM8lO1kQudnWtdmZUdnR3yET+zOo9D3Iu\nPCjic3f3nj9Dqvz5+UFma2uKY2zYXt62L/R9qmK3LbL1+C8G+MsBysH0d2yK\n2BHgQfc39g08f8EI1YAuGMjHhO7tAOB+V8vz4e56x8SCfcD5vqLWmY02gsFE\nkaNROVe0bLnroYt60lCbioqwLtYxd8XtD0vTDTFnlDi3a5vayIyabiSXanw+\nnXs85ps42Nf0QnttVEJW8PYRV7FmqROUKHZOTAyjMIL9uB6sdXGAy/jWkyyE\ndBzGrzBQg2lSf1LdiWkTO5uWFoM3kR4h0jPWD3aqJY+5M9y4cqS6lGWROLOr\nLdWI\r\n=FUcG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d01319f2b30e693e633c20fb8b77421ea647a05e","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"bpk-mixins":"^17.17.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.67","bpk-component-button":"^2.1.54","bpk-component-spinner":"^2.2.84"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.16_1555080581510_0.42415470788759446","host":"s3://npm-registry-packages"}},"2.2.17":{"name":"bpk-component-infinite-scroll","version":"2.2.17","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.17","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"04089244a719bbe7342e0168dbd2adcca4d02ac7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.17.tgz","fileCount":12,"integrity":"sha512-pBD82VwGWNu7ToaiaZD/nhBsOxprr8PFImDm7Ooxoj3ymxccnNER2ftaMC8ipwisFLRBd05ZADiZ3topj6kUbg==","signatures":[{"sig":"MEQCIEnlg8A1WXkV52Iw7IsE28v/WcWWJhXjmTkMuZXoj+QpAiAukbyn5mFQboVa1DKW49G29pl3dpqiUy5dI9ObQ7UcbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctyqGCRA9TVsSAnZWagAA3zEQAKE/aM/IfgHeQSHOkeYj\nkGbgMp0V3jLSOK14hEalMeJZ/q63St7YK6OQOCXp2VweblI9Elr4701+C5MW\n6jzEpMP3z2t124olW8akDep0C4S5VbmtaRkMdA3iz2uOrjbsZ0iWiUOUdlWD\nTvblutHHa3miMmXELtzZaD5WiWkTcVhKjlKtIRzMnWAp2MI3dpnm/LxJkiun\n1h2WLOe+UzuRJ15Qbir2D0UsUPN7CHYPCrTCqgP3eO6SwjErGr0sCb2s0kEC\nkecc/L0FouDg6lnCXNyb6qFsrdiYgYva+ik2n+h1GRy6Z7icUexVPoV1fysI\ndTZ5/yH2WsLFb4FxXkG7O9fTG4wSb2TGoV4jNREfgNoveuoNAuVppDAYa3UP\n/xL8rk43j3muJRAprK3ToDudrT5BTRXfR5uyNigZOWliFpQP8zOiQbkIs21l\nw6T9rvvSVs0kxSmrWRkP+5dtk9NnaoxyfrB5L2DSbsd7IeNbT2ohj8DuWGle\niLoFQJeQPEUKouDMOu+VY6FtKXP1gIQXU95ivlcBxjtJnszX94TsDdN6TWlI\ntIZHzwAT9uJcEfNaHxYhHbcf9OiO6gIRL/UurUD+YI7mddZJyC1t4dB++N0n\noc/vnR4F5GRF1iQ6yuFPF/5R4w1IQdyJspJc4XRtGABQ6fhyJUUTaMlPziPz\nnc0Y\r\n=lEwS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"98aebc677997302cf88df1464380d5e840efed08","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.15.1","dependencies":{"bpk-mixins":"^17.18.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.68","bpk-component-button":"^2.1.55","bpk-component-spinner":"^2.2.85"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.17_1555507845855_0.27529532502200293","host":"s3://npm-registry-packages"}},"2.2.18":{"name":"bpk-component-infinite-scroll","version":"2.2.18","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.18","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e19f402376572f81da4146fbd9c692f4d428c022","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.18.tgz","fileCount":12,"integrity":"sha512-eulC9vc4QbRrlJQ+3flNy/jgL6D+zSNphuxmQyCO18vHcoLzrP0xm/ycGbtRzslwKDLstGwFVm/Whc5KyI6VqQ==","signatures":[{"sig":"MEUCID9KE8ZpGibbjwxG25L9NP/F958OrHJaG57UR/BN/QndAiEA0ziGKYhoQDMpN9BJj1lj8+noap9NBkY6DdeRtbCK/ss=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcugYOCRA9TVsSAnZWagAAFbIQAIgg5hruCMWuYnwQq7SH\ngYREi5/CbN6DrkFtKfDSlCaJuMi80cc6XYJbWQJTsGxkqmyaDJK/oJtpLOqu\nDcPgP6SIkSiAIk/o6idiHGw93Ic3Zg+kloEslsB19BTPDpxJ3usbFX8gGlFC\npfNRluku8smmbCADokG6WmpcuxMxjXT12lYS5QDoYw68znBNdyfK+Ih669gN\nB4jVm4WcC2WvdYXgwQXLsVehQd5Lz2UkYRWuh8UK5cPjxhr4sfRt38EZs+qy\nYOi5JuCJ9PbA6IrPJ1HXKLLysDZez0flZ5ih5WhHXUe3TIQlKME8pVLOt1aW\njyMcpzXf5gI6oDS5/2dL5DTuPAnyGp+rQsubO394HRlIiQcV7b3XrIe/qiBs\nz36mnviHz8/KFiz4tgo9lXf2Dugyp327bkCZx6/IoOx3JNX+NyNGo/8NJXox\nrFB1g03Gp+r21sQcgsdYarhFIWgRLThdSC2iu4vtjfJWC5+/8bvpfoTp9+X3\n3djZoqMDXDvWEY/bqCuOEwIw232871b0utZorpA2Quc0AGUwt6uUCgTL93Jp\npusAplFH4wl6muCRtijAbq2JrX8kdRTOr/gpDnDKp1JXhh+s9Hki4PkUs822\nKVYFt0V0CmN021eqyx6UhSY42qRATpq+eWwB9qzs8qvzxQRyklMXGoT58tF8\nTcHj\r\n=gjt4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"edd14f16dc571cc009d908c3c8f7d27a428b6de8","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.18.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.4","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.69","bpk-component-button":"^2.1.56","bpk-component-spinner":"^2.2.86"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.18_1555695117543_0.3393778924792821","host":"s3://npm-registry-packages"}},"2.2.19":{"name":"bpk-component-infinite-scroll","version":"2.2.19","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.19","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0790d4cde7185314ba3a99740dc6daa5a21b81d0","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.19.tgz","fileCount":12,"integrity":"sha512-Se829pY6H4hkEFJW0/gX1Pse9O25PPrk/J/sYfe5Rglta9zlDko2vetvzbd4iDfXjyFOlF6P/M0V1HLyfBBSLg==","signatures":[{"sig":"MEUCIQCFyzVEnmQnvl5JsJi3RJkkL6+iSIOcx+ZfR6EkpmCydwIgfKyc/8LpFb/l68p4x0BLVqTV2PHa61EM5JaK4+TFmN8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvvE8CRA9TVsSAnZWagAA2YgP/1xtgYU/0QDAvTYK7TGJ\n108AA6OjmLuI+2LMNZtMC9r76eWlgHbuelY42VGVayKvCkkAzxBE49SGn5bg\nykSmetxBwjc+ft0jmrt4uaEXNzcoDB+M3+cHIqAo0IOkR5f6hcvV70AJucjz\nFsweAMmx8jaG7zLqFggeFOnD3oF45+XuzRw9Exnkux+RFS9aBMPqIKqlWCuQ\nARJF+4oIaS4ItBkBsWgPbBy0FN7hnxRoFngMHyhMXsLADfbpFX2Uf2u2CQYc\n6S28wfs+tMAjrSIc2+gadnTahJwH28XiWweiOzVd4fdoo+5L6bLPpJ+toH1O\nKErhccqAA8UNo2V06d/v+tsiw260ASL4XEAIOJ/qAmRlmszE4mDDfQvTxCa/\nAZaAi8TleuFOkRUE8mCatqB/bbv03DmLigR0GhclsvNUJ2Waer4XicxOYIml\nnAquSmcJLqhYNE79K/Da5jSICUnFt20EGHBsUaBOr12W2I1AEWymQYArG/Nn\n1FpDJsq4NP0WAPMok0i/LMRb09bei1rZXtn8KlK7ApahnBiH+P+p0RAWB28q\nb9tqc/HIvougNRL9q44xLuRrZjAgT2MyM5jGPZxNajfXFqXPnNd5czii5JKS\ntNf5hMJN3nWACHMGXlzxLWKqYrSKE0t0dEfXFINCiferSsFmeLf5lPqnBLM1\nx/gS\r\n=X5AU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"59649b14140b60859ee223381df0025aee409f75","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.18.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.5","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.70","bpk-component-button":"^2.1.57","bpk-component-spinner":"^2.2.87"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.19_1556017467902_0.4397390410231927","host":"s3://npm-registry-packages"}},"2.2.20":{"name":"bpk-component-infinite-scroll","version":"2.2.20","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.20","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2d4fe6128b3424115d989d6019a3916500249d8e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.20.tgz","fileCount":13,"integrity":"sha512-AcUK024fE147jGlZ+AvoPYbm4BFVLaap4YBe1rX7+y7Lwfj4yD76rKF6WT5rxoMHJhBMf78FWaEhOdrosa3ccQ==","signatures":[{"sig":"MEYCIQDsq1chYW/UPQVZRoDl2Gvf/8hwWax2PMc9pw5KrBv6nQIhALJ2y+FstgmIbavQ0Z2FtiSTa1OkWZ3hNwNU8LVI4W2Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwa5oCRA9TVsSAnZWagAAJoYP/RwR52wpvFQs0EKQSiie\ncrvktLS0PbYpCSnKmmFmEv5Jr69C2bLvlI113H8s0EENvTxH6DtCIFOs9YFk\nEyLneaIkyeL2RtXWukOAMH2Qa2h2AqWiuZi24jz9meU5M0OrnMvBxJxXf3Zp\nkzwmy26OKxq6RQLShoQBuxgJ1TkZIzhE60Q4t/9fhbG99P68IxWlgmx2Q5ms\nVzQnbm1fV30iJHGNyxS1q5qjlJVGrx4EYrK8fXSmktobmv4wd1dNGn9X1GDz\nc2CpiRtNEDX6vKUOtXb3v+OFOFLeaH6WPcCeSfZBS2Hb253Hyd4cGXccFHHx\nzKnZat4kEIMGEx5Hsj7XruusVNInmso9hTwoO0jTtoili2FQGjMaT/mYzHy9\nwqhTO/os1oTQrFsnzN4h+Bb/77t8UeT3d2Xt9AttomQ1t6oB3oGKB/69q+3P\nNqKLjNgqUigLGm74Yi0m8pI/yIp1AJR11TG06FjAXVAr5riIyuww5XVSaUBz\nckgpFKlXFNSO6yLVOlFAYrhugPOHjrnxu8BloomvWyzgk7p0RuvSMNg+vE6f\nsxR/2jic6Q9pH4XF3Em0rjDK4V6msqQsfhS5b+tjxMSm4imibYT9JSyjy7En\n1yHeUyRK8nmj/9sX8s2dq7nC/lzoPYquXAnsgJ+FmqGY7di3jbp95lLMyTrD\n7WrF\r\n=0UUb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ac87e905cfdcc3462ebbe6e58a624b5581cabe1b","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.18.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.5","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.70","bpk-component-button":"^2.1.57","bpk-component-spinner":"^2.2.87"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.20_1556196967811_0.6555413601452968","host":"s3://npm-registry-packages"}},"2.2.21":{"name":"bpk-component-infinite-scroll","version":"2.2.21","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.21","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c8962604a698472fd05313563df5ae4154190844","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.21.tgz","fileCount":12,"integrity":"sha512-hOMbadJChLrfih1d01OTXNqE97OpgoaF+rV67UyLptysuq3SA1pKUrhxgFXsdpiXILc7vceQkcoQoB7jy8qPbQ==","signatures":[{"sig":"MEQCICIARPcnMyqhr8gfGAMxtx9qyP+ywRP43Q0AIirKBa1jAiB9T4YxXrnWIQxwt3c9DLVEaLCo9rMevY2n/VlzKJlYPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46042,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyGV7CRA9TVsSAnZWagAApFoP/1xE4KaegUfkuVfoclmy\nGNj7xkuxjJn9aHsPhuB9bs1w4secTQmGj0RtMdxBP/+kuJKi41w3OpY3qL4R\nbYq368xc5jZd06dJAakBS68wUfPm9k2l4xBUn2VBgdqS5uIw1a5DH0B1xfn1\nh4lvswfD79BOjxut9dN1ID73GhlfndAtEiQuttU/YXr3XpisNySkaGQVQl5D\nzss8mK0s54jWFMwXdUtqmABUfEY1VGLvMEDNb+SMQfY6WJvJc5igjDiZF4Qm\nxmdOmf/SqUHnOu+sDROyjIXfsxtLjG0mvflYflpwBBMPahbHHa6BBa/7N3Ty\nPG8dYah0ERSOIV1QSJ16ya06iqq59YirtqCepNLd5P+CHuiP+wpupnu4biTq\n+4HKkEAcxnofsT39GXOs/3jLAMTKxMEeoRZ8woZ5ZrNep+6IvsaMp6/K3zaJ\n6s9I08+POsa8S3ffz3sjNZP4gNM6TqWXpyXs8uV+3aRqwxmVyMbiSrOI5j7j\ntifCwCVx+j3on9O55BVpu7yspPCl0834OSMzqmvfxSAwbBC+DS+GTJwVeg+L\nMejMXpdvr/np/PmDYqSGKsmhGPzgf3AZzcSYMaLadt7dgUbUGiQ2DRWpBSNG\nAI93ZcZQeT3RrxSQFdFiu2+6qUTpWIN5egqhNKENKWQOHAqvt+Q07QSMQiIp\nQfZ6\r\n=5yeR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"edd14f16dc571cc009d908c3c8f7d27a428b6de8","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.9.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"bpk-mixins":"^17.18.3","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.71","bpk-component-button":"^2.1.58","bpk-component-spinner":"^2.2.88"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.21_1556637050879_0.3838652813356136","host":"s3://npm-registry-packages"}},"2.2.21-alpha.10":{"name":"bpk-component-infinite-scroll","version":"2.2.21-alpha.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.21-alpha.10","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7410f79fb0fb4021a48c9c3d5b6d68135a7591a0","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.21-alpha.10.tgz","fileCount":14,"integrity":"sha512-peFqpkUfmnnfu41yjLhUvIQZeZ8kG5h6pbzGoAXvrIJHTdi2OmkoSakio1r64GWR9PGeIOwXsAHvedwcMmbl3Q==","signatures":[{"sig":"MEUCIC0f3kpOfnh1szO/7c7A8ztT2vxpy0toJyixF0bHlWumAiEA2ydaY1gCgV7g9lUsXnUCtg9E4nOCAI05MJ9xzBB6PVc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyHY4CRA9TVsSAnZWagAAx7IQAJilHInNc2SQF8juxSPJ\nP0yz99gyrl7eDmD0AzNEZx92v4pAHRKUSXGePwKKuSQkogU7JuRm/gGKi/co\n0j14c+TE85vnjCVWnyNE2BTRywIDpl0EysmVOx5ybagit60jJnghnNzDFc+h\ngp8WKuwwbYsmHgX+HzzIjo/z1kNGum86Bf8JWoRSjvKenxvwHG5ThUflTiOR\ngStvs+ZPl5Kcg4Rb9tHdE1Jj/iqEMe7gJbaJK2IypO0rj8vgl7xaZvkkZsMe\n9GMP/LOhDZy+0bbOdFuoSEfp8cYo9/4J0GZcunncIYHpq/HYGBSMOLFiNJjB\nGBHD8/0yq8yDfStlkFXDd/Xj+Qz5z6l14w98TqyPtZzfTPbi0U7oydkRAhoJ\n+NRjUVlezD4tQq+/z6ftHiW9vPtxEBJGDclAlNcEmKor/yD6g6DWDdLu2rGU\nRGojeK4kInhDmUhGn6bLlr9kNgkR3iOgmx+U8O+XcRoPp184Tf01VghGgQFi\nz3C3wIP3wT16BhEY1hDebi3q9ZkCKWRk23Hq+I/T7BNrl8XDl88zQvu/uXXQ\nBjKrJk6doDP/yCnXdBFDf01G4v+ffbEsJme2SGkleGMuS71I/oXDxyuB1LcM\nlv4L4c7Uvyl5ZGCfv2RaD0VaW899qzHal2uvzzk8VGkoQnN3jhtSHpU7FCV9\nqncP\r\n=Qk9S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"68b715a47801909008fa9f957e2592fca170c244","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.18.3-alpha.19+68b715a47","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.71-alpha.19+68b715a47","bpk-component-button":"^2.1.58-alpha.19+68b715a47","bpk-component-spinner":"^2.2.88-alpha.19+68b715a47"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.21-alpha.10_1556641335837_0.8833476330589904","host":"s3://npm-registry-packages"}},"2.2.22":{"name":"bpk-component-infinite-scroll","version":"2.2.22","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.22","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"761125e7fa6bade20891ffe8ad933d037f318a8d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.22.tgz","fileCount":13,"integrity":"sha512-52q7L8YlhKglvHqKSrEebzoOhHjTDyXcD+mx9di2qUIVTMGnmLfa3PCAMcuPo2S5hx6PoK2EEdK3/kUFf16ywA==","signatures":[{"sig":"MEUCIHqSzpgaUjd7QilkXfk+faPsAw4v6zmJDDRGm3ZZipP0AiEA37jIQ0+d8pqkSxGjPZmH6C+s+nifsnFeRw/fu2Oh5RE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0AGrCRA9TVsSAnZWagAAMIwP/RuEZCxV8G5Y3Yb2lu6a\nFyOf7+Z5sBJcCBlqdJg8sAeRIYxXGRuB+6jj4sHoCBKUxU9pIwOzimKK2Lz/\n2ewxxSFvUQR+GYW2cbzx94mAb6xe9Qh7lVGJb2naPzBQ46ZLUyNFCHDCu5mj\nn7Tj2HS8F42wwmsA70JY+nvcDBi8eDdrMJK77cpyBUy6kNJ7riQbEC+Y9npb\npOVac7GlTUEx+xflRVZp43msWlXop7jUecJKBW8LVbL0tKyfJNG8xV2/QxB9\nWRmfA/23v1xxXl2kTQy74FX/ZLWsL1eA6wrq4ewRUhX92uW5NhjaHCnujXUj\naNI+zhN0nyqjZlzWraWPsRqgjAQnwYhkKbW7FdQCAu2q5c5zKbZl5qUYu30w\nBQWqxmTc2xOsUCLb+CBrWQhyPqHBgdNBd0GeizdmP2wX7jA33Lh1fikStY2U\n8w1q3QzJNQG88OiBlbzaJkkVrqjYmmNyWeXAYc+g839B3LB+rSzXavJMKzDs\n3E4UM9wYovP/LdqccRKAbH5qAJ0QybbTElAqCL5m5iReSQm+crt8vII/lRFw\n2rqtEyhdffgK8TmxEIgeASo94EKn5TDdSaH8Ol2uXA0kjkRxDRFoVlUBsP4G\nzhXXXYSKoUZZc2j2m6bqaOUQzlDT2ySyMTSDWQS7vi25h+/hAhP1zyQAQ+Au\nQ+jW\r\n=O2+k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d80ba5b9a968f5155cc5935b4dec3a8a905ec9d2","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.19.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.72","bpk-component-button":"^2.2.0","bpk-component-spinner":"^2.2.89"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.22_1557135786867_0.32371421351191265","host":"s3://npm-registry-packages"}},"2.2.23-alpha.9":{"name":"bpk-component-infinite-scroll","version":"2.2.23-alpha.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.23-alpha.9","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3e3d1d628e6df929dad958c204880fa82c1242c1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.23-alpha.9.tgz","fileCount":14,"integrity":"sha512-0X8LSanWq+WythTHDwlYmxl7V8xydg0Ksw158QhdcOI8/JXuxZ7IinnmUToGcvszRC6op1fidyxhEA7WvZVqNQ==","signatures":[{"sig":"MEYCIQD/1agr4FUKFwTLGhxQ3wpjh+3+1Ml4P7Srt9pxTW9sgwIhAMxopMhTilIGZ9C4QQVVwI0e+KCxy8HoRPs2k3v2eYLd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0rAKCRA9TVsSAnZWagAAh1EP/3WJFW7p8oodDtp2IIIU\nG/NWlxTLoUE7/zv6RO0oMottbnoBGwVG/uPOYranuR4JlBKo7X+ZBucq7b24\nfg7f2zvUMZDRJgr3Z/Ofa1RVERtOSAWVgJg26J5UVrHPswIa2iT/8NgPuIDr\n0Iv3VjjE9t0p5WSIYKHEHfekrhDWFwvq7Tg1Mv43wB99n/r3j7KqdK1RpTDn\nUx6gPquZP4rvGSbH3MRZJIGaQDUqaQhXxH0SWbyLfIdZDRmsxckV8clumarI\nCt+V/oIdV+HJ4WhZxKCBGmHMn1AmnfcoOynnoIctHk+plW6jsGSLTv3d7EoI\n1DZ8DWqGQHOcjAGOKHMr63xTTuCaxYwOiIwuBzvDAW19dBY3MXJcqC2uxpYq\npeOw9FUmCErhaNn2wRuGszPlBDJx/jODglqsqrbMJpz4Lt4LsNo47X9Rkxs+\nvLzMnxTP+UzsB/UgWyfp+eUyyaopcPfHZUl1nrlma9oZJ921QAah3fgMXviv\njbT4yQ5bAgFsvqC8WWF85Nd0+IBoXZdiq2n2EHBxx3tozhE6FxuRaxu4SGRd\nI9YJu2plhahtiJ/ADYKyzex+I0ObMVQHroVBCxMU2bjZXBrx6rydd2ST9gJO\n0TjDngKAFWGgF0uRrYJWfKHZY2rKvOWf2mVWiCFYgT7cSRmOst1GN8APaq96\n/RMr\r\n=BFY0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"8aed18d1b3a59e84ea108c399d8c216243d7ba5f","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.19.1-alpha.9+8aed18d1b","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.73-alpha.9+8aed18d1b","bpk-component-button":"^2.2.1-alpha.9+8aed18d1b","bpk-component-spinner":"^2.2.90-alpha.9+8aed18d1b"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.23-alpha.9_1557311497668_0.12279185850666074","host":"s3://npm-registry-packages"}},"2.2.23":{"name":"bpk-component-infinite-scroll","version":"2.2.23","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.23","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"67ab2f677f41e599fbc01c7d1fe791adcc41a107","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.23.tgz","fileCount":13,"integrity":"sha512-Q53XDFQa7bKT4J7xe3T/n/5uai7OdEvSGYHrNwu5kq/z9S2kiQo1x+z80odn5rm5AbUag9pOC/3rnZoA+cgYKg==","signatures":[{"sig":"MEQCIBeGj3BuWZZxeEDjehS2dLwkClMpiMz2TalMqEj2VHrrAiAmZAtQXD9IintFqBc+HZSpyGdPtjY7A/s/h77bmeok1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1CmNCRA9TVsSAnZWagAAASQP/1NV1GGLIA7vcBCLydSE\nP8zx6GtL9tSG3Xu3x2G60BfDIGxOhQPUbuyZD2mp8d9QxiuEMZTmCUqj+dVx\nIZjzz1HoHpCTgb9qozdftlhQFHBSIHe3Fstn2sPT7VBgpT4vZiYQKk93QMdH\nYNUMUxK2vtrWAjZsyOgM5b9am39Azqw2r/3aLR4lAt/ZhnuxuYgb2Gc5akRs\n1xulJRMEpK5m2bNbkQd4GvziFiHNdLwKhzlcCYFrJzQcB+5oRZRNHSKnlOv/\nA7C92RGJXIh8rx19kcJEDMvoO8AZ37k02+l55h6xonHbHSwF5lMJ/KmT8QLl\nlIUAtJP/PwZDZrayejXp/amMAfq7GCeUqAO/f2WEvTDTlhUG7HO2+1QF6WTR\nfrpgAdm7VKwXMiEwFxYXGY39F8xaqU6+yUPoo2zMDLiqSj6MPJiuEVQp+OSM\nU7mYS6mz89SxiZvmER4mP0+j9cSVnm5DqkXVqhjYH/al+BwZki7MTTTt8vA0\nccIGuylebMcrnAUM3KE6QyGxcQjwWdCv24TZc5BWpYDvfwoK78ap1YPWa7Qg\ndhihsyjYJRqWN2PVpMVhPEULgWFhRt2zBBxzAv8KHIECIDP9k/5qoh11LVKq\nE5LhK7FaSpfZUCjuEErIyUGeZtcEuo+emQq04oNZTATKHjfcHEYR5sWHZtTl\n+DM5\r\n=if0z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"136ccd4703e503c0f87aa20d4bfed545309aa6f8","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.19.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.73","bpk-component-button":"^2.3.0","bpk-component-spinner":"^2.2.90"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.23_1557408139818_0.24610435256744267","host":"s3://npm-registry-packages"}},"2.2.24-alpha.1":{"name":"bpk-component-infinite-scroll","version":"2.2.24-alpha.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.24-alpha.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9c86429b30b3f7becd0f363b48f006fda7de3560","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.24-alpha.1.tgz","fileCount":14,"integrity":"sha512-zcT3eHUP5/p520F7c//daWruzu1sfqLK7XXjeijnxEOqnAtdsi7PaNlPGJrVzDxoFvBxfFDjXH6KaazPA+NHIA==","signatures":[{"sig":"MEUCIHhwdXxAL/Hn7OliU90dJAfY4uQJqjcwI/hMhkBCr6IzAiEAgoNMVlMYx7m7aj7xe/7tx4NtGbLseAOn5ffvxnxsYNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1Cz/CRA9TVsSAnZWagAAR00P/RPAwfBOVLWJ6AQ6otbb\nfLajtykL2zQEcqkzRHv2J08od7QdZaCixhw0TR2t6jmP3P+dh2SPMbiXFJbR\nwuSXScfUKQGRxoNl9z2Grn2+dDU1TNiNTTfVbZU9/PxMh84qQOFFZkiR4cmm\nfu273CQuoJXRGoiqbFtNzhztjST+1kXIeSsdDDkrOKBvQoiPFe+cdaEW9uxl\nf+ru4x/gW2JWw0TKkGvltG7AuGwyD9Em94gxt2U6LG4DLO2/vn3A4DMjDe7D\n+xuGe0CqyUYl3c+qf4Qef7Or57qL0hQql3Ke/HZot33NCdGYWYgWkp+QmF7s\nEiVN+Iv0/sgbyybIRw4MGgJVO4oQu04ItAZR6NOYmbDbPJmkScbL02t9x4ko\nNfgwxi3GM0KxkvmuxDZ0K4jXkrAboIB7LLfMb0SNnWazdXyUETpqnmVrGJAO\nCQoIW0ImcX+txn0Jkqntd/j7QqIau1MzGucJd9Re9MdK0TMYr41hFj5TqE/P\nfvHQYkxnG5ZmA/0hDJZqo+ks4Fv4U2NnFVudvRJLZpkepYsHuegrJK7e6Fcn\nVdv25RjMpfFzyJhfEQVrWhrBWuZ3lrG1rwAw1oYruMBxL+A8wcfbqDMXlALn\nxlIp0YBTLxEdu16wusHQmEeH5wzy90o5Z0Z0bvvc9lQ9fA2mHN8jmxLjo4cd\n6RHt\r\n=EB7v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ce6e74e29fcb579a379eb99143be6ea1a50c602d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.19.2-alpha.1+ce6e74e29","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.74-alpha.1+ce6e74e29","bpk-component-button":"^2.3.1-alpha.1+ce6e74e29","bpk-component-spinner":"^2.2.91-alpha.1+ce6e74e29"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.24-alpha.1_1557409022293_0.09608382951561523","host":"s3://npm-registry-packages"}},"2.2.24":{"name":"bpk-component-infinite-scroll","version":"2.2.24","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.24","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9d929556906a53d5a9b81be8476105eb7d41dad6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.24.tgz","fileCount":12,"integrity":"sha512-ud63mn5xMLW+q/zi/kB+d9pCCRuk/6ZbEJgJIJBJfD1oeDPYWxT0XKY6xdpIw4TXQWXV82A4WnBXPjt2SxcO/Q==","signatures":[{"sig":"MEUCIHsGaejQU1wqct+Tb7a5cac1OZm7Otr4H61AFlfiqQHbAiEArWrCA1/1NWZWI8suz1cXQPY5ZTj3ULGmBo5DB+IYtOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3CBjCRA9TVsSAnZWagAAEy4P/AkEFve4/mVYo69j9tvJ\n4Qn1r/XtoYLr6yvNxzaK0HBJFy76WWtA2wxRb4iKBVIaoooI498dknKrkSN0\nBHAL8Hmlg/ng++kHBzTclxzqTGFSNW/Ac/oxP+FHtKTVq++yXIQT+FHyzWpf\n5J+1+HWQKkOktxwUh3iHu4K3EBtYHZIrz7AOe9xEoe8FLpVj5/uBR2ZvModn\n13H7UcVGxlhCtpKE9uAAvYFximkHzHDMKnOjcMyA5gK7fTdZyNTrwBq3UDLT\nePLQENFFyN8QFAdsCFtJZYyvcwPFbUoJmkSbckN1CQwc0K+FnS/2cp/OxvmX\nLWuiYnGZDmEfcAhXF9OxkDDzruzGRS3RLvdecY6qm5Ulw0yI8/5j4MKtJIzU\nJ5rD2Cm8ZJMxEVLOIiy69n+1mEt2VNPfQsTtETPblcrtqccZlEIX+eB/+t+E\nyfRG9tNmKdb1wjgt8J3o2vsUEVJT2VQ4kLmD7v2HXex1tUUVG8bpMKpxS/Xt\nRxdbWW8iC71rMpUIdCxxT4Y37Q4kNGuJBqb6CMSR1iKNSghDB2nQAk0PEi7A\n2ZLaKRJKrGF+AjeBtNC49jJeCEsRLEejLtSaW3cpJQwJgV/Zyfo1E+4y6sQk\nagphReJo3U+Y0Ot04ujUi0sS7Xomzf5oBUu7Q2nCF/3K9Ruy5pL+7JTgGknY\nDLOQ\r\n=rBe+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"edd14f16dc571cc009d908c3c8f7d27a428b6de8","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.9.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"bpk-mixins":"^17.20.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.74","bpk-component-button":"^2.3.1","bpk-component-spinner":"^2.2.91"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.24_1557930082570_0.022865453873720076","host":"s3://npm-registry-packages"}},"2.2.25":{"name":"bpk-component-infinite-scroll","version":"2.2.25","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.25","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"30cc70e84ae554b7948c552cd6a2217bf7ee7a0a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.25.tgz","fileCount":13,"integrity":"sha512-xCQ8twKbNRADB0xEyS3rNg97t3pBiziFbQA1T7rtN4d6vSbrjDnjdz6LHt7dT9N2VEKoJ9YORDRf5Eev186yLw==","signatures":[{"sig":"MEYCIQD9jDIlM63VeAMFCDl2IIOojXqxfpGkFS7shG4VGn9vBAIhAP2YTjF/nfAMqJvkUZUOAusNFQtQjq+3X2hjoRORBNZ3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3S+jCRA9TVsSAnZWagAAmBIP/AqpWnJi+RFPuAKvKrcO\nmLb8+inJpX1+oSlBt40BJbvkNYVEJuk30F33LEq3DNu8N9SUycLDl91n/NXZ\nUi1XhcHeyTNI2tjLPzAG7YL7X2Udf9RprtL357LS49SW0IjM3eZRO49BtMwV\nWajf6UpTTQ1PXM++7LAPMR8Vj1Az3ZH4nYOz9mkhNyNb3KrcfyZda6flUpLy\ntwA8bB1NN0AsXTeQG6i5XCn0l1suKgzzKAHecKobB08h8q+NKLG6SopbpsBh\nmfZ5OD79Bjeg/dP60EdL41mDMyugyAf9jnHahbzVH/G0hhJrVOfXTYRoDWbt\nfN49fw8U/MSj6uTLITeEq2Vsd8LJze+N/5Z6RKuocMRx/CtBrqDdPmRd8xxh\nV/Secxg0y+ERGcLh9/gR5MoMzMQAfvS5qHkVEsNG/Dd44+cKc3ivvCVkxq7v\n8Lr6a2olAdzBakRrJhVU4jZh/Lf7cG4zCbkxKD217+DtA1pCE/H9VoWj+U8e\nfdGqoO1ZhyR553JZnEzJ6q5Nga9qhxzqrpfNj/Bno6vKJ14nz5qMowX+YUAd\npjwLWZWKeIMiH+IfSYsRdTeKbRjQ4nv/Cr42FHGiYwUrAjlIjlgHFlut557A\nPr4D3xu4lGBgQpepyxQ/0pfp6PJ50Xr1T0zmPE8I8y0OQL1WZMpbYtbz2MDK\n8RFy\r\n=P8CH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7e84b2eb8f4e45a64d0e2badf7f47cf299049bbc","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.21.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.6","intersection-observer":"^0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.75","bpk-component-button":"^2.3.2","bpk-component-spinner":"^2.2.92"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.25_1557999522716_0.37159964146976154","host":"s3://npm-registry-packages"}},"2.2.26":{"name":"bpk-component-infinite-scroll","version":"2.2.26","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.26","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7b031c7334dd9f2cb6a52ab5a46278e85df927cc","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.26.tgz","fileCount":13,"integrity":"sha512-DO1yxc5E97mqudXnRizY5/8WEY2apOc+KIDK5385FaPhUcGSoggoomcPzpHhKzUmc+QWcvCpq9Y1TvT7GIzbHw==","signatures":[{"sig":"MEUCIDjDVq7kNvz8sYTdWLttZCwQ4WtmNxuSMC+vqbeHLR9HAiEAzbTxHFW90Tn6xm/gZKDefQ9h+2ApZWOwy+BdhvpwMtc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7QL/CRA9TVsSAnZWagAAbfUP/jTWE6F8VH0iI8eWB2qI\n5EEySPsFnDP0VQGa+Fm58UOPNXNXEI1dfIHxzcThCnSjlflIMvrlUNPw1q3I\nfud3DxkVDxYFd0/g487XlVLF6Stw663rEK6yFJO2cwlzA/obGD2WJqdUMRCT\nFIOj0TSG1QeZ7teQtQWdP/IBoBrsG8pIrgUTsKqm6COcLNgc+VHhLyuD3r2/\nfp/0NDvRm56+IbdvreInqSVGIE+nzMj6d2ABsYzIPLAenpl7oUdS8hSwjwuX\nQJoyOpGJdIQYcvTzwIFtKZ4sumFAP995RAp4jwyQlFBv6iBf9yU/rw3eLSSX\n+K0Ws/3aQHeIQnmy5ofUBeRo80oYvw8dvuIHwCi5KVbemHTsWnMsd65972Un\nu+5UHD6teCB459n9MgcT1jJgBNxuokE0rGovGqtNwPCrzL28mBxi2PH70Y+Y\niyQaAX+f1JByXnlesWXnD7iRRZcqNZIvqqpRepMPTHrf+sA2tozd0fqFQnZp\n6MYn18oiGvr4eEBp6RIUvqhS3o8QF2volg1dTrkGt+GHM4eMyZXFHPJMm00s\n4hHhS2A0FH59iHEqMPrtgFqmQUJFmfkBCTnt3pezu93ZbVRQ8eLaRRgqyXyg\nqQu82J8M2Uv+WloULH6od+VupW3gqxqDk61sRX/QsUvDCSv0wtlOANTiQNCd\nGAfj\r\n=jA2W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"22ae57730b91b2cbcd774c00281866e641190d49","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"sideEffects":["./src/intersection-observer.js"],"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.22.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.7","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.76","bpk-component-button":"^2.3.3","bpk-component-spinner":"^2.2.93"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.26_1559036670717_0.060868139501019325","host":"s3://npm-registry-packages"}},"2.2.27":{"name":"bpk-component-infinite-scroll","version":"2.2.27","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.27","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4619ea081e41b9847c4ccabb273830fda79c66cc","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.27.tgz","fileCount":13,"integrity":"sha512-VER4qeXVcZ8ZcFxGaK5Gy3RCZ0ORbvC8pJkdJhpNm2j/3TReEZX5jJ6bd2KSZqAgPLa45JixWNAwRut7FRNxUw==","signatures":[{"sig":"MEUCIQChMQrXME8BJNGGRg64WacRgMS9h69mPpnslM6yae7naAIgORq7NgtR0NKltJ+4AwtQdLJMBkNlyjqZl4EM9Z8jauA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7TjECRA9TVsSAnZWagAAAx4P/jOFbH9nst70gLqlGBz8\nILNUKOcNuCTUEWOOvtgHH31uGsc0IS7oQ/6TG3U5DtnDLUdG0cXWaR4QuBxe\nNPeV9TqUi64r7qmdgljmoLTWWotHcrwaD4s0/1YXmbUQDmEyktO5KUTU72Pu\nhzQ2WlYSgZZjcCsBANmMBfGzwmw5zvazK+PWp+2IjrDm+kJvQgYKhlo9s6oW\ntFOlXV5VtPK+UCloEbgwKU7mrhRgfJpJOu0ZeI212Isjv8p2mUVAyrktCDjC\n8AfMdAzclmD6yuiByVNPFlYLSM/Hp1iFbabpZJpOheTdB6NXyZG1OWc+ZDE3\nRF/jkugWk6ZMT0luuUFbrTot+ApAhFuKqCQce1mh8E38UNc3Azz3ofSliwK9\nIqZGeK5AT28r1suxVKFqZIC8dAtrdocOdO1uZuitiUJeihZusoh6+9J+INQH\nousbsQb+DEHdvV1rxFEKTCMjwiEvPJ0mBol6vGdDtCR11ZCjdnAlg+2j1eiF\nehWtY8GfiTjm5vx3ydOczSvKGS+p36K7giFnLYIPy0tUr0wl/lO5j3/RtC29\nvRzxS9DZgfc45MGgQ1OHImh+9PMlHxa8GyMN0v56HtfxuEWGGHshV+r1YXjx\nu/A0uk9il3FXkCnnFmKYZA3VvuQsZNnx+awaxEHmY0eLI3r0Ti07oLnZ0W7H\nCeNw\r\n=Eg4x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a474a4d947ce65ecbe60fd2d1fe005278b786e54","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.22.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.77","bpk-component-button":"^2.3.4","bpk-component-spinner":"^2.2.94"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.27_1559050436183_0.777244293856578","host":"s3://npm-registry-packages"}},"2.2.28":{"name":"bpk-component-infinite-scroll","version":"2.2.28","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.28","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"091285e63b063e3c50c5bd94210ec8e403512367","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.28.tgz","fileCount":13,"integrity":"sha512-8k+Ow3ELZEY6J4TZWCv6+djbRgS/PmEa4koCbA7MGyojVX+/DDY4gWMErSXKzXCB4wKMOiXwrzJh+H2sDaIZiQ==","signatures":[{"sig":"MEUCIC6ChPVwMOgw9jdcDwdILIC+iYXkaNSxEa2j2T5KxdHtAiEA3+qGOpWWSeLFPvDxTlCvBFqlsxISU1pnQKYJxs7SYis=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8RN2CRA9TVsSAnZWagAAoZ0P+wTagMyHDqQdG22KpyzS\nzA+6xiYpW2r/So0lVUxExwSYAIv2saT1h4gHnVqN09aYztK2kj6ImLkW8WI9\nRaNVA0R5aW+HyoC+9lJochS4zrGwp06mSxFMySWVk6HBQn/StuYplpt0NSf9\nZYYYQo8k28zMCiNcuV+JanDZR9pW6H/NBcL8kCgCbLX0ZEdZBKn4EPISydGV\ndX7DfeAqBVOPWJBpzkgsraFHMaUXu2jbp9bDYEt5elVH6QU0SkGPujqO6tXO\n55qFdUd+OwUySUHsfD9ZODBkgdJsXdWhr7bODsPRVX37Ad8XDz5jjeCQ3CRI\nxeb8Xags0OcFJ3my5pXLIu16V3ZgMns5tnSKoq8f1TYDaBqmiFPa1pcIVdVW\nE4RL8ZtkpZ3SCbGA8JTH2BFoY9qCWVv1FvEKEmmuDbPtlUCvE8MuAmC8DQjn\n7qNjm2ifNHzJqvWQcB7wnM7klBtcuOTlZJSA+vOdWIjQQ6pMjdOsfLBbjdOG\nN2ulCcpL5r1wwP7Rv6EgXiPJhJpHo3PJlFZFCl/OG46cnm2C9ioPipXcsn8j\n04ZQKCGQWtshpmTceSUpN4D09oz5n098fetbYWGdETiGrT3esM+jxybcQlei\nUG1dryjh42fcaQ9Qg0ATBQA3QwtEUzVHdoLh0ggX4sYi/DNKOboKh7yrpnuF\nx0a3\r\n=9H4e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"94c737cc11d819f87c993fb3e43ef81d0151135a","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.78","bpk-component-button":"^2.3.5","bpk-component-spinner":"^2.2.95"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.28_1559303029344_0.6175210387245387","host":"s3://npm-registry-packages"}},"2.2.29-alpha.1":{"name":"bpk-component-infinite-scroll","version":"2.2.29-alpha.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.29-alpha.1","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"78dfdba902ad643a7ce9673a3125524abd13d61b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.29-alpha.1.tgz","fileCount":13,"integrity":"sha512-LNG9b8EKVRj9DG7jH7cISWx3qgTmrttU2v+0fN+MUVDEemi+rwGyc2hSwfF+PdJaBK9U1KUaxktd3oRDdCAqrA==","signatures":[{"sig":"MEYCIQCd5hyjAlQa9svY/P7Gg7IzYBuLB+Lv6dyPkJZPxdA3/gIhAMMRietDm+6VP4/a2Y5sCT//uGw/2CmKqcRipH211l8z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8SrrCRA9TVsSAnZWagAAhGUP/1mRpgiDcpM8UUhSPola\n9yNfVAIkeRVPLLoYjeUcsjyAlJap3HjpZLjZ7CS5dfBBu/Xu4pSqn9RvaUmz\nAFNqpcDo+P6RR26N6yAWpfzuS6fkNE64c05tyroDmz3vT2lIKZUabTKZvaUp\nIg2hH4kpGwnbjlOYyTqQRYMA8VizutPx5OVmHrMxStaWPORvwnj/iyNQp+ou\nko7YAAFbfz9xPgurf1o8zwxAx++WM6vv6E4l0fqLs9bRmMxS5tdcQrOIcz3R\nkfIV+b8yR4DwKT11Plsc3mH47qiCxGNOaFnNoDEINuZBwjP78KJQteKymxYV\neBk83WFgLL/fknqTmdA63kHzjT/EwJZJSSwX33ZK8VSa7h2AWHS3fWBvLWXt\nmXveqYmeML4qZnHGXcOnAP2G91cL3me7tk0MxLThcbjYekBBOclVcYthoa8S\n8Fprl9j27x9DHek+GBnbWf9KZV8iKLooZXJrVY+4A4OlfB8UfrWeDZyIkH+H\nTe7rovmhpsAyV96ksMIwE/Adol95ZiLFWQk33F8mGMSNzwcDn1SSSWdOHcbU\nKvNZvleJfwTX2VbyiDhbUmP78hXTYvnW/0hnmcxTu3VwIbnAkpLy0rPCfliA\nj8IiqZ3npO8IlcpBycy28ToVVV1wFlEeoAlqDI9916cYGF8sWJSt6YrYNDdM\n+tbh\r\n=+5Zh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"e2ccd01c986a5d268301d14875f11a1e89ee3042","_npmUser":{"name":"mattface","email":"matthew.davidson@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"sideEffects":["./src/intersection-observer.js","*.css","*.scss"],"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.1-alpha.1+e2ccd01c9","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9-alpha.11+e2ccd01c9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.79-alpha.1+e2ccd01c9","bpk-component-button":"^2.3.6-alpha.1+e2ccd01c9","bpk-component-spinner":"^2.2.96-alpha.1+e2ccd01c9"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.29-alpha.1_1559309035206_0.45176859067506236","host":"s3://npm-registry-packages"}},"2.2.29":{"name":"bpk-component-infinite-scroll","version":"2.2.29","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.29","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e6024700fbb1d9fcc75db0846f057d54b57d7d3d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.29.tgz","fileCount":13,"integrity":"sha512-12vFI5kIZt6fhkLiZr2/ZJP/x3y2rMSPKFv9nPPa5xo6CZ/yjsjsB8iAopTUA1LgA5yhIxFESO/zOjy1JtJdDQ==","signatures":[{"sig":"MEUCIQDOGWJMxL5LHe0DbTg1pobDE/1AciG5VaHEg/kKWwqPDwIgMWWaJIq3jBK6Mx80L5IQm/hMH1f3Qhj45kH1ePPU11A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9OayCRA9TVsSAnZWagAAaG8QAJE9FefRC/5KoLJIrCQW\nn/aaUt5WL3lEL3SG2PaOomrZwNPCVQjsJv96uExV0FXjwa6REvrnePvYkOWW\nNLDtrwJrtE47c7d0Ik3s/l67wWA8Chn12Ih7BaChC+1ViOeu02aJS1WbYrqU\nPWED7hvpaYkV9dX1gOAG1K0ww2qU6poVbZ/OdbyxJtXQ2yUjTmpWw99kdT8h\nP9vhJtwcMZNml5t2Pcn9ROtmwo2SQ+2MxQ6MAnmlwolCOlFyqCkBP54KnEdC\nnm8fIAwkYuxMGIOZFvxhmpxBufVpFsH0TjtHw3pEfNL65LfSViYPiTyefWTP\nIWb8sqR+TnZWnDQBggC58S2dh3FPEtdP0pgFoXCYn0oUv9na1J+n+erNo/Bw\nY82KJ4t4Ejxt6MicudqDVm3y6pdH9KkZLs3qSwy5xq1l88fB3qU+urzo4Qpe\nQHTfvwnyyFXJs7hLAyDIzaYg0Zrx3CyN8fuVQkMncoot8NsHy2IzeDknI69L\nTAvFSBsKL7/VKATZF0Nt7sM7tpXY+A9cGUcFPfNf1wTpEkKMMJrvEMrSj2M2\nXPVQHyRSa5UuVytggv6u19VgZ5VdGES+jxDFGkVM2/hKGmyZPgHzETL9yuyT\n4W7YMb/U2DkMulN59Sl8s4tcLF6kQ6z4ojcrS+63dKWjJQ33lWtnKAlMuMZX\nmWe5\r\n=AFF2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6b95840562bd47e1cb7797207038d2a2e1713468","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.79","bpk-component-button":"^2.3.6","bpk-component-spinner":"^2.2.96"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.29_1559553713523_0.8045477523690321","host":"s3://npm-registry-packages"}},"2.2.30":{"name":"bpk-component-infinite-scroll","version":"2.2.30","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.30","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6b6bfbea57ccb57319f808618657ce15800dbf60","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.30.tgz","fileCount":13,"integrity":"sha512-iXlQvW6lEFdTw88kalmqjhXwcwuXeOWlz5JcrFDhSE5vyqMAXKfw44RyoZee1cVfy8pA7pblcyeDlDwb/vWv7Q==","signatures":[{"sig":"MEYCIQDW1pCfJLDeWDTlZiLLRN0qTXxpu4EgGBv7Y4Qw3ycRqQIhAPSlvcGX6LoPKTXnAN4SjvMAd6xdc+B1a13TpwnRTQtU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9m78CRA9TVsSAnZWagAAWKIP/jiB13ppZfHcE8zh93rv\nqaWz+VNljErFhcginr+4YcU3lkzbgCZBcrfIlvd6AqoPyhXA/iCNAfz5a8s/\nTztEBgyyPKe5+GUj6dQEILLOzcqkajueyiKgRM7MU+4dW8PIhv3Mm/EEO2Ax\nGFfnPvaWJImNCEer/fKBh3dBKOA45hUIDWnGkxX6/YyDTVqtp3xRgPzP4q4N\nbwN4YYyH9Ch6OIVGVTXHIjHHHrD/UH+Vf78jjJnKl5xhM6yYwzGMHQlmwcyo\nzrTlOnFVD1AbYnEAmmWvkg90O3KihbixCxQWXD5kxv5s7zs41DAdtUbQyk97\nah/RZMEN8wJJz8nlzczzjDYhnQ3CTwYAlp5fkFeZCjni3YHp0dF47XnXDHXl\n3iMC+jHTrY696I+uGEt/nypuuHAEerRLu6ar423fx1VtYLI5xKK2eJIGIggD\nvRBWyX50Lj7j9np7+/9mv6g3K1AIMOSd0CY9amYzN1cG7vsFh7PteNbuuaKS\nlHztBqiUwVWQFQHDCmBe4e+66cOF8w5k+PFzjYRD7XkyCvQpLPwwbDwiC4gE\nAMyxG1cMgP07zWX3Qq8xkzfR5I/78PBjuIUBGYMuUEyJyI5jcF84XCrKErFZ\n+Tn1BHHB28pGVyK4mtlrqWdfudHQwBzOUSulo/P4Q0glFgNNvRGmHWNMLxDw\noD2r\r\n=j3ER\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"bb9854c5287bf447de0a4831960ee3b457b7873e","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.80","bpk-component-button":"^2.3.7","bpk-component-spinner":"^2.2.97"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.30_1559654140138_0.47932851317007574","host":"s3://npm-registry-packages"}},"2.2.31":{"name":"bpk-component-infinite-scroll","version":"2.2.31","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.31","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8df5b53f532848ad4003d71a9df5887d65cbd3f4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.31.tgz","fileCount":13,"integrity":"sha512-rvP0ziaqfBTLBGeiOROvL7N3uCiNalYQBPNXPyLcjCMKYj8EjduCH7h7bzVWvASERV7AZGvt/1O39KUml01Q5Q==","signatures":[{"sig":"MEUCIQCUm9ylbXZHP8gYHsQm4BnBEVfA2E4Sw01iN3wtFX18JgIgXLRjB0iC+Xm/QsBd95MRn5oNPliuzoRkhPOcPBGTilo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc96YLCRA9TVsSAnZWagAAYYIQAJsX6DRtCw7N0IFQONLh\n34vbB16aYiUFXQR4E4vf41GSzq+aM0VYUmtwoiZd/w+cF+4t2XieLBzvAuMS\n8rtGWHXjtzCY4vnAKuO1uHn6Yaz8D1yHwCr5+gXNWPTOhlxe0ZOB/A7lPxES\nWRYrHFC1JY0jv+tCLTt5FPTYngaDm7OHflUxk7lrhME5PVS9pmOtk3pPpbfI\nzSNpeyqn5PR0fCKX95TeAg8FpzII46gNkVIzaJhf97xG8YoxjQuC2qc9n09O\nJfa5nk/RcAgDde2JU7CoVB7fuLXUK6RKu73Hi90AZgu4Z0Ct46SMO41abdZ+\nqnpYXmXr6Q0ZiXR56aG8QAI5H7xlV1Yc5CUST72FhYz/9XPqjQexwM+MtGcN\nygdTndGWRQwdmLVDKXwsNfDfNUGxJFQvriUtEPc2j3ackMLk+o2wAcsfRLWp\nr72cmGdp15FIMt+swxT3JEMoUlxXSLH+9QB7uy+suW0wAjqlg2dVL2BSs/uy\nC2OKErj3thkjYTAco8VbJR6U3AZqjBdENvqlX7le8kbx8g7jhzNIJjGlASBE\nCf+ASrgS0/p9AKtB1qM+oUvBl32Xd3hLb526eD+Dk75QDQnu0URyjJPxtH5q\neYakeCtoAugUZVWvXJQQmomGrSvWwEkEiv3g38A84n9/VVjRpK0Km51i2FjE\ny1hh\r\n=tgMZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"62b285d6c8ce5abda15d08dce7eada97a0bfb291","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.3","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.81","bpk-component-button":"^2.3.8","bpk-component-spinner":"^2.2.98"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.31_1559733770818_0.43355918828973916","host":"s3://npm-registry-packages"}},"2.2.32":{"name":"bpk-component-infinite-scroll","version":"2.2.32","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.32","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1af166158d3a2c85b25b26651a84c5a5371274e5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.32.tgz","fileCount":13,"integrity":"sha512-42Cl+2HK7PGQ10eMDBeImw5kAWn8neGTgOeexemNYEbEIJxQIFMUkvOM4dMbjgDq2nGCDWBTrIUz/v9FeFykcg==","signatures":[{"sig":"MEQCIHTtEThXPOS3NsDq7MhdpKZmTfXMxdKeaEKTsaf0Tw7hAiBq/nl9i4S1hKkBTcobakRrOa3So9A3v+tneUeQ+FPgBQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc98DLCRA9TVsSAnZWagAAUBwP/1ak98gX657GtOYtBSN9\nKb893UunsxRmYoBw6+OpN6ocwOuWxxLUQgmY0P1lU2F0d/DrtvNe6yx+OkPS\n3JJKEem4/gqQhR0wKQg88Egh+UTG6ALr371OamqUbfGfnb3w2EBwn6P4BrCY\nSUEenQU9LS3POS8HQLjNgiLId+GMzTMWTdM4yDTC9vGt13YMKVL2OvBz0i0H\nIdpqiigtPHl+Yg2yWGuVacGjXHlxapy4vKBSe04VnYUSdT6x5x9btyqY0x34\nHmOGTg8g9O3+m2pm8ICPPDc0LY4bcSJoU/C6CKJuTnHbYDg66/QTRJW4qkFo\nQj9/vzai4cKILDFIMomKFwqz68WzDdyhHBipvJxU6rpLWJDHAzUcozLVq4p+\ntUAQW8Q3JYlMM3QAzVxEsa3E9qSI4W+cyNblRs9wT9XO5XmS504VZLOKSL3u\n9lkiqDZ9q0/32dexuRncBeuoYHQdOZaUonESVkyc1NGLWRaVknF/x1sVrOzd\nT4UgJrTu4wOcadHe0l7EjUtqnQtmATNV9uLx/Zzkx0yM1BJUG+Av6VR1ARmk\n/v4Oo0fPS8iLcUBgAuv9nSDeTCJngloZRVHzsklPpFUx+x2kHIjqabfy/da2\nqR6DU9+BnX/e7dZLSUfLIUes5qBVEQPJsB7SiYx+ULWYoJcdZlo6uMddm+nl\nnIem\r\n=fPYm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7e7385ba0fcca57fa2172201602829c4a34c5758","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.4","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.82","bpk-component-button":"^2.3.9","bpk-component-spinner":"^2.2.99"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.32_1559740617695_0.8696480491696332","host":"s3://npm-registry-packages"}},"2.2.33":{"name":"bpk-component-infinite-scroll","version":"2.2.33","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.33","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"dce1502ab08678daac3ec828e9aaaba010324700","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.33.tgz","fileCount":13,"integrity":"sha512-2wW8iXTTrWRkFWYW3veezzuNM5hLBSrhtff80lCX8leWVnBJZ5+NkZnYT520KeiqDU+jSoCC7iy7sAJn/+bQag==","signatures":[{"sig":"MEUCIGlpt5bUvsNzjZ4tmeF3zLXN8fORcDMCQiomloUH5RY9AiEA4UYFT6iVMLcwjf28iJ7xWfsBOtmE9KIz3hrs362aCEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+QmiCRA9TVsSAnZWagAApx0P/j80yc0e77rc/Saj+eZr\nEYeWPMJ+Go1F8oEw5LsY+xKrJe0NWflvL3VYk91gAMctQ+Ddl+zz9E8zmHvG\nHBcKeDEfy0kRHwiyOO7bd6pglM+/MQqQxrJE9C5qU28Ym3DgZbpUrjp18NVK\nvM921lhyQ4BslDwZVWqm07UI93CtWABcGlCcQvYUHrLZFcZTO+PhUQFIV0QS\n0Zi2+owpxArJXAWNvgpLT3flWXFnae7FRYa6V9GIPMIlU8cY6xuQeKq5E3NM\nmewjgxW9qO6kPtdZwqYnIKNckmk1sLEXZSsetr2w2yaZBQ6ORmm9kaOwHXqT\nU1YlLULtODxRFbCHwn1Ku1A7wIb5ESA1C2CGHGdaYatb5f8iemVIdz62WKa8\nZdrCsm0ejeC1zj0bejpgpUIa/uD70GoTbWp0ASQ4YOfAxBUKVB/Dx3j9k416\n7pQFKOYYktbykNjhmixmFzkSrEmTnf9XCb58VDjquNYzt9CAW98k0ImOOuU0\nZGY/JQMDcse44ar5uvBbzIQHiHSMdIikUynl8iYVNKgf27pbMbxFnBA7JGkl\nzCOGT+zbNIGviVcq+0pziGGitucutIvVaQA/EA5lQZPROX0bu/mQb0XlFm7/\ns/6+g0/dCdoVoJXw3OC73gdDKRO1dA/m9BWb9qe5h5j9o5vt+Nm0n2YDAlH1\nb2p5\r\n=ekEP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3244054e73b5e966c2ca795f496d8e29b6a5fff4","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.5","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.83","bpk-component-button":"^2.3.10","bpk-component-spinner":"^2.2.100"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.33_1559824801969_0.957937561692723","host":"s3://npm-registry-packages"}},"2.2.34":{"name":"bpk-component-infinite-scroll","version":"2.2.34","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.34","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"bc78c0ad20ad4408f0746e8d9bd364ec7a849b8f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.34.tgz","fileCount":13,"integrity":"sha512-AoMHiEvHKb91EuBna7eBdXwUQ0XJdNFs+rQU0pPmDddYAXtLHFxsRheL0PKQHrGrpx/52ujK6Nzp0314MSBXPQ==","signatures":[{"sig":"MEUCIQD6okq1PT7H56jP3eygFmtRGTVj4vn18lK6mpFx7u3alQIgLKIPN9NOzKiDS2jk48Aw7FWOaC2wY7B1bbPTW3zIpsQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/poACRA9TVsSAnZWagAA7IUP/ilanf8FKCBAKZETiRdi\nTiyG1UHxIVq6aDB32PEMjPtgspISZl5e7tD4+dOl4uHl/x6VXiabdkUlVIxk\nT/ZPnDeNjJJ5kAfT2PtTkOp77fSmqTjPp+KNr2oD5/PjQIJ/Kfae4fR7g0G1\nnddbwMBULbRYGvtlYPC69tQl0k6MgwxZmgLc+jVxqeNAEUB7IklwzWcibuHD\nAqbNNOLymgxQAvEhlvZuqJ/MkM8dxwmtZQEMIAAukO9u0f6brMeLh3bQHFI3\nkjFPScu526Uy2KCAsPsYIu85vovuTi+dAByZbg51QYqjUA4pGc65hPTFYWva\n2wkcVJuZEa50EmrpFK+a+LD0WYG5SZ7ygg2b4OJWvVdjXoHv0BoOxuj4PLke\nk4RTt64DGtZ8qbM0hMHZlZTCYEcdL5QVIpCNAMuiWn3C5jhmgylzr9CWDFW0\nOaapNYjGOrDUO1ua3Efsxv82a/JdFcGsXEiV1PAfUFMEkyv9VtE0WZOqZhUa\nhgbU4X+qWVb3YjK8rXDn1IF0+PT5+P5oiZ1am+mlWRkgavuvTYTgvrPKyJXS\njpsvAuYw7ES6XkHEuNfTfH+OErdflyWsIanQFghKcTK/znA3gNRqNXErCZa3\nxw+xDs/hraI0c2srgTmBjJtOMyO/fHB9mlVI7LKffBEVVr6hwmea2PZiyP+v\nycZx\r\n=8u1W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"de5ec565b1a31776dbace3c55d09679af617c8e3","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.6","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.84","bpk-component-button":"^2.3.11","bpk-component-spinner":"^2.2.101"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.34_1560189440047_0.9563464589954378","host":"s3://npm-registry-packages"}},"2.2.35-alpha.9":{"name":"bpk-component-infinite-scroll","version":"2.2.35-alpha.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.35-alpha.9","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c2d0e3ca72cd72e8a11cb3c71a94eaeab2381ee6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.35-alpha.9.tgz","fileCount":14,"integrity":"sha512-mebQ+JP/ABhA0Uyn4tLbhbgYP1lMZameUSPvAyKsnu1SP7yHkUJYX+qZqRYagZcp/sTJqWbwxNDNfg5l+Wo2Bw==","signatures":[{"sig":"MEQCIDRsijNnRq+ycsMLcsSd2WZPX8Bvb13YVYGwQoyO+WP2AiBOcJf6kU7CU7O+cFlxh6s0q1TgGjh1e6Mi2VEZNcNwvQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAlC8CRA9TVsSAnZWagAAypQQAJaVp1haf3ods8aF/7eV\nJFfbFKdF8Ys7GxcOvjZ71Ge0g2UWBY9hr6C6ZUjTLguxjAHU5xRnCuz2APK2\nl19np4NThglt2em0veLx+lJeaz79HUSWveyNEA6aFo/D+t9RiGIEXQKnLqfi\nBtz8o+oyCAJ9abp3nVQ5dsv83Az4Q2YOSRr5dbDElua2lWH8xhHgeljayS1+\nkmL//tpK1q+9W4SoM8zNO4bInlWRCyQQarzv8ayC4HHUNk+eZpunkO2V5SX2\neYjAcckLmDPD3B9pyzQJbPp/N+NbeqQVVi+exzUkPxvvRZ8p/mm+7b4BWbAg\nbR5C8txVYumLkCnsI1IGd1hP7yWC0XGvVmgQ6/5dyXjni7JjjJr+wXPSis9c\nXvSF90D9RNqsQEebcbz3Qz9RitY9BpBpcRYLEigpoghMfo1uAp7m2EixRBCP\nbFFa1pS/zcvzvS/LEEAH9KuECTBE5317eHxxrel+fxWkqA3pOeIXWzzFdNH/\n5Jsbgqz/DMMn8yiWid7XDhG8B83LW6Q0F1MK9HH2QX5kJXlbFILRX9fxfqwy\n9RZZlP9b4CA+j6putwWmeIfZyMB+q7cG3v6invC0XUsrq7xecwmkOmErS8Iv\ncuaz6TXAEeEuAHLM8nrrMS3ReBmjHKc7GYZTRbPtfoUkvbZ639c26xf6BiKc\nTZ2/\r\n=gpq3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a2924f2f390c01bb7b3ac1b3b77a3050e3d9253b","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.7-alpha.9+a2924f2f3","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.85-alpha.9+a2924f2f3","bpk-component-button":"^2.3.12-alpha.9+a2924f2f3","bpk-component-spinner":"^2.2.102-alpha.9+a2924f2f3"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.35-alpha.9_1560432828078_0.9865535896681834","host":"s3://npm-registry-packages"}},"2.2.35-alpha.18":{"name":"bpk-component-infinite-scroll","version":"2.2.35-alpha.18","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.35-alpha.18","maintainers":[{"name":"amolgupta","email":"amolgupta1989@gmail.com"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a0b5d5d454aed493942f1f0363f052664b58db77","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.35-alpha.18.tgz","fileCount":14,"integrity":"sha512-nMByHIrL7Cw8UxZHL2eIT8yPT0BBa0ItC8qY2/iFtyqlYW4eS4QkTG8af+J9PSk6Y6C+LHZk8TEHeWwsfbB7ng==","signatures":[{"sig":"MEQCIELfwxSgAydEWUav1s+aSxBKLzz7GvDfKkUKyaIiLpYfAiAo8YhcLcz28rRuG/wDRC2Ai2jVdB1JPRtDHLjdEkasyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB73aCRA9TVsSAnZWagAASY4P/15mQN3+FdU8Byx0ydcQ\noKhkUOGhs4K0XjBhSDKWix5AaPbSzN6uUUEf/EPRJiNKx6KWmbxrtzjmNwjw\ngKa7/YdMpBInJrwlpjqhNZG2htNY8pIdM8hGobhh8t8stEk60M0GvUOQAqjd\nJW4v6rotNMkZxotZFC1qGUgvdBZkibHM/Rh6WXDpAGTO8kOokIxJwuOT7VfY\nRaHSIixO/TiPrzlKnkaP2tTgkyj9/Nsr25bgt9h6/Bj82+MWbW+Io92wl3vv\ngCCsc/yvtv51COfJ2z3OvNUSoZ1eFFUTuzMvXrHulFIZOzs2V26y5rLdDqCC\nuRjTdBOqe6nxOPxooFxXsPtEhC7OhR6qfokrF9/xPpfaOTkwhTkYHUhuFLoT\ntZmyl0C5lDaMc9vRKYrEa6+mGm6nmVAKcWGWj6lPGqZ2D0QJMnu6FwVB0gxi\n8riMtO/d5A48NEmMBALrRYSJffHO/C+KVpZfaJFFaB6FvNvEWqlr4WicIrG+\nVGhWS5+GdpjGFQTZS7mxKQ2RorssqkEizYJ38Q4pHDFDCQnDc72l7xqH8Q/5\nwS9xEoUzTRlZcvzztOc6QkCKaTxtigwe1qTnzMrrGZ5BFTBPNL40Aaltd2uh\nI+xXuGsdyf95V+EljqLynjt8sVFQiVgRbYOVahOPEmYZPbphEikLdD66YWLD\noGcb\r\n=5RUM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"4b8474ab0d1777484b923dd80891bc63718981cd","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.7-alpha.18+4b8474ab0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9-alpha.53+4b8474ab0","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.85-alpha.18+4b8474ab0","bpk-component-button":"^2.3.12-alpha.18+4b8474ab0","bpk-component-spinner":"^2.2.102-alpha.18+4b8474ab0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.35-alpha.18_1560788441575_0.2180606110500336","host":"s3://npm-registry-packages"}},"2.2.35-alpha.37":{"name":"bpk-component-infinite-scroll","version":"2.2.35-alpha.37","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.35-alpha.37","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f6fc263425b53715087eb81462b9d7c7b871f5e5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.35-alpha.37.tgz","fileCount":14,"integrity":"sha512-Hs5ljd3UQW747lVSbcgmQZZaxXE8zNalcS/QupJqLvA1r0DQYzxRRaWRItFqm0Fpsj/qQ19ao8R8etPp4KSf0w==","signatures":[{"sig":"MEYCIQDTg08oCwrAsYYV+h2oy3wAPNdWVUfgY4ms9rzukuVacgIhANIb0xfgyc6UhOkkmHOXN6MHuhInCYvB51RuaKHhnJNv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCog4CRA9TVsSAnZWagAALMcP/1TkUd/05vX5Tm92N1sK\npqWEvubDvkJylTi8VNPxDAA3HRvBPSdvN4xnc+SEzI03+Q+70IKRZYBjIayN\nGbcJY+EPjJjSTug5fn9w2wtDsqpIL4tcLyTfI6dGd9zp0yZJwNoogqHhFxgH\nwKzmTocKd6actxc19x+VEJlOU/mE/knlsqrHSY3sKn1Ol5LiBWx9fetf+A9E\nhng6BjAMBwlWIK1eEw6scYgWdJg4q5KZMqFgCTmVQvebdpiAsHTuJKZXb1IC\nNCMUGH98LuhBfM1qFZrAz5wH32HXwsjU2CS3LLETZjUvwAEqnRj661rBhsbm\nXnJ+a4R3UNrgP/xZNmWU2xpA7AMgdWjZeQavQLKEV/E+FTG4xQsfYwApP7SS\nX/GkAOfGsnxZxhig3CNqod3RwktPznCHuP6XaHGYyHkxo0SmBHd9G2cYItHd\nS3M6LqharBHF0HnDUp7qnESxvFOdYrJm/Gbk/zAWmXayFygrudo+r6Ci+L03\nDchu4finL136IRZXO04V7rM7v+/WfJ/XAiSix5723cBCWUWl9n3mwxdHoTgG\nbK0v8FXlThgI00oQ2J7F/SIpDTNU3vn+pDZnH4bTO8pZ1QIIpkWjqbVVKMpZ\nWqL/D+Vt3+tMKC0e2oT89UCONFX06ri5vhaZ2Wz0ylP4GH4JK6wj3FtpvezR\n3XNG\r\n=6NL0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"52cc24b6ae2aeba01e38adf36cb73daef8278431","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.7-alpha.37+52cc24b6a","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9-alpha.72+52cc24b6a","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.85-alpha.37+52cc24b6a","bpk-component-button":"^2.3.12-alpha.37+52cc24b6a","bpk-component-spinner":"^2.2.102-alpha.37+52cc24b6a"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.35-alpha.37_1560971319414_0.8306726415358794","host":"s3://npm-registry-packages"}},"2.2.35":{"name":"bpk-component-infinite-scroll","version":"2.2.35","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.35","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"09488f90aaaac7a243ee862d68abfb5fcc91a954","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.35.tgz","fileCount":13,"integrity":"sha512-E28wMWs16TXP861fkqokpo8A9qpzcEISQzO+Pm64SyvZJ0mz5DuqjGC4OobUOI+8TVzRb1DOdtZI8kau0APLIg==","signatures":[{"sig":"MEUCIEyT78ikNtycc6OyFfC7cm70gSalocxW/lMg/NiCRSdoAiEAlWHD9C0tim26kfSElGeqIXo7VtjypsqKy2ahTZhaGRI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEgqZCRA9TVsSAnZWagAA2JAP/i+LBPPRsIuW1xWu8ly5\nniOK8siLQ/16sJVzcA7nbxQ1+zXo7DuuhtCPyeGOUO7vMsg2zrLiNJHNG5oP\n7xTLYi9bR7yzLiCdoXPkjaX1h6OQ4LN+vGIvovoaqi4w+1iGKjcrNkkbTvNS\nPvwxnx90ZFMvdheJYBP5cEevq3Bc80kUEWwSDQCnt05CZRSISte2JYEJ7ayX\nmBo6wQOLZ6n0+Mjd9ibSvwc8JckUcggwleUoW2LGdxSK3HFzI2MrhMyF5x+q\n4jyC88J4/Ov5aVflMvRYVc42z5zIlBHc3q2CPYgaWwdC9OmDyAaKpj4q5jQG\ne2X1FNLcMKpIcBmjS4ZMEIogNxSjpSB4P3m/EDpQS51WKuIv+6zd2dRq8pJf\nEFt7bAfsH1jQx2bhgoYUzLFI+5cXrlqst/+Do4vmy2lmYZzGVhATjLrikhqq\nVewXn0rmNZVBDjZ94ACfEXmBgeGUO09rL/QeloJGNX0000JE8eAHtjDSwY2u\nvu0tn78fYzy1SrwFNUFwN5FtSq62JThZ2pJHRntaPtqjtKrQ8ni7nE0U9N2r\nm9g29i5h/LEKIVG5JjCR2NWfd/n3gMczZkrb0SV3wW/jsrbXbfnu5/nDgLuP\npqqcoAHq7Q/RcDK+Ia/IuMEOYNXIMc0m493HuHphgazD/i/LbMIfWCVimW4Q\n3kWO\r\n=xUGF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2442745ec57ceff0b7265f99145c65e83ac35396","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.85","bpk-component-button":"^2.3.12","bpk-component-spinner":"^2.2.102"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.35_1561463448649_0.7976465694737498","host":"s3://npm-registry-packages"}},"2.2.36":{"name":"bpk-component-infinite-scroll","version":"2.2.36","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.36","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5d168e2da63701428c98495c77467231d39a6c60","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.36.tgz","fileCount":13,"integrity":"sha512-klPo4r5ELKzMQj3tQVWQl8jvS7aHRk8WIgsuy5C/pff9GAPfn+THUDgxbdDJeFM1kD74A9f5iQFOvWseRUOp6g==","signatures":[{"sig":"MEQCIFhvAXIQCqWg0kPtzBXuLz1xi3ygVfjYOfHGO0pAyV8qAiAxSRyCXGSOJs5KgpizKlfvvHzANcbFUkgqXjTa/yUUWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFNQTCRA9TVsSAnZWagAAJo4P/Rn+hOmX/6uzetUu4lgi\nR2aktwxnHX2H8pC/MYsjb+fFy54pEhsLy/YkwElzcVHDDTDOBPQB82m0NZnA\n7gy9Dirt3RPpclaF4rBODfClR9luAQGxIzPAHg7d+bLYdnp6Um6bl46LUIkn\n8P7JbdcX512R4UW2FK1q5IzRVu155THW+3bbkva/S0MftWuKAHM9AWtGzGsp\nK3hEdSE5GM0vrAg6Ptlxs6jZte4NrtM0+QWdpbAgLbTy9AlefE3AfpU/gKSY\nSvheYoMNF4ywloeelFe9DpdBdmQFUHop9ukcrY1jV9doyghGnbwMDk2nXKVe\nz999fPYYKtx3LVkIC8CMFXI6ep0XF7jpjYa1ECz0CmMj5/fMvTBq4dczVHUG\nlOW/UAK9xx65BXzGiK9oxRQNys9eIQVRJqU2dZzpYhvHOrFao2W+lRfMFIyj\nTrOfZDSitqY3fc/lTcybjnxowl10egs0Ea3YFjTgirwsYherkovHLLXON/VG\n40/VBOnrnhK2D1r04hF4glbBCGyVwnxNygB7pKIIHBVnHeFnYqh2pZ0WsigE\nBm0U7+UHTttve9N2jlVUp7lDbHxwhUgeqpwYMFgh9M//YRdRi34358U2A7jJ\nkwUHir3of1NdKuUOlSXRNarEp6Uznp47v6n1ko8uxurmYW9YMIN5lRz46qGv\n5j0J\r\n=jyGU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d7c1adc6a0efa1063e379a9b5b6376092fa91010","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.8","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.85","bpk-component-button":"^2.3.12","bpk-component-spinner":"^2.2.102"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.36_1561646099199_0.26164287007482057","host":"s3://npm-registry-packages"}},"2.2.35-alpha.41":{"name":"bpk-component-infinite-scroll","version":"2.2.35-alpha.41","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.35-alpha.41","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"355eff9b1c822d88599262bf05955097e1c9ae5e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.35-alpha.41.tgz","fileCount":14,"integrity":"sha512-avpIPq0H3VPY1MlMShM9MFsYQj2ELSiplQGjs1f35hRtu1dTBTlBLXBgc1lX0ZInhf1z37UmQSQi3mqeOLO8Nw==","signatures":[{"sig":"MEUCIBJpqr/jbxg1d8nAwsUq0+p+cTDTaZvurQbUz1yd/mjXAiEAj9RRP6hU/1grzf5TAEvT+jL5bwBQAPG6fuNWzG4gmgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFhDbCRA9TVsSAnZWagAABdwQAIK2tY04zJNf1FE+p4tE\ng0wfyNJBZB+b2dGT/Fs0nfSya/j28xs50o0I4o74I/E7iIB+lqEzcrEGfSPR\nPu4ZlOieVY93eKNLrrJz62bkihXkS65VQTQXjbHNbhCJ21R5DUAvlU1UD8P/\nn2RJgFewnC1MFUcrOc7AgIHc/Occft5jaaHUB0BM/8XEsKikzmaY5s3MTpnF\nVyLtN07gM+cGa1xGlXsr/jPT+5SzL8RpjUMRpzPJ5UOZ79knJemIrAYpzt4r\nM/gSNMOZWHw84Aebb8oMeLkhx9Mk7l2kiUQN7Qxn7kRHJqwrtV5GKAD2uu9v\nIw0XS/gNPjzzIKHJ7HaNgGXx6hbJ7zyjqYhbauiOYbGoShTcjwPnjFLcn3rt\noR1qDO5Eh4HiZlB5CMHk0zwx9q62E0Moxoj7G0r+Fs5+uf79JmhGVtTbjUmk\n1Ud/JzA1YcSIluwK8iIYhdmpEUeF0B3XZGN+9m4cJhytIwtsTCOUAzHb9wIw\nkCaGsfek+2wBIyZT0vYt9T7oj6FFNpicizIsiogww83YhPDDmqwlQRc9rIhj\nMa+QOx02GEZnLRG1xqNc/6AodE0f2PHV6VorZZsNzoscHNZu8+HAWkK6Hkf6\nlwERIfyW9ci+yamAmFID1IkZXFB4FX2T3TxpCblRGQCJQtkew9vwkYEU5F9U\nXIsw\r\n=Tbvu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"f789154b118b2ecdf4e61ba5e965e74b094ebf60","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.23.7-alpha.41+f789154b1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9-alpha.76+f789154b1","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.85-alpha.41+f789154b1","bpk-component-button":"^2.3.12-alpha.41+f789154b1","bpk-component-spinner":"^2.2.102-alpha.41+f789154b1"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.35-alpha.41_1561727194355_0.3218180546423306","host":"s3://npm-registry-packages"}},"2.2.37":{"name":"bpk-component-infinite-scroll","version":"2.2.37","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.37","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a6be46d95ce703c8336140def64ea7ae567b6491","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.37.tgz","fileCount":13,"integrity":"sha512-h7iv/Ag0gNKnhby0zrN9IkXm1bXf3ZMYZjDAk35ZQcIBJZKDpg58FqAU1ZCCckS0QjV233Mr4H/LtDwslm8pOw==","signatures":[{"sig":"MEUCIGNVum9KhBbQ9+dehIGoxXRAxM0KtjQekknk+S39c3mBAiEAzg5OnYAzMP6YfOGcBkHsGG/Kl82PIjWkDdnaG+sgC/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":62179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGxe+CRA9TVsSAnZWagAAx0MP/R+h2S0fbY/YyTqL0thS\nYt0xED9loPdOfawpB/6Ly1xhj9rq//sZp7Je7RbmOnpfPLxOocjteKTTbI+t\n8Vollggwd0l7ujGLaGzhM6rKawEgWm5E8+luc/lrtusCzTV8ciZZ0rLo4zmN\n0MKpqaDyeYNzFQuTrubtUJlYd6p5L7BZCh8F9xoh6sk/3UjJ0IZ2RSHiqTRa\n8VJ3beIJOufBvpMKVMdXUiDAGrNePIWMcY/S3RyZUkuVRk/3oZqw9QTG2VC9\ntCfEgxnwRo0/QpQMaDiDHc0XykUzlEmOz7tfhy7X7kkka37cZxMqHEdURX+h\nd4Z5jkNFeUnsrxOQgCShhYcs9Rnp3MLnU2UDSWcwwUGsME0JE0nBw3UAAx3h\ng/9qkyp9z27iYkWyxG5gmK87ZTXO2hFqMPYVqTe/rKWWJBDKypa0Tpku/8vt\noNZwM+FUJdfegiNwQvsRjkkjmN1DNpDGGod4Z24le4OC9yqB0CrXvr5nfZo9\nIqWDuThowNL/BWZek3lYN62VDE1bZZAUUfbXO5bZWgMNkbWVXlSe814tFteT\ne5yV7VkZy8/oWZiicJMeWwgdnpAxt+3MZEllwH5CSlIOTGpzgha7tqAK9LDy\n5cOMsS+bzIcMCcZTXDz5+BLxDyb24123W6eT418Dg8mKf5P2Ep/31FEHCII9\nj5lA\r\n=QmDo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fb7562139a39e5147255304bc55b2eca99009f3c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.86","bpk-component-button":"^2.3.14","bpk-component-spinner":"^2.2.103"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.37_1562056631979_0.2608832402890029","host":"s3://npm-registry-packages"}},"2.2.38":{"name":"bpk-component-infinite-scroll","version":"2.2.38","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.38","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"163b2d09748417128043c5dfc79e6c100e8af586","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.38.tgz","fileCount":13,"integrity":"sha512-FlyUJtznZsaI7LF2L8UJS0Ucx9u2iOxo/6TMonpx3kN4oWki7lp1UFigwD1VaJ7BD6hl73hvjbzRm6etfyLKwg==","signatures":[{"sig":"MEUCIQDiaZ3cHlFpYOCkAwf4SUaDCpJmUFQYLvi9YusipHgN1AIgME9167scuYi9eftWMqjktCoppfVbXS3HqcgumzaJP6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI2WwCRA9TVsSAnZWagAAtFsP/3WWSdaoleAD3RbgOO5n\nOi00q/a+tIWyDSabE4tMgP1aVTudJEhvFg2xNu+7dsf4IaKUlGZzAamkuIve\nothViAMeVamYsMtQGm7KU0lZ+q8sYL232yGUsb9t46Vr8mdFivgdqzFHZ3mt\n25U//Ea2bzxA9wsN1s24IpzpmC8Vh3uk+7ZfXLc2XDCLurtqRH9wF6su0LgZ\ntPYITLwFhVwKPyeGO94vAV7eG8BCZDauQx05OLQ40q956MlLqQqvQQgJo//O\nxhvIjsk2NHuUKrWn1+VMthqggnk70UqT2hZVWIaJ05SGBA5AlVKxuhxkUVVr\nUbqz5CHrXp7ADxulnhVYtaxum3U7jQY4a/cEhe50+Yk2RVjCDbAtkQNPei1I\nA45sjBG58HMbtvyFMctc1ToAqjRgWf6VI1tz4qobDiuu8UIGyKJEIjn6Hnei\ng9twy3/n+DjpKFV3tH6dYONXmmZWlv7UlM5XnJeUPBefZn/R0GmaNXfxbj45\ndtytF5mNQYFQlGB25kkqZhqtTUgqaHIZlhTFB/iXYFsBkYIqKR2I7Fl/SjHI\nYHrsLtBhuFgYWXV4PgoKICcrnq7F0n2g7/lc17/SsN3KYhpjXg3MccCygNRE\ns3k0judAT50D6bK44iwhQ0ugol7LzfKVqUS170zOggSN9inOpsCOVz+SvZIa\n1CGl\r\n=QKUh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"08df6ea93f267c677f3c94bbe9f69489a8881379","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.86","bpk-component-button":"^2.3.14","bpk-component-spinner":"^2.2.103"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.38_1562600879979_0.26742475580782243","host":"s3://npm-registry-packages"}},"2.2.39":{"name":"bpk-component-infinite-scroll","version":"2.2.39","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.39","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f230372d292eb569c585fc1bfc1aa5ee96361f6a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.39.tgz","fileCount":13,"integrity":"sha512-UZZoAsQ0Jl8rmdeR+V/RFwf5WxjV6BFnXVas/7HeXNgTKYCLgDUSejRG4ujSsJh8SvP1UQF1vBeB2JicARSHvA==","signatures":[{"sig":"MEYCIQDOX+WtCI6LV3nZXBWccrqUaHdMgAI8d8JzWM5SGnchkQIhAP7x4N6Uzb/Ot1pJzze0JwE3Yf2wjr/gf1CZwI3XsdUr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKHRBCRA9TVsSAnZWagAAcCEP/jHtWW6gZ2UWGecXXX6e\n/wbmGSHpKCjB+NN5C0w4fdXGxqp+rUUuGaB25GLgcbd1/KkSdZZitsLKozC1\ntYoAW5q6uE8PK2EQ9mQ3GZsEh2/BQu0SIQH9YzU8cHkKB9m3yNn8LdagMFkW\nTVTv+BS3h4I/N6ijJum91OJuivqOtvZtWzMTlKZMrQuEKBOFG7v0ORrPekxL\nb5ZPJLV8fFOuwWxVSLyjn2OT/uaiZrnyW9MbfezH08gO7X25QbRJDQ/IpqgJ\nEcpHTtas/gtEhm9lhmFC3j50SjhzwG/x+eAtlW9FswgS1K89x99WfZIUTnZt\nXo4U7fc/zmtLtjYtJ1Ajc+cWvisn05yHgCcdmLdLFdvp1kuzFFrK+y8RZ5Hv\npe42nE9ycP1lqLtB9taFBjUUBpOV0WAz1wWae3iWRc2OVYifOj3WX9TvFgFr\n2maAPwzwm+NhYnS0ZAZnQzosk8j0Q3KKgVik9P0JevU7MXkd3ukgMPmDmjJ6\nYZnGJsaDg7YCei3jnk6tAyAxVe3L84qLW45S/ntZPuWYWrD3HDquscQRYRBf\nwGrxFvYn+OMpCWDBxhFxQuiSESTUCHcn//HZwvAYphU39u1byNHmVwleCoGL\nhQlziO22xXgUo4kg24cfgiyVElEpI925sX9IHmEww+ik0TSloA3TsHjh+Loj\nrc3b\r\n=4iKT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a4df0b7da6e2f52ba47848927999cda1f00c558f","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.87","bpk-component-button":"^2.3.15","bpk-component-spinner":"^2.2.104"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.39_1562932288685_0.3882236717694225","host":"s3://npm-registry-packages"}},"2.2.40-alpha.1":{"name":"bpk-component-infinite-scroll","version":"2.2.40-alpha.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.40-alpha.1","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"558e5bc5d61932c2019b466245cb5e2a40d7ad0d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.40-alpha.1.tgz","fileCount":14,"integrity":"sha512-hmB9kRdGE6R6xrnKzCt8TnsdWaPUqArJG8bsPa9y9fYZ+o9VoT2ATS9YDphZ63qbGQvtQqVhEQ8rSzxOc7rZrw==","signatures":[{"sig":"MEQCIG+gHEEJ85MLgKnq98m1ihCqqdUKmNQbu157zVKD0xkNAiA9wi7waLZT76HHlRR9iaYxZFnQxWjyURHexjwfNbYiXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL02hCRA9TVsSAnZWagAAPfIQAJP4vAlkUZbbR+02AyKH\nqBTXy995wh3kmdKiGBOTAJqOVBCeG2oPqMNwKDSdwdnJHejfCEh8/lbWiuLO\nX/KFnApeBCdKgcUgNmRmBLLKMlt1soFquzBvr4Mxa36KzhB88KOwBxVj0MIJ\nGozHqUtXXeiHLMwCjoN5CuMH+NuI+KiZJwBN/+cu78k+8FBeg8ExgaJ545Vj\nyTfrNiYYJwXO+xXfzx81kpbKEJ+oLqOsVYvz919k5rMo1xXi/dWFWxw9ytpb\nH69V4BM4THDJxuzuyb2KshAz/SUNGgJt9Bhu13yLsBJjSG4KaEoaq0qb0nwg\nzJ5IgyuG/Mh8XhD95XjbJ57oLT8tzqqKDs1Nn0zcfcVK6hJk2FudTGwj3xSF\nIeDw3dMwanOXiMgiR15abjmR+OgbdQYoORWIcOmNnra/RC13mORlMtmJG4tb\nrhAr1qfqNrwCrRWCrvcT2mkSb1mcsBBYD9PsdEJP8+V+6eBRr5E4HKPbte/p\nksjbW/PcZyIujsMpq/NRWOXELgFawlU3MdZXnUZO7DDzojit4qTlGY+WOkGh\nkVJhyzhnByfZPzTkWtXUyURUw776tM030ZA+GrAEBoPfm+/lxoNiYUJPwFpu\nfKNpOkOpeyO8DDHMbCEEofPxrymn9VdWcSAOMjJ+1BcGYzhtIG7mG22s9ldz\n7xO1\r\n=WbYG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"f3fa1c07e0242f9452c618a630cc2b97732021ff","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.3-alpha.1+f3fa1c07e","prop-types":"^15.6.2","bpk-react-utils":"^2.7.10-alpha.40+f3fa1c07e","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.88-alpha.1+f3fa1c07e","bpk-component-button":"^2.3.16-alpha.1+f3fa1c07e","bpk-component-spinner":"^2.2.105-alpha.1+f3fa1c07e"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.40-alpha.1_1563381153161_0.36551764525258856","host":"s3://npm-registry-packages"}},"2.2.41":{"name":"bpk-component-infinite-scroll","version":"2.2.41","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.41","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a82723c1c7c0e662bbe290e0088c7eedb7427bb8","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.41.tgz","fileCount":13,"integrity":"sha512-1obEXf7gZ36MX+CFOeUGKr4Vhtj+HlBjVfFCe9lxVZ0xIJqH1LSG6oAdosvoPn2PCbPkf8pfA2yGPequ73Y91w==","signatures":[{"sig":"MEYCIQCOuCNzPd/dprby2QV7eZlb5u53Mrwp0VOLV2V9dX+z2gIhAOylIcx6Su+0V34jMreFuHeaBHaxy5qOlSXhovsjS+fG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNyzpCRA9TVsSAnZWagAAAMoP/1myvejjD+diOYSJncOI\nDfDKK7w8ReJkG4DrRSKbjlhFVDsny4JWs9jeW7zvSHrS7SnpRrWxJ+LPyJC2\nGxD94kcY+5LoIFcGOr2Mr/HrFiOXYXJMnwmJQ9v+r63XvP4LlnRqLaGMkprk\nr70cZgNuSJOaLfIgvARGRIdie9EWkz/l3H1nsXxAo6QiBTy2OrdVP9bE8tku\nY/LT4xEIdtfZxpjRRLhoVXAuwDfczJ9dagzDFEXM5kmcRk8OHShWww1sA+Ht\nF4O3vMILMP+FowbtSBeCQrM9nStLyAi11VBU6OyXJbYp0Du0eMJRAgiJ/ZKF\nbwXWOuWf17St1Mlhl/xvArOMHGz+7G1gL+Y7TX3tKh0ZNWCIkkgFMQusYtGN\nEJB2gra8Fc2fjLGocXXKlSQ1nPASvIET6Weo6594fyvXVuQhBr99AfjOC+Fg\nH+edHOltnRbtKbllSUUfJsAQzv9H0LSyIniStKzsAI4QnPdbEHqF8SuMpSUm\ny8/emVvr33tbeVLcLwYWYHS0JrBgNkjc+YJz+fMiPB6XmOYaYbPggL//Md36\nFKFp8W+pGqWsCC+3TFlY+QMZmIK2klKZ44T57nCi6KS5QIEvwKs34vL4rlaO\nPTzcWv9wYvmlyjxU+kkpGydbOZlXNMTLipuu1T5XDA4O3VDAasUMeOs8yfBg\nBbXV\r\n=Hku+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"89937077229bec18515ef53bf12f3f395696b625","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.4","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.89","bpk-component-button":"^2.4.1","bpk-component-spinner":"^2.2.106"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.41_1563897065172_0.3388896730673243","host":"s3://npm-registry-packages"}},"2.2.42":{"name":"bpk-component-infinite-scroll","version":"2.2.42","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.42","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"92452acae6304e7d2ac3761af041e70129f0951b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.42.tgz","fileCount":13,"integrity":"sha512-MAUHm0mWK3ZV2bXTPj2WW+eCAL2v/k6ZXEryQPG8LzYuBkmY1mVeWw4d7PPHh6W7C+5STvxO4nwHHZuKcpcNog==","signatures":[{"sig":"MEUCIHQqwf9RUGwTEsHCCUzqFzpTAqRdqofbOOxSG+s+a+uuAiEAljL1NVGOM0b+c1C1wX+KSs/AbgcSAZco8MrjpkB31fc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOC4OCRA9TVsSAnZWagAA6c4P/RWsV0esQA4Y0TO37HXk\nwM4ZscoymqpRFlPeeQzUrfeh9a1LPtJkknSuSfwqrfZTjY2jB7lxegFEuyw3\n1+PkAY0Xn2bYY7DGaRkLHobsubBwjZjkDtZKqtonzhQiILtIAiQblT5kGu0v\nAVYrtLm+pBMpy6hK7y/DQsCd6/PChLDTvCEi2PnZLENFTMkFNZerV34javrO\nQoxDnpEGhyzpr99G51AifI3gmswWaiK/3lmLLI8ixmj8U6g5icpn1hkNlpdq\neF8p7biO5ScPf//DEQo/NBXNO88AcuiNoHiOUV/JUyv0sXE3w3woN+GaC7XI\nbNtZZgUWVWltRHmTYD955MPkjRvekXI9AiS70IwtXZwSo6DYuIFIRelsjkxN\nb9Es+mXuWR1JswexXaLHxOI7Y7+Jzhf4CMCNSd0G3BABL6mKakVARj05WMEb\n86iymwvByO6nPyxosOjrvSpP8g+WFVEYpfax+dE/NfK1tdPH5z13a+uuHiDf\nO0/+e3QkDSDCtBG1OSXOK4LqsTzM9tJClfM1mtjx3ACMjAToC4mZ767/Rsm8\nvle0GVEV9dsF83Er42Lw9xzu0ZZBNa2otvf5L7IzWL4QjE4JsJneIOK8n3Dj\n5SL5AKtb3o6WIu+4i4Wq8KEsx9oD31ars1VdNk34Su0QuZm+PIey5aPe0V56\n3pjo\r\n=iohX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3345a4d0f4311e8dfa96bab7cac2d17c650742e6","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.5","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.90","bpk-component-button":"^2.4.2","bpk-component-spinner":"^2.2.107"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.42_1563962893392_0.11482406355847807","host":"s3://npm-registry-packages"}},"2.2.43":{"name":"bpk-component-infinite-scroll","version":"2.2.43","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.43","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4f659a9cebb76ac5a9b5630c1d8d946c2bcb577e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.43.tgz","fileCount":13,"integrity":"sha512-er7wfLx63DTba8LiasSt9aE4v+wOzoPqLcw7XmlfjxUoRfd9jZWYOo4REZxVb1c0Fz0yawSsQ48g+Tgu+FmQAw==","signatures":[{"sig":"MEUCIAVPBp9rIfBW+3yc7mIK0O/Zov1gYOlPq/+16jVSvNWvAiEAyz9BANdKqGX8aGjiLm4a4ymzMPH8i+qL1od9BiFF8sc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOYEcCRA9TVsSAnZWagAAzY4P/203sPLiEP0gbubc7Iyf\nMCBxmJY5pnGl5AjylXvSFB/OLMKauWfHiOUJCRwkIqDFO9MZEvV9+SavxVbf\nlYRGLb45FPmy/BRZPtvrJKfpDOXj3B3y6ZhTEMemHPH3UN5Kmd8TFngsapbF\nqRKZmB28aa4xGhRx/5qLIkiFGBOX84nksihAchQ0xpZo12SU51y8XkKvDeMn\nss4F3RjgetJLRjqwYc5bhv0fS5DZ+CM8F70p7rzIDQK4y+Pu6Elxd3ljbJ1B\nCZzugRRVN6K0bt8EvZsBkiHN2Zh6m5geHZZnW9E8Bln+6MmyVs2oQ+gfDzWk\nUpxyBMj6yVwpitA14kzSmarF5kRyNEzkPcqOOCP4VhI9VV1iTtEf0/yu5x3c\nx+yi2LUgev2QcR+pEMwj78AJurYPkhvBWX8AtNxnugBE1Dmym9xgRrfPlAJB\nHQnE+o9od4QbrMzRXFXMSawm7eMZco6BXR33y8g+HPODBAa9IDIbwtsIs9uF\n486oEUo/DFi93oOK57kvtAR0UUdxS8/8Jn4UW8QZkbhC0CW5CncKDizsaQ12\nWRe8sWXj2G/3j0AksV4rrHmMgJpwTLcB90sF5mUgGmYgP5URte2Aq5/kVmrX\nuIikHBrRISloFvnizv0ZR6T5IK1ur+3No8ZVUtfuDpTEsJDnE/TZdaKuTprv\nbtCo\r\n=yH6H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"240cfaa27bf0069b22eff8ce5f8684175a419465","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.5","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.90","bpk-component-button":"^2.4.3","bpk-component-spinner":"^2.2.107"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.43_1564049691786_0.3066349105020365","host":"s3://npm-registry-packages"}},"2.2.44":{"name":"bpk-component-infinite-scroll","version":"2.2.44","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.44","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"cdea94d103b718e06b97360c041ebc34acecd403","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.44.tgz","fileCount":13,"integrity":"sha512-/+R5wmm3KcMUbkyCqsIZzXMTNwL4pBDS16O0rTKoc1ZrRReeHl6vYnnoa/HXB6/AZtPslzwD2EdXuKQ4fnHFwg==","signatures":[{"sig":"MEQCIGWuNhKwkG1CqEFyx1AYFDjWjiu491V+f4y5Ho/NX4oXAiBg6HgTWyjerMTekCZQLI05wM1burY4flfk+wNRl/T9Gw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPsK6CRA9TVsSAnZWagAAre0P/3o6uE1Mmy1cCZ4Da4om\nDRsgSSkGgIMOsdYn5K0df67FH+6KZxRdb3+yFtRqn4rA/6UNUgcykMo6RVcN\n/ZK4KBwJmAwTXeAzyiqEUYVtpP7nwiRpQqEpH35P58mrvg4O2cLRA+PJcEOj\n+t0KL0Xthe5rkTHh9MZ86dArTcwjw2Ow63YJsUN6DhuoATFv9E1lnCkui5WH\nrvzLY51+kHyjFofeJzIPV7c7YKNftW8M6howcNIWvB9ziBe5n+NxSz7QsJvv\nQswAAUrVS1M5PgEsmroxDqq18LHJkqF2dhNGQfrocWlNLO2zW3QaLpOS0vTa\nyvFlYcOOsdNFy7WEtbeikt9nITOrACDh9xbLjCqpKKeATlzFNghOW939EOR6\nZBFsIXaQOZO/L5VsSVua5hQh4rT3JmkoMGIXmuT4jrXXmvk0LJy/nxAL+lky\noBEhhMLYkZm8Es48T7/y0ZwrC3aMFqTQoWWo1n7UVz/oITQ6AEJgauwAmuda\nghOZ0OYf6ojHil3WIUcNi1Mh2PIH380f/JL2kK3glb6QPyXwRQWo+jErJwBM\nDeAS+3VeJIv6ozkCH/0VZ3LkWbsHtELiO6ArVi4qLtLhFRFZ8t0Mp+VoN2UQ\nnhpWLa35dJaJ6zK9KejGgEURdj9X9z+EsCxkT4g0jbUMKrW2azA+rYxvSuaC\numgH\r\n=4BNP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f68ab57180e476647a8f55b7c5e87d164f1f5abe","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.6","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.91","bpk-component-button":"^2.4.4","bpk-component-spinner":"^2.2.108"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.44_1564394169195_0.7140498723887785","host":"s3://npm-registry-packages"}},"2.2.45":{"name":"bpk-component-infinite-scroll","version":"2.2.45","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.45","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b66a87a24202163424d710540288742c3c191132","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.45.tgz","fileCount":13,"integrity":"sha512-M6DgZrgCqZHzCvIt86epjwZEncByZMUOCEUthZObUIGlMBLJ/D7uQ8r+oMbc0jrd+wS70wJt3zD4BPWlce1CMw==","signatures":[{"sig":"MEYCIQC8uAOw9/Pbt6LbDscAxcrE2RUsGpTvGFhYQ5pAuvXNwAIhAL8EAfr9SEB7P8rTwH9PAxW/wh9aYQiTHm93oFrdr+iY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPwXiCRA9TVsSAnZWagAAktwP/0lMhfOppaEkwa97tgzl\naYkAQx0JB/Mcj5Qi+F7Db2ylrbZe31Vl+aRuhCIBLom9zSHJCnTuNHlsDpjK\n/IpgiZZt7m213vy4VvflMuxg6Awg0P/RiFGx9UOL005d6RlyJOoQmhri4Vcf\nhY9pYm4edbfMZBwd3tKFVWzuAtCoT7ehWXGe7AiMSW4ihwoqU94xsVbhj4Rn\nZkzOZGbqjm4HKDphfFpJR9s2wM2zPH1+HAbJWzxPpnSP2tZR3P3wKKEa5SCl\nIKcYsEPAo8DBSNHpm35RUuz6exCaW9ZZK2/WUbxS1X3FYvJ47upcITTAFPLC\nKMQYcGvgF+LYknhK+eypd9/QBqgPhrcSJ2I7ucQb2QKNHfCmhX+f9C/TFyuG\nZ0Ru7K+9f0+Nkv99PvdXsxJgu6o/K25ETrwi4GlxhgI5e+Ao2iJk5y3f+hWM\nS1I3I7G4IMjGcj/3kdzLwc/GA9OouvmMdkh4MnhVQ63ZbDArzP3Hq2EHGPzA\nxDneFXsjicUBCBB2gcJf8C15rk/DF5tq2+ojcek2a2ca/IE9qS1kdhUgFY5M\nk2SqzqadWW8J5WbaO/HSmh0znEE3AgUNxTemyoQygSDungCrQHdfuvZqurvF\n8lQDsfEYEcVcNScReLVkGYf4xJOHMWZiTsRKk6TyjGOnul2N/VUkNivCORoG\ntYx5\r\n=WG4v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3658635ada15638f7a16fc42e0ff0654dfce582f","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.7","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.92","bpk-component-button":"^2.4.5","bpk-component-spinner":"^2.2.109"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.45_1564411362273_0.15500241890777855","host":"s3://npm-registry-packages"}},"2.2.46":{"name":"bpk-component-infinite-scroll","version":"2.2.46","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.46","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"21a4f5680cc6c9ca0d5068405c94fee6fc609b69","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.46.tgz","fileCount":13,"integrity":"sha512-fLf4nZFCieFm/izxK5S6XJNuSz6j9iG19u+TidtXFs9Ad9SiGKNHnSkcAvyBqQJqFxE5sJCpvR7yv354Y+XV6A==","signatures":[{"sig":"MEUCIC3rukwrv0VWqHekIG3ZP2Yed6Ude1U/cufam6A/CZu3AiEA1B628laSn+3MwWUgWy97XNScWSjb9qs30limp8YM9D4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSX0lCRA9TVsSAnZWagAAql4P/jV0T0cJf0UISHEm31Xi\nsIt5b3pqrvqFlPkpwERDFHLMIuwh8h4WbS0yYvn6522saXxoDZcVQTXEN2LZ\neT21KCuyETnCi1T/P/MQtAy57OVbdOYbMelRwQm7o0EXqlDSxc/hF1TQWNYe\n1Wawr3rMgp5ZXH9Q7ciKoBmsrFw1XXG9tvJj/+TK32IdF603fLQ0/6oIammB\n3nMWN3Z6tuP/4Y6TLvXf1Ow7vZ70L39zWhvv60PN0ukyvZbhmCmW7ASvOWYK\ntmL34q4mUQjG0akiXTFX2MiorEygVRV1rMPj0/FQEeXdOIhdJLwvVe/Jg4nP\nYg29gbtdYlAi/hP52o3ICZfZZAZ6MGZHfvro9QVY4skeM0ce3XTPvLdvSnM4\nSQeh2istHjPH0x65/4vq02R1FpNIEuXse89TBOllplQZgoTBYwV/4iGYeVyJ\nOHOlz1hr2PHZsnvmGIAW543QWX0b4yyJ/NZW0IJN834bQ4GxmSIn3aGcdPdv\n30k7Vel/3dE6rPxkpmr8+ROijVdkIEAsGes5j1U7Fux1hd71GNmO7bkRFIVZ\nAAbU4jCcq/yUdKyDUUmPdx6aswslhUvVXb7bWOARTeUWQ1baZ8l8g4A+pJll\n39+YWFkNmyCCuSHROrd+/JpnNW54MmXwvoC7PE4/uDOB8W6duVuyteINxbAF\nhra/\r\n=96ZO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4fe8319a22ea81ad75ebea4822402dc47a663c3f","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^17.24.8","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.93","bpk-component-button":"^2.4.6","bpk-component-spinner":"^2.2.110"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.46_1565097253126_0.7623216747270267","host":"s3://npm-registry-packages"}},"2.2.47":{"name":"bpk-component-infinite-scroll","version":"2.2.47","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.47","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9e4f1f6d2f683c8ca3ef07e79f95ea724eae177e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.47.tgz","fileCount":13,"integrity":"sha512-OrFpcZ04jHQZ2dRzF8pMFvTg6gz4SdMaoNt/p3y/bmakLD5YIbGn0UMQ0OW97HYB4Dy3XNz4jwwE4EOSxh96lg==","signatures":[{"sig":"MEUCIQDz/F2TRNWK9qO4C/T0ADUL3X7ZHgnKVbvDyFksBaHbMwIgW3cMImRQgmj2iVrdnkpFRFVk9Fdi0i1JSNjrw9/TWdo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUVpqCRA9TVsSAnZWagAAz1sP/1iKRT4IbVulzghJDudQ\nCGLiQSS+sUAWTj2KAmPE2T640CmW2Pgt2RvTT1dxYt74SROmBsRTnJvLim9m\n2HJa41OZAM64XHQBBj0g/Ydv0NMKevTdyI2uzZFS/z/n9rIakuH9A5d7xI09\nxBgDa7WTTsd4D2R0uYTIFD36LZXwlZh7jmslSQKXNlQpvrtiE+p6RWEGeKkq\nx0yTTreNfixyjptMHZ8tmo+hGl39T3NO6P9vj0uM0jY+Km847D0x67RD10G2\nfKl6vfjbX87PrBGtNM2A6093aIemNOq8eo3+faMqYOUdpRXimL/PtrW/3qwc\nUS/NJGu/PMtY816EkeQLEe+Zv9PZn2OP+ujvOxV2AaEQkFlC73BIgeVUOwRE\nAbWXws37A2Rr8tuqHIA9IXdaTzJLQJPJJVXODEpvT7gCP1zUq9q0aIUtlknn\nbepOsJCrtqznsSuBZOxZH/nrrZRwvlcrA6ZoFwUt0oIM1O8p8N9S2qTHLoz2\nxPrLnoNDqilpDobnnGmPedbXoEl3srAxX0zSbB7oG9eOkkY9qJqik2PM1/qb\nikGmkEqO/+usYUk8pCoGdTir3yEBEAB4/kAVXh6YZBXnr9oMVh7tRLb6C1H6\neCzpjOx6HVJQmv5Wp2KWUlJT71trwayJoAigaNVy78g2k6JdOUU2zmEjyAgW\n9nal\r\n=qNaD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9cc599b4871ffec5d856b691e98031bc6a781bb8","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^18.0.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.94","bpk-component-button":"^2.4.7","bpk-component-spinner":"^2.2.111"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.47_1565612649695_0.6079918210157571","host":"s3://npm-registry-packages"}},"2.2.48":{"name":"bpk-component-infinite-scroll","version":"2.2.48","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.48","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"696e01ab6e3b7efb8c29fa659f16fe33e86f5b37","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.48.tgz","fileCount":13,"integrity":"sha512-ZzZHW/fjW5mwyofkGblVSBu2ygVwpiKX5qRyJn6Xpp6iCWSVJXRAhYu52vJg5Z4yYNSO7hYyiZXRNAfTwQdoWA==","signatures":[{"sig":"MEQCIEfTxivv7nzSevPw8iCEXeDT1jzmI6z3+P8FklxSyIdZAiBtMao4KbOJ5mbtcjnvMk+z0dwqn+emxpLlWS6ahU4pgQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVpnTCRA9TVsSAnZWagAAI0oP/1E30CTjaVauivjK0hib\ne69FWk5kLnsQIMi9c+1GgrxQ6qPjl0ldYDJNjiXWS4wTr3gO216WRy2MIp9G\nX3edPrZrNyHQZlxqMYm1F9r0K+AFIO6uziKXrOIbtNj7152OEyd9HWE3AIWv\n1ZTSKf0O9TB5VzAJkch6maUbpqakw/Ig2DVStZc5uD5SQiKSzwcnJJCiGAWo\niAPIiwbFw/BUdciFy5bY0zYCRKof6FVPfrBWmHcsvTbNgJaD97ibTgOhw/DF\njhip/Kh/0wblJeBFafydHIa62zzhMjre1+J2GixN2QU4sllBJqaLL/WT06VF\nCsTNfUb6z8slHZ3ncw/UGLnStPWnASdfmC+D9eSUAyJezwP0xedkUBXwq5H2\nsl/PyajmHE8YsP0FwNcowR0xpD+5UitE2cbYLsRX6VEVKomUwCZQzgpUvD1o\nsaSJpFGFA10pgffKCyHQ8t6tqmF9LQS9N/J+iT/QJYFtH8ei+rLbgc0PjOlW\n4He3tfzORfK5VgHXfcOdTLFSzcBXDePwOKmOOeUYB6FLZkpCpgN1ejjDZy4D\nM6DmD2vaKVgW+M5NZzDZIvzIf7s9AZGeysaj1rso017MxHC/GjkyniXW7cZT\ndZ2Q08VfPwKHpLBH/tY104CMrAwSpoBDZvWGYxs0ew94tE/ltBZRH98VCOJy\n4KOe\r\n=Q/P3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c273954c852695b88ee79deba877d3ecf59acb17","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.0","dependencies":{"bpk-mixins":"^18.0.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.95","bpk-component-button":"^2.4.8","bpk-component-spinner":"^2.2.112"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.48_1565956563068_0.7461150739607918","host":"s3://npm-registry-packages"}},"2.2.49":{"name":"bpk-component-infinite-scroll","version":"2.2.49","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.49","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"60ee6bc6fb22c752c8828b08db180c7806b6e6dd","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.49.tgz","fileCount":13,"integrity":"sha512-hJH+/4b6q/WCc7Lidzb3Y/yqYbWA47k4/mE7m7BsJBIQCAUhsSXOkEknF85Sj3uU7aFtvcRxxdmotY3RYe+EyQ==","signatures":[{"sig":"MEUCIQDyYlo8jzUczek/NB1aVovfQ8L6yTFfaCB052ewOltsbgIgWoa1c8splu07r5pM0vich2P/P4AEq96TsuptgcVe6Ts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWrECCRA9TVsSAnZWagAA+lwQAJrcUnFkG4PRV1BBDBNl\nc7zi9nWQW/XcRrs/+Qx2ceTCo45JaY51x6S4LMecfmzoIWhrExwDeOqGevqa\neAmyCa/6rLfJYMB7eAdPq7uO1BiyUr6DYvtwNLq4FrVE1wWKATfboB1u2Qii\nahyfMl27x45Piegw3GrpOcZoEVqOlg3F/H4FmWxAPqnGmS2/ez+nNqgnz8dV\nrEle9P36QLZaUbu7i4yR7FNqb6/xMmnDhZtLB2P6+/1uj1CCfUaPzvZ6cSIQ\nm0FUsKgVj5/B2Zm4H/QCG91BSr2qBMHllTpNuUxypz2uIXdLsB2SVR32vBeL\ndc9FOu4RzgKTZTKV5DxCsnF/zKKOvvicthutQn7q4Vsv5Ez1/Gf3LM9eEtUO\n5YCqRFMesH1cZCBLmzRirqDfquoSn3hPIRbZy8U7YqKTsIEQlmY4QR+oUjd0\n4h+OanPjqwmW2so/rgxEZNvvMJJZeZ8TVuK/L3ZsDxjKGR0XiQoBQkNsn3iC\nzmXLl82+qRFhswj2J1w31LN9wlYAVmVR1Rm75eF9azuAkB9MSmd20rQM2mmp\neV24+94TrJPQMTLr+DkI9iRG+4fj1wqOmTApvlclxqdA6VBXa3jnJuNlZsuL\nefHQYai4XB+1D/6XySwTZuMAx3G+cCtIxMSa+NqZALWC2y1ZPjsHEMi5sRam\n23GB\r\n=ZHRz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"79684d1b27f414a0fc4177b5e414d362c853b372","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.96","bpk-component-button":"^2.4.9","bpk-component-spinner":"^2.2.113"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.49_1566224641763_0.8247796233372731","host":"s3://npm-registry-packages"}},"2.2.50-beta.2":{"name":"bpk-component-infinite-scroll","version":"2.2.50-beta.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.50-beta.2","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"90e28b9536d9405ed30f12cbc5a8b921c2bb446c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.50-beta.2.tgz","fileCount":13,"integrity":"sha512-Vesbr4dDSa9H2bx3NRZryswjeM87phx2PkzJRm2NvPKks/1jlfPObOomUq9JCYmh/Niu82SsmKOZIlLXystiVQ==","signatures":[{"sig":"MEUCIFIJaDH5KMnbXliDJwFhaC4mvafvWi+vQoNiHhTKZccEAiEA8dMgZpDEvqypPWzApEMeVI+6iK+peuaQyl9NWJ+6XoY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXrVRCRA9TVsSAnZWagAAYnMP+wTZJ4hstaXrPGIjzcVK\nbOBDY50JV0c4bvJKTJqlXK3uDRsyjZk74DN+Kd5gsN+yxA0gWu1gAjGZ78Eb\nEmMm/nPpizItGn0FWm4v01RNviI1zPNxNZ6MENHMcq1YicD3ZN+bNUF8fGjF\njYtR4OCWx0Uqd3IFVAjG14OoRkBi5lRIU9zSkKHzKTI42hGlfysECkwOtTTo\ngLJ0QN9nJ5EsGTnie74qXagprJq8f0DqiqKXgJnGWKzzMGOwxkrYEo5q+f2V\nVOQ+HxyMkP4s5RkWlmTsr355kNIgsiMFiGXMMImzor1lo0N7KrlCjFApG15f\nMlAhl0aqGrK7ZozoY6UNHg1Sl2Upf4ub4dRA/5Z1YgKjKgcnYmxQQGeRE5aA\ncQj0tPDdMeJgW6EB50d/PWU4UkZYsFqOINdWfZxarhpZEntw9z2ujmEOYi/R\n3Ty/HHZ3xkhJSOxSdVGvFa46hpevspFDZiLw0HVr79I1MLQ07QaPXQuWV0sR\nCXH4xrfv3zKQnswK5A2CALqlDcP10oinpMrtZbmUCnAYJWYEAw31A2lng7jo\n1bVZi6FdTT8Z5+xe0riwmmEO179S0UadtKUh8/lyqJLeykVMZFPJGmhGdG3H\nSfUZLqricRv+1WtewwP0Ytl3irlj6i+ZYfDHvM+TQQsqEqC+Co1+UkgebzFh\nRNCe\r\n=hdkR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"91501a8823e0b1df5b94d2441de3851342949c8e","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.96","bpk-component-button":"^2.4.10-beta.2+91501a882","bpk-component-spinner":"^2.2.113"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.50-beta.2_1566487888647_0.47128194885125585","host":"s3://npm-registry-packages"}},"2.2.50":{"name":"bpk-component-infinite-scroll","version":"2.2.50","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.50","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ac6de6ebecb52d5f95b83855c9b83fd005210d0d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.50.tgz","fileCount":12,"integrity":"sha512-h5KtRFw9NUPdUV+CP4mBDHRru+dxDVUKVCSZ8+lFhv+7UPebsnUMEnBKh93b3XOZIYu3T1XxgOJgMb8+1QzVdw==","signatures":[{"sig":"MEQCIE9Szi92tGGgv9HGX9GcQ1fRRdanP9ktLGtiyYKVF9jvAiBzI4Xag4FPUGx1ueSIZbpy8eQkRmn9UFKyQJ8A4WrHaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdX5oxCRA9TVsSAnZWagAA9DEQAKBt/g984QEn/Mu2Ue1I\nAYpvGIqC+uuAx4bYqNarAuF46QxqdPixagZBzxvwK1Kr1Z5da9Er4D7CR/oo\nzk+UUYnt782tVFwoadQOFXRcE+0a1PLWDjB9P02fG+7R6uZeZekVUSwWmKxt\njWwLLJCuG3jSioemAyDAxibQdS5oilFmTds5P9Xe+Eri1EkFOvFe0/z+4goH\n6vVsUD13+6NSaYbUlcr676WDO9MrU+NMLsSsY2Kuo595bmA9kpWWArlBwl3x\nMmTPvE2jrlc84SduulwdVki9FarwfP2Ft1c9xEr4PxhqWV4wAIzDT9an2Oti\n/gV+5EmRCiryyZVVgSVj5lFG3tXo8CCS0CG/DT13I3FsKUpZX/EwyzUJRmWr\nsG2JWLWSkZsMLQDnG788VvollCcvwIUuVh+hieBy+0le1PRExrJsLyE/ifeA\nJAUXUklfQpvYseEy9q67kEjCas07aJSk7rRiwghfOJYp2Z917tlfvsR25xcV\nmF4wb3MflQza47jxOOqbgtn6kaLlyUus3IHT4lG99BKUH2hwbeOA42fovfNI\n6BvdmH8RjmuXbWYuYPruWFVIDrqGBKQ36RwkjyKocJOmNdAU5Mxyty5wAkFF\nwOQzIWDrT2KoJ64bmrInvT0JXIOwuPvcEEV2oko79L0yTftNAD8L03p0lcQD\n64ux\r\n=GlGn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"89937077229bec18515ef53bf12f3f395696b625","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.9.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"10.15.3","dependencies":{"bpk-mixins":"^18.0.3","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.97","bpk-component-button":"^2.5.0","bpk-component-spinner":"^2.2.114"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.50_1566546480577_0.30435671117382723","host":"s3://npm-registry-packages"}},"2.2.51":{"name":"bpk-component-infinite-scroll","version":"2.2.51","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.51","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f720e4c88b3f0a4d09760229fd4dd899b6e2f1cc","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.51.tgz","fileCount":13,"integrity":"sha512-1g9snI0EXJAX2Q4K41LC0zo2pcxbO+spQqzA5Pbrf8maEupaUOcYWOdKEDFrUBwZm7hqJy1plESb0KhXV/i8zw==","signatures":[{"sig":"MEUCIEUF1BG7xNP1IY/ORJu47ax2OmuFz/5mvfGVA9HjPFuyAiEAq0dzVeBewCUM+daBX88c6cPJn9/IwAuO5dq/kKbpkLk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdX/nSCRA9TVsSAnZWagAA3/gP/i6GCgZ7cv9j8L0xi1ts\njIh8AZpU6YodxbpEKiUlAZMIaNBRaf6sPbNJh1xm7D9Ns4qt+PacaOfowBNX\n0CANtJy++DcNMV46L4IWzzAI487mtFVgD+y/UmrAlKLm2WS4CW34EewawFHw\njalKv9wqnidXGlP0hjxEUE87CoOZkVWkEBw+NSR1vbWTn2/E9hFsE2zOEFAK\nnUgm9hkkm/QjtUcvMlA71V4qrnquFOE4Juq5r8zMgL361OzHiRM2LREZxdvC\nAlCppMsCrE/3fr7/ATo1RDcFolmK5cBHUGg4PrGrRHc6UlzLZcmH88iIo9al\nCpMPnxwmTMtix0DSAI3RIbgtEhJcYWVb/cC4u8Vk3C1PuuCePjcGp+Upagvz\nOO7TMD8gaQvOpq0USdrE6pQ43ZR9EFjRx6jbP7bm4u+LX34R8OtOXFcXw2jI\n2Gm5koptJ/XVC98c/txWD4x/NqomUUQeFH6Jit4WTwhxQnE6SLSGDDOs1495\nD9mYkFV3X6lgRTZmG1TWLk1BCrZnK7LDtSG9JtC4SMx/s3SJQlpGe3er8FYt\nySDX86d8gREjHrvw3WQt9whhSBtzsHuOeXH/wHVigV/Ckdxx8ywmZtA3iDhI\nE08K8e8l79UbLye+IbBww3U9CXxGkleOzgu7jhTkBQPR/+5RIH0s/3i6bbuH\nh500\r\n=Gohf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"17aa550609fa9887f1a95c2711b5dbac83162f34","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.4","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.98","bpk-component-button":"^2.5.1","bpk-component-spinner":"^2.2.115"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.51_1566570961715_0.8536359961919977","host":"s3://npm-registry-packages"}},"2.2.52":{"name":"bpk-component-infinite-scroll","version":"2.2.52","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.52","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"211d03fefe49424dddd4d07a534e4b0334530bd7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.52.tgz","fileCount":13,"integrity":"sha512-AC7vBPmREM44yJjD7MddgPCk+XyLQ4rVYQVsGOsWDo1bZdNLpy3bKtuTrMR5M4soSuf3uARgqFqFflxmUBW0Sg==","signatures":[{"sig":"MEUCIQD+yCjLYad5BjFFbxLJJDMy4gkMTFOuTT71++ni+Ozp5gIgXki5OkXb5cIL+bbOn0DG1BTdnD4NAKfCvJWjMhb5AGE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdY7vsCRA9TVsSAnZWagAAOF4QAJ4M/R91kdz0Y35fln7S\n/WMqjtGCrgXiu6QGypRd3xVsAMR9imdPz6Yc/LuWu1XDiRWAjDEc2cABLY1Z\nDS8D9o2aITlFb+p682wnviRLJgAl/tuj/ySokMvpraRzVlCqzCp01S6PfTpW\n90jNkcWzj5ebw8kHyuOEFKVQefB9L7YvHSZLMVCJzyodFqPVSdV9TgpNgQA3\nk72WVqgHpF0hAQ5saIVHsIUT69GUYOi8nCG2xWrL5CpHLrBRpaOaG4MSlS56\n5Xnumtjxb2lfh+4Ybt+8wgs8b5SqV4xFlxS18h6p/sTYe47XILloPeOkvvW9\n2bYfi0RwoGxCzYHFpZuf+JG71NmUdzQiVdeVAhD29PC6rDCvzvnZjhtVyob2\n5Oy449PwaiZgJsVvEesGTAyDb39jiqlfZ18ys71rZm8W3AG6MPwdi3oW95LU\n3Fu84kBU30naR3FG8/zODTBRnT/BEr/HHoUSUAG9U/Zl85mc2cKKXqVgJQ1E\nA2jo2+HlHKH1V+J0tzrpjdYUdeWJOC70eVvnmbrnlwcFOm+TuxlbH7b5FAv6\nar4tmKy3Qkh8r+jDrTINUbg1GvnQmasgztg2KNOtj82wTyos7/RCGxl2Q9Mm\n7EDLM/H7tj0RyP3USPNgd0mLk1u2T2vB5k5o2uRTErnLCWGj4bTW4jI3C19d\nhweD\r\n=dknT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b6f47b554a8d5ec22fa6323fe949da707e8e989d","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.5","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.99","bpk-component-button":"^2.5.2","bpk-component-spinner":"^2.2.116"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.52_1566817259602_0.5769442438398658","host":"s3://npm-registry-packages"}},"2.2.53":{"name":"bpk-component-infinite-scroll","version":"2.2.53","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.53","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e1edbb9dc9c54795bdf213a2fb693960a5ecb6ee","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.53.tgz","fileCount":13,"integrity":"sha512-oHsifzS2sJZheGcU23fOlTFPnuI2PgBw8rjqRoMDiOquc3W7siTFj6PFFGbt0mxpiZOukO6eHK1Wr6Je0qzTgw==","signatures":[{"sig":"MEUCIQCfAMC34CesWGWJtWQqmul8ju3UaJFuGojTvJQojwT+3AIgauzmFIB1PVnnc+jVclwuA49bVhX2Z15+bpGPjnG3Zkc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdY75ECRA9TVsSAnZWagAAIO0P/3kefGtig1SVnZDE/I2t\nwD/iZYr1odyYscJ5BT1XvHpF+PiVT+3Ff8j143geU9WEYCa8xi7u++JRf674\nZJ2BmkVFS9j+0DSj6FWYQVRlqPd79LNe3GCOsj1D5n+3wVV68ss9BLcFb0G2\nC39pZIh16hRXoTEziHtJ5U6JSGPhGY4Rx14LKtsiJzN10W/1TEaUdbnnAAMG\nXoJOyO0f+uzH+V6GfTlxtZLdQFTAo6quLFO0hpo2LhnnIpHvZS/1W3v57KQi\n0qYkfkzLn7bHzp6zKRrD7MAMT3l9WfCD7TDXRwXg6FOwNssJ83HLqpfq33vD\nu1Iu1ZgRYGqA5+Mk4TLVh+msjYXoEbDUe0ouuB+UsIAB9NsqnrRSyxbUDFAG\nMHpK4R+CcGPzVH2DxP0HQaswzd2k/0Ht3PqsYiStZ+Ktpck4S0N8U8oiMmSw\no+WQBvNUHLLtUJ7B2wn6nSgmFUnhQ2OU0TeHmjdetCg1yqqX/zS6DS66LFQR\nHp4Z55VFjmaeRxXOM6cMavaLcUjdfhM3M9iORmuQ/0i7erz9BjQwqoGXeA7P\nPHLw8HnuA5Ko3LQGZjTey06BQtzyQ6yiq2ImTz2OmeKfm9Mt22Uum1m7SpWw\n8V541gVm3AFWm3z8anV0zYSHTs8vu1ATzrDDyA+gxn4IrJIRSMSp+IIslOB6\niZxe\r\n=PsSF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b7b3ff1122e0be9384d5e8f8ed6de54fdddfb3dc","_npmUser":{"name":"k0nserv","email":"h@tunius.se"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.6","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.100","bpk-component-button":"^2.5.3","bpk-component-spinner":"^2.2.117"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.53_1566817858928_0.47718825272750065","host":"s3://npm-registry-packages"}},"2.2.54":{"name":"bpk-component-infinite-scroll","version":"2.2.54","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.54","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"61de399ebee6e075b6e89c4dc81c7b871fbf6ebb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.54.tgz","fileCount":13,"integrity":"sha512-Y8j726loH3WrLbpuMKJ70qq4Qe7OIYGw1bLObf4qQ4y5MGMuGEZB3hcZ2bcVErxvUPmx5HxfkuWNUKZc181a9g==","signatures":[{"sig":"MEUCIQCjrtcM5Cg9Iv4n0+9AtsI5/SMZmIM3EscqiwaPR6beBAIgG0gEDDngRppgLW1ZL/fR37lOEJzITW/CaWcUvBijg5M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZTOECRA9TVsSAnZWagAAm0oP/2C/Nkmw0wGAilZBbkCi\n6dMkY7nlp9Nvmd1ad9ePHuWBgTROP4Bdi0KqtaxpemcoQ5oeGqCj8GKSgiu2\nlcXecB6FUZd/rvxG5TPgGrAXhNLIJWnCJ1U1UXA4MWyS0pWy78FCiCbX2zyP\nI5ysYbzv8wKTIpSw128n4YOcR8MIbSabWVvN3y9Lhmu+37ez60hpQ10MOb+G\nYleDEeFwb0Cesvy6GtLzUQMMMvv2L+S6WnoPrpHiTBiWR3+Pktdx07utqmUV\n7DkjDZw0t50Q8WUDjrXx6wg03RS/i4w4MfxpXjrqXUaoE0r9kabzNENVvpjt\nmNxGRRCn9dGVO9zePGjQChX+uMTd63g8BG33LuRyHRq7jk9UCXkeet+rLWia\nNgpf00HQDgLwKKUqqjWit/a12a+ssDVAQmSwoycSEsbnPKom0Kxw/liHbxkd\nqmXC0VtwTA7XnrxUHj44WRm/LcmItFqy+rMRCr2kaeRG6qGq73bNq1iIKV9Z\n4CMgplEW+Asv3+IjL4bMAKqeo9nPTRBq6kl9Lxdxk5RkcBYLZP5TSYsNMq4y\n3yWNVd63Df77tVeZRv/AKqOXuuXcWEn4EWPGzYyh59Kp3Md4ZKi7deFFVkXf\nj5zVAzYihnu1B1gGjdxfKP8/Dm3puZsok95dv+j8KA1t00cc46W7vwQ6eYcu\nxhcK\r\n=/7qY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"30b387cc6dc4e2717370c0a07e725fa71a2f447c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.7","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.101","bpk-component-button":"^2.5.4","bpk-component-spinner":"^2.2.118"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.54_1566913411601_0.3060659660951628","host":"s3://npm-registry-packages"}},"2.2.55":{"name":"bpk-component-infinite-scroll","version":"2.2.55","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.55","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"826900edb4d1279fd1be521ae256466b59f4a8d1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.55.tgz","fileCount":13,"integrity":"sha512-n2le6J2EII9OpxToTn1K48UmaPyGatIPxfvoqyuseX6e4q2G/Meii++wL+LXNQkQQSQjFSa9A25t1TjZCF7/+Q==","signatures":[{"sig":"MEUCIQDanUy+gZENMcrWd8p4jBT4kpfZLIqc9up55bbVeaOlRQIgdrtKQ3Kl8nAxFgG1mpL34If6+Sh4TXYwZG2RyuNzNi8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaAMfCRA9TVsSAnZWagAAPgMP/A6HwNmcLsmN55Qio0Sr\nG+cgbpIOPbA6lLTgY9B7jWLpmhkp0X/j6nK+U46l4QcgqJp/wEKttsa1YnC2\nIQAe8rb2EIMI32EDIydZ4VwDZZaPCoI8ZG3Q5vh6w19Gm/OAAU91yjRJyMr9\nPP1BgyugXA++C4FeyaGHBnSWxzNnXjOyi5fftUs9GJAo5ZfM8jiOduD3X5qP\n3MMFbT0tUDqspQ4eL3lpDzBgJYeACHCYyIGnahJW+2QmheQ/V9scHuonFvPR\njG6t+wTG2QXrbGU/pMDSJqvuulv7/VsqJaIW5EMbc3x0xm4kVD1arFRD3UxJ\nW3LafUgjpMzcASYKz/89lzSpFUZ05BbD630F+2cyk4ONASQ4AlsCmZJfP9zn\nPri+LepPTFuYFF2N8npN3DqJD7jeEBpoEc9XCuKn1e3rnJvCNPjz7xK6G3X+\nYEDS3OiR/5SYKJ2PA85O3xdBxn5ZQDpeYCJY6CnyjBWHQ8rf9hSIW7Gt6kjl\n7AT7Mc4QjW+iZ/YnEO3xNhZ0uGKpomYnxIA5C9N/HrZc8UO7jr948Run08nY\nZWqFzCqa4blN8MMUdFswe874e9pfUPoI6xEkUuTFaXUhNefIni34ALYrWynv\nwrHFyfSI2kiwP3vbmv23x9VbjlDVPavUig5JqNFAWc2q5uF8AULxtIKy3r9M\nh6io\r\n=pQ4S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cc186ba0a92200688bf6523cae301c8c71ac1682","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.8","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.102","bpk-component-button":"^2.5.5","bpk-component-spinner":"^2.2.119"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.55_1567097627750_0.4946802176472873","host":"s3://npm-registry-packages"}},"2.2.56-alpha.1":{"name":"bpk-component-infinite-scroll","version":"2.2.56-alpha.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.56-alpha.1","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3e7cabb71b557301b2f6caa186643e12ed6b8c12","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.56-alpha.1.tgz","fileCount":14,"integrity":"sha512-s0tskMOzd3DgYESetQnpST5+4CShnLVk1Gsc/Ag/tiOwL/whNMWFVMsdW//Yb8CnVbsVK/tjA2BMrRx9KnqbVg==","signatures":[{"sig":"MEYCIQDC+3HzPHPEx/Nog7ImkY1xxYT4MKUGDPaqF1ZeqmkOVwIhAO66mHjaY4cUAM0yvX2iNbRDxqWJDrin8MpmdIuRTjgo","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbPhPCRA9TVsSAnZWagAAVtkP/09Wy6sDKfMfHtGzBCBf\n9QI2NrCrUMu8TQ93cEh5sHORAuqPuXEYVt0M7cpuSTwm76PbcEH1a+CTRNxZ\naSTf2D3wOGglJZGBn88qPiXxR1DY7jMtbmYh5gf/kCw1sinRyRsrckeQ/qNk\nQymwlUC4uAERYR+zXHvinFgFXP/vAF1trXbFbu8qUZd8kaO/71B8B/R9VB/H\nZitKwzfo1X0cKc46/Mxi5whw7+merzVzoa90V/j2xaPDKJ2XQBA+n18d8nkR\nUyIgc/lqsP2UHPzFo0O4Ctui5EVunN18fqWYjmnmi9aEIu6M9Uk5qeCflluG\nZbhexEXagYSS8jL5hvmKbNk0P5aGyRddVuM8x53R3VotH2Y8Spvrv5osppJ6\nIwN1vHktFOIL+lrltd85yvOWeVadC929+MMMpkuB8WimnAm9dqw62WZeKLO8\nIRC9MfhXpWU9AQGbRCjgN7t1/EoIwXt95l2hr3WNTb6wF0SakzmApDpOxKd3\ncBeij/MhKcSuK2RYHpfHGuLTLQ0gXULckeI5kNrMIozBgGEnLRlfY5UZc5BM\nYuW/RXycYPdyif2JtfK0EC7xjEgAWNeb8OoLAI59qdHSL1XcGtkwkXtRoarq\nnohN1xpe4t8uLI9Y3YRs8Lu3r5gPl4pTP0G/Ck9CrSqPXSpsWtku9DKF/p3k\nkSNV\r\n=QnLi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"8476f02041bd1ea44461b3829736434c0661941d","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.9-alpha.1+8476f0204","prop-types":"^15.6.2","bpk-react-utils":"^2.7.9","intersection-observer":"^0.7.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.1.103-alpha.1+8476f0204","bpk-component-button":"^2.5.6-alpha.1+8476f0204","bpk-component-spinner":"^2.2.120-alpha.1+8476f0204"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.56-alpha.1_1567422542925_0.48875747574068806","host":"s3://npm-registry-packages"}},"2.2.56":{"name":"bpk-component-infinite-scroll","version":"2.2.56","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.56","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e658980e7be71f97001e0438292fe270337f770a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.56.tgz","fileCount":13,"integrity":"sha512-iBXhUV/x5GVGzAOHos5fr+Y1ci5lV5SsB5W7w2Jwuo+eS1pmQP92hbR/qiNehM/SWiGnrJQshTgb+oCjrrC3Bw==","signatures":[{"sig":"MEUCICkMiSE5Ny105SB7MY7K86stN53QeuvfChjykPIgHXKGAiEAt7cTpBn6Q0j2UwqAICD/hpeJn0ZQ1yM57mRqPMxC8KY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbjOjCRA9TVsSAnZWagAAY9YP/Rn5mbvU6O+pBTt9Tt8F\nQnXePmDMozlHm2dNc7uwDScoONM0ouGC0WquezFYVRnblQybhp1fBTRwBQYA\nrfZifCLkA2pAsEsHMhjr9go9V09qLifE+09Lo0/4BafK6bPWI6o5PIlC+ZhW\nmK3lZcqWeUhl1jJgOq225sZsx7W59RsKMvIpB87tlyP+n5HIxzyhsGQ5zijI\neewdI65qdBK5QO8dsF/l3wtFsbYFk9bTfJiQ5bUeufsbgRDEpU/glDBNwRdR\nAPlrLeX44/ilxB31k10GD4+CwMfN935NvklErBp0n4uyJ7hxdU771fk2JOLv\n/gZZXdJKCpBp30BbCSpBkm5j5CU3tW+fHYaBew1sbk8lJKjthdWaeDs8/ser\nPvWxfTN5Hg/qIfB5Pjp+bCWCT6ycUT15drmHjzYzF8tU18yfRv4G+NdDoys/\nCEvWHvfc76vWykQn5lR4bKvNuXBBMy6eH94mKyonS3jXZwDT7+48DQfjeRAk\nE0p3hjyVk1i08hnFuEfEXQmGLTLIgf7Gq2iwaedSF1pDgsz74Ux11ZqfIsD0\nus0QuK4b0xN57nivLkjyPrS4Ozm0WN6d1yiSyWVo9XDRYAoK6K77r2/l9id7\noYegCyaj8OdU667I620nJO8THtsU8+BYJ+wLXGgLQVDxasyuwplvbMhh0mLp\nGa3I\r\n=9f45\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a9633f5cc0af2596bcd9d4bae78c7967bdbc6a33","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.9","prop-types":"^15.6.2","bpk-react-utils":"^2.7.10","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.103","bpk-component-button":"^2.5.6","bpk-component-spinner":"^2.2.120"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.56_1567503259702_0.6869693068267031","host":"s3://npm-registry-packages"}},"2.2.57":{"name":"bpk-component-infinite-scroll","version":"2.2.57","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.57","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0cd636767cc39a1612367b3b1684e6bb3d1b7e9f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.57.tgz","fileCount":13,"integrity":"sha512-4Zs79JWR6jPMYKEqQfoMJqNABqTzswAi1zZ/8tCH08ojkMluGwXOFOnE1X5eobEQYM47g5YLj736WQ/kmktQZQ==","signatures":[{"sig":"MEYCIQCAyXRl5QqQEXIxFrUVtQuqSEvwv5lWZ/ndL7WjmPI9/QIhAPo1qkyv5mn3pzLUlns9fwAIUFLUCXDZw/zPM69XGnzL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbnNWCRA9TVsSAnZWagAAsz0P/RsCTiskievzGY9uSfpw\nEvzLxCVZYJrFbWeof3jl4aD6YI3NXF4HdBHuQHCe7Mde62p9UntNHa+dvN5a\nRCMBfIOp3hWfD5GTgOm5+DS3crouGLE1aNhHu3cRBm0Rx59H3eytkbS+SuFQ\nMrr+DSKgIAI/X8CcM+XpbjIbT8Me+Lft6n3ZVpar99ri16zXAbEZY1Vkbr1k\nc7HrGlk4fYQw3upoLf1/KTx0ItU0vHlK6H4ll+rOwz1yg0UzIe9D8s6kmheQ\n2cci/m7EooH54S0YESHqqobbsTJaIYnnw5SfvKu0XFLzDHxVsep9rFWUdSGi\nSCV4bJiNzFoUclgfj3cd8WMq3acSdkO4GHRlGUgBBzXOmk37mZSdJhc7N7Jl\n6Rdnzm6lN+vsoeB8WwLzkuz91cMuwgsFIL9wkhy43wcDCUy02Xh6FW0BMMQE\nRotsBRUu2RtSdVDrPy2UYryqOrCV2HRrsDByp1imZf8wIhDmbl0PnJX8GQPP\nNbLqR5bCCy9oUR/GyjBU43sOxLNg0up1xHnqku6mV4NJqfbEaj9u/ljcEYIF\njT8/8PIKckJXr1ZepVLpyAxTQLR7QJadIx3Ikznszi9uhZfZprwkpZ5MGHLu\ndHjcHsuJXe9ZO9f1yzzkL1jbmxkgqTS89ox+6+tUS1aT9x6HSh3D0svnCV0B\nC5gH\r\n=9jwA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4de8b6d44c44a7d6ddcbbcf6b93b4957b79f6390","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.10","prop-types":"^15.6.2","bpk-react-utils":"^2.7.10","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.104","bpk-component-button":"^2.5.7","bpk-component-spinner":"^2.2.121"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.57_1567519574343_0.5775976108306677","host":"s3://npm-registry-packages"}},"2.2.58":{"name":"bpk-component-infinite-scroll","version":"2.2.58","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.58","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"75dd0a5609de3704736be24b233bd39c212e5df6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.58.tgz","fileCount":13,"integrity":"sha512-kInSmT9aHAXS43M4uiKczIKk42w1zWhuKBEGgyFIarrhZaQVkcxLObIgDJSMUa1LoNaDTV5FJQMic4WBSHQRfw==","signatures":[{"sig":"MEUCIQCtOPcdSGRwnx857heDexXeq8YC/Zqz58iaL94W4FR5TQIgIg7BWWw76QTXPzZ6H6q6xEIKGTL7lrhDuJasUU7Se+A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbnpXCRA9TVsSAnZWagAAHkcP/39w0vywhiNBprlN0XaV\nCyITH09nF/6xE1X0uTsx2Y5Uau/ZHg/N8WVCu7RfyilVvFGyVH7ctdcUXrnM\nM9+R0/qqhayToODKrYEKPU8xMrnbzrW8Y2RiPdvkQuVm2/O584mzZLeqseUG\nghL1IWarshkMziT/V1acxEkf3dXxt8z2gvR+yg0waLMliUaAlbBH0RSUKHKQ\ncTl8K8oZra0nOMKHF48qY04lsAbRHNxE/y9VTGNuFe3Ot1FyKKHzhDlG+tc4\n8IdIloSp4ezT4pvxuiC+aIrBU2JfNRUbIn+5Bnv+f+sJDyK1AoDD2en9f3kS\nUnLzzYBaTPy4APjvFolOBu+yRr1GMHgjDwFPSObhhZFi4I4fCG34RaO0dnNk\nUAB/epWB9T53+OjAJS+bHhZ1rN3JKnJl2Vmm3tMmiZ6VvSt8Ob6UHu/yS0Cy\n7BQ7BG4S606GBmeY0pgPssSmovrSsyOYbp7CWrI87pfbtZBVd971/Qh0N32g\n45DWKt6KU9yi3n+4K42IcZoezYWl0DSRNZAqvYlB7T+8vGRa1BN2ITHlo+Gn\n0rrhh/KJreLeilAJ7db6DalgJ28PJTjvtqnsryYBNFBa8yK6OYvbcUQx/2kZ\nOBpfWYiNaX2XPmJIc954eU/hTvC/SD2vCEFiDsQ/UuEVa/BuYAc7A67lyjtD\n1c9r\r\n=uTne\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3f637cfb96814a93d4ffeec3088e92e98c96f4b7","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.0.11","prop-types":"^15.6.2","bpk-react-utils":"^2.7.10","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.105","bpk-component-button":"^2.5.8","bpk-component-spinner":"^2.2.122"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.58_1567521367038_0.9475233339423084","host":"s3://npm-registry-packages"}},"2.2.59":{"name":"bpk-component-infinite-scroll","version":"2.2.59","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.59","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e61e822d1d0643cee129916430272f9e3b87c0bf","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.59.tgz","fileCount":13,"integrity":"sha512-azmeFaZ9mtL8o8DSm3DoQWB1FHJiu42eC9AfyC6H6PwiK9SyiQktlMwpUtHeYgdMkELh/ISyJYgb8hcj3FejpQ==","signatures":[{"sig":"MEQCIB0ymeF0carEU8OR1zP2hi3BrlhB8NokKixhLfmegDohAiBq0OpDATjso/ZUI1nYVe/gXYvg+q+UahruH73BD8iNvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb91QCRA9TVsSAnZWagAA6vEP+gPgEP8aAR/h5EaYpZzc\nNDZtMN1nX84haC9W8xBvNlWhUe610nFdVcWZGN3fpo+21YX1UKC2UGn6YHIU\nS1I3gpDVrGCQVLeI/N4V9Id3G2yIITzC4tKX3a5RbfD3yN1YvCn0vreHoHmi\nk1b3v5eAH1UPy7PaUpkcoH+yNwFsgdWSG0qzXBE6KuuDUk5ao9TAEwnVTniE\n2gqRRQi8rzGv7JBWK3w9bVWwIluBIjFQAPBpABCCbPaxxLY2ONePhw+0P7g7\ng52WFW4GA2W9sSmDAaPU1WA3rFEh2/w5xqXSb8OJVxs5fYWwr8MCPiQHQB7i\nZXaFzjJFq1A1RxYYYKDcw1YW6cxEpk211S+eU0ZzfOeL1yoL2bQT20IXXnLv\nFYu5sZRqgWoeUPKpSXhoePUn2gIP2rBy61hyBzhJYLAk0YO3t1ZSqJgKJ5cg\npDL8AlbWPHjxXAJL0IMwHXY4SLHxZvt0zmnOpkWnT/4R8U078XT5B0pAZZvM\nIDneAEsR6MtGtDvIQRGpU29YiwW6OZwIj7FcF57UB0H4QwRWri1f2SfYe8yP\n+M1jwbPptMaI1s6gv9mOIPYRL3WhpHKc3aaCNp6tpV6NUCuW64qB+/y9hfli\nCnNk+ag4b72pkVBNLcLh8wjr0NRZY6uqJgYHROune2LKRle6h0MilF/sqVhw\nn5aL\r\n=i0sq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"405b5cc1f251f0ceb40350617d44216f003f6107","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.1.0","prop-types":"^15.6.2","bpk-react-utils":"^2.7.10","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.106","bpk-component-button":"^2.5.9","bpk-component-spinner":"^2.2.123"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.59_1567612239727_0.46569245009745064","host":"s3://npm-registry-packages"}},"2.2.60":{"name":"bpk-component-infinite-scroll","version":"2.2.60","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.60","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"951976ff6e13680517a4b974cec52e0877f1e76f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.60.tgz","fileCount":12,"integrity":"sha512-/gLScId7Z/VIRkU0zYua0aa9JzyuNeFI68XQAEZ+YQs2oT5Y0eoggERTsQP720s+umVKVtUz7KiDORj9jfW/Dg==","signatures":[{"sig":"MEYCIQC7g6BKLEh3497pldpZsZHsHOUxOiwS+ihDG3k84PhfxQIhANLjwu1llwncPv5cpQCVfToVxDNBNg3nwBe737kUX1FS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddjr6CRA9TVsSAnZWagAAA1kP+wdiWNOYWUgmI1Vt5cGA\nhJAIt2njyw0hEqWEiLO5c2mhspY1PwrLbNimBX9LgfY+B4fd2tR1knG2OCkS\nM8ah6lcDyYV2QO27JG7BPEM9aXj1LjGojZSjyKJa7UwLeyNnQ7VNc2GJMoBK\npcSs1nINPwpDVDFLTeHNQJmX+UjVUq/Mo6ppgZUutzAlD3dNICJj+3bX7Y8a\nBvUEVD8j0/2tOB5XonGo2YTfoMy3U+yjixavmACzses3RpbAA6BXqwhjRX7J\n4KSlEVNomYQAocwdLpOgYEVvtU2ZNjTThnY2PfzqpNuxgS07hbXhODiIg25X\nLiNIB1zoFLAjLezyuPgX3fugCOhL5uj3xzFLbRRnLbKpYHE5EPfDih4x0L+t\nyoa82vuA8a0MzrtgfVjigtzbovEfHnzr2EI8ZsVyI7YDZ+h0jB2EzGZRqoPo\nQP+WPxAc5mbFYp5qCo2pjM9BtRe0vgUBIOQSwk5hoG2QgnNqmKXRkSpct6o7\n+gdEjae5dfEri1oUatrwZIibxFGsmP2YcEB0RHsXMQIffyhwMv6Q+5r1lASJ\nJWj1m2pbyzRNkL7tRnb/wlU5XvHk+k9P+7rmYXQWL+92og5mlnmuL5+t0tTm\nETRy5oWKWwvidQu3Plcp3waOnmkM0UKDCRuruLsXrDudyEs5vMfTLd9rGR27\nlr5y\r\n=ZS6C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3f637cfb96814a93d4ffeec3088e92e98c96f4b7","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.1.1","prop-types":"^15.6.2","bpk-react-utils":"^2.7.10","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.107","bpk-component-button":"^2.5.10","bpk-component-spinner":"^2.2.124"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.60_1568029434053_0.18177893690227354","host":"s3://npm-registry-packages"}},"2.2.61":{"name":"bpk-component-infinite-scroll","version":"2.2.61","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.61","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e7db778629beeac3228e6901fbaf66c9d5e7ecf0","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.61.tgz","fileCount":13,"integrity":"sha512-IHHYOURKxW18nNt4uDz1FvGoD+8+KAVh0C03uQMt58Bo2HLqVmEb7cZ4cRhH1yNxN/9dPInXV3MTnM0hOWmrFA==","signatures":[{"sig":"MEUCIB6jHnrL5qaS8TpOr0mo/21msDONad2uYiKD3qYqVjvdAiEA+z7h9U6h2R4oqX1psmRcagBH0T1Ahuen8/Pio/n+aBA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd55sCRA9TVsSAnZWagAALZAQAJiLLmmwFc/LwlJbatT/\nGvtKj6F2+XoAzbV+wdzl8M+hQX5uV6jUiAOoCpFow6YHrBHzZuxaE9JUx+ga\n0tWDBq87r/ASJYsIfNzYxe6IlKw4KxWUbTYMiraRiNlPjqf7cFYApNi34RDI\nqAcg8xkGN2ufmzE5zIabjLGA9+w5FkFN9kbi8Gq5AjOhx7r2EbJIDIcptSNF\nLcdE/rEZpm/BqA2ThQWj3eSWOZb8V0F0mZN+y5Bg1XJBKjZQdrZgsHHh/ISj\nX514j6BSz9sO1e9qvRTFl3k6YZWvQFlXzmY7OBfHDESbZRT7R1pVrzlD8dIf\nlzSFdi7xt5sXO0cm+7V1cHopZEmd1jPBqR0pKfhxQ4BW+MD7uqSy8SbH7nGM\nCFfL5MeynR/Q1JHOpA3xybCqU6Zi6hYhJhGBBi3cAFvIjZLtrAJpvCMHSWpy\nKxwZ97sNZQVvS8l0aXqayI7sD/UxLwzOuaHAwbexzkw4rwfj2BNkVK/rZw5w\n63oUgLdjKDv5NZFROD3Jcqsrt2iYCwMyc0oWY5N/YbmB53etrv+l9jF2kbxz\nYd+c3upKoL1f5TBECEZAmOltR+jjfVCD8rY4XiAiohqgyBxT5ZlXpVvrd1O/\n2/mcAxFot/WjI/npkDqsxpiN0rOcpwT5q7NhS2JvlljRMAiGr+sygwDj3yKz\nwojR\r\n=EJFG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc845ae54bd96784c98924539c56abf617dbbbd7","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.1.2","prop-types":"^15.6.2","bpk-react-utils":"^2.7.10","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.108","bpk-component-button":"^2.5.11","bpk-component-spinner":"^2.2.125"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.61_1568120427407_0.9500947819887433","host":"s3://npm-registry-packages"}},"2.2.62":{"name":"bpk-component-infinite-scroll","version":"2.2.62","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.62","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"63170c56d466fd1b27a75d4b419564e8eb99cbdc","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.62.tgz","fileCount":12,"integrity":"sha512-kZIzvfXBxZ/1ualyysdipPgDJWhgagB5mKYD0prXwaZXZMjQBBOOI5lSLJ6bFgGjX5nQsleDdJxUbYKN+Kqg7g==","signatures":[{"sig":"MEUCIEvnDyaZD/McTrnp23GdJ7B9hXtd/lItnixPgYT/gabXAiEApJ7NREnsBDnjyEvhIMQPDG8AQSIf8JdySuhBLoqekJI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeP6ECRA9TVsSAnZWagAAuoQP/iq6mNDXEMp7EtZ2H8kJ\n9u56cPwr/GS5DT+/8zV6fhGAw2La3PuaUO98ZwELzoIQc6LNc3vx2MkfnLFZ\nM0plpyERYdgapRcbIoI7kGw3CdT86HOieNzKtpkdZ1YSaclrOkzWYBEW7yxH\n/0EBba8syzQpU3KL60uxfOJaC4oOYknSWmrmdhMwBTkuixOfk73l6mu7+TRj\nzE1Y4BQMsOZYDWLQ4d7R8N/TEZEwkdEmB2lfCgryRw6pvlM2TK3iMM32uyV8\n5F2J/p8f5BqeAF3mRhKQST8B2zYtp3vPxBGYiJNyumzZQIhP9i8u5zPSoAlc\nbjIRu1xUgTCvV/5aymN3491QkA6OX0FRw7mw6Mw8e2bjLQjnyFqzTQYSHOTf\ntqMeZK1n4XJeKUJ0Kee2N05uTNd3p7TcphDnGODqEOAA7DruJ7n9fZpjSUlC\nROenBLuvDpnPXqXasbp4dGqOb8p+L7rQhZKSLE6P/Zs0PS8WznNHbt7VJC73\nDmPG1fGNqr3u7Mot50b7vCWIfw9G2WLJsyPmenhYI4QlrUR4nlXC6yvm8jNB\nMaDQpO3qSWVnRvWrl86rXpfLFcBmk7uurqz+vgpT3hb4L2nsEu0PhY+v/t4p\n5RY1tQEFWlo2+TgDm5N6utE16bb9d0qfKTGHsDIL2agImiwwCIld5HVlYlZc\nbqTJ\r\n=6vQT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc845ae54bd96784c98924539c56abf617dbbbd7","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.1.3","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.109","bpk-component-button":"^2.5.12","bpk-component-spinner":"^2.2.126"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.62_1568210556340_0.32390373794104677","host":"s3://npm-registry-packages"}},"2.2.63":{"name":"bpk-component-infinite-scroll","version":"2.2.63","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.63","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ebe4750b102134c9c7a44ea456c246d3da56f036","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.63.tgz","fileCount":12,"integrity":"sha512-TTw5THIiNFi46ai3QY3U27whq69xztoDtr0yP95uW+KNr9R7VOsBKmxmm1O3ef8mVw5TyaiCUw1rIejah/7AkA==","signatures":[{"sig":"MEUCIFUspeKIltTn19RVJk+nJmhcWRYgrlEPALGMznmvsBGdAiEAlDVnvSduwWcwo32UiipbBz1ky6dTxG1RHu2iYFX5mY0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgkRMCRA9TVsSAnZWagAAbtUP/1tm5j9i1vv7QnYqZZk3\nCGimDpzXU2Gn4RRZZdoX6k1QwaYLi596BF927+i3hXeFt9wh496/A+Y9AQKF\nMXvUpVKPQ9vU+jhtCoqohpZSqCBSD1BJhEkOZm59Gr1+iY3MAoyAL7/Anwk5\nPwfZDf6OoHG8lPgo/e4k2uqNF2T/ITVtFLXuR7iZuSdeyjt+Pd2fR/JHIStL\nSNGlT+9Mk1G+rNvZpib3A6queKWDVgVDrxmByoTXWzGgzDUAkWWob3f7Yfkf\nmVNHS9wtvZeWJpWj+sZh0SZ3W0f/5GAzsVhMtKEuJ9UOgFDy9FarY0I2sBM0\nXu7AgFsaHSLcaieHb6lJ50Di4T15UNFlol3V8FPR9kaS2ymqR0YEcNEUjrDx\ncX5BdO1WcgLJtvOCl69gu1m62z0b+/1N/xjl8V+X/wLrGYiKRy8Lg4lG8pip\nf3Zu5GuORUdrFP0P5vW1mNEXYLSOXjO9M8IWNNKrE3vRd4jHODBmNrqjmW3u\nsNBtn/NMfu1R8P9K726ocbincAepSbaPfzc8ruqqHJmnUGT2g3UUU0ceSDnG\njYiLeKOHeqxpec83VOx81LeBaOzNlB2PBKZpf+spUQxXpGkjH8o3nRAhuEzI\nneQxCbyjUGLZzaViqo1ugXs8YL1ltOw8BE3LLKSdQRFbporGio0m9P1/V8uu\nt4BW\r\n=v47I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc845ae54bd96784c98924539c56abf617dbbbd7","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.1.4","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.110","bpk-component-button":"^2.5.13","bpk-component-spinner":"^2.2.127"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.63_1568818251910_0.030592482527764586","host":"s3://npm-registry-packages"}},"2.2.64":{"name":"bpk-component-infinite-scroll","version":"2.2.64","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.64","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fc30729cb231f7228ac1468f115067f9adcf4aaf","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.64.tgz","fileCount":12,"integrity":"sha512-gzatwXIgXr0y+dDp4gNYPdabsM5iA/8zrf3Ypr0ckIE7YPlFVl5BbMT8IbFWqzjdP1wC+RF4OuthdRk923JwzA==","signatures":[{"sig":"MEUCIDz2URkuttavIqQ/Rg5TSr9Cqy6UdZ/u3BvwRgm4cJVgAiEAx+8cuylwc0JajsKbWUTNoZ51eTLoQd9uo2bQDadtx6w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdg2FfCRA9TVsSAnZWagAAw9MQAKMFQ2ew/QfTzAE0Bshh\n0TbpwaW8/AxfHKuZhwdHLYNW7oMuDdSDVBFLbOg0EMtoXjz37gp8WZbZ5Yln\nHcpU/UHgMSy50xdirlU8b3aE8a2jIEYQnkb1/ZAwnr5DisKfsVUdkebZFjub\nrnxh32ZNRA+Is2p++cR6MmZ0tWNLIA5lsuVxDMfapzP5X7Ns0mZXmeQgDpvq\nDfjR+56ut2E3pFMfwpzm2P4CqYlQvSXid3odrwasUSZbzh40b/d6pKShYRop\nFMMwrGScUyPEokSuGDf4xQd5AVfKiDzX1tPj3woeCRgVO1fFkzM8O9Ol0Trj\nWDe+qbP48Wx5oYx8guf3B1UdAws3BbEK5voI2YVQBMCQ+hFDV4ZYFWqc5lpW\n5JiUXyWrevQUBu+efeIsJxgL51qFILs9+HhIHMBcG2nl85OE80Ccc0R88cjB\nBTKosR5r3SwwPvhWA6qD6j67VILhw4Xp4HJGV5J3YsrLHajbnQv+MECz8J4z\nZMLanHpy7hYfbTlZMvmcSs2/uT9VhuL4nABc1nJoBO7QRif8q7P2D82U+8H8\ntDbWLYJ8dTeV/5TLH/SHr/+cWJwSWiEbSch3CRzoDjiqcTn9vmKZdHI4k5yr\nMG7JviPRiuqbhxvzYOpM+u72CKkRqUH8ZRtBaYerYtI7a9YG1GmjzDDhpFDo\nJoZc\r\n=3UUU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc845ae54bd96784c98924539c56abf617dbbbd7","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.1.5","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.111","bpk-component-button":"^2.5.14","bpk-component-spinner":"^2.2.128"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.64_1568891223914_0.643244373196626","host":"s3://npm-registry-packages"}},"2.2.65":{"name":"bpk-component-infinite-scroll","version":"2.2.65","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.2.65","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8965522b3cb1b06dbf3bfa12101c5e8ed9d73231","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.2.65.tgz","fileCount":12,"integrity":"sha512-P29HSwTecRcOcAGZp2ppm9MNP32l8WeI3mr4iY7GyklgHNFGYWxQsUaTCcr5zjO0vRfhBQQYR6fZ5SC4mpJeFA==","signatures":[{"sig":"MEUCIQC7Eu51VjLrKF+KyRfhW5q9RjBK2C66mIbTD2BeFATX2wIgIUkc6PXiC615Wajt0Os+6bYEVpJCKdzWiT9S99HEBAs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58099,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdic5hCRA9TVsSAnZWagAAZI8P/ihLxlwgwEN4p1eEaYus\nLS4gC55C49gsw9GoXloNVlG58rMFFou8GruXKy5v5t8CXFCP7A2IwRwu7X9M\n9GXCahmR2J7T0hiUhZlzpYIv/SV8ZDu2tMJB4aYVZQ19gmQjqOftOzFuT9Hr\nikBXuIEF0Z7cf9RJZY10vUrn5PHINSyc4jXadn2U547hYWNYZlFHoWGsLKXy\nPIgh5Au4o2L1l7+kIj9AtBz/MGfqcnUf+aBntbottAE7zlpf4X6stSSH3ZQz\nzMbjdHVeZTwYWqS1nU2Bju0IuXgK3sKXpUlzCwksSc02NshsS3u19flST8XW\noBV7mwokqrP7z8jVd55JJZtEitOPPHJT5UrNFvyDQkpnETGnR+DJtLb5XdIf\nkCguywNkg03vx3l7w8ds3jUzIzjLlaL3Ls54zS3Zy/WxY7bvAyY3h55DRtOP\ns/TF5uuzMoJWFrBxPVUxmFjpHN6DjAd9MdNLTtc3axn+/y5l8J5Vm6AfMLgI\nFNf/5/LM4Ry8y74fNzL7DH0EviEJGuzRVMhUhrvCqNaU0N8hHhyLKCk0AEdr\n+UaegMdR7LRyhj7m9T1UU3ZH44amjjgVQhVOZPsBFtyQNgZ2ZDVHGhVHYdCu\nq/Aaq/Z0AG91AyFlvyTCB6/pFEFakA3Zd2vng8GAs3PUHWld5hicMtB6usoo\ntvMQ\r\n=9vdP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc845ae54bd96784c98924539c56abf617dbbbd7","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.1.6","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.1.112","bpk-component-button":"^2.5.15","bpk-component-spinner":"^2.2.129"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.2.65_1569312352397_0.5025442990485736","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"bpk-component-infinite-scroll","version":"2.3.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.3.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5dc81d73623ec1f30eb0c59cf548a0f2f19a705d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.3.0.tgz","fileCount":12,"integrity":"sha512-6+GTiawIl0dwA+0UfIfqlA43vTGtVhh0b8e3XHnZGgjTMZx0ZNmoq2fF0ySIbSYWg7PY0uDWHgabtsEOiPYs5g==","signatures":[{"sig":"MEUCIFihOJ1w8RD4nzPGVy3CHA9KwZTie20wgwSAh+No01YDAiEAn1W6nySeX3y/PQtIQtnHE3noN/QegPIBQ3FVzkDZ1hI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjK5zCRA9TVsSAnZWagAAkbMP/178dxrLV8agq5qP+8tP\nDsTtVpSzJojTSfYIcPZNFSR4yTIh+cQnJ8MLT1UCFlRjDJmLG4fHmSBhw/UW\nxsjt5CVFVcJkJrGTPzia8llbltRL0u3mkL62EIqXCt8KDnCU45I2KLoBF0E4\naT8W8WaNNltdxccnoGGAXJ3OxecnRN4aeT2SS5kgq0yl1gPTvjegdW7M5jFz\nbxioen+H8NDBQ83FQVoYd+C6dAbEHwt4fUL4V6qJtm9zSDnLQRGEZRqBAXx0\nuUynprwxHCDZKYN7xUKSRytPsfkgmmQGj0LRlh7YxD7OM85BbWaLfhtl+LK/\n71s3Ep4e7me77eBgmA6xWxYJf20IBfYM05WFdFF3T2XTd7aFFn5QkCWhXm9M\nVBRodOrFfZjcSZFRYg7/TKVgPGCxayLBwvY8M/oOeQpJiK+YL3gv4DrnZvKr\nnA6zkGd2UPvWHsiMwxAFZZmRTbwpecW8xCOpxhS1ii6o0coOYn2P4evaV+eS\n/0jnmhhj7VGZL85HdIQVffqNYANRCvIG6hjfWEId3ENFBX6GWKv/iI+lON85\nstgB7QNTJtrifbew8+F7EErBqH8zm7qMbtAFNMDkT6CDUHtCHSirvfiewqa8\nAvMpGsweHo85FtOn4D9FMkElJ4g6kuGG3NOh0865HlFIIiaQ9/9X6epQXJIG\n9xIf\r\n=6jDy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fc845ae54bd96784c98924539c56abf617dbbbd7","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.2.0","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.2.0","bpk-component-button":"^2.6.0","bpk-component-spinner":"^2.3.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.3.0_1569500778912_0.5025049786649098","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"bpk-component-infinite-scroll","version":"2.3.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.3.1","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ebb9704b2d9c418627aab9a83d2ddc284c2d29f2","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.3.1.tgz","fileCount":13,"integrity":"sha512-CKaZuVSFCbWRots75XorgIGLnQKZ6PgfDY8Xbs7uJeMNH9nJYHLwHR1Yd99YbOSFj2bFvrNdDDQA/WMIMxlZmw==","signatures":[{"sig":"MEYCIQC7j1DY6/dlf1JbTM2t43g39aJj2wzZAKqc45wnP5WKDAIhAMwwAEDnv4DBrTFdeLUgpfbwhLnSHgQB4nFF0yskjjYG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjO/zCRA9TVsSAnZWagAA7agP/2G0Kb+ERQItazPNhfBU\nbiICqInXnY9cH33voe21HRmEa/7eiwyFUgHGIcXOwQEIaRpSD4unZVwdgqBo\nS7FZ+mBAVHqoXgCO+Yx7NKiK2eWA2Nl2bUMjOX/KYqO2GgPMnNkgbb2q05Xi\n3tn/X9Zdk0ZaHgMWhhjV17pdPU3TumhM+AQo/BB4SOlWbs/njFx8VbxGYK+E\nQNpT7QwyOSVyKMJ8n0v/rQ4PRjsiD+81jqrCxoaGbVhNJ+bp1ZSKqYfEKJIZ\nw2hK0PwkrRU9nWnk9ESXj6EBmrinEl072a+hXbuyT5L0CLl9isJWM765lawA\nUl6bXH+Y4aaNbx3mO7+A7c6AHoPJe/MlTR6uIsZ2Ud7JUhiOvIS4VNrRGf63\nSEyUatz8JooBa929NbcM825jPEEEjkQ0aIRgJjdsJ4UNgFZkBkTIGGtuhBkn\nr+Mq627nvfZF8uY8NMUW/Ft1H3t5DZxp+XfCcwwmmVHDMNzB/k1qA3wnz9kK\nixc8/G1+sqrdi2KbV9XcJRqPrzbYYzLA4OpyRp+lBqOq6l5af41E2kPiDiq0\ncJSrwIpyb3wOOMkSvSmzX3ewHghx5/fYS16J09ztfGFtRn6UWepLUfz8vwya\nCyfCwS7xlfwJTkhmaHulWWCBEA2bTv8CS1qsHirMHL3pqN8h5nZIckHBza8J\nZu+s\r\n=mQCL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cf6d08b94adca75e1c46d6a097bac2750115c89f","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.2.1","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.2.1","bpk-component-button":"^2.6.1","bpk-component-spinner":"^2.3.1"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.3.1_1569517554634_0.05764223757317355","host":"s3://npm-registry-packages"}},"2.3.2-alpha.2":{"name":"bpk-component-infinite-scroll","version":"2.3.2-alpha.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.3.2-alpha.2","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"36881fa8c3fc6be80e8d3be4bd67b05a6258f9b3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.3.2-alpha.2.tgz","fileCount":14,"integrity":"sha512-j9Ha5EFqL6lvGOPB1VJviZg3WhPpt2Dzzqs1mtqmxUfeOqG2dNl4DFMQ9tSaKTzZUoO9BEGsCOxO5i74r4fRrg==","signatures":[{"sig":"MEYCIQDGK7Ck4C9TBfPDaIfgx43nr5t+Z8OJZ8vpXR6psdesZwIhAKzMXMpemDxWPEezt7+m34tOTGr1FYj24/lTwmGm7sLa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjPRUCRA9TVsSAnZWagAAw5oP/j6IuLrVViybfX4LYRnq\nGu7ze1HWrODqwXIrcuRrVcUSMybYvKrug7sngTjbzsaqW9ufrYxCj7fvr3I1\n4VluIWEMjIvbHKJuLt+iRGc5MQtl2wCCRpqnt35nWfShKRUaisbpHC5sZrKC\nD90R0COw6jOiJzgoTagjP5pn79+Su7djSorHJQs/Kl13DoiPlJniWcyL3qCM\nDwP0EkEzkv/vIK6v6To1EwHjq8guc5egi9kA4RqBVObr7xgN7DAnfldtQbfN\ntDy3LK+oz3LX81SfH0CKexwIgQ01y+i4D54ajrPaNjAdTSkF06Ralc1ui2Bl\ndx6hiBMtDTp+u2ATFvwpVMkIoAUqeGWFoPaalsUfeTIjdxCuXS22KSaaj8CR\naz18hR7nCT0VPckmhQYbBWGxVbJlMEwuChptGgTKlaFAVWv1PJkU+m8F8HKf\n4vP+BkYmip44kMSFkJwRuoJmUq/LWE1qLxaJ2FfUnOXZVcjG5Ll50Abnx9oX\nXh5Y7vhycNG7rKDp1mkjFN87LwZdIzDBu6jtMfqQRwtGsqWKGKS5OTDej70T\nv0fXhjKxwhm9be18HMoE43sf68VaoW3M/c18QAtTQppeatYvcqvHl/cD9pKX\nWK3pvICiL9j3T0eVm9f/MgaBqfieNmE0erWmXKBJ0tV5l6IiZwJTp10hWhOj\nP+83\r\n=4FTQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ff6e936f80a65c09843ba87a20c7510b2ffaf27a","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.2.2-alpha.2+ff6e936f8","prop-types":"^15.6.2","bpk-react-utils":"^2.8.1-alpha.39+ff6e936f8","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.2.2-alpha.2+ff6e936f8","bpk-component-button":"^2.6.2-alpha.2+ff6e936f8","bpk-component-spinner":"^2.3.2-alpha.2+ff6e936f8"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.3.2-alpha.2_1569518675388_0.38344609477851943","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"bpk-component-infinite-scroll","version":"2.3.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@2.3.2","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8559cee7e99c647b0e16f981be6023a8ee0a6caf","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-2.3.2.tgz","fileCount":12,"integrity":"sha512-wOW8YqDY+JuAA53fAvZ5T+ul+dcoe3JPSOspuuTuw/CFHHIlQ0RtRaxgYkomqKSPJgng6KY6p/IWI15qMLHMOA==","signatures":[{"sig":"MEMCH2J8PaNqD3ritYOuWMhm+zbHBCK+tLoGD3Ab/NSogTkCIBvksUNegH/CCdWiLiFV+q1MQmtxSvmkQH3A5iCzX2CW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjjiBCRA9TVsSAnZWagAANwoP/iwAg1MJJXCRgnzYrC2s\nwuwCEzfe/gTQ54pkosAe+qAjyFCAVJj0QkNd+/84bJbOz0VMkzJvtAHD8oW+\nTATAMxaaz1ZsJpYUORHx79UEYvC/gPsgoXt13W2+iHQFOGORDLTQ5mhFmuXC\n78AKVBeVgG2Xfq+u+XfI8o7FYyoeDdlrC5KZijPGzenb93kS9sUB70tDap5o\n3YWGmcN+J1jr/Qo9oRSDHTf7mHAhlnPwj+f/0ghWcCQT1rnxVMSe3FMa5rXj\nYDohizFm14d1cOCLifpdd2Q7v/jqWHsXsgUWS5NpGJz8W0m96E2vdWBrI+3N\nz+Jhcgta13vEISXrVWVwUXYjBsanJJxX5R949zgZd7pXf0CLhRhbEG9OYwg9\nL2ERt/UwnCFUrT4jwWbFkiO2THr0ltd+OXNWInR1QHwU5XJEVmExQSF8FyWp\nw02wUhdgQoC92hKzD0TGrodjQ5/LSp5hRz2AbQxtEf8ssCdVTAPfA2QFYEaN\nyky6/TloUCXuLkdbPrl9Arsmg5U5PftV9KfW9YJN+uMstP3go56Wi3APB+5s\nVcrdm3+gQNZqGNTjUaXWj/QNHsAER2GNiVynv3Z6NwfHlLl13yDMmvSHc/Ra\n3redqc33zmwCXb330C9Xr4GMCMBmvas1DBD0HOT4q3dpUUYgZnz+6eqky5mB\n/3ys\r\n=8Vs+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cf6d08b94adca75e1c46d6a097bac2750115c89f","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^18.2.2","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^1.2.2","bpk-component-button":"^2.6.2","bpk-component-spinner":"^2.3.2"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_2.3.2_1569601648658_0.8606299086120195","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"bpk-component-infinite-scroll","version":"3.0.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"10a0dd332884300c0ff1b4b48720d13bd3aabeed","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.0.tgz","fileCount":12,"integrity":"sha512-rgz1QMDf7HBgjVfysqerTwtLhJgWDuauAgis99DgHu8+VQHAnhHPyGLM5Li59yyBKEMm3lZLyG7Wf2gphd3MHA==","signatures":[{"sig":"MEUCIQC7u88/+fQqfJ1LcQXpCXLPUflvaZ2selqK72bl9nba3AIgY+ubCPXyoBEv40Vinkv2hVbDRzUzOq9quRLgJyVFCgw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkeocCRA9TVsSAnZWagAA5pUQAKKQ+OkRMb83ozzRCfH4\nb4q3Y3Bw6KoH3XXBKiv/xuqP1hNZIp20AnG1A/h6U7SFF0MmgQrcWtqGdhzH\niVGCy3+dvgFeCv2Rnb89NOURj41sf/AuaFZVigvlI3KihBBPNqCayvibnhqT\nAGASmmDmyKYCHPm66Ur5iCGptgjEGa96gO/AwaBMzBQZ9wP+Mns3cucGRhSK\ne+MWmTWLYgjinh3GYbI7GApc7CGCpR3K7wzQGQvBDBQ4ysc72NyGgmI1jzor\nGzUG9hYE3S+mk3/TCnhZuAD2tAfYu4mGjJ3rhi26O3CTDhztzd1af3TnoRxH\nlabZgDKP+uVwV9vFzJVsPAbjpt9sgOdbYZ5+p9qMPqw5n8bHQIo4f/F4gc11\nqqZ2slLLgoUL9hju7V0hLiH57G2/bp4Su1MUs82UxHTN0p1lt8aOqI5YUmzu\nQC79Eg/KxEa/b2CFAcTffk31UxKEiZVjoojiiH2AXmayX7VcjNK6Y2fo0iBK\nrhWJBJGAP78sSn/Yo9mxcveCUci8564Ny1vXrB4/QF5traWlZcYfOgXKoltn\nVSqjb8HEzt+5D60NAC0leVSDDzcLyYqe8ihYyYWINU7a0xt26f1BoEsb3jNr\nnoSuX+sl7U2vBDOQWNTAMu19EbRCqnHaqItl3L7Yq0JJ/Y+gedyvLBHWPD7Q\n1azd\r\n=b3Hq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cf6d08b94adca75e1c46d6a097bac2750115c89f","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^19.0.0","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.0","bpk-component-button":"^3.0.0","bpk-component-spinner":"^3.0.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.0_1569843739357_0.2144375412998436","host":"s3://npm-registry-packages"}},"3.0.1-alpha.27":{"name":"bpk-component-infinite-scroll","version":"3.0.1-alpha.27","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.1-alpha.27","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"32930764f8473223b1477ff0e5afad98820b5fb7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.1-alpha.27.tgz","fileCount":14,"integrity":"sha512-0ODmT3SOqcr+hcjoGXyLxsP+x/bzZhzq7fqhYAmBtBC+8ZjWqVuF9NUjqjzE33j/e/Roqu5NUVaarRAgK6npLg==","signatures":[{"sig":"MEQCIE6FyT92Zh1cblvTpeiO0XWqPMSZrUDEOOOJy/u/8GKhAiB9vomJgSSPmEVVntimbYMUvlp59ywot29YHw4ArfTozQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69643,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkiYsCRA9TVsSAnZWagAAc7cQAJlpwY207eFoYC1kI8vZ\nxOWsRUgtBH3bhoqGOMS2TA+PfEbPwwjq+Kv4kbiRSHXqcTO3+GtNrOHlQL7Y\nU7ZfGoJNpp9gj+kiDRufoz59KOcaVvsNXQRzHoMBpgaeFo9GninuXn45q21c\nk3CwNgi+y1DFCpmyu+BqAgLtLed9OvVBMH2laajsNI3Q2OWfT3jJE/2e+NV4\nbIq2VH2yrJy9fgfvD7FEa+ACVdUpqk37KEeRn4lEpBNz3OcNSQdVf5g6DZU2\n/482FX2C3064S97/Z5XDOxgMEbMK28+zjfuI0H6qpGXMiWtLY0SgOygnSPUl\noXcJpLteg6eEdf57qoeSoo8qzBqRi+PsoeNWzR/NKPZUUHpnRGJHYIyfzu15\nQKEI71B19tyPpj+uCVijIjY4neSIN9ZXHoC52wlAvynqbtHFXeFs0JGbzbMr\n7WTyGbGyY0iwGxsXMUFUD1WGp6YSJVHoGe4RtLZqo62/VZWvcfIAE097bjgU\nYiBykigbutejmAGuBFHRFRlK6OqaPvcJvSn+ulqT5b0VTQG0EF6JH9zUAzwT\nZAYulyN9K3mC2VpInZ0IwMp6J2J6/damoAF3lJgOq5LTimmGLFeHStzf3pCK\n0LPFTejvwIW8hl5GXEJT4/970W3ryeXSqGdqYx0YUd4oeyDtMGWlx2b7sRgD\n7q9g\r\n=8ixz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"159c4d079cdf0eb9f89f9d2009c4625ee3302c88","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^19.0.1-alpha.27+159c4d079","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^1.2.3-alpha.32+159c4d079","bpk-component-button":"^3.0.1-alpha.27+159c4d079","bpk-component-spinner":"^3.0.1-alpha.27+159c4d079"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.1-alpha.27_1569859115953_0.1510170684012715","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"bpk-component-infinite-scroll","version":"3.0.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.1","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"340689dd862b47bb543ba6602a463cb188f838de","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.1.tgz","fileCount":13,"integrity":"sha512-usmPW1+IBAinTe3rd6MvRMH2uTzB5Lids5kgHjOBQT108MG5ekRNcnf/5No52P62MGxrwe6C4eYHcqtylZ9wLQ==","signatures":[{"sig":"MEYCIQC2+wBIQ6wxuKgaGmj/E7A37/46b8ywxEJ8R7rl7BYbtQIhAPBZ53DW9m0XUoZ1gk9ytx7Q0TInaNnc1j5VlW4p9YN4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdky9bCRA9TVsSAnZWagAAO/AQAITNj4IxNTATihLGHpCM\n9wQGuNHF2nvaaXZl/Sl0z+KmYi9xS5e0/xJvHpCntQQMHeHqMVA2V+AI0Lqv\nCRujU7ZHNBkXL/GA5i0OZXHm0jwvUl2viDnjYjCyCcLGPJ5FvlNRku7AGr3a\n/t2e3fady800BupPX+NGo+Ldtn/t9VH500rLM6H0F3luTve/GCuFPMVEux/W\n/jfX7nlYkS3/3oGQ629c8RPIEyEB1SMKdSonVNTD4yeAH9VRVV4T0UqWbQxx\ny0JZF7Ovzzhpk30xYLQcqZGDO+3x5ZDA69NmHeB373MqNVwMFPQaF6eKcMJ8\nxBoQaKvI6L2yNGagclCbde6Zbap/m5J+EAEG5/yop4iRPI0dsFl1u8layY8e\npmXbUMEHCx8RtMeRNxtgIP+h8DVoRLlsxEXr+MZ2G5FnoDZmIhF+bCHg1Cmu\nT6h/YjrGCbgQLQrMzTiNLbXGQ0egYvQef+swH9zdANFt0LKg9fe+0LpvJhBe\nxqKLWqld/nFLop3fKHheMuiwsO1B6TLUgcbXS3zQHV6j02LCkAVQnv1pcG1Q\nDkD4SIl+tZTaTVjRFIhAia3k5VYDhKzIgTQuiTFhMzlkpAjEF3EygK0LGXbX\nCLBEcrfgswfOEHbsuFFl5coJ9ver4f4stkSIGJcr4EmQa0r8XDdYeE8lVcaB\nTzSM\r\n=GFob\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"67b335e771ad6bf3d6f4d5a36b6745c625758aff","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^19.0.1","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.1","bpk-component-button":"^3.0.1","bpk-component-spinner":"^3.0.1"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.1_1569927002721_0.6474028920109001","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"bpk-component-infinite-scroll","version":"3.0.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.2","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"610d61a1231949a45b90da4cdb7c74a1fe1e8533","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.2.tgz","fileCount":12,"integrity":"sha512-8zb9IiKE8u4HoC/XdCQZ2pTf7BM1SsIjjqdCLdrPw40+1KkbWPjFxQdQQw/XqdYBv+EXFiKNUKfAAHZyrQEkBA==","signatures":[{"sig":"MEQCIGtgXKJnp7QBLT8ZTBut9mNsg00Iq8MeULcUbECR/4hXAiBEKaE3U2WvnqXSzqQUXFtDGL22u+1QO/qmXqHY1DEkZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkzWiCRA9TVsSAnZWagAAQiEP+wWLvn9IbPtrmN99900t\nzLJfGjW/vX5iURHSoz/ghhWUSAPgLsGkkknrKkKF5TocHfD+ghPysZNQeDQR\nmWFry7Ux8uppkkvGwmuix+owJWv+kKhiAIGn8b0qL9p2EXwhpID676IVbT++\nVt1hbpYcESQLrjr46DdNsd0eO3E//0G2ApMaPIq79x8kfnrU2X93mPccRSCD\n1fa4zDQYBtAm7vCt1SR+X7UkCh4ZPaAIxiHqizUaXY6hDrJdetMEjNduarxB\nLPEEebHHEVfCT5RvcbMhqnTQFHbG9PR9nM7ioAmy7Pev40aZNsmUsJv1r15K\niwMSpKVhC084XNzFH06RPUAMc8KalY6Y+OUUSBfDBUVWsTBCfkiJ11hsTaxq\nIMRUnFY6enlL7C4AnOssbEL6yJZ3OgNS9FvxGYR1uT6YEm6jfn4g5k/Hu70A\nbIs03msyBfwDYRMtya+lj6kYVrUxbKJWNFV2BBfeKskvXI75yZLDBKoFKKlc\njh3zWHqenolPEdNABoRabot5RrTMlQ60AQ2Y/Qjr/mt/42f78XytBsS/jD0L\naVIbF7QreUSvij4Wmswm25zzNAwpuLA9IhaUnn+xPpPyTBmnQfOZ36iLk4Wi\nWgStNYT8I0mSI+qJcNgGn/Bk00UscG42OfW/ABkd8ZTxrKcrByuajNFTBzoC\nnXQi\r\n=5i3k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"67b335e771ad6bf3d6f4d5a36b6745c625758aff","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^19.0.2","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.2","bpk-component-button":"^3.0.2","bpk-component-spinner":"^3.0.2"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.2_1569928608184_0.2170192888354825","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"bpk-component-infinite-scroll","version":"3.0.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.3","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5bd0d10a8f122c26e11750d26889fb6f39ce6d04","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.3.tgz","fileCount":12,"integrity":"sha512-5EJEfXjwes7lbXtVDLJdXeV225X+GY1NKM2fg29lmq/3NqXGSyuwG8l/aaYKc14yyjtdWFvuJP+64pr+bD5UHQ==","signatures":[{"sig":"MEYCIQD9dVlkJEdjouLmuUEbe5nR1ey0URdEtBWilHBN/TO0VQIhAO3oZP9EnGE6xpzCYP2kglip/RRp9YTA/an+zWy4mxuk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlg+TCRA9TVsSAnZWagAAClEP/R2iHcaBDNfWvUFWKhSs\nQpsqInt4fmLu11/P34DU5mozFbaqtfhL7AKsyO6yYSUDiDVKc1791wR4hgWa\nS5GFkMsWQxrc8JLrJYWWdh7ZbsQOtv/WR7K6P7bH3bp1MJ802qq2d/PG4oO9\nTD4HNB5XbC1NYmWF9TQIM8zJQfVZ3qMH718QHvPv36bxAhnibb0JIstUqzUQ\n/rBNGeJm29SkpnHMik3MTxfUjAwpPPDDv0nejDi3dbA876k+47mlsT7NB6gb\nD6dYg3nw/KGeZZXpdofTbuPYsYHi8qTvDnntBocfWdpGIHc3U8ffHBWSb9sX\nLNJKw8E7/b1Gq3df8C+xcsz0eaLDbmy+/wVCrXprvYm2KjxfsTlXq64X2fIP\nokUAYh8l5qZ4iGq0H1ErRRaJlYIVVptwXZX3+/hhOpZUOhUAP5J6JrEIz9AP\nL06xM6pS8ii2bCCLcWNTuImjq+eanrL+XnKNlLc7YLYmLN24UbMUyYRToG19\nYwowEjlA4XrLHLZY5VcXEDup7Y1hw740tyG6ttZCM9QF1izrRImP+2ttCwMX\nuRKaVwhmaYCh/N2O05tfvZAn+UbivYgtaUqGeg2kfxKReqewRP1LxGjNX9m1\nbiSphnFb0lfTMa/J0VOrBVxeh6x3GZ3ZT3DivoUMFqZJlrxBR4xlkHHygJwK\n87Ht\r\n=8XbR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"67b335e771ad6bf3d6f4d5a36b6745c625758aff","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^19.0.3","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.3","bpk-component-button":"^3.0.3","bpk-component-spinner":"^3.0.3"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.3_1570115467089_0.6067876014580196","host":"s3://npm-registry-packages"}},"3.0.4-beta.25":{"name":"bpk-component-infinite-scroll","version":"3.0.4-beta.25","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.4-beta.25","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ac77d309fb997eefa5fe663eb5c82bd8a7b0858b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.4-beta.25.tgz","fileCount":14,"integrity":"sha512-7U1NB0VUwDiD4MVY3qfOv+yMesGQUuLC692gZKYIdbrYRTfuArSGeMvJyQQqHPWqBw2E9Qks6zfOlIoTZnLRlg==","signatures":[{"sig":"MEUCIQDMFfjdotIMYM4tIAs460anf+Wtlk1aceFZJdLzB2oV4QIgCgJQl5HAau0FBwK6Ag4KdAfvQv8/Y4nEy5VMXbL/s24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnfz/CRA9TVsSAnZWagAA/7cP/1zoo6vG0qSNdKaxJpsD\no3bJ+17lIp+Fck4D2KiOQmwGQgSjk8ZlSYznhWsLdFwaOR6q6CG+bp4JtugY\nsZ/b/7mXSnYCs9PUrLsjrjo9noVcHz/5LQIjcMuHSpv58h3sUv4wormSmz8v\nUpJPJ1r30+SP/D/XEeodYi//JtCwOUrtUSUZxYSDy1+S3KM4R4nZnbuPiATa\nWZQAwNMCeG8K3nzycWSWH+klbzC6PMxrGQ8Byir9T08y2Cn6EwAiBziBBR0f\n+vikGSLdOcULOmMD6/N8xWbQ6824Q06rMDjKETXeO5DBRueL+Gg0ZhcpiDom\nHJF/11KIlOIumkSQtNxJdWSppeKqq3IcSBXAPV7YgKzIunHam22nmTHffvbR\nvpVfCdgdgk5NbjRZYQ4ZTvG+AWRv4kkX0DyOgShXp5mHjLJq/q/TQhQNvakQ\nAQFCXfa0susH1Nkt8Kk0TdznlSlWhnIoij33K8GNSDj4MK7To9zJPX+Sx9dc\nv24sLWK//5hTM1zbuR48YDZpwEiUDuMPjhuHoiGCmPm4XXPwydRa6OYoK3Vn\nedu63jwicYTbhWFs6GmImJUW7fImUmB01Fir50iC3ojXFRw1UXcq0z/nQr2R\nmKvjvMbP/dYh4bOSkAAOv2IoVt/LzWp5usVbGtppXpQgSMW3qecIOAql1WKl\ndVdO\r\n=jJBN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"e7eb8e6bcf9ee5d03634fa0ef7a18e1e0b0622dd","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^19.0.3","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.3","bpk-component-button":"^3.0.4-beta.25+e7eb8e6bc","bpk-component-spinner":"^3.0.3"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.4-beta.25_1570635006978_0.20915937012550279","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"bpk-component-infinite-scroll","version":"3.0.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.4","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"34782dd88163740ef19c6c97ff70eab4bcb89b69","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.4.tgz","fileCount":13,"integrity":"sha512-xJ4X92s1bnnlPgQyUcnL2gvOSKkG059xcSBKyu+rff+OEIUpuNewzTQl+7LX6LNVzUkEZ0f0blW2yOMb4rDyZA==","signatures":[{"sig":"MEYCIQCQ7VAgXp9O/MVij3ur57ThE4GVt1nQbIKoQ1+Pneo/IQIhAK8piqtkoGpB39Y337NuBrw/ml8Ey9a5i7RzTwPSB2A3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnw1nCRA9TVsSAnZWagAA12kP/jMzPd8UW8GbPQ70iiSZ\nnZrVNBc86x9IYB3PZvLL5Mex3K2UjKgv7PLqtdSqH4u7eZzQZE6n+zP8XPeW\n885sld1GE/edtHSgom7I6ZHwul96azzrzrK5sTubvX8QxBPGOysobLpiAfTg\n3SmqxpderxMCyt3Fx7/eiQ+cxMB1XDAkLH3SAHFmJgFIenrgI9lpEXsAyARN\nRaZjgyayJmer3OBxmkyzcjw7kr4ts94Od1A0psRYJnc67oFFo+5kjCFBuX1l\nrTEUa1wcqbumassk7vp6S1f45jhHdpuJirZxA/vM7ToChCuYd3LrvlS5Sqca\n8TI/tgsiJbzJKZmUzE8c4BJkMAriaOghSSgOdhsyJjHjcnSZzbZEvI2OAsMB\ni2Kw1zds5azPz7A5glO6LB1AfJgCogSBAFN+pnOgGygaAQtUHV3ITbGdlgFW\nZGBieKME4Qt7+nXQ4OGyNyKId/hmlsZNswO1HfSy3fvheLRuX/hgVndw1Bq8\nKP3vzf828kKgjHQr1gXjm+Frcc1+RRxVXJM0qnIgS7LtmWT2JsmlfDGIZtSJ\nkwg3a+m8LnLhA2Bcu7iohlwGRzx4A0cpICArEcjgDJiwMXsMQus815cOcS3/\nfptnk3OU+cpjyRsBjgcHGTjT0SCk4beDpxFw34BzPWuMFqbbPxiUAJDrqd4n\nMC3K\r\n=18q7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"67b335e771ad6bf3d6f4d5a36b6745c625758aff","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.1","dependencies":{"bpk-mixins":"^19.0.4","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.4","bpk-component-button":"^3.0.4","bpk-component-spinner":"^3.0.4"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.4_1570704735270_0.5869111262601943","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"bpk-component-infinite-scroll","version":"3.0.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.5","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"65f23f67e65019af778442a4df133086575667bb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.5.tgz","fileCount":14,"integrity":"sha512-y2BtFw6fhzGvcw4LiJWOmg7758lwddPi+rA6C+tcLCoeSh6CYZVyvMno/Y+uvzVE+hj+f2AP8P+AJMCfQbFI2A==","signatures":[{"sig":"MEYCIQCEL9TSJBwOp+242q6vsfCp9YTDGcBgzZLKvLhX8iInuAIhAJeYEltCZZ/pdD0yuRkRuUHyJerfsARbJNNYlD2v6Zan","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqJPRCRA9TVsSAnZWagAA86YP/2XQ6bvnycngthm3eJTO\nsimDRXZB0RPy0PZm108M5UwJrVPpFEMr4elP3igneoBK9OyquldnIAz6g+IF\nQgWBC5yJ+uzkkbDMYg8GNlMT+UAV4Wdx8/1rfO6Z/tRcNcC2CopG8WWR1HgS\nck6EGxbSetX8HYSGuiiH1wBIDtXItA6nYJOshz16FL0Dm3Wf/sLrSabXO/xJ\nDcqgpOv8TUrrrOfyhApBZHbAnT9Ieb2ShYFl7UQTcecbKr5DoMGTyNWdn+9s\nV6acaXq9cRy7JbvHFLOHxJJ/8JR2lycfE1jkKXiSrBFTD4WWJ9I6ATt6ckh8\nv+tkju13JHdUkLXOgWXhezIXem7cZ4R61HBnn3A3gg7SI/fl7Q0/j6EcQYoT\ntbVIrRCtxvJcNu4embzVyCUays9cO3IYGBNxKvaGROGZpg5m95yG3Yg0fR3W\n7gqtKINSfcTj69G/oqkaN3F9uR/8gMij5hTpBFwsuVENTF00O3ft/wzhC3vJ\nA1XfNxD8/YpNTRNxtKwIAqvGFAE4lgNMkJoby0axQivMGdxIrwYv8KJhkFl5\nl68WLQG/VbapgngOWYP16HUtcdA0YakeKw2x+XqsBAfxaAPEz5gBOC9WfdAy\nUsXrNCzbXIu7w+LzFTgfFyqV5KSrBJGfzTohJ8F+3U5yQruvrbl81AcMCqIp\nSbA0\r\n=Pwej\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v8.16.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.2","dependencies":{"bpk-mixins":"^19.0.5","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.5","bpk-component-button":"^3.0.5","bpk-component-spinner":"^3.0.5"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.5_1571328977161_0.799834508982934","host":"s3://npm-registry-packages"}},"3.0.6":{"name":"bpk-component-infinite-scroll","version":"3.0.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.6","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"191aa13ec155a2c40284a855eff25ee6185a7c78","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.6.tgz","fileCount":13,"integrity":"sha512-M3/cFio7fqe6dMX0PeRfWS8wwxO2dU0PTUYp9yz3bYzCtN4p12KYfXlvH7xypeOVOpxAHvBAYMsLHq79IrIHUA==","signatures":[{"sig":"MEYCIQCmCxYj9m1dIpGpZnltxgHMJUNB2kwHqzDGuEw+8sFZYAIhAOYpEuERGSiqfs1XfH/5vQeOZRAYvP3IydE6H0j/OO6A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrZ/ICRA9TVsSAnZWagAA4BIP+gOUL5ictKzTvaxG0dol\nSimjeAY+P1KHNUd9RQb2D2/++9GkJQvQBZN5SJxDlrXSIFVpW5Vn1kzCjkme\nrBgtRLhybJN4IqLIQdVzuqsH0gGCtoJTMIA2SZp0pQXxWbUV5mdtdOUTDjOc\n0P+X6vGT3KGqncfm9z/a28MoSP1vTxotg/DSFDA0DgdE2YDuxq23UUaMBZuw\nEr/iCnxSYSOxCNHlBesp7gaRp+Pm1Dsvixv8JJMfsEomLkJcinaAjArSPkOI\nN5uz5PrdvQisCFOpYYUT668IdTdAjdaULDhTFzmZb8k/6yfH1/XjVUyeqLYe\nQKHsmYovcLWcxilU8QGj1UAdba4waFV/3Wy3iBcS74HcBfQo7h05zEavrpMf\n9Gqeqe/GCed1FKQlmy2z2bND9mbbUozawiYiG2SjiczM6KnKY/v2+JVslNLh\nf0nWoI+aJtV9h3KRdn32SUCRB8ahYA9ykUMYyKkd93JhhMX6rUzbGITiiHOv\nhwEBv6q1GhSwGyQUQgGpchXn3J0DTHojh2YOsWpS7rrBy5iCdh9LngZeZ9WQ\n6cvLZVDgDjmqojiEqbjKBE/oTdrNMEBcXNqHAlKSlf1rLXp4yZJLfsvI2TaD\n7WZ1BZ7lMBWoiKfldQFEtiH2Su5VeoJxRbtWrzDg/Q+xC0Hx03epoZCei5fO\nowYj\r\n=BL+z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.2","dependencies":{"bpk-mixins":"^19.0.6","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.6","bpk-component-button":"^3.0.6","bpk-component-spinner":"^3.0.6"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.6_1571659718141_0.27341536545386647","host":"s3://npm-registry-packages"}},"3.0.6-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.6-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.6-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"679f0c47e6901d1322cc47a52ed2f11e3043c57c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.6-css.0.tgz","fileCount":13,"integrity":"sha512-x8y11cZ5iUdThIRhkEo/5HmldAoWjDHyrT/Bj8Zi3zk5xFHOyt+MLR+BjKf5rWebTkQr3ypVTadyy8rmUnPxPQ==","signatures":[{"sig":"MEUCIFA5bYgnS9oAAziBlI35nXRoHLOXCZDfbK/00HkDjgjIAiEA21CDxVGjF084UgE2SlvaBXcX/eipVVXLmtCn0NTdSAI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdraC3CRA9TVsSAnZWagAAFEoP+gNCEdeXc966HTJRsrL+\nE6pusDrCeklCwy46Q/yOb89mfo0mJnXhHk+aq8/r/PPF7Q5nqC23vqijlzZ3\npIJcnefuX0Jf9hXp70h0UJuTScM+noUrpGvsIrkni2Riw4N165rsfApi/CYj\nEIQ5HvWxoN/jjipwr6dC+AuK0dZdmodaeQP0UcVS3169SGsqK/E+d9MNlPJo\nxmUPtZDoZtKfgVfYvYI/TBmTY86uzqT5ofGPznYEkdOp1zy36gifIPLn0dRj\nneqbYNnKLEO++p7YbpGoB0paC67K2JWhYd0+fyz7nd66SLlidTRh7ufG/cMr\nW+zdl5SobIWxxa4gc1v//Pyh4L0XKhUK1Yk26kV1UXLLPAKPE1zJjT0/6bFn\nc3vnSGeTwf1kYXUeYlVvWl5y8f2o/YS6ww0xQ1rkmrlPZYjOSof2x/3xEJ28\n9upssuqSqHseSn90gbmzM1jXLihff/44XFflox9X3xBRt4EtvZw02azqnjXG\n6IpAww/75NKelV5v14jmM5/6FouRLw+r0slMyI60hn5mZyrz5h91UJUysaD1\nCB5ZjE5IMKSklfYxZsz6k/ovUa72I/ScBuvTl3q+IdZkvCkEDRRLZUraT/1g\noMgIOU1L6qrOEtC9KoICsF/bJXDxNoSYUzppmPUTgqgnVdZPNe+CfJj0qGBA\ndZgu\r\n=cS5s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.2","dependencies":{"bpk-mixins":"^19.0.6","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.6","bpk-component-button":"^3.0.6","bpk-component-spinner":"^3.0.6"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.6-css.0_1571659936094_0.5038505299136","host":"s3://npm-registry-packages"}},"3.0.7":{"name":"bpk-component-infinite-scroll","version":"3.0.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.7","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7ba541cfbb264a0ca2de196b3243e5fcf7dbe0a6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.7.tgz","fileCount":13,"integrity":"sha512-NvZNLW1n7Y+X1eza86WWhqqew58jQmXblMA909NNRJOYS/cd9jmRZAptyPC3ifM5zkXcdVXs5LosvDA1ZkMuLQ==","signatures":[{"sig":"MEQCICEy0OP+FK+X0az4ZQvURQO8lpiaOBSd8di7ZFSRhWSJAiByGXliV7DF/ri2nMHKHjm+Mm+1KUmqNOc3zaByHAwDsg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrauWCRA9TVsSAnZWagAAPWIP/immhAwKIDnIEjtkw8Dv\n1NgOsA3ObEQgAuNwe1GHLzaT/y8ndL2HH7H9Y++tsmQh3q574jfJiaxOh47h\naEGGp9qwgtrttETNrQf+pZhq1geCfXorPoBMytg+NeWm0nuHw5BlfQt0iivh\nQ8/ErpBoAHpRRYHGy01pHcrDuLScvE7WZELcpHWGg7jBZkqdxDEbUzR4P9Sd\nGoxu7DZnb1ENnN3HAsugw+jF5KoexoNDPZo+ycjWZujNr4kWFOmoNUEla6oA\neklF1hrTB8LroJi8T83UF+YKsPIquyTOKU+ddJ4LmabBR45HluXUe9eIiPcn\nIESmppTdLf9mHCHcuWLHmbBR1IW8OSxde4W0ZrGLDiM7lV23PkJVyYGvab93\nOR6PiU+dCQIUYFXMiArE+vB63tHEuyezw2w8+fkEctkMSUQ4V8IJI/VHGjY8\nyfIllZ8kKc3zIW7UsnctooTD6VGS0Ofhqgx+4zEQeH1RHvRSkAX1liY9Yggf\nFezK5Zt5vyNBz1DWvEbodfZZPdmPz4CJesswyqAfBrBOb+mHTG+SJX0V69MZ\nwi0nHWww7+qRvd0AjgWFXqGYSmJ3ziBiRzjdqKguqgL0a8pAKzcbuLbvtV1O\ngyNEdLkJBzIqxptMMD8cQchZD/DKQ63gBOD3HqAWtg3YVlZQJURTEEAmbeTe\nK41K\r\n=Y0E0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.2","dependencies":{"bpk-mixins":"^19.0.7","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.7","bpk-component-button":"^3.0.7","bpk-component-spinner":"^3.0.7"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.7_1571662742008_0.38382186672320207","host":"s3://npm-registry-packages"}},"3.0.7-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.7-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.7-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"29753d43a0c1ddd7e0e4048d795321e27b85fdfd","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.7-css.0.tgz","fileCount":13,"integrity":"sha512-iVOE7wUihuuDSVj26Y5NzKSHx8l32j4j9hqMhv9W6EkBWVtP2WSrVlN8H3RX7gXu5FWl7D7yoAUFMWUG82jrKw==","signatures":[{"sig":"MEQCIQDZBV6uehZeC0PTrS0IDLpQErXTPXY+ny9aC9Cs4i1W7gIfAvC9S+a3jT5HzQOBMrX1Q2pTpqWYg8hkJM3KMfIsMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrazkCRA9TVsSAnZWagAANpEP/3NPlwPY0Sqp/OlAUjU0\n3Vlj62KpsDlK7H/K7Fqo3NRurWGIFjUkPDEz65Dprtsy7EQ2bHMFSeT7Huxo\nwwuh6R+8TO5OtZM0xLDl/eTp3d++U59pX+URxRRyG6VVz+fxVCWSvTPMeEMS\nUXJcetGmhuRFrljlddLLN2rCNVH1Uj39a1rnSQtNiRihMTXvo9b5KZweSLej\nXOQsGgBS72gEgWV5wc0d/eLT8U7kwvS5BPiIac80UfLqe9GE5x3NOY9QPp+x\n/yX3IIm646ipUXE48Sbx17Y3D17SNt9lWP2ql0vnzQjURKaYFO/TP7XFAyE7\n77xdsBu8qKu7gmM76/uvyjCvrY0R8Senn31oi5LCaNWV3+1bWHn3/w53TZ3l\ns94G1KVYTfr1r1Iwb9JO8xgeiYEVUbU7OGMs7QIHEt0d5sDX/+PVxrim4mec\n/yGZvJhXMPalWh9sNm0tmVb0NxzjXN2w/C7YtkRT+prb2iTnmfjNZg3sC/G3\n2MUrmK5yYp+ssXWJiK8ZzgBJY3mcpTqWfRosI2oJOnmP5KRvPwpJQlIwkst3\nRuIHJNdjhDjMrQFkARWWr7+gR0YjT0nGpMhm7SXpzvgTQT2mLBM7e6gUPsPX\nRAutcTlIMekOk8t/M2otXnGUcv8h+Kh6Nijug832uie3XEooNnDGTi+sdzTe\ne00t\r\n=bmeR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.2","dependencies":{"bpk-mixins":"^19.0.7","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.7","bpk-component-button":"^3.0.7","bpk-component-spinner":"^3.0.7"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.7-css.0_1571663073522_0.6175276831374277","host":"s3://npm-registry-packages"}},"3.0.8":{"name":"bpk-component-infinite-scroll","version":"3.0.8","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.8","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"951ef456c87753a4a1ff552859408a21e4c49f5a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.8.tgz","fileCount":13,"integrity":"sha512-V0qn9iTDy5rSJRog84ev4zeOrzZLzJMWcz0u6crxeFJSWwsWMHn2KJ4owV3+B4w9ZD5xXG0eDZsiiWvzIjQbPw==","signatures":[{"sig":"MEUCIBU4WYhyV7nO+V2e2oE4aQakGN3WGU2YslLHNoQbhjvPAiEA+gfJbaeJIpAx6KRygshCQIEi3HxZcEfNXZOJ4AWOo/4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrslTCRA9TVsSAnZWagAA5jsQAJawrFnSXA7VfZiXEd2Y\nkDIo4rpOviN927QafxEPHKL/6C1dxoRWFU/SR30A4clwkvP3d6THBaa/Sczl\nSAbOhYr8ugLxvxkAxCi6Yiu0RS9d37yJzpoN0QtnuxWWKYRpZIwor6mUljs2\nJGtJWLP0mLy/sTrMNneTvGfl2OkBGJ24CQUQ2auEC8YbAlqyda1rTuZHz5mI\nKB2m+l8DDU4hzpnaU3dO7y3rfukeyS5QpZ/HpgXxuXjgZZMZchstvgxP/hD8\nuRzE1ZZFG8hEkzJUjctqqDyFGNE7lf2VF5VCEIkP2ZgnZFyGBNQmdxlPf1jr\nF70pbprZRJBQA8F3hSI0UtWJdk40SdflUcOCjmXiOavBoW16kVPp6s7bY6pN\neU3COH7/U1jBsjbX3xbNPRPNGPXSact9HD4BylP7N0RvZIXxTlFIB8Azb2jS\n+t/a755s7nh7rHNXT4Q00Dm82kDRvdB3YfDKWAWlemhXdeYOvjzFffrNCVgs\n2UUXho2lA037adVwV1lDrckSfK7lK7J9iKHP9GZtq+1cx5SBF60NvYueGcLz\nycitfNE1uu7sJ3N2DwVwBije4SD3hEktp+/QMs1m1wDsxWiBeK837ghVZg2c\ntT2/qZrsL6mxVyKgW68tKu158PFF6sfDIAFoRKtQYauDFCeAaRVtUgc6UAAl\nhm4I\r\n=n25+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.2","dependencies":{"bpk-mixins":"^19.0.8","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.8","bpk-component-button":"^3.0.8","bpk-component-spinner":"^3.0.8"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.8_1571735883247_0.5159700590849883","host":"s3://npm-registry-packages"}},"3.0.8-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.8-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.8-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6f4243962facd56d744ff168247fefc03a3a135c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.8-css.0.tgz","fileCount":13,"integrity":"sha512-AklMNsiRIPA7lqgGQW8enNeBsABPxprzU9Yv5pIwvbajy9oOoRJaoxiqtuD87s8q7wmWaSNchkdlMO2XMCOjUA==","signatures":[{"sig":"MEUCIGIhT0qmUwYlwL0akpxtPZrB79uoTu79a/1C7GZkdkyfAiEA3oEcAmtVmD96PZ3AAck9K3gKp40IkxhxjRR3U0fro/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrsnSCRA9TVsSAnZWagAAMNgP/i0bChKDW4JXtL+xUhCl\n2slcrSEZQns7HCJ4sUMpmxFrOyMhupoUF+7SgS1OgSngZh2ZJiKCWKEfH/sx\nPRYEELxbLgWEwIn8u7Ei+kQlQscneNl4dOejfi6M0QCnFrdY2VWqbQPCu32C\nA0dy58IJObFkPTe7BQ2TBSTHIbAzd7GtF0K/LV93jzLK2XAhIaCeWgqqM06v\nAZpS1LUtOQu9rmu+XncjiVFI6DDoLImpvu6cU5SbSJsPo1mV4f9BGuJWzwjn\ngz0C8g3Y6i26YTboTKPCpZSEeLkJbahYs2yXZTiAXwvTZwBWHk0CCQKA+54H\ngmurpUQSzBcU/bQ144ze7LSK/lxP36zJNsBmRT5wK+udWyz5IMrBRyp/Vz9/\nLtqUd6QSX1hrRotGYOiNc58y2SWCK9hD9ZjSNRW/7vSQzzNHzdQ5nU5UCwPp\ngJHbSlKAXIMQvnlty6v+eFWMPQr/vtu32sYa7nP7RPRsl90lvZDEYBlqeMvy\nkQ+VV4NYZik3KvgyBRu0pvszbwOqORYb/pcShoTWw+jkJf54wNJx8ViUKpoe\nvEsQ+EbwPubfhChDACm0WDkgJqI/DODU3V6nT38guKIcrZicLDn582+uVu9k\nUO0EvFbV+42oRf7wqRpMKVhKbrigu1yJG5DX65pUUFF3J9w3bCTsYeGff9JA\njouN\r\n=JoVD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.4.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"8.16.2","dependencies":{"bpk-mixins":"^19.0.8","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.8","bpk-component-button":"^3.0.8","bpk-component-spinner":"^3.0.8"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.8-css.0_1571736010759_0.35505176746452616","host":"s3://npm-registry-packages"}},"3.0.9":{"name":"bpk-component-infinite-scroll","version":"3.0.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.9","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e50ca1daf8e0b736e0e3e6dfbbb09d9d78016967","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.9.tgz","fileCount":14,"integrity":"sha512-Ewk5RHcfqYJ759jh5bULO+Ky4ktMOQ4kWZILcN+h6tM6Rs2xH0d7tSL+UrF2FjaGgbJpnMC7azfqmxvGKD2UMQ==","signatures":[{"sig":"MEUCIHIYzPfqrUhPEDXlBcjXaHtW+xDosxjEoa3kqNujXZbSAiEAgVmh0j9l5ZJ6wpLnZPxrMUtBbOYc+0idoBiYSr+WnH0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrwviCRA9TVsSAnZWagAAx6EP/jYf2Z3ejaJnT1B4vd/F\nk8IiLb3NFqOMBBdrJvWHtwFrSPP7Ny+6XowDPxP476ziBG+HGcVtFsAVFRPe\nXkSoStshAxJsnABPGlu/87FJqeb18n6UaWwqiHRa+uRpAcPP2IyM67dHILzc\nILjKilsN9m+4SNaRmzKm29UUvEPl1uwD+TM5rFU+pY+R3O+uGuVMsgC/MipG\nBpJsmWe0x1gwU7qN1ZRz7vFXwsR5ynGNUvkcwccmXS2ev+htkZrST/Ru2riy\nOCu98kaO7A8I3nOppXkeOS2DbHe80Hc9XA/gqYVIHKnEiCpOi/pRN5OQVAzh\nEpPXCCH1dNFPS26lQzKMY6KiBpVWoJO9FEsjhg7lrNkIx/q9LOOzEaJqTDuH\nOw/Rtd8kiCHn7cVOQDC4B87Xux+994pU6hVX1myyaum9CmN//huRWB5Zw7J0\nBUYoIDCT8sOdL4ymVTxacCFb7+RPCQYSAwBKpIeuERsg2Rv7VDhee75sv2//\npG01kAHpJ32t9tR1alagQbkue7nHX+7CZfJguoKi37HRDa5mjpBBZpM+/mw+\nEtkHs03mk9EL+ZtGHw1XnC9ndauun3xXD8NDySQMKG6PQQNTF4qc1RPczgZA\n3qOCF2hrTq1psD5hEUJ4EQgCUIv8xmAuJjgfnC37T1hdsBDg9ereCWZW8y65\nB2WE\r\n=3c+b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3059eebd7a507af54c092ecd34429be1e84ee204","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.9","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.9","bpk-component-button":"^3.1.0","bpk-component-spinner":"^3.0.9"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.9_1571752930014_0.01992699639435669","host":"s3://npm-registry-packages"}},"3.0.9-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.9-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.9-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"392bd06b348306206fd3722e8fe36a5b1f99c2d4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.9-css.0.tgz","fileCount":13,"integrity":"sha512-q/c0i53cffCaDpZz03M2TiWa1s4QIAFlduuellBJcTtzu/VJngjgJCh8HIwGhuI82TlKpqsRcY/xz8BrYLVlIA==","signatures":[{"sig":"MEUCIQC7iSiFmRtiGRvgUHe36tSue8gh4s4IpDOExyo62XL9nAIgf0rrAR71dxuc/6zv68jG1vEvV9Y0CZa/e6qzzFo3bnQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrw4HCRA9TVsSAnZWagAAUYsP/iisnmdWjIc7pV59aAhD\nsPImguCRte52Z8gQC+zPVDc82kChgHVZxYrBxGjJpLVhXpfQGL79tyXcpBHK\nODWdUwYKlhCnLRl5+M0LFx6F+UrC27Lsj6IFbuAjZYXlOFRKDEsST9+JMXNF\nRScEQqeiX3ITiv4f9SZvHNQkMpqZHOqjx9tQS6DCLv4RPxmCipzJnNxj4j+L\nVueJwO0yHsGfDFQCyiDB3MrvjI5E6/uwIu++LG+5eWQOA9omkTCKOjeMeIsO\ndh1Ql3ekXFcD3ndXfxgH02D8PAhzguPSVJfwXbiPvitrIWLnxVYDQiJ87Ejo\nI9JspEUv+40UDTrZl/GWxQL1RG5TLaZzRaNUWrwWTjymrr7BlECWM9y020AD\naWN2GEhvWgaTwqDXRtjx87lUcPvrMRclVCfEGxMmKtWOSW8rHimjSxptrz13\nd3f/CJfPoQcQeyoVIT479RzonR/3VL0Hvp/IoPZPznFKYOA0EUyEuaQyTnMv\nrsCfvy8Ej+WPxPkNsqwCWfAMRDikkUkG9NtmDxJPSNrB7rzknmvPfPdEysp6\nIVtQWw9kknKd5/dPchPEQ4SHINsscaWqqCskzMKWIoEf8/KyLFLN+n8kZSwY\n9v0V9dVyqRkFSyxH9u7dyP3WJ22cbXHlYCdo5FJPdmwVvn6fSENn/ZC4Xkju\nkrSR\r\n=lMj8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.9","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.9","bpk-component-button":"^3.1.0","bpk-component-spinner":"^3.0.9"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.9-css.0_1571753471003_0.556645797063638","host":"s3://npm-registry-packages"}},"3.0.10":{"name":"bpk-component-infinite-scroll","version":"3.0.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.10","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8d18ef7ac3b7db671ed491c15dc610f9e2903d0b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.10.tgz","fileCount":13,"integrity":"sha512-QjvMt38wQzkH95Vk3so0qnCJzWpoV4qwH0MsirsWhGG0pq205xOGu/t7GTXRL9bf2tUTkNCDE6hDcDABSdGK/g==","signatures":[{"sig":"MEYCIQDx9obS8EtWF8tRgnNouhUo4drmD/haaQ3x1T4JzU+abQIhAKGiEqZ2c74xC8qLVlSOZOda34kiQdG8tXjk67DsVkii","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsHrcCRA9TVsSAnZWagAA7WsQAIJlVenxHBQaCeD2s5y+\ng3p4UY9Q6FMh9l5EeE8BOFdhWDmCrJRAxB2p82/eTGBI4qo6jcWC/nSuCOtk\nBN0Ky6cIE3VOMK7tdRL0E9OV8BBgM9qVKYDIPyzhOKKYgVKtokXFjQ4Vkg1/\ntwapJjuhmlG7AWIjzWVCJEM0OAONLDgAydfNIVzJNvdLLLgwaJxaL5odlYub\nyQJQaKnZpTCfvAG8ZgxmDkoIkffERNw/4dwC0YrbM/iIAQnlMaLO84NRwYYH\nODatc01PzOcuLhlz5xpksGfuL8Jm2Q8/xmNQJUeO2PGqo/eLu9+8U4hBUsWG\nG4R+6MvQlp5SW1Vd3upMbsXIsPk3v639tBD2ajIwFZtiX3qRa7H+KSs6fp22\njY1FPR1WRRwa4EZSm0/hVl0b1RokmaZTnGmvWtZ52zJvMSDQ9ihH/7LHmWdu\nd44uCFvsepoKWucz3z9xFSdibl68F6HerBVK0LB+AfL9TTw9DIeAwkU5mGvH\n99N3B0/ByOVhhK76iJOUD1Vs8VybHdO1sW4yWnTjNjGt8ffjh4DgYiFZ79vG\nM7WtRCbA0VG0cIJLXdz35RXDMFdDPKFBqQ2DH6RcbTLI7o60RAFvrC+HdpUP\ncl5pYEssinmKaCX8H2pJfFBf0n4C7Qn1/PWxpODfGQwBhx4grx7GsqlpBS7P\nkHJc\r\n=3Xh1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.10","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.10","bpk-component-button":"^3.1.1","bpk-component-spinner":"^3.0.10"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.10_1571846874967_0.6519487158495163","host":"s3://npm-registry-packages"}},"3.0.10-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.10-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.10-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9a9ddbe03a5685f148c608d4364c0758a48fe388","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.10-css.0.tgz","fileCount":13,"integrity":"sha512-RR7A9rNh+6Vh8NWpBz7ZRSKkcFijOopoEiku6fXPEPzxtlcmrv6jYYMCXUN4w1tviWZyP4zgF3GmBoXbIZTPmA==","signatures":[{"sig":"MEYCIQC0dgjtUMsEFsmL0q3mTq8LWhjcn+2+V0qm3mNp+db4VQIhAMgEgwOpraUMK0UH2R1ct1XORLCc7nfnNYGji27zPJ2y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsHvbCRA9TVsSAnZWagAAoEwP/0KhYBlWKYPIVGpMnUm/\nvvQIOPWZAlkIs5TEB0vohrpZ2+USG+xG7GXkC1sURjCQsrwDZJSbdJwtZYHj\n8lBrHPIwS+c7cP31UcqD06H6/my1EdDZp69C0EWrArne0WDmJXUVrAhADPMn\nUulrDlUxnGoxRT91CP+4g204XpqsrGSh3tpvg4CGO/pvQAINKEk06OgZo00d\nytrxgRJV6JZH3L9wKm4tnMnkx50TZ3bP32aRL48e5IOrsxmILbKGdRqVcwh1\nRGf+OT3WKJ+0I81EEHBih7fxdVEMja5T0lX3ubvfM5lDYHvKxsH6Mb3Nwv6W\naSDDS3XAVfN8ioQFi9RqVG24Gvx+R/zY9jqeF5PrSxUCZBLZQSQ7dYU5EIVB\nXX4U4kgKEwC5JtC/4ZtcVB/Kt1o9fBcOihta5O81TNttW5RXzqFkHXwKro5d\nm73jj05psQPlu+70l9THkrKZvSuYVQGYOcFh/e5sMW4QTvT8jhZD3ODOjZfm\nEhdipVR2jTGR2EkOdCO7S/c9sg0wOTJLxBl/DqN60kj9601VUTne8VHs0Om/\ngwRToxXXPN6qM5ARD3/Yatu3yF5BMYRYzCtA+/GzCs6ORV6zcrMjf2s42cKZ\n0XgKd7VOlyCWrV2OXFInEXgPlPsSqGT0DNpBqqSuNieJti1SNTavMaZtLeIb\nj/Tz\r\n=ERQr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.10","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.10","bpk-component-button":"^3.1.1","bpk-component-spinner":"^3.0.10"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.10-css.0_1571847124317_0.8060889900057566","host":"s3://npm-registry-packages"}},"3.0.11":{"name":"bpk-component-infinite-scroll","version":"3.0.11","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.11","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"74db8186a674676f14e845d71363dba6d230832b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.11.tgz","fileCount":13,"integrity":"sha512-HuhslBw+rrEQjoiyuGmPiaqrSK6TP6Z8F+dasU2JuUNsvbbjmjgZdNP4lkm2Thxqp09Yr8ljgw0SwTT7kQhyQQ==","signatures":[{"sig":"MEUCIQCnYEFN4o/PPkfv9Rv6+J59jQdbD2GJAmjmsudBtBi78gIgM1g59CwhUHjdg1gZbEpQNpgWJiomU8OEXnNadD9CsBs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdse52CRA9TVsSAnZWagAAGNUP/1vqDZDRh+Ikrpq4UJIu\n1xw1cbN9DAPBv2bpYB4pWJo/Z/6kqjrTsjCOtE4Os0S8c9MfBmw6TLkMEZdd\nKFrotNn5EszT7JKCEoRqVbQDsSGpGS0dekkd2kKd/+FCR4II9XQ0iP5K9PKw\ng3EG/PP8R1mFF+ciooIoaMSz2VQslD+Dor8NOwKnZyW10vZwq4d3TiHF7UWr\n1y/6P2S8EbLK+NlVxYXMEg5j5FtP16jQ4cNcQWjrRYm2X27irMxdI8yIk1ob\nN11KMHjizE5hPhKMLGDe7qjocDV095C/4CZB+tjmzEq7B653PMKBFryWKI0C\nolfVs9EE6NJN4+2/Y5WjJ+pjfLjun3Nzxg4JEHevUE1jlC4dS5RvYKWwp7g5\nJeXLqKymyzwz/r5r/OulUWePbnGTAPHhX5wVEN1+WgfOVFwe5gDsbpTjtvmk\nhDJvni8Sbb6Wk6P7fjq//i2NklmlUseLUx0j41OI+2S23AwMVHtiObo6OKe5\nwDvHlp+3HVWqYZvAFkwx/+hrs+pYbuAznZIRMAPl53yWE8m3yHTiuUuXydLi\nO/fvBiuyttFGnXk0MSLrvuEz8BWyFm16y7LH3e19aDich1WaWQFaaZqJwrKg\nk1jrpflHm+g+Mc6Hk9qFe/Ba3CpXbif7kSIB//BEIYtx1p+Yd3KVS0qism51\nv8GR\r\n=CxgB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.11","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.11","bpk-component-button":"^3.1.2","bpk-component-spinner":"^3.0.11"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.11_1571941998327_0.2284124679851176","host":"s3://npm-registry-packages"}},"3.0.11-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.11-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.11-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7c7b7198106b2df7efb092533d81f346a58eeac1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.11-css.0.tgz","fileCount":13,"integrity":"sha512-QDsXZRuZ6JaRz9Tp/uYgE/aqLWg654czPU8KIQWARrUA+2fcyH9Nf4WNXGojlB2FSSZcLnH4FuWjv9bvxLniKg==","signatures":[{"sig":"MEYCIQCk7iE8jKhMaUg1LmFJ/eGhtKQD/GltkBPZgysLU5edzQIhALG3xcyz2HbDIM3wqj7PLdPGGuNRrKc+G/tWZuJng8Gq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdse7fCRA9TVsSAnZWagAApxkQAIf8MM4+rnylMvkaI6TS\nEHxwlVA5chKCFpGAIS/zEwKKRZWsYwvJWjy/VW4x8ZiiLZ1e/3CLAI/x/cYy\nZuhN+f0qk+sQMrEgoZWagY/r0JEAvU+aCHhBBwaWNeEFxnaCI/ZIcg3wHlV3\nFcurn1iAiCm/wB7MywB8P2NBeEcvTOpJ+DTJYENfGJkQo8Nj0xUjtRgTqlos\nCqpsJHXvY7HnuYKapk20yuWvmTIj4Wo+HHWS8+vINXrUrzKuYh1S7wvdwg+M\nZzTDlAbmvDcetkduuDlk0wuUALmEO8fNdO7uJarDjJZCDpBRu+PnbXoFSMVr\n4MxfLjd5Pzsk+ydQ0n/C3fC1+3P0izoBUCLKOnKWjvrSNHomzp3aV4KSr7no\njdcxRo8QSyudibYx2GXETZox4DJCnpIxCEGAAd5mp5PItrjboaseSYL/fkhB\np6V1AoRAKdGr946oPTiodpL3/ZjkVqTWB80lGOAL/CdGW2sivwkywpbssPwX\nsVJqow0qYkwUBFUcjMum8fuLRkLR56SNS+equrCTIPJtEqJHTuK+ISoIPT9z\ns1ls4xE4LOB3Bs5J24rN2+Ohpu6ERObLzk7jlK+VNl85v9/KrE9k4EcKGwWJ\nt6iXsDgR5nEQp9jr2JIw65Z4QzEk/Mbw7FqQYui5KLQZg8T/cyDEhrY4SJM/\nmWYv\r\n=VLdl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.11","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.11","bpk-component-button":"^3.1.2","bpk-component-spinner":"^3.0.11"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.11-css.0_1571942110367_0.23431492394361442","host":"s3://npm-registry-packages"}},"3.0.12":{"name":"bpk-component-infinite-scroll","version":"3.0.12","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.12","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7bbcc3fc8d99c8abf3055de5e4f0fcfadd2d5b88","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.12.tgz","fileCount":13,"integrity":"sha512-pGkwetVd+l+nt5IYlcPQr26aFe/4iWsrmS5HasysMkOg96cyJ9CyjpPuTjfbbkR3DQ8hpVXPb6/+Q3WZrfixyQ==","signatures":[{"sig":"MEUCIQC4yEkBO/lW6wEAA5t3bqwD7IGhAu4vrHdxsky6m2M5jQIgZF7vUBz0hhu7wx21qatvtexyAwqnZY6itx4n1XyfEbw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsgvHCRA9TVsSAnZWagAAnGkQAJbvgcVIOq/rXLtXphFr\nc30uBsJCRXTXGvVBztMjoZA7ujUxBEZOlqC/aZCgnQoCDmce6D0SMe/kieMK\ncP9ZlzfruAIXMqAQOv8UARmK4mOodw7oSfzlboqFeBCYU0mLEcC3jePiJ1wJ\nO489OS/rNLmYIhh7ZV6e0oszh206gNOAl1sGix/iTkfBgzB90ltZZPWEjUxz\nESnU4aEjk/tBarvNn9cjm9HAUapajw3KzX1oq0MJHkYWwBRP2YcM4Z8F3cip\n2W3gIfusyX/vW+n1CSU4ffyUTmrETo4AWCmAB9Yj9ZND+cy49uURFYzUPMDL\n7bi6FsaNqzD2Zkw6e1Okw/c1+st6Tdyuj1fqr0eyySWkhvrddrX6LGwNsBFt\nHj7o44hvIm8aYfBM29mVb2doFpanxqmpQ21SOuqcmPfo+Vc9x/9oFrr2qqxh\nVDz5t+8gBqFd60Mt6jvwk/gsHBI1l0TqJ4GNpFDwV64au9jEFEyorwLyuICO\nXprHFyK13c2G99gPkoRYQrKc4xW7eQ2QSzZ1///rkGQAMDrxgSPGjnxllvQB\nRkc+OtPKi+47UKifUNaZKB92rEmI7Urw4KGJ+Ecu4LxOeNfBPOptOaQ6vEkP\nQ3PDVEF61Clv6c+KSbEYquzT0cAsv4e7nlRrLcnZBQzvWBx/+eh+YiUGiudy\nQ7sI\r\n=BCSx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.12","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.12","bpk-component-button":"^3.1.3","bpk-component-spinner":"^3.0.12"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.12_1571949510896_0.5439652339792578","host":"s3://npm-registry-packages"}},"3.0.12-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.12-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.12-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"12dd47890ce4a3d886de774670958ae60fe371f6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.12-css.0.tgz","fileCount":13,"integrity":"sha512-R+Ntlh92YcEWqFPtbkGbKPGG0ui2/OzJgnZi0LO7FuEWl4/2XYfpcUNwkig09RDL3ZhKF7MBE1OXXrJn+esRGw==","signatures":[{"sig":"MEQCIFjCNYug2T5N8Vr5LXgZLAs7BEOEuBjlagrgTTBOOqkOAiByvamnWtuAp+UdSEO1X8vAbVXoDs9pAv6EuC/S8Wxvgw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsgx5CRA9TVsSAnZWagAALXkP/3zg9o0qqQ8HdzzItO8N\niTQs0KMjD78yEgdSxqG0hM5ouFbCTEg/u/mV7cSb5GWkv0KwO8hkrNEbtVju\nZKxbMGNipuGrWdOxjBqwVpTED0u9CuWB0xmLvGCdI/kjWgzRQr2qjYbIAvDy\nF+cMoPV482NTt3KrGVlryIe+oDIrIgGEXlSwHoP1fT+JmsfYkV0z+dxG37K6\nuZEOA//Bp7EJ42FJVBQsXyX4oh5b88I17d4XZWB7R51vLVIygi1ss38tRqVD\n53qsIpFbunWDqhpoghvuiyz6DVAodl80onKWfuDHaU/GPBa1AhgZ+XXaTWz3\n/r+C9TjYume5pHq7fLkLaplEyaOP5harK4VXnKMJX0Dn40W9VpikZ/RLHyzp\nh0k6Ea64KRTsZCkJPftLDTItiuqsV2g6H5L87ODYn9HsuYWUIDhIeWVHOV+1\n4pjfBwFA1mLGtQY2g1XNf+Mrb3hYSlsTB94hSTmyHGPcx2Nz4JomvTvIXyoM\nEfdM4dtOcs2w2owDbcbrlDvQS5bMmvdpvyHrDQl8Nq71KpNbezrTxI1uxZca\nAsJt9CMVPTfD6rUIGm3Yb0NQX7cBp6plE+3vSylOlK2h807SP96P/Gs6gUYo\naWs2VfPoJ3R3pMOy0foXDl5wl1mf+l/5TuOQSxD+qwRIu58uheHogHl+TFz7\nXnEn\r\n=xhsE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.12","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.12","bpk-component-button":"^3.1.3","bpk-component-spinner":"^3.0.12"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.12-css.0_1571949687117_0.2754656170373708","host":"s3://npm-registry-packages"}},"3.0.13":{"name":"bpk-component-infinite-scroll","version":"3.0.13","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.13","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"41163f5a4f71e1375aa11a2521bf623d54717ffb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.13.tgz","fileCount":13,"integrity":"sha512-h52hcYXh4rFExcLOdT1U0RIufCPcZ/Xew/pUfGb26LvGGELV4cJd5DovgouVarvm981mcYdb5LXpWmGGBhqJeQ==","signatures":[{"sig":"MEQCIBtqKzo8mfFEHkyoUC1rVFfbnc1ZR11SlRYrMRPPFujbAiByurONj9SfnUo7ldZNW+f2Uuro9vkr7HWW1aKpd3sCQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtw4HCRA9TVsSAnZWagAAnvgQAJ8Cx8r2Nvl7FJ7c97Hb\nVj+3LSUW2vD1DCxSJM660j1Pdr+Gn85oJ0zSstajnwln1SR/7m1NoCtHrHKU\n/UFd2X3ciJlumJCA20Zkh7S+whNnauf/81SmLVYBIXP9jEkmMtwvSH0/ph+T\nmx2gip4zVZg5QoVyGMwJhFbvspEtYunNWPM65HF/Onq+ZqI1n24Jl/y250uG\nkda2nEaBK+mss6rGBnsgUU9XPryjIQGxE/c5aCLEn5PBpiz4Ca7yQ5GACvN4\n0XHgvwVErnQsanxHB3trtoARd5c+IHq61FcKHR27PGLqbMTBcgyhLTnFm2D/\n8UL9JJpm9cQMou3NbSjgl6hGZUbyKJw0XW51iYSs1jTnYdwf8COL5yoWVIvk\nPjxjrO/7UrO17TzuGa8smxSJqyx0V2GkAF7UduOc0+L7floveHu7g1JKb0Ai\n/jDuWwQArh0OLjeKe24+HTglxzz3UPG/baX/VadPzEvRk+9ez4H4GSmzD5Fw\nOlzRYSv/U9thHz5SC6aET9RXHLCO95DKFpNe+jDUhonx25klZY7DcFl3AlpV\nSOspgFAKCCyq8NhxA+zonTgM1QmEjEUxWmhCcEsbAOFpqDp9MGqzMJLD8z92\nJUll+4GG/fLXBi9fTOc0h3g+QFQePWvO0rG7qqbJpU3wK0VkiWCB90M1ouA9\nZOUQ\r\n=yK+C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.13","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.13","bpk-component-button":"^3.1.4","bpk-component-spinner":"^3.0.13"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.13_1572277756207_0.6433128429987824","host":"s3://npm-registry-packages"}},"3.0.13-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.13-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.13-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5a9684570725bfe8e9718f618048666ad512c67d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.13-css.0.tgz","fileCount":13,"integrity":"sha512-lJ0D3TvQILPrLw/hJmMUNUoXUETLS7L37Yl/C0kx7auVLTUFibqh5IsWiMrXDoTIKf4dVj9RCkkUFElqCGjc7Q==","signatures":[{"sig":"MEQCIDZEX5gTYgP56luINgq8wDCYqfzgyGQ52p4BMUbHxgHrAiA8cXUYGxwp90TGIx9Q0UHYVJIGDALi61DXIjvWCezv/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtw65CRA9TVsSAnZWagAAJNUP/0rFC5s7g5FoOZzB3WPC\nO21Cq7v++yMAL8jO22G5+cBIJuw4375FY8IoITAuUwATpXD27S2b9GmJez3x\nEvxV2tOJZO/ouS8gaY0ewgAlQrk2MEoI5xEJ9sHzS8xJsF4VeYschUbtkOFU\nZlD66K/oaLmG/E+H1Jli/fp+etSlP/6aUsa1bsuJw6UTIYv/txd8LRyaN2I9\nzJfHVHdkV3lkPT5REtU0lxiRwuLKzS7zo/sg18dlZ2Lr/XMqmWKQBr/Nvr8V\nsQI0YmwIb5Ki4aSjLOspvXhCBdXuxK/3XUf8VD/0umJlu6sG/Y3EkC8fbofy\nGQuRgYXVKU/RwlhLZGsGWni2IR6bsFQBuwHZ8pcZ3oCusrDrEHZ7VdJ/I6QY\n3k7uQ8JLcMxTyvY2jjc65TMcjz8TOwASpY4wTvWGeWIggkEj/Poig43Xb0Vq\nbkcocnciRcte+H3BaVQGXJoNxlvVF07GgbR6j0Yey/W9LBE2CiVi34hk/fWb\nzuH+kDSM7s6KI7X6pifg0h1y7OKIqtUCRHGCSVAphTo65MQpE84C0VzxD/HB\nF6ArigXr+1reDp1Na9u052mHqwNnTvHrxT/RYSqjW5K3GgzZ9qV5BN48/qVx\ncnpHZEk5UJ2mCsa77nN1vdKDVYsByyr3H/PZStv2tkGpU/Fln6o/6WTGzFaY\nnG9g\r\n=wIPp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6679db2503805cc1c48091214b641c9d0f46f82d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.13","prop-types":"^15.6.2","bpk-react-utils":"^2.8.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.13","bpk-component-button":"^3.1.4","bpk-component-spinner":"^3.0.13"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.13-css.0_1572277937107_0.7754008720006342","host":"s3://npm-registry-packages"}},"3.0.15":{"name":"bpk-component-infinite-scroll","version":"3.0.15","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.15","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0f2da545110477dfa4b719596858782171f819dd","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.15.tgz","fileCount":14,"integrity":"sha512-65cHX6fveWemW9oNkNxJuwvlFSRXpRVAJpmb8jFGvIoMcj5igxie6WCxWjRwyszhnhC5/2QwaSMcmJb6QleYAA==","signatures":[{"sig":"MEUCICpdCYlE3kqjB5Xt71YtM/xkLsL8OkyHhAxwAPYwY/EiAiEAh8AXcPxZquFDpsgqIA6mpRzn7mAZhAZyemXDLtm4gX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduEn9CRA9TVsSAnZWagAArsEP/3ERamOiHpsHIndaEyYn\nptbE7Joc+3dNK4itwhA/by4MQPJjIJgM9SY2TzcQAs4EfJsp65bbpvR0mYqr\nT4iWnP1HwRqyYkfmx8i0wvyxppFpZMPlsWAA/LeYq6W482WGNtGnN+o+Ta6p\nfwRbv4q2a4yp6nusdZHQJQTjXo/U3YgNcsc3dCegJrIBxK4R+7BF4570Id4b\nWloD4gu/+64shx6XJhu42OalKgCNVYK4wMFNUj3c++i5Za+GNsjKPjE8fOsK\nvqq2u/TJ+eC/bJ+PkiH24YQ496hdqfri9c0VEaj3/tLMFHR39w5W/8Ec7iB/\nt/paDyIvfnxOPybq0jeJD66UJAFGbukS1YuBvKwdpJrDAdQ+IcvyLOlhHcTb\nflVaSbOcBRy22mPcogOB+huhOze7oxO0TjLklwJVrSJ7T/gblAsEk9ueIZKv\nhIjgiMLNTGsZfxmqGwfPAolhIALTej3/J4t+k5pG374oPMCyUwfzXL0kWxra\nyCouMgmsVICPPQHgkv3+WjfV8QGlc2jdKPOegckvmDXYY1ylgRWSoG6HXZyO\nkI8a/DHvApDOuBubWXHsqPhWHgednT6QRF21hFcrjaUhB5JLoLD0jYo68iSa\ny35ONfR5/fyRmOQQhm9xmncuT9MtLyX833+FT2oDe3X3QLIQ8l7L0tbgzena\nvzq/\r\n=90Pv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.15","prop-types":"^15.6.2","bpk-react-utils":"^2.8.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.15","bpk-component-button":"^3.1.6","bpk-component-spinner":"^3.0.15"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.15_1572358653186_0.8416104729348468","host":"s3://npm-registry-packages"}},"3.0.15-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.15-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.15-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4ff21e8f6ee57916da45d11c5447d011ee153f50","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.15-css.0.tgz","fileCount":13,"integrity":"sha512-eGiZvl/kMhfDG7RUCSGOjTfTX9GXQjocpHb8EyFkftm/XJaN0jiIuD/Y7RHQmWvjfMnSjnWe/2JQESp/61PyHA==","signatures":[{"sig":"MEQCIHIvAy5ndf6pWAIiwUhAgK6ROiVW5tmKmVhFd5NIByhQAiAyZx78rJaGy7z3rlyhakrWqlOFQRbD9Jv54D0CoUzXXw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduEw9CRA9TVsSAnZWagAAGQUP/iIrle6fTuRFUQKWYT78\niOGNxzDZJ4eN7AZgNTeeH9pl6bPuj4f5lz5wlLVRAvEkayBWEATVh/IPPJ3M\nA8AuT5zo1xuRFuVze93tUSVyRoHytvlXJoNArh9DUYZ9u2LnLt0vYG0NP1C6\nq8mr8hh+Au1+htqW5dBEOj24EN+zMj2Ot28AxHHPwoD+MdRhNDsSvAVCwFSq\nC2Jsyn3bm9SDBn2HEtnu/Oyupev4ZnJ8OuenHhdplybJyi4KMGrHRmZmAUkx\nb5oyNQk6sYkYlWmI4XFRK/yNgqJk7e4LP7cScRqZRtMJ34gLFCDBKfA3BlkK\nR5XIWgh+wXePVoFgJD4khlhoUu9ehowEC3Xv/oXAd3MjXtRYTcTN2p9b1cn9\n1dm6hKlB64fcsCtaEDos5M+b2+GhKG2K8VWaf06mGcFdCwKYFrx3yqNWix4U\n1gPcxafaKaBLtIUkCnETULwHaVOgEvUNPu4hLUU++aIPP7p4hTUaimzTptPi\nRNlt5saUDaDE/xW355JMbz/g/vbghPkfXYnq+inv0HUtJTjztxWiBmtaH72a\nAK7ZyWOfJYTXIkHQdDBYZntI+4JGMws517PiLXrl57BU952EIvlgqyLHROhS\ne7mGRl1rAXcZWym3f+zfSSTRdE5BJel0rIC44/2Vj7RzRZYqZYys03vY0nOH\n6UuK\r\n=3HtB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.15","prop-types":"^15.6.2","bpk-react-utils":"^2.8.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.15","bpk-component-button":"^3.1.6","bpk-component-spinner":"^3.0.15"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.15-css.0_1572359221588_0.6233279346798424","host":"s3://npm-registry-packages"}},"3.0.16":{"name":"bpk-component-infinite-scroll","version":"3.0.16","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.16","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2f49c3dde758723af6cb43b40ba205733c8e531d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.16.tgz","fileCount":13,"integrity":"sha512-uCnzV4EZOpoU7WiPtnRV85NuizSAsiCFfQvPQ1g/FuATHW4/rjv1oGKBDvfQEz+8FwtlCKsTYWD073Cjd0E4Nw==","signatures":[{"sig":"MEUCIQCp5jWUmucSLudM6fuqeyPyHxsug7Ho0qD0iVdWssGI1QIgPQpca6pB2G9j2QVRBHF3HEaPHiq0IkV/hXMBeAUoYp8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduE6HCRA9TVsSAnZWagAAvoMP/jdb83NZQtkYmxlmjWvB\n8t6rMYbV5EXHnbhyZ2lV/xOXVlQI7gKHw9r7M4Lje6jX2Mzxs4mpuKD8tmHm\nYZ07cWsYbnAKxN/bvUFypz1Yj/Ljcr8Lc7XG+bZzyvsRSVb19bDDQITGZ509\nx2pfD32uFHH2+MMxin2qL7IeSe+O55vdYMjSqJSoiiHR7YNI1yMOeDgxufGJ\naLlJkriuGmKwV+Z94A+VnUh/jluh46TPIGUt7JSzbaWXWxryyI3b17CW3Edx\nKxyElL2bRCUO6JVdsZMXMUifoua0nhsWxM74L0ZU84sO4U4r56QwEsdZhr1W\nkvyrNnu4sqkmLG4204K2ip76g+gUhydOqayRq5bHc/8vBJFF65qCHvJgel+6\n1X0lBGS1VGB6yiFvv/QzcXcVU6FUJN3RhyyEALso0Ol+cKQhZ36kqtd2v5Fz\nA7EPqYhCnVXc4ZZFuD2FKmjxjgk1IXL7OeKZ9PPwcs+iRYzKfQgHnViDdONI\nexdUeEq3V5D507d0RITipgBLD9PA0wUmoJya/rN/mwg4MVv/G+Y1Z8x6AsAs\nxdLYuoOdkiIF4+meF2KYvjasSQnzK1vGpmlMlvR1vWdGe+TfZaa70XsAoGNt\nlnVZbmFlYhWuACKYsOlvbHEkJ9ByObGIGjnmSZbSpsarNxRnpVSF+ub75cxn\noMTl\r\n=lUdg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.16","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.16","bpk-component-button":"^3.1.7","bpk-component-spinner":"^3.0.16"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.16_1572359814925_0.518263075636223","host":"s3://npm-registry-packages"}},"3.0.16-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.16-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.16-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4d5e55d7244acd182ca481ae5e0700d00f7fa5c1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.16-css.0.tgz","fileCount":13,"integrity":"sha512-wyEEWiyfy8o6JiDV/tgO7ZHLILDGHexI56x1Hgwx7iiSxZy1ISctVCzaeOPt4OGQncjJA+xrx34Iq8652xstGQ==","signatures":[{"sig":"MEYCIQD7Kr0UGtWHJhzhUopkvOkHdIo3+FcwMdXAfKO4Gev/1AIhANWgexPrAis5IIcLoObjeuSlUo7oMWjt/ywzMw10Dip1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduE9qCRA9TVsSAnZWagAA1UUP/2wz1cHuQQA8PZY45xpY\nLI8OgFkecRUBclq1iejG8wqJt9IcdJxjXoszshsp6HAf72a+N9QaaN6s3XaE\nqtMAZnyaFJBVsCxiUc85N3f/hhKlLPB/yU9Rh+EYVrN7JvE5ojzBWtNy7ZG3\n8DkAgBkRwlGvcTD5IXnb7JBrzZp+tRRdhGPJqmFINYrzMdgunNfYkCybtU6k\ndgVz3CvjtF5QkWPtZcLP3Nw8aTmnGueO7X2oZIhi2FLROK4AnV5sUa5IScOE\ncKFWWcca1E9brPTzKuiIorxk9t+Duf3AwIlLOCmHOBNVZ4TOeBnC5yHSINWK\nz7NRxOCX0pvpNklmlz0m/34ijQmync8mcurezOnEsSfYf8lTy0z9oPqeVKok\n/toU/0kkrpdvCnTtgTkY9ik/1ZgjwzfKZT1cbSSCvEwVbWupEsrSalci5NGn\nu264rR6qeWl3/GuVrggVwwx+/TtZGCqjhPpuhIbR0+7VABBl4LQDBFKz0bkq\njKZilcF9GxjrYURuO1jy5VxRy35CR7uHBQbHvvcVYxgNKeYqbo88/v/SZKfW\nd9PGHc5J+nuzICiT/2lRCuIu3hJ5BEX1V98dzAG8oQsWSshwx1nmFjM5GGdj\nWoWBoeDHPW5Ze7WzvhkDuwGbWSr/3ve/0F+MYWCzjtkR/ARLekOJOJa8zL+c\nNzt2\r\n=w1xt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.16","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.16","bpk-component-button":"^3.1.7","bpk-component-spinner":"^3.0.16"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.16-css.0_1572360033581_0.08077242929603856","host":"s3://npm-registry-packages"}},"3.0.17":{"name":"bpk-component-infinite-scroll","version":"3.0.17","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.17","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1ae244993574b7fc4ce32e53b0ef889418f0ed66","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.17.tgz","fileCount":14,"integrity":"sha512-VptyakYwhjwcrouwQw2pUh/cS0bkuX1rcTWjDg4uFSnipkSsCiI6p772SalpEuqPZY9vUnhKsjjDGp6kWsGOrA==","signatures":[{"sig":"MEQCICsYVLWO2jbJl+unbVe/MxLyu+npEkNJLgU2gTFBjuskAiB3PVO5/DFbV3I5+CZDc/TbXPEyJuK0EYOhwkMNKD8fgg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":69553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwCr1CRA9TVsSAnZWagAAuiYP/1DqeoeVQbQim+JHzWZx\nvg3/HjmlCiImT4fSGuMM4WrYQkBnIj+U82elHLFapR75bjNJCpGei4D0d/oa\nqcO6hawF6R+3zXaxXHO5s65RtLXGG+4vaj7+3CMnpyWtQV/ZtzQTzlXI32UU\nq83CMlzhedUMD+PZwg7oPOj7E2nANCTNGrh1zVoAKakL9sACrXg3VdDssGfe\nkjfzWDUUubMUwTMHbvFNTHgcvC3JgRAR/nCu3gCeyEYYKb5fVwGtH2lkov63\nrZmAgvTyUmJ/5cw7jwyUMcdr5FRunIBL9vQqtSjQTxwfLK0kDu5PW9QKbr+G\notPQfkyeYZjzIHN5WxqSqw7qwG64G5PYMzo4OjSL+0iu/1rL2daP9j83bECZ\nxEt4ijjzGAp5elZiCv2aPUDCU9IfBR/7QnWFg89T1tkW284wSDyxYgR/P5pX\ndmc2tKDgT3oMvrPOvI8KDOfMVViUSf7eulrknFj5oDJFB23Zrwmp3KvD8yJD\nZrMMqR5BWvrISfGRHimVYYvvB9yqc7i4kpnxaoatjFNbQb40FpchZVpSQzaj\nxccqYxwj1grW3R3/q5V5sB/JMTwmYrP8D5DlAFqZ7gkcaOCyUa8xrt2WUd5F\nXFexEX5zXI9NzqDI54DWGuGBgfx7ztF7yWdnE+JS0YOSU46XZSQVpajYjZMz\n6CCT\r\n=MZDk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"239dfcdd6cda362a602322946e02e2b9815749e8","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.17","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.17","bpk-component-button":"^3.1.8","bpk-component-spinner":"^3.0.17"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.17_1572874996755_0.50705938778277","host":"s3://npm-registry-packages"}},"3.0.17-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.17-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.17-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b61b19e36c9383a4f5e101af3d0aa8a261c3f929","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.17-css.0.tgz","fileCount":13,"integrity":"sha512-N1x7J4Hnxrg8lKatlp3D96GKVN36WtKEHfmUbSB4PYJR4ltmVOyCRc22usfK9sbbVxzUNtuwgxKOvyuaQzUkfA==","signatures":[{"sig":"MEYCIQCmO5MWogBblapR7jSTZxji0uY9SUTqU2GqSiNn7qLCDgIhAOMpG82Lz0PhA3A1XNEmMHg6SmviCrrt4FOmeZF+Xrs5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwCuzCRA9TVsSAnZWagAAggYQAKTPaLg4/5ltix7ZP+wO\nVAUcI1QBa9aMdPtaef5F33pRHldsE1KgUJniMOVEpxY7AYgv9yWDzQVlxNva\ndtc6D171li6AP4HiOqNVCbijfGlowtUCdKapIPIEZ9uTISmvYZf4XvFpwzPw\nFD/yYUzNihzk1jF9LpK2saxot2faSsMqqzBlbKABY1tHSIV1px10rlluPTFH\nEuW6zbmhWZB9qKCt3wWa5TxiZw+c91vTWwCFZbmAQOpo7hug40wI0gHqQw5c\nVlvy5Tm2k182ZVrsHtZrdrlA1JR/XweXcQIj4a5IufK1jIA0bLYyQf21YMzP\njCH2fkf3pkufPn1YT5ziDn2yicemLO/IUS7+FqIEZCz6raMhi3Gi7oW/ZFqa\npFVm6eEpJtLq7lY/flPPYYJ0vFgKLnCkQNLH2DKSSYsfbC3r2ZtaAn5RHxip\nXe4jjxB1+E6wKC0p+bRGI0ZJiSOncx6/KRS0vehsRXVgEWxwLaGeVAdetJjs\n/w01od1kEJ4OSGIjXwoRHVR7kfaK6SIvq4TmRmsG2aArUZOVQ3sKwi/hQEmz\n7+F502w5txf2u5AIffFPgeA5jGBvJQkx+VgKDgLSX6sb2p1FnThfHlhwDUu9\nkuX5ksE6bfuFNnXC4O480Hjlmw+m2CsflHhhsHBYSjSc03KmOgB/jdAy4JOe\nkOfd\r\n=qO0F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.17","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.17","bpk-component-button":"^3.1.8","bpk-component-spinner":"^3.0.17"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.17-css.0_1572875179818_0.9616142608014493","host":"s3://npm-registry-packages"}},"3.0.18":{"name":"bpk-component-infinite-scroll","version":"3.0.18","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.18","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3a9cd725f9b0e3897488529c44b0121abfbe00f2","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.18.tgz","fileCount":13,"integrity":"sha512-J6gCFzVouXmaVyPJ/cB0RrPaeFPRlaRcPRqZhFLlINdLVVkHAt3pdGLAnFoXL2hkwUYg6kh5D9Q33BubTJ4BJw==","signatures":[{"sig":"MEQCIE3fxOiEqWMdAKULaBqAw/dYawPzLXf3nBPgEDoPdjd0AiBB4HnFC2lubr/NSuIe938bHm5LmxTzv6+Fu5L/uyvhJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0pI3CRA9TVsSAnZWagAAsAIP/RxZGXMl4WI7iBSXNLTT\nyPor3vNBs7XjLpZ/pPmHbELy92iuvSU1ioHzJXBeebUsXNuk4CRuJmdsqkfa\nM1DOlqQoO/lqcWIJrLlflhOetHvk9/jvfypS8GF1BoMEbQ7vduIOhAVkF8Lt\ndNko4eiR17oOu60CjFVOpd4kbOoPG/ANEpwVpQSma3CqNi12RUwbOOAZdsQy\nGXFb1XkzedNYAvAvnodpPtik346HdRHtY+lOl1Sy7UgcIlokpYZ1W3Le+/Dj\n7Cb+y8rUWUMEH8fAa8RzcinZexoAaOZXvAh4jqopNu/ladVK8/eBHbhGz18s\nl5K2dqkty/ycoLvhsFKPybMWFg+t48fAaLECvSuvjZc4yHyrsO2DS1RsWrpM\nbtjWuLCFo1Px8RRc4Sth0ckDaLCFIDVnnCHqYx12o2mpwd0AlCjbfco+s60M\n/txqwvIby4w4HyXrHy+FQyDlaI++kcc5KNg2Jz65KWJMTzX1KWmlrH+9XYx7\na5RHy5MAKqN5aiRN26my3HxCmzpj4S+mq+zX45IWY2qfzZkdmcn4dVTD7/SJ\noM8LrHPCYXg5H3qDrVZTozC/87l0FKxOCF2/oyfq3L99+aPvk5VZvTAusp3w\nTXtTQFOaIYS0xewaxahBboVU8qArbhkUUukXqtSY+SNXJTim+PnMU4gA6seE\nnCjj\r\n=MS/P\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.18","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.18","bpk-component-button":"^3.1.9","bpk-component-spinner":"^3.0.18"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.18_1574081071396_0.9534659846800952","host":"s3://npm-registry-packages"}},"3.0.18-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.18-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.18-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f81427062bbe23d48ea83b122ff85d160548d910","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.18-css.0.tgz","fileCount":13,"integrity":"sha512-+21P9H6LmaZHiCAbet9f/GuJBbhXTs1zZiLFz3yzMrcP3FOKepzV5bK8SE2LR6mhNuMlj/OI6cyqvogQLyjatA==","signatures":[{"sig":"MEYCIQDWgiuARf6j/5LH3Awf5VEqV/G8HOir0ThWgOcrIZU+5wIhALSS51QCMJnr7rxezeVh+UNsGU0YYsSLEkOMkXFS4j1N","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0pMECRA9TVsSAnZWagAAE98P/jHBeHke4MBdcCNy7dLc\nLpeyuAA7RrM50N4tihMElVC37bvdmVCK9Jy8llK4ehC54w/70j/0jSVQ4jdf\n0MQTgf0L0oKnGBxbpnHIccw4fctgboe6unUR8u2oeu/gBckAgCS78NZLNnu/\nFiv+beMfgdDxClWZPF10/aD6Y92yjRwwjaLtyZpqX816YK/g8Yu22sdykWm2\nkE8tWs1rOejLOpyPQ1HoydQuf4MHqzr9OapgUrLQ2m5tZR+DAxrBwoepspzy\nVgUGuBcEBY9o5O/szXrQurNFDEb4Upa8WEDhntBSk6FvJgpl2bML9Pno5g4r\ntSm5nIdlxkfByF2ukYLJCUEJapp078OsftUCJQOwbbWuhk2YoljOcDzN7RA3\n3jYG0ulgTvj+mG6Z3A0yVcodsv38G+yPC1jxC023h3hQa35ve/jBYdxHAZC/\nJ585E/sT6507f1fl25UO/lvKTsQQ8+zolNVfLKkjCVoeHPPZexVfx5kMpxH5\n8gWt1M6qOXJekN2dD2lFMPRxY0g67st07CwSeml2eHFhqgi5BFSOq7qr02So\nAzSrXcTfr+4cP7Hkk0HxJ8sxUJ5Lfdfknd7OKBKEgzeWdmlC/PRO0rYBlKI8\ndostCZtwgK8QOGS4RVVLy28sO2lRrfrSRMybPKdfmeZ5rD8CjQiRJVpsVql0\nXHuM\r\n=31DY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.0","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.0","dependencies":{"bpk-mixins":"^19.0.18","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.18","bpk-component-button":"^3.1.9","bpk-component-spinner":"^3.0.18"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.18-css.0_1574081283999_0.11382075678233639","host":"s3://npm-registry-packages"}},"3.0.19":{"name":"bpk-component-infinite-scroll","version":"3.0.19","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.19","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5cb982794211ceaba1f6c96b675ee47890e82a18","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.19.tgz","fileCount":14,"integrity":"sha512-CddtbNuIC8fqPzJODOvnmbIhWoSBVTTN93aMe54jWt+AXLUMpePCtdJHO90na/wL+KUYmWBBlgzvMe7EojIdGA==","signatures":[{"sig":"MEYCIQCSykECv1XlZLxAseQ6sgqbyGQIZ5I7FA6GT8MkkKvAOAIhAONeDNSnDK48BupIkGiXJNtkxqXOFLUbiBysNUep/o8n","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4TF/CRA9TVsSAnZWagAAxRwP/0JDrx4Wcz2uwBUQesM2\n3BN+3TZFwJ80qDTbWBhLU9cDgAAoKoVmoSyN4kj696M4r3u/X5PbSTGjmyne\nq/A1pYz7/77bDNF62iR0oCtkrbtLpj/g0iyqgzkNg3UkEbpwbUD4CHPxPUPz\nM+rhLP0pwvEcHYyyiP/7joGnbUZqxqWm0NMcetjhphe+8JAe/fKj0KWsoP9Z\nYSctSA60LpK8RnFEIEQs2KrLmTgOGUcx4PBO99X1SD48Jje8KvTnBG4I87Ky\n/CH8V6dEc++o1db+/o66dFCFj+eFbTFmek76UT02R0WBlN7S/Of6cR5WBVCj\nrlQykTXYaCZIqDw9mA709aHlYvSNjumBjB/MzoG2j6GgO3nk48giFiKohiXl\nzr7XJHCO0FKVBOiPMfiLetvrGnuheQrYjuUhEw9dQ/TKmY+Stbc5k5GOUw2k\nVFPM6oQURf9pMmwHvmiMG0h2KZH6BVB53wVcGOWnYjm3fVTRI4QaZMXR61AK\ntgYYCvlINqlt849dZNn8sEUNwRWAD+hwGyz+y3UHJaC7Zm1s5mICBTMfgOUR\ndkQneis1ECIplE2/pERX98v24+4898jSVuPI2SECxyIKibvQzdYHcN/MiiZc\nS/aB5KZk6K1PYj8EnapCvV7HA2HQkIRdKfy2Q8/JfRYkSD4DbMAXs5TatPyy\nqDGz\r\n=ER5y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"df5b9ce4926c2c948a25a94998747b133107e783","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.18","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.18","bpk-component-button":"^3.1.9","bpk-component-spinner":"^3.0.18"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.19_1575039359446_0.781447765166994","host":"s3://npm-registry-packages"}},"3.0.19-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.19-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.19-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0c5bba1461171be96a3ee2acc662fb6ae22ee840","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.19-css.0.tgz","fileCount":13,"integrity":"sha512-oEjfdT73LEwp/m/D86lnNe2qOghUN2tquWWmZZTAjmQ6Q9psrmTOUuq3XrW2iObkaD7kK/guIYNpL49RdWwWVQ==","signatures":[{"sig":"MEQCIFZBDI0SDf07TZf4qdiJsQkBXAN7Jv87E4d/o0w9zgk8AiBpvpDor9FxrjNaT/AVNECFdH4t7WP/v/stUFA9KI8DLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":60959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4TG4CRA9TVsSAnZWagAAcFMP/RN3we/ZV3kEB0BYFvJn\nH99fMDNzykgS482oSTyNo4nNu3eClEP9OKS7CHl09UGBjq91R/xnRLllIOQi\n/8uxEw43UV/s8HLUCyn4H3mHUaiQNDTtEFytRSIa7ND2isCKjHVN/InLJprk\nBQtyZmNxlrxiNN9mDySM5yf2BtE1XngTkLQtZ4vMzyprZdxTdmCyxRFpM7Gk\nAgeQYl1BqTBtt0jy18z0fk4Xa1HokbvQuYx4xv1YjweQ8e5YoeKxNUb96eS6\n6cCB/rkPhrxDiTzlwd0zfdXnTvAwtkhnZGmB01xuhRr0OrZqteqK0ApsnL9b\nxcfK2zn8tTwL77mnVwv0lXD1OeDkX4DtjxM0GQcm4OUn46NGMoKxWL4qhXkp\nK1Fx5+CgTnUXNN9/4TID4q74qv/h88e+5fwOOKxdSGwMRgw/UnkGXOXMBtUx\nhjFOTDPXLp9vIE2KDiTbfznvEWJwtfHvKO8CLFmZZnRdOMGraP4HV6mXgRA4\nR+vLkHa8EoqetHFbgyVuvH35cW7KhHK338xWeI+Wx0UzxeC+Av5pM49TVE4K\nV9SqYh+4r4Cc8xFPoLJPex19oVqK44ghU4sTtP6xKO7bcppBBEyJcL4mn7T4\nDuiDLOWpAcI3fpj5EIO8QpZIP8tWArDTLOluf/USoAAPg4AxNVO7jmYcvHeP\n3J+u\r\n=Jpsz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.18","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.18","bpk-component-button":"^3.1.9","bpk-component-spinner":"^3.0.18"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.19-css.0_1575039416447_0.20474276648352352","host":"s3://npm-registry-packages"}},"3.0.20":{"name":"bpk-component-infinite-scroll","version":"3.0.20","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.20","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d7cc4a5dc8e9440806d88bd5dbd4798f8d9be66f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.20.tgz","fileCount":14,"integrity":"sha512-WeGjWR46nqZes24jpxzDGoB9JTGaSqAcohm8x0FmN7su3h3dpJoHLkH6/+GFK26tWw7ZBWTlx1CAiB0c8ncdYg==","signatures":[{"sig":"MEQCIBjvfWcuNNixbPgtT1C+49ZFJkKsq/SZbiqerswUL5/ZAiAW8Maob9JDf3GBp/ZCOW8vVObGZpaMy8x68WlQJyMtzA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd53XGCRA9TVsSAnZWagAAjzwP/RXoAEJMu8hW7rw0SrnC\nA1axmCCDaxxzeJ2oDJR8hc2CTQrLJVoerwDI5D1IGt4KL62TGTfh8KU2UGui\nMWugOt207cA56TbiqbhL07WPxzzEuItutpDn9Z7uM1Fatgnf8mfL7j+CfSh9\n2sU1tFADmgmPe89UUcIZHNNNhLmTkxWNKgI3Df54QBXLJSfjZoyJR845QFDA\n6uCuRznS6tubH+rfgFw+6K9PNTtu4Q6Nn6wc1JE3DdsbNacAo8LswelQy7cN\nFyUv41U2/bbGaKxNhDqqGyGpBO4tG1DK4+DportvvC39T6wkdgXwvcQWJ2af\nU9G1xfX8RUbJDBpD2VctgInE9ISgRhLAGsB8fDnbgLIL8EpwyQ9n97rNVFCQ\nzbfMZ7EywuMeIDzIb54PbGPfByEN7+1a7jxRP+E+WjdfUGN2DettELMB9goq\nvnMZ1DPtoxyUkPMQ9XY+NaPsa4nxyMdAeK9KdWhuqyRVVpla9vShxDVSQ+vS\nIYWNvXfPYZr2K+KRiPSE99RjB9Q0MknfewLZ/iX7emmcLpBLO2feRWNs4W7i\nq+jlC8jfZEPiWftMnU1MPzlB6XH+dz/2J0Bm37qqDRKPoz6kr1J3M1328dNi\nlnunzGSPkqwtQWmZI0ToryGvLQVmIAvszPI9FUD5yLOk24SecDCpRnbQO5NO\nIWnp\r\n=mfj+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ac6b600b029db17229ee521939e7cc62289c2cb7","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.19","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.19","bpk-component-button":"^3.1.10","bpk-component-spinner":"^3.0.19"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.20_1575450054535_0.06594222565827712","host":"s3://npm-registry-packages"}},"3.0.20-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.20-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.20-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"cbddf9cd3322fa5daa7bbd31759ffd76a3c3ea27","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.20-css.0.tgz","fileCount":13,"integrity":"sha512-Jj42FSayNcjsDFSiN8itDGVIxziSLc+9cttdeuYQoIX096cuIfq/k8hcUOI/n+ii9rLuIzsvfF17PTi5fHclIQ==","signatures":[{"sig":"MEYCIQDkQ68eetuOb7YZU6Y6lsS2w0ix1PdaKGY9kT9GS6ZHogIhAK8Hcxp4MvYEe01saDFirmkrJe8JCpR8asig3VrFVyby","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd53Z9CRA9TVsSAnZWagAAaR0P/0CkpodJ+m7yfC+G7s3Z\nQnde93eg8tPqBsx656QpfMJdv0s33T3+OkmLt2DUSpXwsUYdpHVAAUoEOQxT\nh6NV3oUK5bq8kr7KwbpJfph5gDEMYSN4ggMArYPQmHw9En4C2c5qThyvvQGL\nzwjYQLPJYM8UWEONHwZ9NQ5zBuS1Vnxfy9O8ZE85oAAgTlNbpO0KPZtcUrbg\ngI46jykcG0/vdmTkHwalQkfhcyYTIIaxg6ZpkRk7sk0UYTJpRixcU+74C5/j\n/WBZIM2Wu6CCO/9eUUWm6ZsVjOMQd+RwkmN5b5WS7xKSisokQZJre/BLhnNi\n83NRCaUtATChLb2IfphBrw3UTdoFNK1EDHY2wY4CWtl83BPUUloy6W5tfDWS\n3TU5Lm24LcBLfmdAdE22Kb2fOmtmiMhD+WNRpt+wYtSb3p9St5FgXMRnezh/\nOD8Wshy1s5KGX6PYmKnaHkGljMEj2Zx88GT0OTi3B8wL5rUqbpmVGm2Ggwtq\n7cIaQqnWob5MvBiuVGBhf9ZvzQhrdh0XZpS2W/wAU6Jbnsixygz8KjF/IMQB\n66kuD1+DGMBlpV/1tf895Vl2DmHYnm8hPRfS46wQemis2KBnum/siJoBktD7\nq/+JZ/pJ4bgO+SoePtkLBPTxjlG68XrSYfVV7PyfY3o/NceeLGI86+U56sZx\nFwDP\r\n=OJCU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.19","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.19","bpk-component-button":"^3.1.10","bpk-component-spinner":"^3.0.19"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.20-css.0_1575450220216_0.9112815222676589","host":"s3://npm-registry-packages"}},"3.0.21":{"name":"bpk-component-infinite-scroll","version":"3.0.21","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.21","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fa75ff54912829bc5c59123e777db43f03568fc7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.21.tgz","fileCount":14,"integrity":"sha512-cmh6aERo2M4FnIe8/8NXL+QzY8ztaU0rD6kXE0DbD7ZhBm45bvlAXLOLEz+gr0D6v9dNqYxIqW77F5PrDuV6ug==","signatures":[{"sig":"MEQCICKMGIU4sDJCHK6rIvavw7TG4bw8hMGHeUc/CL7jLOaoAiB3yf7oBh6oUL7hC1Q7drULJAKExwmdkolHGK9R+nRqSw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6SjfCRA9TVsSAnZWagAA1QsP/1QMFRsitXzV4fY+VzN+\nJB9pd5qUxcBsedNdLkinj6SBIZs1+5QRXTZM04FYERljYrjb3IUadT6wd6GD\nPv5rF6MkR6+V9cEvmbbaXVTtG+8elZ7DUx2hWFHls6ZBW6GehMhV1ND670t9\niEaQBA0wF3y395rylTNED/l8H08VSV89F1NT2fcRsQ02maKFjgXmf1wqTsxj\nLNp9FHP5iAXVh+MGxLCfIppStuw7usOjPTbVEFm2J5Oc4M8qvbvhry7F8YA1\nF6JCiwZ3FnuSxJrZ2cQTJv4KzUlXXlfOjTOYIU5OkI6MvAmNyNIsd5a3FGPk\nGT+S35yF7BpUE8bCIn6MlQSOGwaEoz4GsBhE7xgltrFasMnH263Z992WQXZx\ncBfuLbWqxb96ghZdU3f6HyfdOdt9MykpqW+3cjMHEkHsvPGQwUazf5lnBc0O\n2/rJ2A2SmrjAuthgp+iWHARgWyszD2b7/oT13CHwAqY8XT2KbBIdz8klFspE\nd30IRrWpqNNYz0Rh/5nk5gxRBVxo/58AJsrxoOvRrqzEu9GeGpUydvTBveI1\n06S4dJkNEb112aqHG9c2NV/1DX2ySTDv9jlJiyqhHKXPGhOysXrfYStEgCc2\nSNmYeCBbH47RzaIkOu1puE3qKQ0mv5zeH48cNxOUQOWBGM2VuLkQ4EweTS7+\nJOGX\r\n=WhzE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3e8029f7a7d2071aaef598e47bd0470b0c16aab8","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.20","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.20","bpk-component-button":"^3.1.11","bpk-component-spinner":"^3.0.20"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.21_1575561438641_0.02697121916567924","host":"s3://npm-registry-packages"}},"3.0.21-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.21-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.21-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e9de5fb817b2e5c7d85e4343c65ec36aa7977a81","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.21-css.0.tgz","fileCount":13,"integrity":"sha512-6Bms4fWizKXWSGcg36FFaKSNKuqAyf/IbYTWNqDZ7y27wGdseAZ9eTv6vF2e+SqYG2i98g9nIYFQmB1uqs/FZQ==","signatures":[{"sig":"MEUCIFbr8fWtAuCslIS+N02cfGYJ1wSGzsGN1yjXh7dsgAW+AiEA/d+l+NSB/6hiuTWPYIwBBrlPLPR46Bv5G88PfeIVoTM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6SpUCRA9TVsSAnZWagAAsgMP/RzmR0ZHBCo0KL1oZtoF\nkdjqLhqhQBLJ/bGWBA5XG7isO8PSh6DV9MlZkteJehH4DWugpVXpZa5Ylkc+\nIfv9n26rpoQu3eLH0FC+WdF90GD3H6QLnkgKdTMN8ufOl75FL85XeZPi2Vlb\n3wKe9REu8GaxmUtEumc3ulHp+eBjvD9hggXvOBS/DVNVIN4/xNECJipYddZI\naqge54r62SXXoI59nq6YERs0Q2S+0uCOpRIMJ9QqOe/3oFwKdCQVJviqpWj6\n+e99OmPlF4I+Loj9isaNZ7g/6keo2DHq3ZGTiafsuhLy21P8hvPcIwVYSmWy\nx8rsZ4s3IvREzt/TXrh3H/hcVpqYcfn2oCeGd4HGD2k6W2o58ixsbO7wNUDF\nSXj1rUYO9XzNCfjHmWs+trYvm68DTtCqcV9tGV1L5ka1P1NfPIe7aBeMHRJj\n7o2rfzjU1TH1AjIbvBA0sA6BArXw2m4Zmq5/8EtqER2VVd+5LVjaoqPaAkqQ\n+zCZHB/7aaWcPSIS56QSff90nMv8uItlumQAxlt943KlLYEBhGqEqH4YczJ5\ntG8DJoWBOe0i96q78nS8KBwSBD9loY12UmRwCSniat2ppVG44NsDBW3Qp6a9\nANfeJqu2bJF9KdCl3LBRczFOzmGLHecIiwUJnubbwK19wmfaVjUQ+nGLWNim\nqFUx\r\n=W/3t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.20","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.20","bpk-component-button":"^3.1.11","bpk-component-spinner":"^3.0.20"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.21-css.0_1575561796814_0.8481922541343834","host":"s3://npm-registry-packages"}},"3.0.22":{"name":"bpk-component-infinite-scroll","version":"3.0.22","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.22","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9219800c860c28c9a2b70290280dd5f66563a4e2","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.22.tgz","fileCount":14,"integrity":"sha512-Fbw1o/ufxXS9kEfv0xxP/x26FLkr4Qg2OZiK3CJ10wYTKhNM5O+u9JuVyTHt5a7ovyrWusXs69+DfJH5umMOhQ==","signatures":[{"sig":"MEUCIQC4Tj5mNM1Zdw3jdaXZuTXzJ94PX6ddDIFTUc0lV7YgkAIgZgCy4aqIZOYib3KrLyjZuLhuKIJTFqyp0g7vTgcsAuI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6ltNCRA9TVsSAnZWagAABHkP/1NrOSfo9qErtxvWHLSS\nFBwZLGm7cnkvAdnHwE0i3aPGEh96ROiHz2Jr3OWMgFSLNrQb1ZP2vLUF4blG\nsnfMiQDORGCFRQP3aF76phsC1T09v/KrCdsUZ9FTGba3Nl+nzfpOlAJVSr/j\nckdGabgJkf9J+MgYewXKqgQcCJBt241ASJ/hmOirNq2B5eldSlJBKhYRmKwT\nOPTt8AEyBs2O7n5owJ3O+V7JpUOKYRTtFZ5h9pa7CQg3jqkX7NNCu7VjvA0Y\nftKHCr8YktoVAyUpb5mSFsoNCKkZOoz0pc81jM8scQkuU3vaDwJIhkClTy14\nkkxMqlSDddfdIubFyVAKyvg7077PHGxLk10eoA7uwZAdRuIH5PAiqJt8wra7\nLTxUv5tFp36KZhteHxVD3kbjUzHQ2lo3t3kzwVK+16DGNMcQWhtzj/zJrl6t\ngyXA25uusFJzG1IUuU0GzoSWEnixL2fHxSu0MtvfRe7htI0duxqoe8SNpC/o\n2iJQofs34i1KNUngYiF+GfWTQ415Hyhq4of6SuPZPSq5oP6a3UL8e75dA/48\nokQe4BThMJ3fdzxmBjers75LorhP77J+sZyk94jO+KLbWFzUkBTMkGSy2oBu\nnJsZqZBcpjU5wy7amvlc4tbZhfR6Q+cDn7bIa439xIjY0gjJOaD+24VsKOJF\nDMA1\r\n=nZQp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ccda8331dc238ed5b1108f8ae48c1117b9e24427","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.21","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.21","bpk-component-button":"^3.1.12","bpk-component-spinner":"^3.0.21"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.22_1575639885061_0.7084539965515815","host":"s3://npm-registry-packages"}},"3.0.22-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.22-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.22-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c81d517ebc1f16db073c8bb474c7d4c33ecb7e52","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.22-css.0.tgz","fileCount":13,"integrity":"sha512-zuDdXLRMON8n0zh93M3+4sZevgTgulJnFWimB8BCw8hNWWAhp/BmSrr1Aqgj6DhlvAmnU6EgeFhUS8r7DNNwpQ==","signatures":[{"sig":"MEYCIQCljvBthcX1zMXZ90eWz3eBpPritbB9a8jzleOw//OzZQIhANyLni4iCnsyFTUpuMSUeoiFbr2SQOAfOnAIbRl7FrEn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6mEICRA9TVsSAnZWagAAWOIP/0OJFkCeZN/pwlwZaBBt\nfAt8UsqJFQZteTtWhI/iZVfydrea07nO7KR+F44PuPnwxiQTEUHpee/Vz6P/\nF45ydnObpeb78H3mSDT5zwLrGyEE/sksGreLj7+a1qr0puny8ftbloYECNve\nV4WtKbqX0Tt6yy4w5Z+/V28vdedPXQ4GVmbbgSD29xhkICueTymQ/giUesii\ntOUIpC2HGBeT3Q867xcE6TePZqqCHbt8V0Y4kihWf5GDL/8NBKzPHq6xPBE2\nyZ13248rEUO9bghOEa1nhsTayq0jjw/DDEFCa/Cj0FdDFC650kOFUjUIEHcn\nc+pnv+6wJBvhjkXk1S725L3OzSkFQT6oxARZpS8nltJ39CcVkBi+kwM+Rt1L\n091SaIe+ZTdM78/xB/cpu98oWXvndkK8GAoR2SGc0TRSUG4YqlKdMTpDArP9\nFXRhYpsMfXwKAHS5DEB3FITZNjrz1uJzmk0xV4FHR6zxXbfLCIEFUV1MiV50\nH5KDNP0cPha/1UA+PKSeAey1BUXXaslH9LPwC+xI6b9V+SYU2ElN167vQkxf\nfTYQokuCcH1eVLJ1yZr4X7j//33I37m7ZbZvJzkzhrIyBoqXM0dLlM8lyoGe\nnZqsK5XHetplaL+xbBUFuuc8uPz2DIljjUM+XuVk9LvnfDBUa7eo/x2Bd15k\nT4sK\r\n=bM7x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.21","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.21","bpk-component-button":"^3.1.12","bpk-component-spinner":"^3.0.21"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.22-css.0_1575641352356_0.17507749190301047","host":"s3://npm-registry-packages"}},"3.0.23":{"name":"bpk-component-infinite-scroll","version":"3.0.23","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.23","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5754fb385af735b1a391d6e78fae0de69e54f115","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.23.tgz","fileCount":14,"integrity":"sha512-uR1ZmG1rgla1qXNZpjgf8KHQMn/RNwLY5ujQ21TNc1AJA9DGFI0WbKtpXKoZ3XblX3D+uj9pseN8h3sl4GKzKw==","signatures":[{"sig":"MEQCIDwmY8VGjh20Xz/LHxlcJYlrOfK/BB/eiiaupvEBh8aMAiB/u1/a/HWCG6+QvdM0nA2lr3IwFwm9dqmiGt+6wMRzjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd76VpCRA9TVsSAnZWagAAWo0P/j8skdbdViWitk9pm4sP\nlzS3+6N0GnEdOJjguxfYmm59pXI+qV7BegM9G7I+vJeGUKiOk6a3UIPB1rs4\nEnuoyrlG3gv0Wh30UZ33v5fA74pz5V5u+Q3ke+RiY7VIMG0B3tunbdXR/N03\nNUBeIuVEbutve4lMe/hklFktcpZzZ1jTuF49WNE61gYiGg7ZnIP4g5meFsth\nPUxIDpXSPothqmbHtrZGIP1YW3w+PSWESEkgcDNy4ONZ+Ou269eJ6R07qHDw\nFX94xwEbr4iQS4320KzocgJrd2BmQqXEJ1vvtb5S7jk3U8djmBuLDBcblZjA\nlt906iC9oKfv3ZFPmU2bNcQB4Qqmg5czrJg4TuRxJkmLVgqEnPzOIiR9pRHa\ncDAXyyKd0K+xhVzz3YCKmYGW9Li3kd5y79SODqnPWaUmgBP9Xz8Ap//B5u+5\nIkrPZpelx0zP8nX2onIRh80kAU7Xvsu4BSWKeDx7K0VRhhFxz/EvVCJGWyx/\nJz6sT8BtvN41/qO0Udgi00Yy5o1ay0GPzp0vHHbHUU9RJznEO4To9WrTjSwQ\nQE5lhprRCvBWrTBADAJtt45d5Yr2hWEQKMhF3qMqjtyspKGf+pQZB5OFbtln\neD0rfPeGSn5NlBEIpd0BrPxQLyT/J927hql+IVMGg9eXeU4gj7USNcyuWWxf\nC1Ej\r\n=npuM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4b936957c7d00f2143fb1e067abd36269060cd5b","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.21","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.21","bpk-component-button":"^3.2.0","bpk-component-spinner":"^3.0.21"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.23_1575986536857_0.589735548870099","host":"s3://npm-registry-packages"}},"3.0.23-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.23-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.23-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"72d33964fcaabba0bcad06f853fe30345d2543a3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.23-css.0.tgz","fileCount":13,"integrity":"sha512-zN/Frt8bNXcm3enyc2bRigFi8UzG7Gjal9GZPzMMyJ3wiTa50RivAl/pAsS3gzbFI3CW9vpLO6GlAvMJN6uwEQ==","signatures":[{"sig":"MEUCIGER2Rg/5PEo/vEnDtZdM8B8jaT3Xa8BsTVgxCwXvQsjAiEA2O2L5fHJsKHOL2kkYj9c1XJe78kXVxzRDuvbIRISlzc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd76XCCRA9TVsSAnZWagAAeOsP/iVfoMJF6S3rURNmlY5m\ntfa2wgjNB3mNeKmJFb138ToQ2CeuakjUyoOpB7Z3mtOKiNBumZ5fsZfMvO5w\nusnb6xUopeL92eS4KCoDkFKcf7CIbbroReUpYAC+QCmwq3Ld61XBdtAsOcQS\ngb8r37j726WJ8s5MgMFOoQgGxglUYojn30SBsadOZc8Fm8F2VyI1CbuaxFFx\na9A8ZSYREXQOHt5Ars9qwdV/08GedmftSCS9f1okUqRv6drEF1i2O+0qeHXq\n+ROtRX8P6TA2JU1SepNjrM+KIT5xigZCcT1wRUzAilU25BSWYAC0trfRRrZZ\nqqVXR2xz3V5ZiFMmfthD5zF+yxbyJFSI3iZy+Mtxm9KK08eRs+S3OPexvo3r\nO4sIOl84gZTQRtpDsqubcp/oC9HIPeZ7C2clwW1UVzthoIW12ANh21fOJdGJ\nJvNOHCULSd2KuCShmR+3jccihvmY6rKxbnQeJMcIoyFdlJ0oz/kKCNX4P42R\nbJo6O8tIila2py974b7d/P3Brur3i7DtX99L5Kga0xr6e6jElR63/HtFDbtR\nTJJTxhQjFvkVWFALrE7AVwTHFMrAufomIRnvpbXYK8molq0NVUA9lq8i1OSK\n7WF46NrYGCsI+RjTiqApCKZj2YGUkoXinAx3KW88UqWTN74l/t6cdXebVANd\nkjro\r\n=ioah\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.12.1","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.21","prop-types":"^15.6.2","bpk-react-utils":"^2.8.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.21","bpk-component-button":"^3.2.0","bpk-component-spinner":"^3.0.21"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.23-css.0_1575986625808_0.4737324788299129","host":"s3://npm-registry-packages"}},"3.0.24":{"name":"bpk-component-infinite-scroll","version":"3.0.24","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.24","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"001694b694b03eba2b094b840f85a8b8de441d1c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.24.tgz","fileCount":14,"integrity":"sha512-9VAYeQaSHnIMrf4o5HZa/psO6gHmH5wSHNPtYCNRUN3b44900RrR4tHWGHVNRUUOVTC8xytVRs2qVsBCfnaQHQ==","signatures":[{"sig":"MEYCIQDNp/WCq6o76K1BQA3+NzKY8trr8u5AvbRZvpcYuXuSEgIhAJd8Xh8Xa4hDNv4qhG6vpr9NnCF5uDxVQMqx4DIYZVmR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFxR9CRA9TVsSAnZWagAAkasQAJzzNgMoRrsqBvKOBtTv\nrkkxTltoKlNEq3caOxOJxGHn6jhFSuBMxMTE+CzRlDhbbtGgUnRSht0uLYE1\npyLO4F3ZvK+NjqQdu95NhkbHoYdQ4zBsMe+ce7AbFSw8OOk6qnQDbaovQh3f\nSbIZjYB+jZFmUctr7+bF/H3YHcyjsMM50UmSD4Ol7Xc39ozBQK3JjnxDk2/z\nMGi5zfk14gtStoRLmSjZ37IDP6ysuJAd7eEKBGhy42jPY8K+ZNDdqXww1Mpm\nCwxPtCiVDLKbOw2ZaNd927f5e6XEuWzcE93nEjib/eWs2qlTJHqlvDG164+p\n9I5J/aBGmUBML+6z6fGkzdSC1zVPWvaCV5tjSKtR9AQFUiwmpvb3vR+gUeCl\nWTFOhlP4ElQ2XOOFtkrqcE9knqhZ3YdS+WKbDjdBxLcNvurWw9+gM5RZL/6B\nie/LAQyB0oL0PAB8Op3AarjkWpv1JGCpPXlC42IuKhfDtmKeSnauQ0KSR3I7\nHsynmQ7MLxpZQ4alPooLHdfZTXKw3CWC+9VprE1s78Ez+tWexwb0noZy0a1M\n31g8dD6FKvwbYGTFB7QGX6x0zxkVRP55pUnJmazKde+4OE3Rk5dPVJUc1r/F\n7/WgbjNK9dAjiwBPd2a/coj8SwTeCWU5023xLdnMN79OFKMa+o4VgqpLgrO7\nOv9H\r\n=h+Zw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f80204e7b8f548bdc4bc29ce4e584956da957830","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.13.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.22","prop-types":"^15.6.2","bpk-react-utils":"^2.8.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.22","bpk-component-button":"^3.2.1","bpk-component-spinner":"^3.0.22"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.24_1578570877382_0.5936545750161135","host":"s3://npm-registry-packages"}},"3.0.24-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.24-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.24-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"mattface","email":"matthew.davidson@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"434104d7af4e11e1806f129c022c358b93f3f83d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.24-css.0.tgz","fileCount":13,"integrity":"sha512-xuUDz6vfRr0KjRiV+pAG7Vqy6BO5BHfSIZ6VsPzfy4Hs8SCo4t0Y4kMlqfiI84x8jsvOitzZx8gYN3Pa1QEVWw==","signatures":[{"sig":"MEYCIQDfMJojmZDFDBISXq4iBALRFJD28dHDprcstMr6kO2fcwIhALp1x+6HIwQaAP11HxOPu63KKiREVrVLo2uB6rSpLQph","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFxUCCRA9TVsSAnZWagAAmbMP/15nnQ4wDndDcns6ee72\nfgmbQbi7hxvybzVS4HDHvWzv0dyR1l73oVqkBEwOSlS0aeB+s3R09zuD6O+R\niQxnRrtUN3I4t17eez0TuwhE652Y6wUPq9Te/8FE7UmW23ZWVfPBIijy4hjT\nq7D00YlUfI/W192R+G29UeD/OmCf8OL+AN+8ogZI8WWAuLeM0tzPQY/1Yge0\ndzkRJfACTfH/PhC4GGAMFqJe/ftEZPzdRvd07E0yI0BHmg+0OZ0im9AnN7w3\n82om/GS6YWpl2IEihyy+OwTxS/Ax1EAOAm0AjWEt1aJt9hgsHjZ6i4S1l1l6\nH5N1VtfHipFiF64OuWf0czgulSqp8D4tLzuJs6v/dRFOJjDLDXHVygn+HnKO\nB0KdmM+gtzaP4UOjygs5xI/AlAo+wvyimcDhYJtKdX6NdsJWnVfaBb0P6WgI\nd2o0KGt1OaRwsFvTMqbSZCSuz6uGC3tJqoKDPBjpDBXLFFwa+Bo+o+P0NDFO\nZpZ0mXwWd9zSuWKf2+dpMb+NaTALpHvBtVVPtTfcdjNT+hOAkwWgElY8zxI7\nc0XNJTppSBXQUEVt83jLNb+NwGvLWf9LIvok7ZI1PPwxTZ5bPbykWiGjnaOK\nmrKpWUZhHp01Z5hk+BXomAmAKqWfjah/Qwnut8TEFtyKocs33/P/bnk4JZe/\n+GRz\r\n=exjn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"bpk-mixins":"^19.0.22","prop-types":"^15.6.2","bpk-react-utils":"^2.8.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.22","bpk-component-button":"^3.2.1","bpk-component-spinner":"^3.0.22"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.24-css.0_1578571001324_0.702935748659016","host":"s3://npm-registry-packages"}},"3.0.25":{"name":"bpk-component-infinite-scroll","version":"3.0.25","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.25","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"96dcce8e38465b132019857cdfb4c53acc63ce0f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.25.tgz","fileCount":14,"integrity":"sha512-J8dHeCXcrpM5Q6Ni5vqOItvTgQSD2rbkRFkMjH6pMns5hqBJWaLeJY6NRYByQQnlE7Czhgh/tmSFe3ekiAc8dA==","signatures":[{"sig":"MEUCIQDXorChx6nOGVA9TUc0OgeGXX4LNdibAHgg3x2mmOzu0gIgBpTblGfaEO7J6o4OcQeFEJddJqBJ2PNUd+oKoUsqiMo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIZmqCRA9TVsSAnZWagAAV+sP/RaoEjEJaMRWtQzxNP0p\nZ4158kex0qLWg/XZ3gxE2OgP6s0ODqRjn2G1fXfnwQrHopNkWO2l21rtqg02\nV519h0hdoQGcqmzcTX7SK07H6KWTZRFDVS2QwvVafQ1xmmBTF6wBT8Gm++EW\n7ILo2wtk1PYj79tE7c1Uah9Vvz6E+K9JlyuCUXTTXZ9U1G7JZXJ/mJYKdrfq\nGv7Ho4lsOaJFMBWRI+nLw8+X9VFXNSOE9d7+Xqn2qu66ElQ2RaxobTfeFZPF\nEVaW8VVRI2y84jEXJGKMm795oSy/1BBKKe6EDZR9LCs0dJiLrPLGEnZBGPkS\nMTkcx8UjVcWO0pURUniNYSG7UqTU84xcTUg8yk/BdON1Q+6oNL0UALzE4eQZ\nJuuBuyyk5oQu7305jXW39LZeLGaB6It3/YFpO++1g3N9puZGWTAZg9sCVA/t\nmjglHRHErvuQ+cyZfCMgIQbgq1aqJHMgbO8L5aQE5ERcK2uFqSJqB+TmMYpI\nw/hHKLbDwoeCs1FfM9TvOm9VR1cNBdxtTLkHnSjn4NBDaXSkuq07pu28QyT5\nJjP7L6uGGpTMKh9YGgfPG6ITgsjFcT5+GF0anqF3SegNc+Eo/jV4N8cUfc5P\n6cCVOVvs5+NH3qLijeAuPDtrl1Ps4bpmjtFmLHiKQPa4AvLyFCRk0EwXBVPW\nPwu7\r\n=M72d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"912775f1919a911081bbd8f211855e4381e132b0","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.23","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.23","bpk-component-button":"^3.2.2","bpk-component-spinner":"^3.0.23"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.25_1579260329666_0.18259881293720293","host":"s3://npm-registry-packages"}},"3.0.25-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.25-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.25-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"705959006844834f57504708d7c335e482285600","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.25-css.0.tgz","fileCount":13,"integrity":"sha512-Z01tVHGnwy8VTn5X+Ih4t2t8fR3YLZ7B2snb4FyZY7yuwnrzlqr4TgVzXqJWucVO9tuKlexL0rqh8GOrf8vRAQ==","signatures":[{"sig":"MEYCIQCInyxJSEu8Y+2K8kDIDo7wq2qY14bAtherLoL46rJYLAIhAN+v08spRIjGXBucjBEr3WO6hvr/F5sXE4JTKFk8/Q07","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIZp3CRA9TVsSAnZWagAA22oP/1AIub710M8q106Sdim6\n2sDuD6T2aTl3ZYPQc6aQwBwIrAYn0+LbvoqzzYGVn1TWpxK+EqXAsQ7tVcCk\nNt6p9RzKIUyIVKIy6lwV089Wj0Wth+CoMExp0HUKsRQuP7zh+cuCEy6eamxj\ndyBSitjVzciAwmrTVbgvNKDcl/rkmyx1dthB9LTGk2rnH1oY79YSk6qU07tF\np2g5TI0jKIaUZQ5kGJ7kmwmARUoeMNFaog+WeaYAgPGiPdsnnvGAWqhQ/+jY\nDRkhZTwY2bwjgfGHDUVR77y5M2IGwwf6DcXN5lFHcMHi7pC9gftwhMGMEgEU\nbdwTNWFXthNGhUjGt1zWkiYEp4m93HpBGuuZRC5iQ3eHWzKCurW1JvVP6Svv\ngzoJOj8iZOvTdiBH35u8AuYDxjGpRtDXEA4SPnwVFafmdfHIYjDLv35OkrI1\nz8LrgZPIpq4AC3uHTz+Q4SdMPtk8ObwhrdsiI97JtmOZePkWh2wZSKNVHvBd\nFHSELfBzPEoIQ/WEvcT1CSzedX9GHcS7Suzotb67GxMnVrN7k0ONog1v+tIS\n2txt3PbKAIfBajhO6i+AWkSer8dM3Do/AtTEsuUyQmEIXqeyUPEQqxwEtbX9\nEs9q/xpxWV8sO0/dpu5Q4eLoBDIevR/CVBv7nudGuHUjiDFGCbh3b5uq98ch\n4Pvh\r\n=QsjT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.23-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.23-css.0","bpk-component-button":"^3.2.2-css.0","bpk-component-spinner":"^3.0.23-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.25-css.0_1579260526895_0.9200216469913272","host":"s3://npm-registry-packages"}},"3.0.26":{"name":"bpk-component-infinite-scroll","version":"3.0.26","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.26","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"435e710de88350e59c8611b91b3f45adf175639a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.26.tgz","fileCount":13,"integrity":"sha512-v3krGQWTn4x6+rPtJ4HZLtYsLfcqXfilrCbNlIfpyGNUFf/ROH03XuHjesidg1EDJASrhXlx0qCBdfRCVuE+HA==","signatures":[{"sig":"MEQCIAPPxddGH6cfJRDNxuNTwoZGliQS11IwPvfcV3IlnTTbAiAOdmwAvoalhNn8035IUmi6+ZF8p4N2s/lnu81NT98xIg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIckHCRA9TVsSAnZWagAATkkP/R3xzg6OHSCfStx3AG3U\n2h3968/Yi4Jx0kMphbtJ00Kwj2FwhhmGMdK6MB5yEYNllHoHgg/t0I17xi9i\n1h3yhoj6HdC27QHUEPn8lKp2MlCsadJvujBdJoSNM3pjBxkmid4tuB0qexst\nSuZjRv5PamOswoX71PrqfhEM/KeE8sqintsmO1wz6Q8i85P+voWRza+YigWp\nXz+MghrRi8CDwJTjMtTTCZov/KKhxSNHsVmSvvL9ZrTSuNWjbFCGJnymFq9f\neWG1y7a/Cns+nbJ5Xlvs4nrp/16dCCiCfBGCszVd4errZjTgvt9ap2RfMcMX\nTOWXJdnmnne/VUdPoGSc4Txh81q1OLIMM3R3qJbRt/46eaaHLX0Neqpn6Yzc\nZNxD9rH9UbgM3P4CpZ1cW71xt2M5VOxnMSMEf3v55/tChdzqitDGnFGbpPR4\nbuscI53enem6DnSeGEVEmS1hUHFqCHib2KAW2eoWPFgvl0Q6di2ZqgTLw/Ja\n1BvQ1l9GVpMfHsI0aRTvaGVdNnbiAz3lSGoLLmYr8OoK9HYGIDF3z3ZKK2IO\n/AIxguNJofIGnyokZeHh85n0PbIAEy2hZtXzUy7+N/c/6ul5eWX5u6plIdoR\nZOXw7DAee9H/RCt7Rzv3eJewp0FTmfj7A6OT8fvGXvownYsRXr0L7CzK70RD\nOV6n\r\n=8jv4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.24","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.24","bpk-component-button":"^3.2.3","bpk-component-spinner":"^3.0.24"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.26_1579272447876_0.2601055239325971","host":"s3://npm-registry-packages"}},"3.0.26-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.26-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.26-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fce503f06c97c42f0e22b613e9484f2a79f90c10","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.26-css.0.tgz","fileCount":13,"integrity":"sha512-5fikwlPSOQaJiBYkYf3AfJW0vT4UAZt5+8nxbY3UqLhlCa87R94/PiDpMiGbcrjlc+tytQUH3NY/nN2rhocRcg==","signatures":[{"sig":"MEYCIQDXzqBeE13x8zivR38iBYBdrJILs/iRUusgAMGG178KygIhALcT4hCgRMchFhuyrLrhyjCynHUTcwSRdw2ELZkdfT9I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIcmHCRA9TVsSAnZWagAAAAYP/1PFNgCHntZtXcc2Y2RS\nVpdd+LWUappKZvrrYOPMkuQbGDy2muwjJxqZQ3GHODPHnsIoup4HLq/EEp4Q\ni60rgfgYqXn+Lb/17rOIVi9WnIFpIY0CBjlcQVJfsVjEa3q475Z8dO49yYCU\n4sjmNi1njIoeUNEd2MgP+tLzThpkGNcEdhV55SJlFYrMT8Vi1zd2Ityvvz3X\ntp7vn0l7F+dU/4mQ8HBZFECoJBjXsrf5F4SrgPQYCvkdo9oK6huennD9cYbU\nO+Z3hS5FToZVLwugAy3xN9ZG3kR9rAey3CTSVJFN/E3aYIXK7Zx9/qyXelqR\n1sVjd/cYGpznemG9WBXp+vT+XwXFxdjs5zI15GLlBI+7dn2e9dxwHD+sUikq\nTrhj8s6pBQVGhUMj1os6kCeYw/NaGvvZEcwN2oyHgMilRbxdDccc6g8dHWQu\nWvhwf8c0fLKt2vuTxlsMP1+mTRBR902PeJHHNhiFXlmUq1+yihgQhlMnfFvw\n2MWrl9Rr+i4a9kCcp1mK0wDERHrleU1JQEDQ/WOvGj2WqEwCiljYPV6HJSMi\nqlDC/85atpxlxhOMHbHvsF5zp6jXL2WI69GPBwLRylUXRiG4W+wrYiIjcl9M\nOXIK6nyCSrKFt+Ps8ck68YtC28HI6qBrzICmka21a9dSh7ip39SFnSKzv1pK\nQLtO\r\n=ux6r\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.24-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.24-css.0","bpk-component-button":"^3.2.3-css.0","bpk-component-spinner":"^3.0.24-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.26-css.0_1579272575067_0.044749226582552204","host":"s3://npm-registry-packages"}},"3.0.27":{"name":"bpk-component-infinite-scroll","version":"3.0.27","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.27","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"21d4020637ff5e8dee5047f52273f2212907b081","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.27.tgz","fileCount":13,"integrity":"sha512-N2MCk5zu5hH5+CGoJYsGX0cf3elLNw2zToC4rKRNCQn49nRDSZJp3Va5NjzZmGifSVNkWHXBqdT4euVJ51hsjQ==","signatures":[{"sig":"MEUCIGr6W+Y0xOfbgDKNpK4l3xow9sgLGhiXRwX8D7ly8VekAiEAq1ATg3TvBwmoxFPJ0yWUEaUUYQTFvdrLJkYxaNZlMz0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJgZACRA9TVsSAnZWagAA2VUP/ikBEau0DDlF28wclHh8\nD2KqsMk5414kMwcKTXOd9doA9VWv04y0dem2DMwXjo5wQaUw8pRdBqm0me79\n3AKTFOtry5P3t9GaSYcNpqrnEGzqwHnl2rfip5REQ8b6skETNNm6NpKwRvzD\nEeov9IxOI2O0rX0nqNqFVwPZ7xGGhIZbhhO2XVuMiSsQYAif3qklFiY/+9Lo\nDGhNc4N761yQKZ80f8ilGjz0rYZhSREUkcjqjofuxANfZLm8RKehblKsmUsY\ni9uPwVkR5AeOBNUlsOaRfNPnFekAZWoAxUo9BI/heq9VcVImliL+DOlLooZ+\nNLgZXDc0BX9roCSSzqOpfdMTrPk+XW8TxtYZwgiFE4tW56TcuH1UCE1DWaCd\ngR/cE6f9Y+IsnOs4J15oVtLuQv1LcXP18FbiKzfsScC1vIGinWyvc6SlsWYD\n0IgZHiJZlLQF6gpBaHeAzFtUDxOmBGE3O3oUPPq95ocsIJ7aUS8N6vc7B6EH\nRoEOvtyiqe5LKkhFWFZj2dErF7wrZAI4iX8f2BgbmZCFEoTDrhME6WVNyZxc\nesGL5KqpAd56N0ErdQtcGPCnaf3a1OHDmOlELwBdv2YWUIJWI/5LMsSfz4Wp\nhQMh6BgmHLs+3SEpDx2J6TCY1ie0n6xPTMf5MWa+rgtqH53Z4766LwSVM31v\nYMUT\r\n=iJbM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.25","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.25","bpk-component-button":"^3.2.4","bpk-component-spinner":"^3.0.25"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.27_1579550264848_0.3084656507714456","host":"s3://npm-registry-packages"}},"3.0.27-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.27-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.27-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5dfd772b7ef7ecc58fb4d06e7dbd3fc3a5273a10","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.27-css.0.tgz","fileCount":13,"integrity":"sha512-wmXxvPZfrrbE5s6ZMwGIrVPrCtZ77FHMWQim6x8cw46WrjcJrbc/Hy7GGWuuVrvo6MrFzSfcJodWXSewUUUAVw==","signatures":[{"sig":"MEUCIGa1+zssetsERZkzUWv/PzE5G2gzWZ/8C/q09lnXXhbzAiEA3m7lggh4Z/ACAUQfLB5BkIzn4+jiqCFZyT+k0w2uOQY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJgdOCRA9TVsSAnZWagAAJvwP/AuYgFheQosPi/L/Z5qc\nvlA+6LOUOibYbNSvgDrtgetUHDQULxrVXdLFsNYI6yEwZYSmf9vKsm7yStqW\nY+rCFc2CeZPpO07dM+MhjCsSI6U1tlUa7EbOSwlMuYmuMzcxklIcqcLmCKZd\ny15I6aogX+ozXPNdnF7hFzz0RVLNBaKW9Saa/9GsnLnwiiDTsjOq843sVvHx\nYX7IqgTxTMZyVvAEesLl6fmnAKwVrYaFewpExJG1uARWbel3bSZj7s3UrlRb\nYAW+45oxUOD0ipzAvZTgtvZteu7ULwNeKohHaFeQMldkCm+Bifmuxlz1p7l8\nHbp3r88VtQMs4brMfvwFvN+bj0vUYEUvIdB+4qwG25Sso2okoUraXyRRwW/n\nxegam/aOaqMeWe+DUdT93z5fraAVr6UVFsy5Scn1f3WjsnxsYUGvxel8dH7v\ntfloifxAWbLLUdKSupN4JLNbRbMSr62GELydukbdW/MBeg2gUV56oiSdEII9\neWh9gidAl3Pu09FHv6+zeJ3bdzPRfMZlQcbaT/C6JhPUMlr3soVPwShq3Pnf\n2GnkDHpJnd/xZyUZ0OS16s0fRG0TXld7EIXsF47nmjsOzV8LCTlHk4oq0uGx\nxTssmJXL0ezlN5DhE1/2LdGRGh0QY1sQundSGsmjHGnW1StvC+BMCnJZ4M3o\n8cnw\r\n=cjcO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.25-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.25-css.0","bpk-component-button":"^3.2.4-css.0","bpk-component-spinner":"^3.0.25-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.27-css.0_1579550540550_0.9533417404650841","host":"s3://npm-registry-packages"}},"3.0.28":{"name":"bpk-component-infinite-scroll","version":"3.0.28","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.28","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7b71bc81f4379de1eaa621e910c3293f5617522c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.28.tgz","fileCount":13,"integrity":"sha512-jrcnsdsKDjoygvvejcxMArzXFjzvxWg2TcE9RB2g1wGUFPa81OYudBo7kdwytrwxxzwVqZiyExkqe0Qu9skkTg==","signatures":[{"sig":"MEUCIAqT8vnvLLX6pJsRVzcptJ516Ej1cNAR318fBFSpvBDIAiEAonl45R6mLmV9JnAPkVXEma9dtFwDyjNOaU9a65coa+Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJuuoCRA9TVsSAnZWagAA/6IP/itYWCgzeFz/DejJNs+i\nA1cC+8lDUjmlomUsys5MJ2reJL9ZXT7MpsIn2OVGH9AWDXjFt2xFH/qPdp8N\n+RGrw9fopo5CIWDpW1t/XDLzl23w9r+DBWWnJtSZcTiiUIdwSeiqp4qMGbT4\noN3FpQ6A2c+CgxmmozD1mxl9Nsu/6BqF9jEN5tLkqYDkbhbsto6Eey7FYGBV\n30cpgGWD2hDYcUmC0k+Hji7CD9Yp90f54lzDScGJ6+QUCfcIY8hhqK+8oPC4\nXt/9TwLitgg0DhdGOu8TUzRvtoPYXbkbYWXi7N6OAGA15KqkWok7wnXUZgtz\nUWbnLBM8q1pYUOZg3mb1xmRMTPvkkt2XTKfnJDaqPC1P9drr2Edrm196p2ks\nRHpWIqeGzSCq2uoOQh2ng3qKg4Cv/s/3nVn0Eef5poNhGuPpAiWSE00FiSdw\nKYQDf8lfYpoLuIgdOyI8CE8apsJhNgMjClOcaw/BPWSFau1EKVTXTgeYnIOG\n1Wcs4+W2e/mqh2PkOQTakGGwflaCSVcLzQPPDWHc5LqN67o41/QOUi46BABa\naf17hkiuyZntcQyOzf8YgrMgVoqF0opEbYvifdlCqkHDlVkwEtyqBL7c69+d\nu8Mdf8IFnj+9nqT1sv2/xz09IZsn1GxsgWLrg/w5tEuGAQ62y+t1z29U9o1q\nPNXj\r\n=MeUH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.26","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.26","bpk-component-button":"^3.2.5","bpk-component-spinner":"^3.0.26"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.28_1579608992165_0.8343280859352971","host":"s3://npm-registry-packages"}},"3.0.28-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.28-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.28-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ede45c226cb9e283160f8163b727c016ca99a2cd","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.28-css.0.tgz","fileCount":13,"integrity":"sha512-Isvxbif/53Q0baC0jqMIoLfIzEbi/qjw/BHSy9PlHwWrZvyMOC0P0zy3eI/xLiAyAsa3OadVg/16o+rHk4UQwQ==","signatures":[{"sig":"MEYCIQCz2QRbhE2Vi5QupZmEJde6B0/kfSAMhcgIwTtVhdSYmwIhALCBgkOmUpFgwk77mWgf99qB7TzSx/QUYHPpFTYckxEb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJuybCRA9TVsSAnZWagAAdroP/06Dt/daa1jTUx45/e9N\nexbkL03O3EsYTwf8/kcf1xnRSt6o1+EqFKNQzn8hlllmswNQOfxg++/dFKLG\n/j4M3XriEMzdY1t7MO9wnGdK+6u957qPAt2TuTnZCuAuX33pYuT+bl8NM3S2\naCcuO/ui9v3D/vBiel23To5FX5dlwfviZ2Hp57dkLzs66fOEkikLGSZ8SzXp\nE6eOYaMBo5k8gpPiQFFUg9cvk7nl1bN0qwjWcvJDpOFCz8F0Cj7uyJi4R4JP\nNQLYZiW19IqnIeNs9t/plBiOl0mW5zGcPX4bcqthy1pKKG1RxyxRoLI4a4td\nROrZOWnKfoeZRPwLpFSFs1fYZc1cw51GVWKT6tjE3hFHbpQBZolItNQJ8iOK\nOz4UWn+mOLYYCP1+u2wdlRy1vXOOP0HsH9w5uLHEogQnSUGSkhOC1tIcaYKW\n1wFfEfx6gboZH5Tj8l0S+EX82c0IQlq5RuaexcnrmEqsHbEQvC5f5mCeTmjB\ni5LwPcd59oDb0WaEVOjksQxsaGwoo9UQ9GEAq1FffkThX+i26UDEFdAr8haV\n8zEhPC0CC4wg2pZPjj+cz5DRghSSys9a/nbJJ7PgNWJOagc0VGGFyj6s+4bJ\n9Xz/mgqoQFkNdEBXdYh8dUOBa+jBVw1g0SL0dK5QMKMTQcqhM6Ms6M7g8wCe\ndkb0\r\n=wgIn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.26-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.26-css.0","bpk-component-button":"^3.2.5-css.0","bpk-component-spinner":"^3.0.26-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.28-css.0_1579609232355_0.09134571846480366","host":"s3://npm-registry-packages"}},"3.0.29":{"name":"bpk-component-infinite-scroll","version":"3.0.29","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.29","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b0938b40937cb8261d21b1daffa7c7b6c190e734","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.29.tgz","fileCount":13,"integrity":"sha512-aDU6c/CzcNmbGS9pCAwvUnPiBHn+0D5buCehVlLXYwk8mcL/4yCUOmJuM+KVPUcppgf0m3dtCNOst7ePJO5iZw==","signatures":[{"sig":"MEUCIQCsAnlI5WgLucyOj2WsAmYu6lIVA0Bo4MOCetb62TDpJQIgSeAMVZaWSO8MSW3Rhx5vE9GurHqKmdo6fhd3xLVMNXA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJx9KCRA9TVsSAnZWagAALtcP+wW/SQt4eao67Va56ySl\nTsxFS9mqb3RtoCs1j5oLNTuPCuDEehozwww+0wEYQnS1M/cDkvoygae0nERm\nPGY3PWRc9ptMSxEBkG7jH+idpx0STucM4q5tepgSXyiwztq68pH9N86uqDDW\naFNxgi3hHPVoUYF6ue6/zjWNM1Y64XNGHT6x3urULbJjPtyKYGgMnhx/wFVo\nhjf5UHgDO+ztcjWC3syyOGnlZdX4Qtd6MU6H6GUX96f6GE/AJv7uFzknyp/t\nbMr7fvN3lZnlE/L3Ri9SZmzzG6VLOvUUqhWPK38mMTrF91hZhNjup8jvw8hy\nk/zs6ZADlMZlApmxKWrKtUhZ9n9QOGCS+60tjE06IgEm7LT+lcd1QDRUp9sW\nmVtlDrbqBg97rkLjI4FkT4s4xTFoB1MeBV9+cZ+6J1SeW94xnyoMLBSPNyXD\n193AaamSyep8Dj6PRDyVZItFqPDpWJciCrI//C/Pq6KDK/7PVBEmb8jzAua1\nKdGYkUbF7eb2gJCL7pAFcrMc3wRPh89oxWTViqXk1WQUuxAWEuugna6wHQlR\nVvJwlYOd6aZ6+ybxT+rXmO+csKi9P3ZIuJ128+iUckUMJz4cvWV6vkK18WoO\nQxjFweUVcFLNH/958WS+EKt9403YZ821tOdixi4FAXRIzQqR3wuTUJ0f/Zpt\nZ2rG\r\n=A9Dp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.27","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.27","bpk-component-button":"^3.2.6","bpk-component-spinner":"^3.0.27"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.29_1579622218093_0.05030136227401383","host":"s3://npm-registry-packages"}},"3.0.29-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.29-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.29-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4e0cfd31dc3fe065b7550f5a63089b0c8a781a2d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.29-css.0.tgz","fileCount":13,"integrity":"sha512-g6IyxJLwt1ee1sUH/0/RQ90k1DKEXwSOvAyBXaEC8qm9ATUPJ8JosGpnQLfDoFcpQLV88ezRY9ykBpbDWIN8sQ==","signatures":[{"sig":"MEUCIB2w+7n2FkRk3n4ky+XnM7M+LsPqdyOZk6eF0GDqM0NSAiEAp1iKrk7SGuJ+9JH0M3onjRG8CS3Q/3vug6uEq3wrjkE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJyBhCRA9TVsSAnZWagAA7fsP/jYc/b1XnWxfQMsLUKn9\nO/maPgEvLzQ2X8Jk/dle78mKROLHYyQPXPuAMNk6U7k8GsJPBT1cInnsncYk\nF0tl83jM4UIE3MNlyo+0HeRJyc19EOxP+Nvi87suzoQPPMVOpf6QV+Lec3ta\nCZwWPBv7Lyty4+VAfa5s8Jo+onJUdOaAQaSSK8DBo6vx0WsAVrq95y1RBP3I\nHppj4pSb1sGqF/AMyuSDNiEikjArlen+OQpxGDI5OBQElylKl/w1GUz8dupO\nuxFJaK8fKePsnvg58TtqB4ZJxCJ/420csxHCwCXGyGY6wembgGgXQP7tNKOC\nOp3OPzLaIqeZnlcf2IzzztL9/FgOxhv/2+WRjzA/DBR66TwZVgoHR2X5DR10\nGR5vjLKomyYr4ZRjSCy5IXewbzyMhG9cBMV+mLRVsjBMf65xIPO5ee5liJU2\nJrN8p9Ni6hyKRxj/4jHrmZmtwhXswg1xdHfaiYq861l9eXpX/DHlNgyNKOMQ\nP39p6D6Uqf7CRv6KD44U308JvqSGuTBm6c8mDZZ7LmRAzSUF2tEypC3y71D4\nisTmxHMqbBP+GJfF5K6OgD1Rif1iYR5LZ+TvCi+sPHzHwwYFqcZmFOl6TUOs\noq5m4BaSzTPTtJofSsU157OtFplOSZCIz6UtDqYwqh6Dstd1EcIGkDXMnVYM\ni8f+\r\n=/VUr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1623be5a7edb2473d5eaa6623cc81b2ffd93058c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.27-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.0-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.27-css.0","bpk-component-button":"^3.2.6-css.0","bpk-component-spinner":"^3.0.27-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.29-css.0_1579622497114_0.9254975164862427","host":"s3://npm-registry-packages"}},"3.0.30":{"name":"bpk-component-infinite-scroll","version":"3.0.30","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.30","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e551da92cccfdeb0b13272d825ea506d04703ba3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.30.tgz","fileCount":14,"integrity":"sha512-Tcl8x7QPQPaECS9A7TbV/+iOYywMWqIVGs7ft9VZN+8VRS3wHHNnkZJZ1hFZktBjJU72v1APMlgNlZZOxtntgQ==","signatures":[{"sig":"MEQCIDFbMyTINtQXUSuyiYR2+CJIBkYSUbU3SYKhHjg4rpk+AiAO4Pl1sc8w/Q1XONMfJ2CV+4yBPrjYTa0PHHoNHnZ7Tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKCYjCRA9TVsSAnZWagAACtMQAJT39WlQBGWSp3oLDTIx\nkk8gHk7eGphSI0GMrWidbebKmbYq8Q4qPd1WPjekpAZnBUVeRrtzCefQtkr3\nz7piqeHqYLfxKM3Qb39zgNBzts0bOw6H/eXMVpFyR3ntv7Oh6oWkhFEdecL2\nF61KMYC3ITjPI3wO3Tg/p5OFz/njSkRKOVefHrxGIVqd+7SleUY9nRXGBpbv\nyv1fvXg94bnunA72/d9neRt7S6+j1SdSDhkcUPlzCW85FZ5bOqS9sVlgmZGu\nVFgovSjYrACNfeS4GxjG6wI689oqOnn2LHnmYN9Nf6CsXvukalpsbkAGb4Om\nYtfimN6htVSe+JFVdU4PHXFrv2Ua5dBF0vGr4MmUKQ+bVfWK9x7WdswjK+1G\n+VAnhCeTcKkak8xAlzabP15uUvS6Y8Fg86FC2/+2dpNd4IvIQUSxuVZg0l2U\n6J+Nma8YXguQgBG1I7OZOsZbc7L2Dl4mZGFdX2Iup10/6OeiUFUQ1D/dAll4\nWJ/cUPiEaMjLxTu1Efqq4Ps+dxl8Gz9totySdLqC431oM3/HVAH20Bustu8u\n0RmmueyVZToLVSi95Pq8hnFt090ixowYIB9lByiGffYHOf+ZLH81bh77/cU/\n5GWt/Dp+w70MWEYwExAcYHgmKe9FjYtZhLQV9tqTK+xLXs6cms3uiz07lGQj\n+Izm\r\n=qNFB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6dde68131ccdde6660da72686f2d6e5ce6659a32","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.28","prop-types":"^15.6.2","bpk-react-utils":"^2.9.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.28","bpk-component-button":"^3.2.7","bpk-component-spinner":"^3.0.28"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.30_1579689506889_0.66967179110174","host":"s3://npm-registry-packages"}},"3.0.31":{"name":"bpk-component-infinite-scroll","version":"3.0.31","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.31","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a7ece4b76b116a316fb06b6349de6b4673b83f24","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.31.tgz","fileCount":14,"integrity":"sha512-W213OSn3va1IM+KiLwaiICfP+KH4uVCuG3bww2DM7BDKsTbDD3wItPS/3UB/LSvrjQST9z2Yg4TxboCdeBWmIA==","signatures":[{"sig":"MEQCIFAPVCpv/vEhWanSMbf5BLD+MaVdMvhdgyBzxlA6X7EpAiAcaDNTjO3JUKiYbGZIKC8vWEJ9qc6Ue4LOCEbjS7JsdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKChKCRA9TVsSAnZWagAAxUsP/R1Pi96LFTIBQZT+VwAk\nNMx9gWzwA9UQu5QmSyIWPYqQ+fHZG2FiCV1U9AAg9e6GqY4gHk0FFmN7CpBb\nSmhZZQIX9Ahm245Eed5BE5zOPPacjrZKTNbfrkcaf6BQ860hZFgQ4r5XK5A6\nsPs9ZwrsMWh6pBjX+i6+WhEB6YBKcjOKNjMsR1i/zf+yz8N3eEeePsGflK0o\nOQZQzupYTkbWHvvkmDx9+jrHlfkBXn3sO/O8eYfj9QZSIWR6dBEZbEhodKcv\nbM1Nlz/sn2k7yReSWtHTrvwYqFmI+/BK6OaDN5RCf9aQECl+FBT1Dy+TTNWt\nNn0APWcYGVxFO9OKTJ/S1w/4SmhxRdAwk5jbUGVqVjKrkIC2PqIzjvTnP1nZ\nlnhN9dS8QySblgntUiRSwv9bCqcM9eAvUdowij2HVErp2FS7kULpl2/uLQjL\n9Q3xMQPfuTGi/uJTOhc6zp476VPDhLjdsvIN46NfTaSL/Alo80e+lgElal8Z\nLPZAB4sF/5Y4MisL7Lth/QSrhfptGREdB3kkGACADKq3dFq86i7r/XpRCk8R\nVzTSkCquX+9OyhJ7Ra+//u2pkcd6H7/AxBAxVT87qKoT8XqWD0rdMhUY4D7m\n+yff/aRKMpPSRYcczT5RxufjZO0tt9FKNFzamk94MqPPfNcYNPs8ND9lmMnc\n898Y\r\n=hmsv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6dea0c366b9237ca3a6df91c0f856594d30cc7d8","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.29","prop-types":"^15.6.2","bpk-react-utils":"^2.9.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.29","bpk-component-button":"^3.2.8","bpk-component-spinner":"^3.0.29"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.31_1579690057608_0.5719594536272479","host":"s3://npm-registry-packages"}},"3.0.32":{"name":"bpk-component-infinite-scroll","version":"3.0.32","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.32","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"aeb7ed9c7b424d79ba6c15055bd52b95c3af7eb7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.32.tgz","fileCount":14,"integrity":"sha512-q6skr0vLPLC2IOS7zoG5TIqWrAMq16Dd9XHQGt6ryjRGcHzWmnHPm1VfZI0pZ6xGZQxAU88ZOeemCCeuUguHfQ==","signatures":[{"sig":"MEQCIEfnI9yvdeZI3wYRjc+d4m4zabplpdCZetwF504DeXfFAiA3/Qqz133/buKvYHDHdS/IV+ymBXTo6Z9MlGKZ7sMefQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKedsCRA9TVsSAnZWagAAjboP/jv00XgzSBpIohBI2ZNa\nPHElvTtZp9Wi2U4YPOzgs6kVc1ijE8/4gTESDO4Qe3mFQtnbQwHI5uSndcjS\nwwKMe0Owq8hWTMf6jPhieQN5ZrAC2XVB3wsNKBiZDKs6tEWBidIdG2LYo5QS\nmc7Hz0YKY7tqsA9heRTVS/Ol5HilYwl8+50l0H0OV7Jv5StKZllYVW1vd/pl\nr7Lg/UapcHsy3VwGqXAv3tm+xwBRU2FQWeVxRAHAzzwxj0tEgDgWhz24vZGf\nAplv+AkjEg2AmbQb+wnEUtHanxugtIsvL4+Z7RCcvIsA/Yf7wb53svdxwAnz\nNj5ekA0lv5OL9YDEBG8Q3IuZWRAEMZbzPuHipMJ9onjZU7FG+Cy7ALOJ+SfN\nK3HFa6v7DVxMsYjjic0c+oell1EC49if4+L5slw3/wFLWYBl9cG6PrI6rNT4\n0h4roHdursDtKT2R/sIGJ+RuaeTR1cHyg69+WOySiCCDSf5B1Ae4C9CTLixI\nKoemfUQIIMdyN5wcaC8k9Pg6sBE4rJ52rVVCcQBf45XbXUgVinvT2BqC83WL\nXl2LsQWPm2YWm0r1QSt3OKk37sbcgy6KA5Tv8BU40SDS3C54ok080j4um3oP\nzTaZVCTd8hEbHgFalSxfeIh87+02eI+Kzh2RD2V9qb94U4TvfZpuy3vd52e+\nWLkb\r\n=g+3+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"dfd476e4e8e7b1992ab9a75d942c23c6976847d3","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.30","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.30","bpk-component-button":"^3.2.9","bpk-component-spinner":"^3.0.30"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.32_1579804523957_0.9508071191271876","host":"s3://npm-registry-packages"}},"3.0.32-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.32-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.32-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"120db9f4e4096d6a6f30460c31dcbbc9f7543e29","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.32-css.0.tgz","fileCount":13,"integrity":"sha512-cot6qb+AheMkw7Zp8hGsV7s43mB165qlKuhRUK66+79+REMnnogarYUFCnSayr+4G1wrA6VcC89gbd8n7OoY9Q==","signatures":[{"sig":"MEQCIEwaW3VDMZ9eBJEUgYgFEoSiFZx0GWutsTgH/IJ5x9CGAiAK49ACsv6MxQ9YFyCLI1kfJ5QaWBiKOtABhRNS4cyDyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKefvCRA9TVsSAnZWagAAZRwP/j1nPm/Cca1XleSKtwpm\nQ/rOJXSopmBfu1YrVbS9cg/dTQ0HJPRZy63yhJ8/yQGjScmPgPSmPIOvjMRP\nmW7PL7VLiLYjImpX6kyFQ+fE5Z/wRXRhs2BKOkztB0WgLQpYEjrSn9njct9H\nWuJo9xhf8sNXqSwVyu8rPXgm2MJ5uW9DX+jXdckpFYiAfuvFPlGF3RJAxa7p\nsHMHoM1vw7w/OTJanjgr8Fv4tsHgXNZD2s2xqZ6rxBU19j/EbiV7RXP49sg+\niYOIdUK2AIrPzfa5vg+A2+DdQvYPzlxLty80g3BmQWQu4LTkzZvsGVXEzuKM\nHierR1w11bgSZGLgc3QICPRy84MqN9X3pFSxnhjmp0k3DvaBH3n1A73ijYWH\nznQj8s2yey3D08scacdDr+fxvzsUCGOPx1CqlvqTsrGlXCm2r9fB1aljaErA\n/qk/V8ciWuwtjGYUd07Md3HwtNjDcliOypouMRZmKEpMG0RUuI6RKCInW87J\nIw29k4YTl+30k4Iuc82dTksKWr5h+IUUlENjiJ8v4thD7IeAsAf5JXc7mnlQ\nCGzCu70Thi7cnC4XwBgNfD7osykqkJXM1w2Qr40zrdDo0M83WI7KzMJitf1b\nGoMeTlqKG1FLZzuOwelUvc/yTgKXwyzGPuVtmdTv3p3J8+iwPGuCO3/b5vrc\n1NzJ\r\n=qX8C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## <a name=\"Usage\"></a>Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"6dea0c366b9237ca3a6df91c0f856594d30cc7d8","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.0.30-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.30-css.0","bpk-component-button":"^3.2.9-css.0","bpk-component-spinner":"^3.0.30-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.32-css.0_1579804632489_0.0072100072314422725","host":"s3://npm-registry-packages"}},"3.0.34":{"name":"bpk-component-infinite-scroll","version":"3.0.34","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.34","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b4420e559690d25a4daae75ed6349fa4ada062e1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.34.tgz","fileCount":14,"integrity":"sha512-TJ3yyllIIld24ulRxMcmDpxnGWiceAilPIPvh/DFKQtzQZcbEOzk1lIwkQPxU7yLJR4idm02NKR5KtpW7P5YSQ==","signatures":[{"sig":"MEUCIBXOVRSaiz1omrParLGod5P/VoyoIG3qKkuRtrbGEwFiAiEAg5e5Poh/adjNwMsbYUJKDQ2AzcjYMcRChZicCauQFv0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOXWVCRA9TVsSAnZWagAAi68P/12QN5rQf9KhIp8QjpOs\nva6OZRWbfCL4TjdXbAFYLJevxq5hNjwLAVqPGx1+lWlnANO3dV7zvwJjMS1Y\nH9A4q/1j6KrbdzI9J4Gzf5aBEH5q8mdJgcDBC0OeJOJITocFK8Y24Ql1nZqB\njtWCb9sRRyGqj15mRs/cfxafS6rJjNBDzsgOiO9Ai26yBcr3KIsTcS0mBnC6\np5eo2GC3B6XKiZoU7ymz+9GSPJK7oQfyaXMNW/w6YEmgGLOLyPazlphUXVbH\nzRWrw4pZgCAtZ/+0IVRBqk3iy0QjsnCGn2WPLs4mGN/ehNaRztxthwLuKrqe\nuIRBefszhqoZ240ldl7IIlqRoGPv6AcmJ/7s4Wt6ut7muo++J+02IxRUX5wE\ncJftbRsDFmYl/cpa5aUG9bmzrbJ7k5zaH3SiQUTqjqEqn+mLG6fB+/GdHcgu\njrB4khJ8e98U3y1kR/PSo0M4T9uqWqAFQ3giQx4C0bpd2//BS0kqZ9b1Z6Vn\n8C1APVGnOBYmwlVJwbLTzvZf/Zm2bXzU+rrY9GSNfet0q9IP70la9TWBGsNr\nii4bUF2O0XsOwl00qDZLXayY9zQEgNoJvrnlKdAA+0e6su2fnwTFDmYMkyLK\nJYByDifLVnN2QBdGG3uOwgO1ZZ0d9XJdcGpEM0nkzbABb7UuUVurHqXE1wml\nYjER\r\n=2oy4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9e212f4f8151cc1cc99580a585d0600887e721ea","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.1.1","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.32","bpk-component-button":"^3.2.11","bpk-component-spinner":"^3.0.32"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.34_1580823949612_0.5165308194228768","host":"s3://npm-registry-packages"}},"3.0.34-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.34-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.34-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"27c262e14ca9fbad65c7cc040c384a6b59c4bcc9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.34-css.0.tgz","fileCount":13,"integrity":"sha512-HjhS9W4zq3VUnAIXm92t8iV0mdp8QyHIiuKnH4YuTmk4s+Ql05z+x57hv7/slA4sq0HCUt8RGtHllA4wrgNjuQ==","signatures":[{"sig":"MEYCIQCUW4tfQZNqAmCBTao2RzdgfqV3NFOF8V5GjgHXXp6fcgIhANp5X2PR32dfpgn9taMAMS/Wi53Iae6kCQb9LtEy2dNa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOX7jCRA9TVsSAnZWagAAiAgP/1BicsWdEjd80rntZayN\nAGR1YhxhoTegQxtgVrcZY1Dub29C+J8O4/3kMAOmUNc3Cz/QlszSRsZUluy9\n+KoLZH+Y1PKtuUW5qkLoZgwpAejTGYnDvMvDqfg9f6JL4nxDpETmt5uCGd84\nb3+U6lgLCf7gsK25ZIhX5lrerwk65TbQS8LoO7PbRfc1uk/MZ3ioeiZaO5HW\n3gGloYoHR5bHaB8PoOj9//sg13hT8HVlPgn8PWzFjMBxQ0Gum1KtBg65PQnX\npOsjH+0FHMkITh5PA7C8bydHAsCpPGYOVd+BTVO45GoSB3wG29Bnz6Gf3Tid\ns9A8e/Xy4PU+BKmrrFNR5tUaMBeXdR7UaN6UWi+saI13CCK+f6T/gn2UDRAJ\nxAJI88QAAe3xu6Lkv9gEtIlGYLO5cUztPDIttUxiNNyy5hus7oTVnplrsi9z\nmd9TByT04pNqYwtlt2VIwSKre5BqqBr4TB1DMPUFANj/vD5MAgGVEAMcZiO5\neI/Dypgsv/0pRwJZsRv2G9ynKGZdpdw46p6ljX8s+KCmKwVKXiZt1aozUClF\nS+67i91V0DnVndQ1tMiSuqfjmaJwWwoJ7HfGXVjAusa9mhUXsL27MmSXZvUf\nFNsZU6pBr1EqgFoPfU7Zdu0Si8ibfkzjjh8YxBgDrxvHvyZ0Mx7seTypXmEs\nn1qF\r\n=mypv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"9e212f4f8151cc1cc99580a585d0600887e721ea","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.1.1-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.32-css.0","bpk-component-button":"^3.2.11-css.0","bpk-component-spinner":"^3.0.32-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.34-css.0_1580826338113_0.2595337854921622","host":"s3://npm-registry-packages"}},"3.0.35":{"name":"bpk-component-infinite-scroll","version":"3.0.35","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.35","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"983f412946cebcd065d12f40032ed871b6ab919a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.35.tgz","fileCount":14,"integrity":"sha512-AxBeg+wo7ZdZWX0W8bc4BPQs3/o74ZSoFYV4cqbXeqjxL0nQiqItCvaZ9kl59LpSx9JP2wNWVktuL9XEYNnbAg==","signatures":[{"sig":"MEMCIDshdT1B+WyP2Ssh2wQBBmK0Q6zTEAMAAG6jWRhhxlAMAh8y8yOqjTcisHK8xj5zreOpo115EAXo9aP2ROjxUWA+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQnbjCRA9TVsSAnZWagAAlzgP/2xERnaRl0Mc+Dp6ko3g\n+LponQJJOlWW53ce3wgKFm9vHCYNKPI5J1iDZ/hnJyg+wR/Yiu+JPYlZJeit\nBjLynVn0z5w09y4jZmzWiblGlZ2Pq7eJQZ6hhgZVT6rCcGNSVAdSImu8Sr5b\nKH2GyIfgBLZoe5Dh/D5bcBxg9jDSBW8wDyoAKV2OQ33OHfAmS8sH46TZBRq0\nMiuuCVeFXtG1bBixUs63VZvOOPBPipF49TUwjH+7hngK2hzjhat9q2ThCf/h\nulPagTx+Ej6CIPo3SxNwTsHd3tHOfhgASXjrARqa0JCI+4zTqBoC6E/0gEEt\nEA6GQ8SyRHSMsgx+7HtCqh9re4EkDu957yuTUYiGmIeggyWP9hSfX7v26A63\nnyZ0NOObkmUgofvj5EY5uVcUDanPuR5LAQr9Cb95WcA88g2fEh3XDGZIHsPG\na/xpqQkL2NvahafIaUI8ci9Du9/IAhMWxzmWvmRuXQVW7whmZuDVk3Qyk9kL\n8KG9Ahh1Lxi61szzKYaq3mUtKreiBK49dKbIHNNBI4FuQbrQm4w0r72BMI0l\nGI6ok48OrpcAr4XVh5g2TMVmtKt7pcHaBunuEZ6weB0PeMvlfL2YxCoWVqXR\nfs2mFZMwMQVZTRN2NMIIdUq01i+XjLilYF0FqimeUHtVX1Y3ja6Qk8+UzB/q\nboyv\r\n=0bXR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"344c113b61fdc6a281f82ec170595374522f9d8a","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.14.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.1.2","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.33","bpk-component-button":"^3.2.12","bpk-component-spinner":"^3.0.33"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.35_1581414115116_0.018329552874036814","host":"s3://npm-registry-packages"}},"3.0.35-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.35-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.35-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"eec93605ac7e678b1ab79c2d182d7f819962196b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.35-css.0.tgz","fileCount":13,"integrity":"sha512-QRrUA9o1+zo3+Fk1NsS88dQ10llOMEE2WjamXOzRfT6oZUPMCj8SR6JztNgpvn24GK/nkz0AXW66uk+zPhnKFQ==","signatures":[{"sig":"MEUCIEZ9u7+TyR9+p0sAwepGHT7cP1KO5y2OOUnrH4MXQi+eAiEAr13jkVDJ/o7vTNJnsX7sh8zBKPJXgxNqxVKe8pBODwY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQn0cCRA9TVsSAnZWagAA64YQAJ8XgoSiR7WAs3l6xViX\nh/1kqgD8C/U4XKHxkToFqt/vZJX9BCfU4TgehxeoHLFX6GtlOEVdZUIUBLE7\nQBYqYqj3IKuXWaci+Ob/g/cZNRDkrU67bGr9p5OSIRgaaj60XJizpDBHSrbE\nBTccme1qdrZ/WoRtP3foig+UAFUcpi7RnKtLkOCqllcT5FJhsxibdQv+/Yp2\noXtB7DHWtnv8e0f6cdiBU20i5zxpiYwVapxGz710Pwjvg6kwCf1qMwM+rhH3\nTczTwcJksTiPfNU95pah/b1qXvlRG19RgJ36IhCitq4tJ2+5hUA5IrsE0hlN\n4saeTur4LbQDqGX68LuY66pQ+t+129T7noR6BA/CPJ8cFt6X0ZFD8P8AmHai\nuotpwo9QXfYaPoaTP2jW3mqWf1GFRGQ0OXOAAULa3rRP8La0gV8sedkoC5l/\nZmWL4Zn2IYWgwYQ37T7GMPyYs10DZXfEVVxzx7lIfmwcaouT+NO10gGVvF7E\njRISlK5oIQIjMRWPNKsLUNvdtwmFj6HisZ0i+R/iPYmeBeYeiPt50nGfbm7w\ne1EJxXhoHQBpNhK1kFpIxRH1W2p65O/7mqGTod9sXSIN//nVAoy0Hv/yo3Kh\n/9HdUpoqg65QBfXc7B/I3YSBFNpTqqqEjn+AiwMpPxSMRZkwdObYxPzQ8zPs\nAzxg\r\n=qtWw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"344c113b61fdc6a281f82ec170595374522f9d8a","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"bpk-mixins":"^19.1.2-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.33-css.0","bpk-component-button":"^3.2.12-css.0","bpk-component-spinner":"^3.0.33-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.35-css.0_1581415707861_0.5471778325798138","host":"s3://npm-registry-packages"}},"3.0.36":{"name":"bpk-component-infinite-scroll","version":"3.0.36","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.36","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e5420be8adb923f0b9cebee182d783d1df75212a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.36.tgz","fileCount":14,"integrity":"sha512-ya6dkSzm0+v2nIQKfg9xWuURJTzStpNl0IUKjpQ8X5ltAVWE6QaD6tqFclL8hjEQeai8x/tYoq31mLR7u1rI8A==","signatures":[{"sig":"MEUCIB539Bdkta63QvwXfkIj4ySIqNfDldUpgpEdvV4RZkbtAiEAgkvHKRgcgBJxJ7jiBUrMbOxO+ALi6NoEFnxhShKRNls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRBRoCRA9TVsSAnZWagAAw6MP/AiOvKxSGtsKOGf57XSF\nKs1k4OdqyvqRgF6YciRKrjsaqoXJ27HFrFG5lHH9dS2S6qbZhyZmAK7Izku/\nGL464cUy51MJz77fogDYVE8LvUmeMSI4RV0Pra1KD3NNC181iJGrQ918/+CW\nMoVR0FTD9TrAiBwgilT81L7ZcdiGtNk6yq077ryxfj3Cr22gEKuZP5aH30M4\nrWi2bxF6gke33zrmfIC36OA+iN3c6eo7zxxx1Z8X+IHP96RLYqCxalLDeAcb\nPVdjl+R4Juyv0aUaHx9FzSeAcwk1yUg0ZkmBbDa9EPH3vRvcv5tevYdBHhvU\nNww9rvMh6PQ+5XscWxLQD+ZwfgEQR6d4b3+8HSg85bwA/yoEbWa9S9JVQcKI\nWbko87D2P4mT0t8/Jh/ypX5OVdTuMzYAtqozEM6lULZb/3rHWZnMskc8xI2s\nt6wn8M+EMDWPAVtfRpAZqiL/QAV96GjyNrFl5Ng1sqzZ5Dxw9nAGv3bNjQWG\nK0Gv79FjJRQsONdK5QkstX/yDoPUaU0KLV3aDwHTMYLFfbyDAUGGv+UQVjKl\nq7DTVps5gWy/z1S8QV0IzVuF2M50BkMQvJlFTeU8TTrcWB5przmOoiRd8fl6\nDXncIT/sT8CM+H3FF1pAijuIxVRt7pAu9ujtUH7YHaAGsCJMgOx3syhN9oqh\nkrf2\r\n=5TtF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"dbae1565c67af16720e129e9b4b70c8e38d80ceb","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.15.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.15.0","dependencies":{"bpk-mixins":"^19.1.3","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.34","bpk-component-button":"^3.2.13","bpk-component-spinner":"^3.0.34"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.36_1581519974070_0.8354314592158536","host":"s3://npm-registry-packages"}},"3.0.36-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.36-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.36-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4896b115d4896cb6f3dee8d9344ca2b40815c926","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.36-css.0.tgz","fileCount":13,"integrity":"sha512-Zdo1WVML/6K95H/qCRkH52HQev0+ClyPpQGcXv90pYNrIZZm2vzd3/1zA70ya4O2fPaW4FY1UpkrCQJg5Jxixg==","signatures":[{"sig":"MEUCIAd2DGj4ybgKLAUADH6efe1s2b2IliYqYG8hCV6SN1s7AiEAmhftt8Rc2TpTWV9uV15tBj8ZKE6iz+ECaYLQ5OkqSuY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRB+CCRA9TVsSAnZWagAA4zgP/0v5NVgS0WIELJkWL2Jk\nEBC0DZrG55lG5TAlyicOEXUA6+e7ZBDNRyNHnYs4v44Al8Stsi1Yw8+ARCwz\nxcTO/VDQGhhQRP/ESn0183PXHr1CaMTMfRKqXh3KdrfWqsmuhMJDNq6xODCn\nqX9enV1WnYrK/dMY0sWVrXxIs7eO1vJAuoB5gcCY7gKEguXka5hePEu5zkBk\nnhS4N6rvgabtNxnf+J8Q/fMN3V6W4wqfskW9V8U/swOlj2LbRh9lVSagppxY\njNwekrg9GUNLdZDI5sjfHo9LonZwTpEsK4u+2CKOQFleYr3z9TeSoHpEaJW8\nxWs3CS6/YI1ATIdLSM9zzSdcrqeXsCwDg4vjC4V6BuSB7GYCy7gfXc9uFU+W\nl0dyv7mUCg32pM8WhFB0M+yJY3PS9p7/A7ioS/gJYDSBO0O5juMPSgPOBD+m\ntt0XcdgUk6UarcjlecBm+r1hYevWhVwTm34z+1/xpSKbkGC95om/wjIbb5+z\nuLnKI+vftFQBVFjl/5YqONJ614p+5xNEVtt+ceHUz6bKwkuezu+68d3cmP97\neQLzFVVebGPzQf1ZLfr2bVIZ3XGODpAwrb8hIAcd8SPlWI0yiCrkJ0sXeVoS\n0Qm05Z/a2kvIGopaVEc4/5uwJ1aRAaqmMMYwjBbfJo96lgYjLFid7bo2R2EM\n7s2Z\r\n=iqGh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"dbae1565c67af16720e129e9b4b70c8e38d80ceb","_npmUser":{"name":"tiagohngl","email":"tiagohngl@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.15.0","dependencies":{"bpk-mixins":"^19.1.3-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.34-css.0","bpk-component-button":"^3.2.13-css.0","bpk-component-spinner":"^3.0.34-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.36-css.0_1581522810390_0.14941949592559656","host":"s3://npm-registry-packages"}},"3.0.37":{"name":"bpk-component-infinite-scroll","version":"3.0.37","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.37","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0e191340b265a0078b984dd33a6bf35727be79bd","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.37.tgz","fileCount":14,"integrity":"sha512-e01LCrWIMg1U4A31D+PV0v6mdjMfTi22Nv++Y3KT28vWFs74pLH8GYLbWZy9KYqLBxDu77eGvrKESvcaj/yJgQ==","signatures":[{"sig":"MEUCIQCwNKjPCBm2bop9KW6O/eFji5Aj3ShbPnnEA6xsBQxnJAIgNB7EMlfYw+3ChcpbgGN+u72wU74MZsMbQAhNbaCJ03Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVRTkCRA9TVsSAnZWagAA2nAP/jUucxnPlSu4daSd2CWk\nO2xuwPOyRlYtRp4m/PB95iegU0yIrapmw2aAFVhBbJtdhhNgUatRL5sUpG0Y\ndRV+m+pNE7adXmvvECVRy+MpY/daCR/GyFNQ3bc203aTKDfTGhmPx8sPmbbR\nfL+ALC19AxRgQ05iCGGQbO1xFp5qC82gNHKkyjnGJdtr2T6unWYuU/qoPcxV\nOW0L1+5gagvVQGHTKcaksVzhjJWczTAmKCtOTn6bW5LPEIaRdZvUwMWqb/Og\nOJnoSqDBK2Zao0IAcWakVKMmC0ks//wrvUW+GK4Pu5gFu/yCgctnd/B5bWd1\nqBfyN6ubb9RvYWUGXfCZ7/ZEo75ogTTqdupcA96UVPxqHM9HZComeIfhPEPw\nXWL6Ff2oxoJdt6YyObtCBrIsZENMXzs6zpvMZv/Tj8q6wskrbUWdWNYSdDum\nRZYtgWe2vNmNYcyxvHJR7QnV4L2KNKFdCBQLxM4TjondAp4wMmDow6kwp5G1\nuvr/BfULyr5Qyoa4tYbIurpQzCmpMnyNMB5MNcWjJj2gIIpWYcuBrTU21UuL\nRRcVe9SKYIHkIQQaZX35fO5kPUBFMz943WE+zg/stEfZDdxkMcgC3Cn6OdEV\n2sk4tnICT35YFJcdQqTWo59d8jMoFt6LwRq9H9cHMbmZOPqsx7fkXvJJvYJ7\n/KU6\r\n=+XCq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a0e44073774563e4b37a7f5c210dc11048e3d9d8","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"bpk-mixins":"^19.1.4","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.35","bpk-component-button":"^3.2.14","bpk-component-spinner":"^3.0.35"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.37_1582634205375_0.5142775126902432","host":"s3://npm-registry-packages"}},"3.0.37-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.37-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.37-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"50af07e8dd23dfa32c4dc3f17a66c9f6f50175af","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.37-css.0.tgz","fileCount":13,"integrity":"sha512-OGvE1p+B44kByyUF9lBqqVLRY/u7TQ3RqAkS9YTIxS6AbF4Du/xk/ONNX6KlBMBzUmV87qTO0slqDbHLMwBJ6A==","signatures":[{"sig":"MEUCIQDUzd8sFpr2MijdDIfGiZ/PHnniJWI7GHHvMFyqFRVZLQIgaHBW0R6f9r4yvBgwcXuqVkIcbdMbl+qKeZTu7MafB6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVRW4CRA9TVsSAnZWagAAJQYP/3xsMQ5xCl9wGlaUseIx\nmY3MR/EWUbsyldrvnEfgwsgXBRYMYOEnUs0cwLzMQXZH1S28yfewx2shf1Gt\nmyGUVQOANFOCalFbVU4hsYgU6aYFrBs+gExQO6fUklXI3ICBezAdYKx/oNK7\nZ+65XtoIXxiIx9SmKCNCh834rLtyCJ0mzGMjS3VZ0aZdoFdGpd8EtTEBI7sG\nUJRkxSv8eYZGdYMqB8eAE86KrA3F5EotnRslGPYnSCT2yM9bHby3RkIL2dkN\n9jAVU65+AS/p/8xbYVfnwF4gxprzRSvwTmF2vfDE1LdlR+tSyf3LWMu3Nmpj\nyyqLwQzdkh6Hw8qhxp67axgKC6BL0LocloB2WDP/pd8LLhuPb//lg24WNLXr\nyDBsreb7q4hprGOByvApawyXnxC7CtiyxHuUZgiQ08TB4XxvHGgG9IJIYQ6t\nWSzchHEnr7wCN4wIE3p7YkK8tzlo4mZBF+M/n6DncPagI8hqCYQGUQmLOKIR\nstDfXvVDC0f3iGaXE2NJjWZXyBH81pxSrWWQJ/wwHFKxiCcTr/nIwRqNdfCi\nyT+8D+130TaPdSKBBski170+L87Fgqu6X6brs2XioJxYTvmClHt1ikkMliSQ\n808/HIwFd+DIGtD134NqtucAKGwKuVcOR0ByNZOOrZ15hICVHpLgzQ2ulUZk\nW/we\r\n=3O+l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"dbae1565c67af16720e129e9b4b70c8e38d80ceb","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.0","dependencies":{"bpk-mixins":"^19.1.4-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.3-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.35-css.0","bpk-component-button":"^3.2.14-css.0","bpk-component-spinner":"^3.0.35-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.37-css.0_1582634416623_0.012587358427862627","host":"s3://npm-registry-packages"}},"3.0.38":{"name":"bpk-component-infinite-scroll","version":"3.0.38","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.38","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"cbe8f326ef6ef94a0a37adcbedcf9d7ef2e12816","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.38.tgz","fileCount":14,"integrity":"sha512-LoTgqoh7Upw5r89AfEvArDjF5x2d6q/JO4faWMwsAWhPScWmKphZ6E+ToBDOldyPtW0XLB6S6xrOVZyM6FBkzA==","signatures":[{"sig":"MEUCIAYC9SucFCALir43XVFnWxo5PaPnOFeyo9vhl8Ys9P59AiEAqUDOLGVLG0H07IaODGYNpVP49k1KCb4UnCJ2ADh+L6g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZjlkCRA9TVsSAnZWagAAQIsQAJSvmJt0jS8hU2MqiDMe\nx7j81KHuwiq4nJq+lOEnmOUwUcMQIkHZMXkfz6t99vTfxR/fA4jUVtZX+wTZ\nq0MjNQ0Oj08cwrkTdIcRUEb1si3v8rzexE6+HYBjrybizvvWWZuZcy/1J7D0\nShiNqikTntCUF34Xd2DtEJg3toI/9kv7c1aJIivroahiQx+AJb+cmagbz1sj\nHBFmbT+IEhLu8H0RhkTj34rmckO6Dz9FXfVSZULCYR0O4Cq/17vrxy7u+8E6\nDKFC6+p2qF3urXfdqRgTRmdC6HMrTig6UBSlRjMScIbdsQQ8zw/1dyRsJG0d\nLr1Bu5aE8oV035YtxuTJkis3VGwToVcPd7tJWe2IOadm0wAjv7eDTlMnoLdW\nZbmmJKg3tiveidEXjDw7o8r+hqMXc3DsQyUHf3I1yNweji4ogHLqBzYSXeUK\nIPvCfUAs2t6atN5SOPu/4jgM6IPdJpihA3bGdPYRgXn5c3CKI65uqt/8JOM9\n8h8E3alOP6BvqOs+rr3/80NJNuW58vyI+5QYVCxgCjO7E4080hDivLevYcIf\nxP5hxymPClKaQhtEmVj+AQl1CKVHZ6oCx7I1unb3i+/F5ZiNdfN7K4pCTfqX\nz7jcxwbeyOovrlFSnrkr4GEL/p6vTcSCQAXmPDTDIIDu8NpYDp9Z2MzxUOj9\nJTGx\r\n=X+6I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fd8aac0995deaf15bc0b7e3c961eaef040b1d69b","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.5","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.36","bpk-component-button":"^3.2.15","bpk-component-spinner":"^3.0.36"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.38_1583757668353_0.8613368280985472","host":"s3://npm-registry-packages"}},"3.0.38-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.38-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.38-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"39c0ee4856c8c9336a68cfd9fc7b2ddc14f4d197","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.38-css.0.tgz","fileCount":13,"integrity":"sha512-mQKr+MdItiDmtzs0keBvEewMckuR6Zbu4gPmi1HiLRLnkJA+CV78F9gwr3D8wu9Ptc7bqOnE2+wTdS21bjuotg==","signatures":[{"sig":"MEYCIQDY1SQOnjadS3lJG7K3HqM7TTCLjSMpFQe6R5UnwgvpagIhAMKGctxW0XlGT8Wysq8RfxluUlN24EfZlly/gqQRo+JK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZjoxCRA9TVsSAnZWagAAAiMQAJLZMQr2nGRwc7sp0oVT\nRkDy6pYl3Z5Gpv54AON0sZkAH+N3oqrS7Bj5SIB5ERz9bPEDl2IVnZudHERo\nkJhf++IBvUJDXf2Wdm1BrSd/7O3/xYsOayh3dL7mO45bz5ZSgu3vT2I0NwLp\noQS0xXcN9/GdvgJcjXeDt2ash+wdNhoHM/OMgy0b9tMl/cKTRi1yIeTO18gA\niphKwjGjMea354YdugFI1GLzM7jruK4o0dxkfxCek+etywzBMzU74pXItLB/\nvwXyDACUJ8NgY/XCaOdVDbESBWFPLql2NtnL+TbanvC3Fzfle06YnytB3/p2\nr+gQfYVzx12Q5kCE6Vy07DjIEbAd2yBc3OHAZUsLsgYin9ALdm9ZwVU9Xw3a\n4p9hozZlk6NR7gAWvDuIk2TZ8HcTYvoLCGwAAVC9pQW//+jschblB86yOqSA\n9TY9f9knnZ35OLUs3ZU1vNi8aCNApEMfljahKdExsiSif3kmJxZDD6ajjrXw\nq46fxaPZWWytbdg8oI1dpOK53zU3+wok7V9mqiEMp/IgqIEd9NaQSdO/6p+0\nrqOjo+E4apegC55ZU0cfbZfjHmdQ0bNCff+eiwcbuBcv6IxxsXK3JM31d/E/\n/iXNjoaB0MTHij2wDn5NSX9Nfuc7KnxuiKmGFxhznBI1+bOuGam9MP9WJuTn\nj5Cc\r\n=QGlI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"fd8aac0995deaf15bc0b7e3c961eaef040b1d69b","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.5-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.36-css.0","bpk-component-button":"^3.2.15-css.0","bpk-component-spinner":"^3.0.36-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.38-css.0_1583757870625_0.6877571611668511","host":"s3://npm-registry-packages"}},"3.0.39":{"name":"bpk-component-infinite-scroll","version":"3.0.39","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.39","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e30516629710eab0ef6485f91dd136856474187a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.39.tgz","fileCount":14,"integrity":"sha512-JaLAMtIdTLa19OWSymzExNApGBcVlHH0hjRGdZDG7MTNjJCzi8o2J79SUdUS2absMes4tBZHVDzPVpa3Ed6pPw==","signatures":[{"sig":"MEUCIQDoSSrI+UqNaQfBGr7DrcZNgQ3aMixcZrb9d1nuBswS7AIgbNzXl15RxVL7ZPmEQf9tWki56Ax/Fx8m5J33OYkb3oM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeccqXCRA9TVsSAnZWagAAkxIP/32SQtH4M/WA1bYBQ1Ea\nf5LfVn6J6M6vwMlazlzwIYlvvmYOJblHkRP5XDYji8hWi0rIjTT7dD7nXcYm\n5vgcMivIao4oooupo19DStputPG0fMHU5aBqcjDNWMfQoER8obw2Gba7ruh2\n1rrSvi0xa46nU5/HqWNxMvBTj95hS5OT3UGV7aI2QUZ+qwINdtY1N2oqlMfK\n9n1z7DQttIJu1bFCiIQFgEoDK4KHcv4hb6xTfA46Eb2lsPy/jbZftQ9/CT1z\njmBKqt/pYH1+KeLbW9WtupN3KNnbyhqOQtJB/5oagb/r+R0b/z9EgMblYeQU\n+f/S0x3Cdeo8YK2GKvlrJsgYvIBBkDvgelE9JBKyH8scft6Jahu7myLT00Ua\nDw/WFIxMp2VaMZWex7u+v6Ia4DhegLB/Wweet0idv3xsAy1WVZIxPsLK++68\nygGPF/MoTAZxMWMxHxzJIdD9wPGPI59zs7Wfr0yNaRmS3KE2cic/bCq3J5Os\naM8rEVH/zktwb4amMvGFEFZyVWjWEFn8rnzYE3eI4+gGukHpsL0MCxB+OGkr\n7wjcLY4EcCZfy/uVNnMAfXhJMFJJNuPuPbbuJ/bfj2M+7RGMuJfbDZqrQkfo\nI1Cxg/fu+S5w06dk/Lj3hfRlGT40EiO+TDgdsSTAr3S4W5G8BJUsNZutcy+C\nzJEX\r\n=eg+p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7f4bf6e57e2a5973b2152a454022647390b6d70c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.6","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.37","bpk-component-button":"^3.2.16","bpk-component-spinner":"^3.0.37"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.39_1584515735093_0.436345139100629","host":"s3://npm-registry-packages"}},"3.0.39-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.39-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.39-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5b7babf959762856b085d446c72f7f34fd315d4e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.39-css.0.tgz","fileCount":13,"integrity":"sha512-ZCbLOeImmZHFL/T5UcHNJhbDDBuu2UncVeicC87mVmDctuL5Bk+dJNkdW0LvD+pbi2e6xd29NKkWatnencJFKw==","signatures":[{"sig":"MEUCIA6E0gHBeomSP6gvPh4la4YIm615KRAqFHFdFiG5IzGgAiEAntusjtGROIvptQ62cBNkLSh5vU91XXvkEgbJpALPFWA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecdJoCRA9TVsSAnZWagAAlSsP/R4wS29Y0qdBpdDxXx0t\nZe23HnW5UgUAB3onU6QrqWd0VUDeV8/OFnnszPwYF6apffdvOCh66Q0SRHBS\nLjrI6aPdNI/Mc9wwydB0VrMvHrvO1Wq8IzKTp4l5fFhe2I7kmQKrzUihHi61\nXzoxHk7mRx430vaFPIVJMJxcUHdzXsuceWRN6xG8VwwZpWEGqBnfirTyxepL\nFpd0Y6lbrqxvp7wx/wZxAOcfnhnSHWjb0lsOCrgYdjBcN0R5l2dX5z8zhGlJ\nrL4S1BdmI+3EEtz+GZpjtz0TVv5iU7aexaVb8oZOYwd2xTmYwH2kalhtc5Ur\n0CxWGThGxK1Ft8n3RdZ2dqQQUXwurJ3Xg4VVq9YiI9PyNcePCzHktmySCp1N\nOHF5D1ckscT/6EaMy/53q4v/q27z/eKXhSoShYRYrQE0o4o4ISSSCsV6zDpu\nZY2bJR9RpF1kihUMtIC1hVybBB/cOglFCOWegPC9u7n5nsqzOCy494Yjf6Ea\nTt6oQHC0tsRdINDjZw1npa80ki0iT1EtSYG/QTAivBDZeBAuJmJf/wVcNjcJ\nLENTvhKmu5COevHJfzo0YK8UroONZ61IsSnGlIsjyhYQ5PZVaBVT05mha9wZ\n67QHyvxBR8Bm76OM7CgK0FrJyd4Lnth4h1X1VkuVFYUS2F2kJZs7OySTqdHs\n6ulp\r\n=XkjK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"7f4bf6e57e2a5973b2152a454022647390b6d70c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.6-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.37-css.0","bpk-component-button":"^3.2.16-css.0","bpk-component-spinner":"^3.0.37-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.39-css.0_1584517713637_0.012612182023507224","host":"s3://npm-registry-packages"}},"3.0.40":{"name":"bpk-component-infinite-scroll","version":"3.0.40","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.40","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ff48d8cd53e65e343538d73395e1e7a08e86e1fb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.40.tgz","fileCount":14,"integrity":"sha512-hx3gcnkGhNNKKM5ihZC1YOkDgE5A02Nv3+1jJ9U4/yVBmNL5w6vnIYlC0ltQd6HfnCzTUXVc4u/g+4wzA2MveQ==","signatures":[{"sig":"MEQCIG6BYuvPePzKPpEh1qN5VRG5UprQpx7sQllnpAqby9NBAiAFyedsJsQNZ/jYP6ikcRhKJyJKgRjnDrce04KEA9Lmtg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecfUhCRA9TVsSAnZWagAAYgoQAIPDDiCejyLDI5Me7YQA\nVO/Nf91VAxEs50Oa2UFDGbLwm1Y6u4L+uRwtyhcB3umx8AcJxPeygT3sAg8P\niYJbyE7PhvoHEoFkml7OnVYOqS5oBcviDFq3fX9+3gK2m9o3r/EoEH6u8rim\n09QEruzqJjsOPESg6SMKntcIEuljuXSdW0j7kCKS1r7sKRN9YGsxRu4JZY52\nsehVHLgA4PLyVWJbbYLXJZdBdiA1g/JpZUQ4jR2TizC6SqdAY6ZXUIHKFkc9\nFFJk/385IghonFFWP2jGiAHApDizKFzk6LBdSZzgeiZ7lZkuxS1kJVHCvxUt\nU9toHTp9m8Xd0G7a7e6oP4mNDEa5GztsEy4H47xXiMydIKUQzEUyyX7HsUDh\n9x5siZFFfwBDgW4g3ri+MQZEL1RePo2JgEQ7RsVPSAU+7DmrXtH6itJN8n3v\nqF82QfsWw2Mghx1uYSffie6uxemiLQGYp3ORBZjyiflZ3thUEtl4Kz+1Kbbn\nhWhgfGEOlSzn2HOVbz3lLYyYZ8TXV3hVWGDvVKDpV0N1LGQPf0KW43XknVn5\nORO9UnvQeMgLpH2J7W0GK0UvtOuI/0WdE/L/p9QY5boD2+59ZQMIo9j6XgWO\n563mKjFOULP54lqsKTCG/PXp6DQoJwaZG8tmy24LV15hS8YBwNFvzzccCHYL\nC+vb\r\n=ApSK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f6b730e7e9ac0008352c6aada3711c11dd160ce0","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.7","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.38","bpk-component-button":"^3.2.17","bpk-component-spinner":"^3.0.38"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.40_1584526624576_0.08900286075922637","host":"s3://npm-registry-packages"}},"3.0.40-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.40-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.40-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5144443ce97a9ae7208c92e66c0fac15e8bba0e0","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.40-css.0.tgz","fileCount":13,"integrity":"sha512-6gZFFiWPs8htu03tye8tBw9/0zB5AOXFXVq2+IgBYjbZCqdzOzBvUNhbPMkuIVko95T/7sR/6znQtsdc9mRWKg==","signatures":[{"sig":"MEUCIQDbH6CiHKYmHN/kHtvpKQWMy+stii++NjMKbggoUu4rKgIgKR7aRmaqdpsYv1K4JLmu2dMcRGK3PxUlLwJNgH27h+I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecfe4CRA9TVsSAnZWagAAJIMP/3Cox8zBV7bomKh+jLxm\ndQ8U7FGyTXp+5ws5JtMvpdtIySNIUxt7THV0g/BXtBtARZ6mc1jhiQzbjwsE\nuayCzFDa2AjX4bG1egoAXYp5/rJE5OS3I9zBKl+a6dxW2yTSGTWVw1oetVd1\nBhnut5wQSaZIIv/6arELCP44o99NBu9KO/hg8cAN+ktkfwXxjrWMxbcJWGAE\no6zBVLhRiw16STJaLkB77UnfMML4Is/5Z2CKwFH0CRLFclcBSth1kadLBdlA\n30JjFAfVNDfZ4jJn8nQa8/2nx8XAqBmVIlHx/9uMrlRZemHfr4KVMztJACuD\neEh/rSE8dkiWC51glZhAYOPmEjYVtnqSbLpLkBPPqGsRmxsyNT9I/6OM2rIJ\nb+636fBySBbi30ptXOMDWhp0/pf4yNv9MT8HnaQfUmhaImMlGByr7U+xTlqL\nSfQVkXruzLGXoorobhuFg7uXz+EUro4cCN/ymeAwMg6v/IB9591WK8OehMiI\n5HlVMCXiiAJ1XHXq6rkusO3mDwIcRi0dPhHw3PKAF+m4U4m0fOmPzw998oTh\na/2Di096qsQLmJC7zsMgRFP97I2yBlLD+FInG96J/LgJj86Mg3RzC7sHLibp\ncAPtOZz9asL54C8QefdsfZlvldzNIr/raZnkUqW4Jz5Ba8AKug7rKdc9qGJR\nTTKF\r\n=Cpxp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"f6b730e7e9ac0008352c6aada3711c11dd160ce0","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.7-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.38-css.0","bpk-component-button":"^3.2.17-css.0","bpk-component-spinner":"^3.0.38-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.40-css.0_1584527280397_0.498384807304014","host":"s3://npm-registry-packages"}},"3.0.41":{"name":"bpk-component-infinite-scroll","version":"3.0.41","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.41","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"928c4a74e086d4a66bebf226725ac6745f0a2d55","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.41.tgz","fileCount":14,"integrity":"sha512-6YRzH0QM0vKjnem+Fxsl8kC/ecFDBw4snN0jqASaH2m5YFgeg6JpYFg3babVdIBZkWzqwbq0XMBOYRI51/6BoQ==","signatures":[{"sig":"MEUCIQC5dxi3P5foZmzsXj3Ns1whxA2pNxeWYggrdfDFxzi2ugIgDOJuoCsoM0dFRUKNhGQSm0JbpXWYyyNALSRNGIOgPsk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedJeLCRA9TVsSAnZWagAALJQP/01+Aw2nXbmFPomi2Eqi\nhprlW914aVoxcz7b668lVGvt6gF6ngpuUMCC4kszQ1Mt6syG+pCq9S/iaiNa\n+oOvJLxUdb/3jBOazXgUc1dqP29MeFoYDvQPdejV+ng5JPPGI7XJYfa6M22I\nFK6IcbAldlCBzL6cW4KAeHEeeJB7V9zsDeoQTJI+USRMgyTUPvMZ2RA2tclK\n6UY97Nk5kWgSRblNBKaJT9uRwf7u9X0/gYT1+IRh4NYKlC8DhCXhnBA8S9B2\nLvaKswFZKHOJx+OsJV0CqTCrBW9nsBeEVRs0sSGkpEyce7YkRLvYZDFqFjzL\nDaqWGJVBiv2zARqCcMH0Z9bk4tkAhSj9vOeb3w36aQy2KLJFX3dGFcLX5C3Y\nSuWjfYeo35qJVvsCtB3+u99l8bhkiSPMUWiJJpvshLQZULwHJ6xpsb7IWi8W\no5wzPsMj6kMhK5fAnWMxMZLW61hhAMJ1Rb0qVk/YuwzTIte5UdV555LvdsXw\nxFukRJxz+8iRjLG4VfiQJ781QGOnCPojafnahGSwZHiAtlZzDsFktvg8T+Cc\nrJTfk8ieCPPrqIM0rE+SvpZC2bT9vJzqaRBqOHxEASa4XjLGLfmPwqwX2wom\nr47H1LsyJkPPKBz5kMFIxB+zdV9yugv0OwQ0CbZKqXEafRmvSd7AKaMo2uG8\n5GId\r\n=E//H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1b87a1b84cdabaee9e495ef74b39324fd42ba398","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.8","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.39","bpk-component-button":"^3.2.18","bpk-component-spinner":"^3.0.39"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.41_1584699275455_0.9386285679081015","host":"s3://npm-registry-packages"}},"3.0.41-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.41-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.41-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c5a33e0885aaa4e0ca43049268e5ea8ca898f34a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.41-css.0.tgz","fileCount":13,"integrity":"sha512-TmsFBZfqLqDXVB9a6BK5VMmPBjfRZuiImDfE03FdF8p3nLDRPAC6vzOR30+iO82/zyiPhNaknGENcKm+oiCuGg==","signatures":[{"sig":"MEQCIHofR+wenxY8XUqbSXsvbqfUm0+dKtzEiJHJynFJ+GCZAiAnqv3nx3fn6WKNrF8xADGgka5fUtUDaW2uzzZszDjjIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedJqHCRA9TVsSAnZWagAACk8P/3lqueZuoMbfJpnXxQ/u\n+nsI90yn1qnXuLsdDsVlvWdxUYqBTBoQz0qQm4R+J1xC8PnegMvZJ/3dlVxT\nL7dl0WimdpY5dHEq5FX936W8D9d8BE2HhvzYU25cigSwh7ILYlWsQhwKHqsb\nApTGCbOMNu2BO08cZBChVemd8ZDgNCJRa3wikRfl7WNEAQ6aVu9Hx1sxhgKD\nqUvvNQTaPNgJRryZHqRqG0XyQZGPwi+QqH8edPTPUGE0RsPU7Ss/LaDu7Z9o\n4ZX0j0264BKMhA1Yl4V91XCA+lbuBO2LqTMGfdF84OcEYFzqHFb1QYdQ3MGg\nB+RpNtMGin1LpBt67IUduOrS73rW5LpmJkwNrxHJ6MHRuohCdWNEdy3TKwGb\nvfnjUa427HV1Rn6ohqpYp/Xj2WHOkUtwBpPRzetLRTFs3D0orkad4/k0DGOR\n00mK3DJKW0m0lWrRBFGxLaYjqirPM56Tlz0dJmje41V5BOmuPZ82ArS+0231\nFuu3Pe8jG2IE3iT1/IQfH/R1BADukwZiU053FLzSQHBK7fgdn+Ku+wHwxpM5\nolukBRDVcTX0JCPNJP8ccvYnMUe/h+hG+SVFfRTWoXg6Y2x91MZfEj/fIVz5\nRjigJ8d5vi/bIjcP/pXGD0jWNtUZSq3nkSP1eEGtqJ35WSm6N4IL/6CJ1dKn\nhNMJ\r\n=YmrV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1b87a1b84cdabaee9e495ef74b39324fd42ba398","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.2","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.8-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.39-css.0","bpk-component-button":"^3.2.18-css.0","bpk-component-spinner":"^3.0.39-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.41-css.0_1584700031809_0.9038956053707019","host":"s3://npm-registry-packages"}},"3.0.42":{"name":"bpk-component-infinite-scroll","version":"3.0.42","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.42","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4356fd548fcd908e04cac726e5d33a14dba446d3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.42.tgz","fileCount":13,"integrity":"sha512-LBOi/0PkAx6bgllcaYqbC9YOHfZSg6dv5kUXStJjmRYQ38MYe9bAdG2loDe1frWstwU5KAMPvygn+/MeXQ1Fbg==","signatures":[{"sig":"MEUCID4EafFaVyi9L6f3rFaZ9EWYFX/kGY5J2TyUN/mtlkZhAiEAmmyuymdGpv3z/DwO8ZqbxExQreOCZ2412J6R03eH2tY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeiIECRA9TVsSAnZWagAAzmgQAJwuXaUzRQzGmJUH5qUK\nOkseASmN4wb0Xi5c2iU2CpK9nZBgzKHyqAOKoApj8j2PK9E6+005ihQcR0GY\n8E6jh/SGvyvyFoWM32T83+nRMLjuVsSN/132Jg45iYJ6hBEZve6wiVRgwkVN\n3+ZW9NM/1SjUWhcpfL+HLYSYjjdpPUK5XelByUxXT9Ezb3HkDpk4aOY3M4Mf\nYZsBRpjPQrC1cu4JBLplCqN/5ljiQcDiRxQCGt9jm1qz4O3yRnlxi7at2C8h\nxmWtFMYBCL9hLGh3yd7EFtUfuHBLomFzxK816/IgeMMOo+u4yJw33eNM5MJp\njLDJcoBPNkdt6bPsgDMrfempQ9CFa7MDoalXBv/9XZSWZi8LtEG5r1IoBScb\nS1rAeWrYhPAgcOUOa44oQOJkuGgRWKUuXZQij9w2C464AsgPvwq/QRLQKDNW\nW0y7794yZPQwqwJ3ZnVlQ+0dvtZVZUKjEXjzKTi0CGWFvFbWCIc8i4JQEsRP\nnFw2YaECultL70boUHt0roUHa8+b25xPOexhJ5gVbMZknSAfxmccCLpGNalO\nhhG7OONIxAN58NZMatOl2R9z/yTQ4XHT6eISImUiFb6GBT1VUhQoVk3LkiKh\nTfwW0wEOwtB/7uM24zLVbqDDUFQ6Pm1kPASTYRtWyAwpJnC6B0+o3+lbTHSu\nmDvH\r\n=kPZp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1b87a1b84cdabaee9e495ef74b39324fd42ba398","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.9","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.40","bpk-component-button":"^3.2.19","bpk-component-spinner":"^3.0.40"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.42_1585062402067_0.34235772302292666","host":"s3://npm-registry-packages"}},"3.0.42-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.42-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.42-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"461353b49fe6d4352505f79b7ccc5e9c23febd82","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.42-css.0.tgz","fileCount":13,"integrity":"sha512-iPa/3sUJoeWeJNkw6Opq/FSHa264qTBw3UqrewltY7ZaOpKWwTHBwS7rnq73TPmqj2KGPwlPJAshWM3EC/LnPQ==","signatures":[{"sig":"MEUCIQCIou/8A9q35YLXiRteCLyorxOw9cxXJqOMORp+4TI8VwIgcVdjaWyL9sVFdrPgDhZcfCVzq3x6WJraBCldn9dJwpo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeiL1CRA9TVsSAnZWagAAd0wQAIGzZf4zil2UvcIy5epl\nFwINIqlZwQwPOE37uHTlpst67AwILShW0v94uEp9Ze5ufdCUIQcRpOFseMy+\nt+RvVDBmnQHF0MiOIRO8XFMJr/nxQHAtDia0cyvWS9zcPcK5n/GZRn5RFZdF\n+k603uHU/j6OnWf2qkX+7jx1lOzqaM7qo6UV16h10Cty+nuM24DbFCoH+lTF\nKePVMad4Gu8FL+qvXq9rERfQ0P+OGSn42dAZcHWWyJqgsYNhaDCVmoU1aEew\ngBOL4kNYNSg3UQ/2Hz7NF90+rISL13L2ffDRKqxRdCriYujI1PnVh/XUCbzb\nAdnls5uS0z31REK8+EtA8oxXgjWCWE6L5Uh34DozF2X4bxF2ki12OJZw3idW\nWU/kLp6hYqUb3ChrcVZN3vDrG5WoUlBucKXKP9LsK3GnXB91fV8EGHVWUabX\nEYIkYaxvTt1BfNJ+V3ZV/0N+c51PnZV11MK+JopQKfj2dZbme2AVxhvKQcmT\nHX9Ah5ZJM3bYeYHrMDUE18DrlBGpLUh/soI3MrMxcMOK2Kdp/FN7mVpsRQAN\n7NzkS2BYfsgtM9PKpFiqPckbUUgtMFxtpU3Jj+6rH7ze/odMd8/pIW0YKjbO\naXuipyL84hI8LPscxEq9McaIzTwD1QnWwVEcFZ4KN/bL4xkgDw9hzD+YnQKE\nXw+t\r\n=SDhQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"1b87a1b84cdabaee9e495ef74b39324fd42ba398","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.9-css.0","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.40-css.0","bpk-component-button":"^3.2.19-css.0","bpk-component-spinner":"^3.0.40-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.42-css.0_1585062638214_0.44764724360178376","host":"s3://npm-registry-packages"}},"3.0.43":{"name":"bpk-component-infinite-scroll","version":"3.0.43","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.43","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f7a4bd3d22b2ab21f267f9244523e0fdcb4be53e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.43.tgz","fileCount":14,"integrity":"sha512-MS2djB0AWlUTn7va2EigEhUdD23GgJ5xM3qavMUDgcFTJ1DoxcK3gvZLswx0Z8xyik6CH2zLoMr8xU23Ul1ahQ==","signatures":[{"sig":"MEUCICzamXJdCiMzl5AHfnILzCW0YFFGsNTpDyj+S+NWARkPAiEA7Ixr0yIB7KT2FS6fssSrg5qGcZU2krCxeuwG0Iuygtk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegfoVCRA9TVsSAnZWagAA4hwP/2Mb0aHlHAlLQQC4sv3/\nyMqsnBKwPHZmsIu8JomSQDixpbYmkGIHic5qhhqGMNUT6S68oqz4mYtdk4QD\nv+g4AQ6IIUIZjQcaeRa5hKVIHufGe4HINwe6XXzZu93mJRxobMbihQCYZfhd\nGEPWZbr8mBtyhhRrbVvzp1Gw/RZ4nNkfXQSGSQpc9sMOxy2tuXX5Awg/NGK8\nZBIkXTSdepF14yAhvvvSrWBUA0BrQ/Wk0YJzbcBHZtQJM6LZ/HOVr8uM2Caq\n+pxt7Gdvo7DNyRA5k67DwsBYWMoTuCW29A5qCnaFZ1uQsjHdj4pwMrO5l5v/\n2hCID+TcrW+e0iEqKOlva0B3er2WVbTdfdibYd9I1P1i5Zoc5Klh7oxFX7Np\nncV1BdREgoLnW8QJlQCzRI8Pxhe1GhJw2nQiEuatntKAgCMUpd6B8sR3Hq+P\nbQjg0hHRmQXuCBhPFmvueV0bxWP/JY9fmOz/Ait8pvzZ75s5GSI0BnGo+Dkj\nNgRLDP2XZYHhIzyBUgjOsGqKe5Flvv82UcwUHLzcYYe3OZ/cUVWr36hS1E+W\niZo2r0ixjVYXRmoinfiqprIi6meXlM0k/QGr6KIltuvZxEOTPHXq2AKUUq4x\nY9JMgjTFXQQo6Q9t9Pycg+XQW6rb5OmwsGj9u6BJc8nEZPhULi7J9LSHHXC8\nm29P\r\n=jTPJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7c364e32e8806c30265b869c0c195a9eac1763b1","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.10","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.41","bpk-component-button":"^3.2.20","bpk-component-spinner":"^3.0.41"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.43_1585576464434_0.47482484800115476","host":"s3://npm-registry-packages"}},"3.0.44":{"name":"bpk-component-infinite-scroll","version":"3.0.44","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.44","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"df1280da9c12604610f8b67ab0b3d9d3b655af59","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.44.tgz","fileCount":14,"integrity":"sha512-b0gePW8g60tlDHozqdcDzjoTaSipPlu+vAAdGn8xzo/Ie6JN6t+QWArDirCuv8tJzKxuFDbvGRkvHCYpAaURZA==","signatures":[{"sig":"MEUCIQDPu705Rj2bQdHY9jdk729Jp8svhwc9qUritvQI4rVUTAIgV7MABhhA/EMBcPv2MScrsD2rkDpguGRMXzhtre0A8eA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJegftNCRA9TVsSAnZWagAAcJkQAJQAk/R4Q4Ds+o7Hj9Lz\nYzwSDeS2V8JPhKShTm/D+b1o+r5SSnWhiFVVDUsl6TNsAWSkKnTwcgsBmSQN\npwN/PZSkXbHyFZsmf6kEs18F5l3llws1Q232XhccUz+53ZIhPghgHm0Kiu2x\negsq+mY5U98DuiZIx7rY6033KMXYGTYxekXpbJoLunEKHYs7tIz1yj6L76DK\nO4+5GsAiUncaZCLXJ4JO7TeIYm37mOcWvid+AFTi8qj0f49Hg7NSv8qqcrJq\nOlReI+9OYaibYp78LRy8aye3Ud0+BnoeQGsClb1pBiPyowTacEuhuNTsp+lV\nb6zEEaJ26egIKuDFbJrPc9gGy+h9UC01lqbMCjwtF33VfHIolYP6N3/UW/mh\n+Ly6nmeAH5/39+QXqjO8Fle2X39I2xckN7iCYYcojWO93EKfrPYyoRFSUJIQ\nnj77+VNbpe9bM5a7t9rEarwSFnkDYM2LVYDwP/ebw+W4IcHZ7I2gNskeeH7K\nh2/GwnLfH46X+lKoEDndjCKoBTbRHrdy7fcmZPGGSJ9D+BqJjH/nJCB2ekKI\n8Ntqt5pn6yVmYr2LheIOTRMYKX0JwXc8wqGXo8Ykzy8qeRnO7LLQrofpZvtw\nWgPTw+jtutv2fh3ajuKJGsdaOI6F9aFkjM/o/OOl213GHv33uU4OOcilT8aF\n2afi\r\n=HL8b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.11","prop-types":"^15.6.2","bpk-react-utils":"^2.9.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.42","bpk-component-button":"^3.2.21","bpk-component-spinner":"^3.0.42"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.44_1585576781164_0.348226803338487","host":"s3://npm-registry-packages"}},"3.0.45":{"name":"bpk-component-infinite-scroll","version":"3.0.45","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.45","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a92dbb050e5c82be601b6861202fe4258c5e1a84","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.45.tgz","fileCount":14,"integrity":"sha512-fToRz+UADykFhr5D0WfSSLt+fImgTCNze9Nw9dTJ3jZWV4b7OR/LsLoBx0I+M59ZMz/ZcvKh6boTw9YuV6xOBQ==","signatures":[{"sig":"MEUCIQDRoJAxMdpzI8ObadsCPZe+cWsnUXeu/H4pfrvS7FmeiwIgLiBleFU+RoYbKv9FNv31LHUpdSMN1YtXk6vd/4GXxuc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehyjZCRA9TVsSAnZWagAAOA8P/jbZpr57diwrmE4/Bhny\n6e3JbfOfw73iyYN3XxCrMm3SXnRTgzHDTFcktx3yivNgwImozcRdrAZFqSqC\n5w2rlGoVppZ9v03v3PhEw5Ut3dBF1eWAj5B+tQaweTS7Iugq23BvkmRilDYv\ntcx8z/CuEdGT7toeyTpXLkJ4HHT7vzrETOpA1yrsMpKK6bNBJM96ylZdvXuf\nFxkGoBjc0cxs3PvnNHMWIBHWgT6+hIgvUAUxpH0PaaJDrrj5tdrXWcs7yann\nD8BGy1qcrWHDA7x1PUlwp+dRiDLRrF6TdcBLO+h/oqZdM+rRhLA+A82Rb3qb\ne23Vd/3vG2zCbCPRV2z40jFy34VYEkptf/eRFfvBXO4mfE7K1UutKVIWFx0B\ndJxr6eFjQDVV3u7Fh/36wWab1dmuH0hV8VGFuFGdtG/C45C0/dRw3R5WIwl2\nhJMFhQL0ZVj0yGepPOvjXsdXWcutg0wI7PEywG5CYA1sBtEFh0pGiu2xtksV\najSdi0GNiAttmFdeW6d0rpct8sgPEKbAqf2I0RcC2P/OwAyc/MHsfQlrhyb7\nGWXWhSnvRM1D7HXWS8V60tUxVUS6QlwCyD7P8fwt33rRXzHxuZSbKOGAkHro\nD4vKRXMhxzxmOysOgpCgscnZXqz3lmvSLyDcAUZwT7qIn0lB1PWAv4nNw8HX\n04f9\r\n=Ek5H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ea12b9877eac3b1de88f321c0289fac1d9d07631","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.12","prop-types":"^15.6.2","bpk-react-utils":"^3.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.43","bpk-component-button":"^3.2.22","bpk-component-spinner":"^3.0.43"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.45_1585916120921_0.8004275938087113","host":"s3://npm-registry-packages"}},"3.0.45-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.45-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.45-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ec93bc7eb97e7bd162debc862168773dfc030981","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.45-css.0.tgz","fileCount":13,"integrity":"sha512-LgLC6SN4Cr0xX9dnhG9qCIXk7NU+VQtWLhxtRXleUx3JVYN8hNyJm6xl582MszbtCG/gCWtWBp6lycp/3JdkDg==","signatures":[{"sig":"MEUCIQDNKK5ghq7xV/CN9zTl+Sp5w6xvTxJSGb3PZJoRgi6cYgIgBOIvWO74E6N6WnnSewupY9k6UuDfYt+yIueHil4C6+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehymICRA9TVsSAnZWagAA0WEP+QF1O5zirGM0kT4Axdsc\negjhkRJ7CG3Jujq+4hS7ifDDQXf4zwtQJLn2vqnPy+BHZQe5+YzcDynYxSjW\noePaAYQ+wDgfovhuzzj1tjT0IAVjW8lKra0vt1mcoMNaqI0tEZHD+Y/tHQeC\nDEqFnqmrKbWZXfBRIeNc0Gxaonk3yxEkbtWCjidAOXhCrUCmDE2EimVk4ixp\nZVtvrYZiOJSUhMPk6slOIURZ0FHKm1suLjPOpM4oyyic0NVENyFtoeu1k1xh\nByS3Vk92dkUIdSss+cl2uSPwTcmO8kMPtpeQ7wLJYmbGGx2ScaJGL97ioyhP\nOtmfF8Tq86TkuGY/WLUQpASaNkQtDXqnDP1YcQYuGzZ/JMyt2/M0gzFVf5oQ\n76ksmR2cHObtUupthclszkocjNWlpAzWAeFN6gswHrj/+k4tLCU3ChjuhEC4\nu+puOU7EeMGHwtSlI7/8q/tYuYmJISoKyO6898zEGXIEVoVjbWGOvaIkTc+c\naf3oqo74uPuhIU+2WwEfw5Q++xRY/d9ksXuLEO42NdGONzBot9aKST1McboR\nCpC/mxIp1gbzxhk1FtYZrT82KPB0wYzSfZlJSVESzSCE90rV4AKtyNYl9hMd\nhU8RcTPHBufQqGoMUuN+pQMmJQPGNNw0HsuHbkHzITEwLVHXDX7sFNJAqLTQ\ny7d5\r\n=mpvv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.12-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.0-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.43-css.0","bpk-component-button":"^3.2.22-css.0","bpk-component-spinner":"^3.0.43-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.45-css.0_1585916294420_0.9348677852077747","host":"s3://npm-registry-packages"}},"3.0.46":{"name":"bpk-component-infinite-scroll","version":"3.0.46","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.46","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"36befb49b8097da9942815ab762a3e31c471a182","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.46.tgz","fileCount":14,"integrity":"sha512-7bTTPxsMdlng3q07gfr8/jllEd2TQTiyCG0TbCi0a0idwbBLfw73sR2955NJx92s1lYt1JE5/CYLb3hOQWD4Mw==","signatures":[{"sig":"MEQCIC99IdfjcAldaq6QLpETjRzj7oLf9aF3kgmR+WNlL03MAiAlgRohkHnXqQbPCNYHQUeNcyk9M03f+B1XU7pCKy3wOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeitxGCRA9TVsSAnZWagAAlJ8QAJE1xqN+4SUxanpTdqZD\nKWsbbuZk5BG5ZgHKyLM/CDycW8+5jvDJwCm2RY9yuJ2XjGIjRrWkFqC12rSJ\n/7/GBFN5h9GzRskycvApxOx+hIrB0rhfnuBDy2IQfBqxqOqdPGds3nuSYo24\nStH8mlTM/E+k6XPS7H1qo30xXIOHiTztZFywAa+NSLkKc6m925qNy1raQ0t9\ntS6cany1ZryzCERW4/dPcmgZrs8+iMLjY4vbEiE1Rwqn9KLJ4+nZc/d8eqMY\nG3Ssm5bTY01oA2An/3w7P66iXaWXsu/cOsbT+uZxWTNic2IGse/QddUcUFyS\ng24pIP95oIqUQSS0k0NNtmWA+849WqtLELZye7Pa4DIqxVsS11+hgJxMRixG\nXlqLU07U/tz63MGn3f9cvD9E+QVqe2b9RgGYcZy5jLSy9Gfam848d72KQzZT\nJxoEleCcoOR9m3NrKIASL+Rn5uBh+7HykUZbK3LyQB99MlqeWs+phaX8Dp8C\nr+tMVqt7knmyzY6auhlyXAAMty1gLVzyH0ZuYC2w2brBK+KaZ/CmlKo/jNS/\nsNyUhxh8s+EsnYKJpyBfCP5NokZVUMvzZyZXcFEJBpmIltdlT7Fp0v7xeyHA\nEzFISW2qrh6T7pVjMi0YMQwxmI/78Jzpx7GVwu+XpmkF7OxU3LwgJm9QlInh\nSYd/\r\n=tBke\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c4be72ca704ab3cf0b28c8a1d4349a7bea7b59bd","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.13","prop-types":"^15.6.2","bpk-react-utils":"^3.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.44","bpk-component-button":"^3.2.23","bpk-component-spinner":"^3.0.44"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.46_1586158661799_0.4006964727684257","host":"s3://npm-registry-packages"}},"3.0.46-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.46-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.46-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"92774c7a9b506023ae7d3c65e2665c6eb4feb400","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.46-css.0.tgz","fileCount":13,"integrity":"sha512-6I0FVthqkx5t7eEUKiXaZJvz7iH6yEYb6xkbVs1dW94hcW4sxQijICCobZXlx68l1UTJg+CjYg4jFRc4Oy8kAg==","signatures":[{"sig":"MEUCIQDUOCxVFKFxLWYW5BQk4hrfoApygHzf30Zv7GfGPQivTgIgXpq5Q3lH8YVI4+IhyBiWVVVBae7Svgy73c8QyP9Y1k0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeitztCRA9TVsSAnZWagAA1QMP/24D5QHpk5twR93nBllE\nDOT2+vHNv6QSyrOFmrqwdK1+g2MfCAQOxMOmfbFDpZhtBOKz+5igijq+Sk6S\nr3PaiVAb99LmTYXmO8u1OiNfvJUhliiBrDlRO9L5AFdcfzWDWEmcWqdLmqmv\nAkl4JSwdlkavVE4LzMf292IzU6aAzaycy/SaCTSkPjg12hxYcqxjpNJB6tgw\nqsOD7eCVEXYywixriDnKk57IYOFPfBcj2nDop0m55GMrpatd5qCukwaBc3Oa\nvS4JTw5Oe7tWdN8MBxwYcGG2xccJBV5leQJ2V9nah6hC/G303weq3AbbEnIG\nt1zPKtsuHE1Uy/G956IRdep8DUpcjExiS4NcGaq51TiMTPXuzrzZ0KdCE4qA\nRpLSS8/ojEYmyuy+chU/dvlg43+U0nPiW69XP3cVSqn2b3tWFjuq7+Qzs7yj\nuZKp/DV6sOUoJHu5vQ57ZQmjy0LovHZnOMGhiOIRLv2YnLxZjEjW/sPjUBZ8\nwjPT+9yWOlJyN4qTXB7qWVwrOrLf65EvYN2ejoyW+UnYC0JfhunBnysU1fOa\nFSyr47TZAQMbv9uuLQV8gZmJylCwxuQz9/ycDWfmuGNHjLSmkB1mUppRVWgE\nIC525lIhHKXMWc1xh832ExR/zwWn/XlPylDSpHKgaaEqGPJGtxTo7gImYytt\nJ/jQ\r\n=l6nD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.13-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.0-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.44-css.0","bpk-component-button":"^3.2.23-css.0","bpk-component-spinner":"^3.0.44-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.46-css.0_1586158828659_0.24117779065402623","host":"s3://npm-registry-packages"}},"3.0.47":{"name":"bpk-component-infinite-scroll","version":"3.0.47","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.47","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0777563cbf8e8074b8df32435f07574fca0545e6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.47.tgz","fileCount":14,"integrity":"sha512-cLb3izUI3dfqm2lASG91Ie4XrqIkhsXmIbEffFaYg6wIfhtFKpZPe0lrBGj0B1OLrKTDS2haCnnqeaMs92tLcQ==","signatures":[{"sig":"MEUCIHeH98fsd5iSpmSVbVgkG++OTAPFv4TqUIcQDRzOD+HBAiEAp60O9AVgLmR1THQRpZpEIImc9kgQ2YVbz55zFvC69Ik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeja9NCRA9TVsSAnZWagAAx5gP/2YiZL/eSlcdoLwo+oi6\nzlcvwBC+pIfygb5HF6V1FnvYmo3tPYuV1s4m/5CKL5iYzW8zlJPgYbOoRDl0\n1f39F0qrYC7/T7hV9tGCn4sqCh5ZuF2tNStygIzKgRWjJdXzieE0FofJ0j67\nlR6CEay2HbORxLni003lXXV0EAiPN/WyLTa1CQKCEpF/Jj5gCKeHEf7w3djL\nqGJ23af9I+FRIzN2mvmnNAXnQ8G4mtFRlgaAyCG795OCmWa58p3i3FY1D8ol\ngYdJkL/3TAK9Xgu2WI/PRjmXWPBmSAFZcwMWvYaQ9XBsicSS7tYwwR1mBTmW\nGzp3E5mUGdECQX2U+UrIGSugCeBr16HIFivMcWFW5XTy8nTlJcSwGuivJD1L\nBzqSUCqlZXUy253D/GNhUJVnCBnYJQn76gsawBnwCQ6uaCsWC0CtfqQCT71l\nUjMS9lH3u5OLOD14+SpFwMt24zanoLMwRu3vTAgDiM9sYCi+k3leo8I/6w3v\nEjDU++cPI+BUzvFljs1otFN+1yMG/kKTmOOybbaLrf+Mr1u/DaNpYRnu536y\n9OefSEJCGnOTZcUjwz7kOLme0C7xAfkdVBywh8SHEtqN3+7mwNDHlrMWZC1a\n6srVcvc1On9u7K7xvYtks9Fz7AISOZlj6fVUzZizVkVplzHeqCsabgUpf/cN\neGMl\r\n=qebK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"546e5a4762f36fddbba30f69a272017d9aa6c3c0","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.14","prop-types":"^15.6.2","bpk-react-utils":"^3.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.45","bpk-component-button":"^3.2.24","bpk-component-spinner":"^3.0.45"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.47_1586343757544_0.932858581287739","host":"s3://npm-registry-packages"}},"3.0.47-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.47-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.47-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2583ed69b8696679df412acc644cc6fd61b20f75","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.47-css.0.tgz","fileCount":13,"integrity":"sha512-t1knFgHqZ95DA3y/FE0wq0PcJdpzu8aCezxi1r4iBbTbg9kqsyyPKLyAG2oOVopHLuLMW0S8gc5zgQTXq4jQUQ==","signatures":[{"sig":"MEQCIFWmZNZM2CSNZgFabqqc1Hc8Ef/56Wc/octA9E5h7XA/AiBNoVLhd3WOkM7AP/DbXeS4q3CkOTDs8M98fsGQ0F872A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeja++CRA9TVsSAnZWagAAGVgQAIbHuIRLz2FZry5B2eaX\nTxw+lBnRIKcSkNK/GdHc04sQG72YN9QZuVrAWoC5wDh6ORch2D4sWi2WplDi\n+btLeI+Bn9o3BsktOh5kaAga1AN2dT+M5+CM6XXT0sToPYlMRZniZ7Kpf3f4\nNK32IfRJ48gFbeMgr4g4OPxZdDsJ+nFrpuvZB1+SWpIwp2cYFgFVfv+DnoS8\nySrrbV5Hl7o+wdFPwzYMq2zCzoEMN4EP2QBvHsdkEx/gt4flzf86atCeIcPG\nHJId8vMhIgzhLs+PbZWeRCE70hiOo2Qfqg9tdyTB7JB8J4ZEzKpQqqQd+tvp\nwErW7U9FHIqvNCXJXwNZ5jIpj3XXhkJW6zuPaFc7Q5PngpQ1WJi/kBEiUeAG\nhJotAsU62dsJrbsDQKEhU0JgvK/eJrs16qr3AhRLi/4FhbMaJVKxMqtmdFvy\nIUL69Df0peC5JVyMGaiaaLGCDkJrN7PzAUftVwBzU60X5oCyNB9W48x/Ku3F\nNB8gLXyqnu5zEE34VVUvWsOnfGdk53s41I02wAhmw/FS+IvGSg2ATFWn6Lmz\neYnfjQ5BuvnqGdHDOYqq554BekNZN3SuCUogwqIEdiwx+58KFdfFjciHi+fG\nIm/rK/E/Z+h/90myq6LbG+vp0zriGblr7QgWwOHw1/wKhQzMSha/cEXgsfcP\nKh5g\r\n=5vtW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.14-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.1-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.45-css.0","bpk-component-button":"^3.2.24-css.0","bpk-component-spinner":"^3.0.45-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.47-css.0_1586343869156_0.5074683885786901","host":"s3://npm-registry-packages"}},"3.0.48":{"name":"bpk-component-infinite-scroll","version":"3.0.48","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.48","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"68cab995747da51851783b5493216cba0986825b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.48.tgz","fileCount":14,"integrity":"sha512-3xRi1niFjTBOLl/3iEluO520pt6Xw2JeIjgR9USCE1XZLK5qAPRwIFr8mWZaszypRq5TQkR66ZmAQl7MU8sjIA==","signatures":[{"sig":"MEQCIGR7F3/WKAhRNZXLoyPIlUk4/AF2A6kcTq9g6WLAX4raAiBreB1iyQ+EuF+EAOnl0bkCHuIcY7pEpGcoxyYXCj09ow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejwB5CRA9TVsSAnZWagAAhTgP/RVfhs1TyTzp6pugCvVm\nBr7Rv0ZpP4vIb7nt4oy7UeMHCfGjNY8LYYz4URl6c0CUdLdzVvjeNe5mHume\nc83evz1Smtw93LlsVld+PNo4Nj9pR8xRedXMPTLzxoaGvxG/UYOkV4memp0K\nUfZvzk8oxUvuFnWvJTs2q2qADsQNTWjyrskAKVsw+oVJupHIBLKUCmlwNWdM\nfuZ3fi4nc4x0ufxzU3oyWNGrGconDOjlPXNUWRSNMT4w+Ouf3kK7Gqi/1K6v\ngoJ9MGO6J+lpAZPqOKVxhGXMvBTcTOZf7b1hxPzgDnpFpmnAYEHeW5aIKYzU\nsxalnnlB6Ekobr0M+COQxdSPIFcImeIyzG+dU1YHh8Rn0IQRHvrzMm31LVw+\nzCMVXbHvChDYWIM17+7qpmP2bsL8ZAXrE9JjvAb1ucC4QLrnCTqFUfPwHUcg\nXhznpCqw1FXWgwLX84mJ0AgxoXN9eP6JJ44pvz4goi73xUIm94ZbUg+4t3cj\n7kvV1hY3Jn7uFTknVv4+fDZquBlwGjJpV1vitsU/UOp6+LFODFatr5VDSO+D\nJg6rnrGWW2g2PR3ErY6SwOi1Z/ivlBacAOZ5/zwBnCg60WVkianJ9Ij5+RLD\nnus9PfSLzC1m/P28AQeeU8oiK4RU882HdFgkDidw/Mt0y945deUeLa/UvqTr\nZzhU\r\n=DGyM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"60af337ff441b128ec9e0123939993a5e49cf0f0","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.15","prop-types":"^15.6.2","bpk-react-utils":"^3.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.46","bpk-component-button":"^3.2.25","bpk-component-spinner":"^3.0.46"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.48_1586430073190_0.0817092415904972","host":"s3://npm-registry-packages"}},"3.0.48-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.48-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.48-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"08f395528a46e82695ac72ae5b03d810d3304aba","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.48-css.0.tgz","fileCount":13,"integrity":"sha512-rwusfeDiI1qq2mI5Rxz5qGBMzN12PN6UuDSuSLTvkRuLXDByPlotXGf6qwDqATwY0HCuXZC+pEFYt/GDqzYg8g==","signatures":[{"sig":"MEUCIQClN7o1QkShplwYZTtPT9vnf4zVtG6JyDHDeK+SYtnGpgIgD1zyAUWOvZXhaGg7qSpnAyaDIgSgXqIVWPv0FcU2EUA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejwEdCRA9TVsSAnZWagAA6FEQAJjV7oOUhI0rsK4Re3NK\n3G4dNC5QVYHxRS2Z4OQ/cnlzwLWHAU5GMj9mL+6PHr/Z285td6jAVMRetj3N\nxEHBtphMuG8JzBJjYzMUL95maBqBIptd1dEgzqGL2dlGstQsi7xlI1IsTbAW\nehsPF84y8XzehZ2SbX7hWGriSyNDc7z5QEIrCaxnHB5hd3JI1rRIvW5DOhTz\nqLlSD8ek9Qv7Im6EkeA/cvhHZrHaLeRsfd1kQI4FA1HOfjXEezU7pEiiOv3Q\nazkMyiTlutAuWpSgl6dTTDafgwr/pMgQmP32T6aFqmB8Lw12aqHWVrH/dRvS\nQG545w39ig/UVOnN6zmsu1kDHAzBRJXVq2HL7aU2idCrUvsfc1QmKDfLdxE8\n4jhMB/SRhSyrFp8jC+H5Cxe8KZSLM1YZwk6qUzd9PH6N0smUXuPtz8q/u7t/\n5RH0Xfv6BErYiTg1E+6kK0CABoQjxdJO4mZTIiMVDsx6IoqG5Spt+Woc89y2\nnCnIFOKizpDMzJxBIKKzAyeemQN/zLOmdSID0RDq5o9gtUvruY3o9NIujvhT\nYgsGjEeP0/ePyIYtYVuJkss3LxAILygVFNLkuh5b4eGIex86mWxaNdKoswCy\nihJBhb4nRWPXm6iNKKhMo73p9d4VIB8KUQ4cIzuTmMrBxetq2knLst3b5kaT\nQaQs\r\n=N6wJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.15-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.1-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.46-css.0","bpk-component-button":"^3.2.25-css.0","bpk-component-spinner":"^3.0.46-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.48-css.0_1586430216652_0.8445534598186069","host":"s3://npm-registry-packages"}},"3.0.49":{"name":"bpk-component-infinite-scroll","version":"3.0.49","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.49","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7ebf810973804cf6c163a0a41bb0839f7438627c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.49.tgz","fileCount":13,"integrity":"sha512-5R8ZKFOFBk0Ne0VSZCSMJ7mpsSpNNTJegUCaCP1oc2AgbMkSKKTPDzl0oxaEHjsREKcyUSp5DQGDwGvoPXhWgw==","signatures":[{"sig":"MEQCIGi/b1pM5PLVdMv00L2hRWV2TuxAA7/evzeSnUoZU86QAiBTeKbdReBCkjK7X/PQeoqh8FrNt2dSoLKSe3RAmL9/5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerBQ9CRA9TVsSAnZWagAASpYP/350xAgjdQBFJ3u6hwZG\nXzWE41a0dhZFlah+i1nAqjTKk/Ib4BgB0EotTSd3P0G69zovetIuiAMn/FJ/\nN0w5OR1fVZYdbIIyE0dcTLNZ4x86/0VIfUT6KybHrasMf3eve5Ib9ozE6KLE\nKmhL4yRwC5RAA1f2jRc6KW+vE5nhL4qDcP4SBAcZs7nZYJoUc24zVGC5q03h\n995ObIjd1JRMg0ifFOnD0+nEAGTSaYagjiEkSwNHhXvY67BFaFNwKYO3OfK6\nz5OK7FtpEG2XH1SbkqCOGHB9k4WI1H+prDt51DAmAVgXyhx4xovIi2NlprQx\n8zCvQuNh3pjJqOm6qpYg0FaIEub1aoJLC25GuJeIqVKjMd3yzKKL0Rxw9Hra\n8bI1+3CDyg9sG4ZvD0ufWl10vAKNRhcjigoI2AOTj7W6LmB3cvSSiN5OATA+\nY9fGg7MAKdgVaeIB6v3b7FqFdLSz/dssabSb1m0UVX4eGI56F8+3UY2HFXIB\nbCvRTDBqeJui2J8KZsjxiUzvfefo8vkqt8Goqley0Gr7dHCLMSk1gCpT3JRx\n3jP5FxZnvFRPgQjNlYUnFncuCfXqNKs5RIKKcuVhR3sI6YpbgRgWpTVHTo4N\nUeDq8ibB0Hl5vhmXjOQCVKsRIaczXFfZv8urh2V5SCwWMAw0+Ckcf1SRnBYt\nNadn\r\n=/u7l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.2","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.16","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.47","bpk-component-button":"^3.2.26","bpk-component-spinner":"^3.0.47"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.49_1588335677531_0.13447790635684465","host":"s3://npm-registry-packages"}},"3.0.49-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.49-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.49-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"bedcaa1606810d790e50f15d999dc6116c4fb783","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.49-css.0.tgz","fileCount":13,"integrity":"sha512-IGRsbCeKNcCpYPQTklr2cDrP4sb+N4qemHGHNGZN2p5BJcI1SNPXEy1eVDg3T80Y/qMUz8MhyncY9bm1QUy5ig==","signatures":[{"sig":"MEQCID7IBcYqPSEpef6RVi5RIeHlj1qw6fk/y1NQQINHvtHrAiBsHePX17/rh9IqCMK81SEA3EgPLIx5OaxV/24iZgdkFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerBUUCRA9TVsSAnZWagAAwyIP/RcVMUlMtatDIEaCcXnG\nfXwuN9MrEBLGLTvBwCixpoBRqqwLkUdAvX9QX4nQg4taT+2O2b2r8bgmtgEz\nMaNGIBpxL6JW+uRJWqtHXNsHvhkiN3xouCuZij1NDK4qyPjQHIeJuiZxwiJh\no1mBGdoiN1zeFhEyrxUGr7oGKF3aB8SRcGSkDtTYQxBwYWZQ9RF9mEGgKdfx\nvkYlsh4AEaPiCuIEKU/m788IpPepkXLs646S913SHoK2DMe7WDVFiE3aLwVl\nFu3AAHPlqtV5jUCvZ6oLHNMm5cOBBEBt2M0pHq8K3WN+wcJDb7v7MDpD/p7q\niph04qKVTiz7nukdVNiXaba5YQLn2utj/Yp9B0knnc3xBwLTf4YMLvGmb28q\nhO5kQJLhp7uJQvoPhRoHdJVCEP3CyVquHuqTZIRDtDSF1GX/zycUARz43fo6\ns0lK8J1eA6NRbXkaXE0Y1n0666UL42QXDqA8fi89+66lpFXqBgi6yhhLUPL9\nlNOOx2kwqDXPGGmbkDtjAwtoMZk8gTZadipvKAg+sFKlzTgLMNBvI7z4DjN4\nl+C76JO3mvPzki3sE9Lec2gLVQRwjMj8qk06kxcR1nU7BbusGvbAARY7iRx9\naCWUNB/GAegZNYYOVocZqh/ekRk5GFjxEuHnAiYa/u/1loXoNNlCmd7t5hRC\n3k6N\r\n=se7q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.2","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.16-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.47-css.0","bpk-component-button":"^3.2.26-css.0","bpk-component-spinner":"^3.0.47-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.49-css.0_1588335877402_0.49526875776492396","host":"s3://npm-registry-packages"}},"3.0.50":{"name":"bpk-component-infinite-scroll","version":"3.0.50","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.50","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a77b5077e1a1e0c4a4ff4bd9629789a00a90f9fc","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.50.tgz","fileCount":14,"integrity":"sha512-o4mO7wffPbHgOsyFJbCXXFeBGIeFjwkucVj/9zcRUjYmANvMX/AUxSMgtSlc9XYZl7Mz+/QrjZpJRuqXWjP2SA==","signatures":[{"sig":"MEUCIQD4HtCMUzf4ckDFC0dG3oWw9f1nbXMR6VwPYakZfwzLqQIgUNbBrilssszVKSQ0I8NL30Jz/X/8XqSUyA8lw1do1KM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesp53CRA9TVsSAnZWagAACyEP/3FXPouNADdlIhN1CCT4\n6Y+uGdmgrHxhbWJOFdfMPhiGRNSsjjXHFgAB32gUh0jl0u4+FrGZRRvzsdlA\ntNlX/xTcRoHKpUjcwA3wZvtGriNKWv4FSGG/tTgdWmvihO6aNY8OH2SBEUMN\nOhZjWUUE56BlYnCP03eEH1TAMAE9+EwhqRXN6DPRPfWdXRf3vg5aqT+y5KO9\nbyT4LBkLHsWfakBxCGQY0CKjRYe529Dgn+awsVE5H7SPEiLUeU/fgcEed6Nn\nQORznWQSjrQRHuPQnYf+wFTJM5zSd7DGFVMm4twwd2Q/6Dxzrg4ZAbb6BlxD\n+5lL4je1cmCh5oKisoAp5UDxM8/mPLFUgiEJ57Oc11xNDysG8IBp2rhSpWmI\ntqWMBVPPJritUasZqBNuJ5gCL8TNNE6FXdq6wo2Mi0Nosk6GYvf4wN9AN4i9\nVZSANByq2afEeyiIkWERlRZM5fflIBWNAlAThyVMIyQ+Kao9RVkOv8NOeWJe\nxX16q3UpG/pF1IEzXF8xEF6WuXtOLtw6z7EN+zISHAo6VS0VJD28OuiHKS6H\nek3EevcOJjwA88ha1P6Y6GsAbkdu83Vun5qmDKPIObc627TSQLSvD06nVT9W\nozd7L12ac2Mi7S1Jf3A8aNlShDrCltZrmpoNddkdeqc2uSlmnpgiV+DLMQNF\nqGSd\r\n=CnbU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5e17b35a3faf38935d06d4fcf8df7fed1f181085","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.17","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.48","bpk-component-button":"^3.2.27","bpk-component-spinner":"^3.0.48"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.50_1588764279102_0.481340926310295","host":"s3://npm-registry-packages"}},"3.0.50-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.50-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.50-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5a8265eeb21b27372c36ee533332e764f3221b52","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.50-css.0.tgz","fileCount":13,"integrity":"sha512-C8TTL6cEKgHElzEQV6RwytK9Okd6WEGBNL4fwWXjQB/uQr16/9qjff1JeQDE20/8T0VOfa1inNCgUW4rENVrxA==","signatures":[{"sig":"MEUCIA93lxNQQofy7+AsCWQwPREQET3kq7XJ9svX74H09b6EAiEAofj7c58iRXkfah8gJNW2G/7hImDs0h3YGWv/O7eLpgQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesp9nCRA9TVsSAnZWagAAuWwQAID6WwwSI6NzcekRjRR0\nxbgG1bKMD7Z92MJffRxwYUwC/ke11cn2583V0toUs7b4FHvoM2fCVN1hV/mt\ntDx+m0P+taJ+v+kxLoX+/GhN2XDWvwWKytO1we7TISNZ6bRwl68R/i8d7quP\noZ1wb74triVG4ujUjZ6tdG3/6F4FRwkzpXgf02+yg9mpY5f5bYo8j1ifGO97\n4Xz84KSNvqFkv7+Ym4qoE2iogK0Ec638MdOmzdwIl8Y8aBFqZ+9bcITKXLmz\nDseJcwXjSgVOMFLhP/0KjL/iZP3VMddT3GUEe/uzdy6ew6oDzeQ7LkSsdL8t\nWsavI1V9Vs8MX3dNkT2eDlHtnIfkFMTN0YaUO+0GOuSX+wUsvjwRsG9VUTvf\n0cO0WiXqgvs8c3u284NimJ+2tG6FFfON6Ejpr/aZ1y1iXlBQ1g8rI33BrzdI\njjYp06HARYip6l/SOmU0hJe6ULeM5qxkbB4eXFIJFCazIBTi27dGTDecxQ5H\n558X/qwt7eNT5fGv7yKIs/cwZSTc8aRrH2kuqQ2RSXbpGP+hSTdPxFLjYT1e\nkhlPD2K4MJ9lmgGhhWT1SBBnGKKizcR2DL3SeYNrcoXMcK8PKiutwFsVPYcG\naRKmIg9ct5j7fMPp/bXsLsLD7WfAKXshgrP7Nud7ic0Fj3fVGSzba9LcZAxz\nWz7K\r\n=hwss\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.17-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.48-css.0","bpk-component-button":"^3.2.27-css.0","bpk-component-spinner":"^3.0.48-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.50-css.0_1588764513428_0.3586691677949809","host":"s3://npm-registry-packages"}},"3.0.51":{"name":"bpk-component-infinite-scroll","version":"3.0.51","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.51","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8be1c3593c9986a7c2d3217521d7e45b4a542c70","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.51.tgz","fileCount":14,"integrity":"sha512-jVoPVbz8Ty1mF/FVowzushNppTpuZhJFSzgOj3HWB7ozm68y+gD6etO5HtvmaRWb76vMUSRJw28LJKHZJeWMKw==","signatures":[{"sig":"MEUCIQDXpmzDxjyn7tAfesp+pCbzi8XHiEGHbj+psR+ahZovoQIgE1bLxA+6ew9cptpdcrKT9HiFG0LKS2Dn+uXF/WeGf00=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJes8dNCRA9TVsSAnZWagAABQ4P/jv0EW8deVtlbffvDml2\nuKNPwLpKnpIINiiN3/PLFSPgFjyLpmHPiKgZwfN/KR4B/qjZ3f9O6+4cho/n\nfTy76khaA7L6RLhqBVlyrnAadJw0t1TgdavElOXcCOM7HrH8lyY+kvrRhkuV\nNouWjaJGMDMktd0a3qVS+JPNsu18afg2ylCimJjzVF3RTZ3X5AqImPkfFBtQ\nqZCGZi5G1W9/vSDXh6V4MoVolW5qdw+Hm57tpnw5eR3NrNaWkB0JmXxSdSRg\nWacmD6s2yiNRSHYp5KTX6TFZ8jcrRFNcwSdDl3eqmP9nztkdmHl6nav4F2dL\ncIyXjGgnqtVllDW8Pgq2CLJ9OwiWlAHZt4QK7BwdRfiWDscUAMImPfIojme5\nhtQYxSgTTD5hTrBgF6ODFg8VAGPHYgXFQrs/Giq7ho9jwDecQ9j1zIE6ndwq\nfPmkGHmCyTD7gQp9YXCNCOg7Aqc9FlIdgRrDl7lmMg+axPaopGA/PmyTsDwc\ncu4zloGL7G22YWVcXTgMEIC9Tzn5bGIT1VYPmwXYfiL/dg6aG5dln07IxQSh\nZiJTOIF2SfR/sJ0/bmxQDGdVZz0gbw+ELl7bGAXEOgxs1wdh4DIYKeh52vvm\nToXgHc/VxjwUbTRU/EqZ0YeHjtD8h77wCBI5SZBu2V7rBirgEM/nnGW17vu+\nGJyw\r\n=/I+w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"45015dfaaef1ed2c559920ee712f2659fa9172d6","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.49","bpk-component-button":"^3.2.28","bpk-component-spinner":"^3.0.49"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.51_1588840268960_0.6387038937446112","host":"s3://npm-registry-packages"}},"3.0.51-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.51-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.51-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9620b91f307b960b81f682edb32edb0a1c02bd3e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.51-css.0.tgz","fileCount":13,"integrity":"sha512-uTKypnUXW1nduZ3zZKe1GBfGkVOijLJFDGFM6MKrsYkFGiKG+U24wLfIpvv5UUMVo9V4samJqfbEdvUVDs9prw==","signatures":[{"sig":"MEUCIQDQBrQsxjYf6v3B2gz/eAMT5ay/Cayooirh/UeIpwlPIwIgAk7uV+EyMrVAabWaNZ0u093QaCr55dOYBA35zsldulg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJes8gsCRA9TVsSAnZWagAAHeAP/RxwN8lIYSXgpWBq/Q14\nuo9+Xpm8ZtF83CbxQTBH9Efn1XzK6UGGshLJRdFZyRn0IJScs4KSllmHBTxh\ngGRB6ixUI1cU4+Hjqlx2vX+WqnAkxskjIigxUeKSKlChWveiaQkghGcZ9hHR\n4s7T4GIfLO8TDoI7TpoFcU5uwdM6pShcDO/7zvbyo0sujUnGjK01yQbkB+aP\njmop5XBjefmwCbnoB/99EE4ptihjpHVUe/AEJYizLoIJJKIZXIBej2fVyyio\nlLSAjCqLA24F7LFE303OO74n0k+7voaG6RsnjJOz5ABGBqK3QHDcn2QMO2Fq\nByngmyjvcb0f26P12uQlYanpKjczq14DrIlDpDrfbrWW5mkcTP1+DOnJ1VaB\n84m+daDexv59z6lnjKBQYbHtgjqLsUyHEXfG7Fh+F2vj7ePjkRXNkPWf4I0d\nwEE6MHXyQxjqU/g4kXRr2b83k5FuxQv+JsBJd3qROPTJ1q5EfRKb3avzaSuA\nDu7BCssorx/NXycFhgCAcV7zyZ8xrHCNXYVRwRhhdVjVejv2jGP84RHuT1Yj\n5PNk9JP6+IDet/5wgxU8gFY43biB2e4WbsIM5Cin5H+o4TvFtxt7noByrUPv\nY7MP2W8zzP47/WfyOr9uyKiqP3PrbSShv5ottL40G/8Zwppfo8ss8Ooz3XKh\nnPUm\r\n=b6vW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.13.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.18-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.49-css.0","bpk-component-button":"^3.2.28-css.0","bpk-component-spinner":"^3.0.49-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.51-css.0_1588840485118_0.8963040753895504","host":"s3://npm-registry-packages"}},"3.0.52":{"name":"bpk-component-infinite-scroll","version":"3.0.52","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.52","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"61b2a10bcb913ded6d3ef584c2ce51e68a1942d4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.52.tgz","fileCount":14,"integrity":"sha512-bsqaytMQWqVNt5L435OrWZrocmF4yCkAjy6pgwqoXF1sj2uy+jOS6H1kEzBFmn6t/x2gfSMZZ5SQZDy3aK+/vw==","signatures":[{"sig":"MEYCIQCaOIu6/xaUvwGSRYrxEYtXi1J3PHcsfabkztzvVH02OgIhAKR92vs4pAzBsO1ENMASpqtH94UUHmcuKMWU2YPZuA/G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJes/ZSCRA9TVsSAnZWagAAHbMP/29cRAvtyy4NlVcm2YSc\nxJzov/kSOMTy3vbiq7u6ICadZ8Hps7eMeBYNEjje40EjbeVoFJSxvxzCBf2j\n2QSQE5dquhgLJJxNtquTjME13d9rnl/3ts5MrOccRvEkE94lzRCfoqBYYhxA\nG6xCTvGJ6nd8hHZokuvXljYLk1K6a2Aafv2Fc0sSvnaiaBhcET/+AHlWjEKM\nu56a33IH2c9ImhND3GfrPrMgyNvpyTl/MBPUIeiNyO3OSddmwmlCIrt2LcVp\ncgqAY13KzoTlL1u/S81ARXf6LdpM7hr3F4AYKhM7nTXdsVVWj2rKZKAxbL8z\n2icTWQbgg2TjhNrTXXpVu45Ht6UHQ/Wk/ffXsjp7j4P7QVInPWwTK4j/PxQP\npQlSLJhHSYWN1WineRu3oWwPI6NJMMoy7y6qSNZFSxqPjt2bWL69CuLsvf+c\nuK77cYue3p4sF7fgputEks4/2yBOv638E1u0cuv/ts2ef1SCGGhoGqmE6e1t\nCrWzB5OvZbKYuZe9QHpXv+U1zWmMwMrRyhtJ88+MpQ0ep2dQE2VyAKLK4aNK\naHt8fMphFYiakNEithFDSJoo3BeTr+XyROajcWxFWFId/wZAm96LhKKwtjKy\nDgqP0aiai1FIQzFnvmZ42933jR3cUzM/TW4NctoyNO/ZvQVGQPrC09SSJYJ3\nmN8R\r\n=tFYZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a410546c8d04f67d44d33cd90ffcafda2901e701","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.19","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.50","bpk-component-button":"^3.2.29","bpk-component-spinner":"^3.0.50"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.52_1588852305570_0.38583780738033036","host":"s3://npm-registry-packages"}},"3.0.52-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.52-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.52-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a0e48f599303291a3a0358b25ecd6d8485123c37","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.52-css.0.tgz","fileCount":13,"integrity":"sha512-E6G4IiPb2HlLzTpxp+Nmis2rUzyarqiInmzMMOIE3IMEfgF0BOFEZUFqEijPvkC8+DR7sDq1k83cC4ptRqRW6Q==","signatures":[{"sig":"MEQCIE2spEQRh0WtSHIekIQJ9NBFF582+Jp1IN9LrFhwJIUFAiAEmET7fN1r9UoWMcyuFJaVa102MVpzy9XMIUMJb73Bbg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJes/b/CRA9TVsSAnZWagAA2OkP/1akUMm4NUeVd/FSSS+d\nv5AuCIgN11wObRuCpNuCotp6kDrAHA75s8b3PNsnxSKUeOx0G9QJggVgzYRC\n3L+13D2vMdK9o8pN0v88TigOf1LRL36Ful/N6GrfDBuJoD+qYd1cunBUNApJ\n7Yuyg9dK4n2XDUcXFNDpIABxz3ZgsR/hyGP7YycX35utScwv4BZ7wpLNfqXS\nsU2Qtx4N852xZG05wxVZ7Kb0Oo6BOvtAmpu1ykYkw2oMxwqfY96IllBzyI0J\nwgKCKdzmoOYzPSx5VGeAeBvEGc/4NzMUA7pSOHFZnTE5lT78W6Hgn/M+Xsl2\niMBTOm3MFmdopGXfvn7XYJmsy4lOg0BfFPHbj10NppEx3kUIXbI3WdwoPyO9\nRSRNr1mnXAWf+GrOmrgL0Csmbfyzhvrj3tmgbctJ9mCT5spNW2wnGgNsXIEU\nmjIsyEF4ca44+yuCoR7BC7XgCqeED5RgYdmuwtF/fLV/v7F/GmPZocT2RNfq\nFoUBoqAV8ICLasgglQ9PXGTnIZyrzl9WwXTroi7frg6+AuohRZtQMp1LsdQw\nzH7qNYDlgtyPXOD4RB89U8ByFFGo4PcsE689hhsUmltmLg2tafMVPnTugOcN\n2UQ8bfJCbFC6XBWOATQAe7Cbo6aoHTT+P1AQKZQhGnB4vMnUp2GZnu0WiCuo\n2FUs\r\n=+iQ6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.19-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.50-css.0","bpk-component-button":"^3.2.29-css.0","bpk-component-spinner":"^3.0.50-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.52-css.0_1588852478996_0.9059357928357405","host":"s3://npm-registry-packages"}},"3.0.53":{"name":"bpk-component-infinite-scroll","version":"3.0.53","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.53","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5676c6e48297bff78da017bd84b7a412bad8953a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.53.tgz","fileCount":14,"integrity":"sha512-//Kz4GdsuPpqsOA+T/Eq/yCdBFMsRIPrwNvbixlCgD2p14Y49XhCwnNrpeC6TbmXvKH5nRnbjkyXZ8O37Jee6w==","signatures":[{"sig":"MEUCIQDHC3NiZ4DeInorKKDFumid6Mgyz6hr/3NZO1VMKaxCjAIgbZZVy7XRaZri/zMD5kjfdaltyOEvE9TUTL9vPVyIdU8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezSD2CRA9TVsSAnZWagAArpIP/12EbrJ427Aqdf9rLplh\nrG4146GQLKSqC+pOloQCG9C//8m7R9sYiAJf40IX47zd0tV0xWRRx0ALhn/6\njH9xj9eDWnu+G8XCbMlGJzdyd0PsdJAKh1i4lWKdLNRlOdNEK56gdygDhr87\nTF0oEpHEsYwd6qdYLiHnbA1KCH7F0/EL2h2xR19VLX4Pe1UayTM6AidcXlRJ\nZgH+INPcxmFevJD7WlvUb+KUIwswz5YqxY8nRZ5nRQ4CdEKStC/YyKgqZkxZ\n5+h2hCVADJYTqFr8Lkv2RDKYiVuoYfEEYbm57+n4pzAo10KpTr4x8fElZ+3H\naNjDW3EOs0CCj15RwAS2csPt1uUHfFdLK0ohF9cKWlcyUgii77IuanAvy6zq\nOIyEW0C3cR6+jyHRmzf+pBgSvbASmd6o2KEjp0iVxZiGDqjs47sicEc/JVP5\nbWuMlBNvoN8Lp6jA9/3jxNAFWdjOZ03KpPTnm2+hgeAkQpFVC7vnOE3cPNDk\nImw0JyOjqJwGeX+oq2B04wfaR4nh+hlNxGL3rmEifrX1y00JsSAAlE0atD1z\n1oXZRIR28TpoaB/tSf1bY2GTN6YxOXtOUrItr0UriOVSPh94virHXuRh1MRk\n6qIWqz/hxZuBIsdXa8qNk+1lNAri/CaYq4UxUdhdxX/yhCnItvgZneMLLTM0\nPjzc\r\n=+Xon\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0be2ad602bb702ab87fa27d857fb3abbaf27cbf1","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.20","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.51","bpk-component-button":"^3.2.30","bpk-component-spinner":"^3.0.51"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.53_1590501622173_0.5902379073431907","host":"s3://npm-registry-packages"}},"3.0.53-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.53-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.53-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1213016936a2073f5ceb308e8ceef6db97f7a823","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.53-css.0.tgz","fileCount":13,"integrity":"sha512-SxH1e4PamER8pMc5saeHYIOhWqO+SJ9y5QMp6vQ7Pw9bwc9lIBP5fKepgIoKiMotFV0DYFTHe2EO9hLHh4cLjA==","signatures":[{"sig":"MEYCIQCiWMOxjBSNlu7O5kiqw325j2WsRU5kHtAnvelsx1il7AIhAMBKbSf5J7WIL+r6PDiGw6IBGQj5tCP5VzoG+45PHNOZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezSFYCRA9TVsSAnZWagAAbVMP/2gaEl1dXBzs+U1oczs0\nwSgje8+e8D/tlujq1Nco8oGVTgrmgGg1r2YT4XdjPjPG73hzJYuoKq0UNvqH\niVp9KHlzpP235v1WJnNmDZOlUTQ0HkyYC/5uwE6KeihlXsVOHsjRCi4ijlra\nRl4kthLJP1LBZ3iT6nUUE5gJ+1ZCTbbL23JCP6X+92Xy/F0vO/gH5nTeZTPx\nA1CbEFe2dbeHasRWH73vNGOqIiyl/Rk4tX4uYa1qzNabduZICd/FGqK0ZTTZ\nZaTRxgeaapR9bguJbEv5l7gqvHmOBZmJr+B63C81uYAA3kZ/NRezgf1A/dyG\nn0gX0C1ziN9ep3SAIlZlI3mNxkDop/mHUzF1s9Qz2ScSsL6t2FQ56MaCnGBD\nmLoBei0ODEUph6ucsBxqsr6LWup2zN4pTtJJjD2wExqVCyz/Luvh4hzA8+9d\naw0NtqrxJ0+sG05cHp2GFEsSu5HXAvK9W+7Tlrppi95tYz0a8vgrmkfoniWa\nVIXkI0IaA4KgKhZr+ybiFZWs/s7/NAcHlDXhYu/6fn34zp+tRqNf8QNAGAM9\nPvknh2qI3kJeQtoAlfpG99xwbb21GE52ezP7TpRfdHQdYAOL2NIfgf1dMJ3G\nnd1lQ/XCf0iuGE7QeL3utjK+3IcGlGLEgTHTk/Vce1VqFBgMIOkPcqF+/G/Z\n5QZ0\r\n=CO68\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"a83296474208d47385427e1057c9f4b13e670f5c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.20-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.51-css.0","bpk-component-button":"^3.2.30-css.0","bpk-component-spinner":"^3.0.51-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.53-css.0_1590501713188_0.8954560567373999","host":"s3://npm-registry-packages"}},"3.0.54":{"name":"bpk-component-infinite-scroll","version":"3.0.54","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.54","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b57be8ecfa78c81d3329c22283040a5e1e4c5cfb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.54.tgz","fileCount":14,"integrity":"sha512-wPJ9QmwHSziuCj5ou+iz4tWHeK01TDqBf4nyOGc8xW1PYOGAsqbjPdkKLEEwzR5PXoKr6w2FhtTcR8qBgePwBA==","signatures":[{"sig":"MEQCIHuBRwl+LzIJGj1+dne2qOkPQ0Rv8NyCS2DN8gVT/R7hAiBWtmPf5a/U8tnaCOSY72TpZ9UIQPh56Qk269DNFJRxHA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4gocCRA9TVsSAnZWagAA7lEP/1vsqbGfL9/nmPpZ0JOu\nm8ryr4HIennAk1uepEIDj1Ywly9jiOMvhXzsKTjUBcuoOPoszGgMwaZgMGFH\nbW4EuMkllo4dvtFSEhJ8iz2AAZQ89KDLs31rYLXvxfCGOGBnu6mQXIgLM8cd\nyNM7q6aGMTBED5ImfxYBGwTazVBZg3qrelnAlpcxJsLJmBOLXtG/DwBdoc6X\nDo+BD+mZ+N50NIAZQHnYN1Xm7fSAjYAl0usNq8wfO89CnhDHo8+iKbPic3yf\nptg8POCWAdkQgbFB56pAVXV/dcUFzPVWhcxmeKN3Xt1PCJukuEeDgZi39aeA\nUlnzFqM4QuOD7WCKxcrY2mx68NtmBE5xQX+OmCYWDw4MuOQpzeHp2wFNli22\nh8B1pI5i8KfLZClwSOeXFz7TTJ1tDjU2SZv8Whxh1mTtjePypBw3xmLGMFzW\nBP9euVY4EMBs8jydphI5EiHBRtyKK2nT6GOUTVbAJbxY0B4Xj/Zri+QdIbcW\nVJrJBMaXA5hlD3VENPrZ1g0T9uxVKwTbiR947IqCb64ZKepd/DDis5ssQtJZ\nlOdXYHpd7wFe96+Ji/CtHelXU0K9fb7uDaFokhKokc1r+aIqtZUCD16jyGK+\n0d4GCMfnHL8QFxzC+h538Yxz/Zx/sxymM1ZcYLOZGT/wXD0MkygdR/5osTXu\nHnH5\r\n=QNBh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4c9429bff14afc0a3ccd684822c6b51eb366725b","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.17.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.17.0","dependencies":{"bpk-mixins":"^19.1.21","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.52","bpk-component-button":"^3.2.31","bpk-component-spinner":"^3.0.52"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.54_1591872028330_0.6369864907389697","host":"s3://npm-registry-packages"}},"3.0.54-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.54-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.54-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b45cb3a747e121032f98c51f240a4fdae101dc29","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.54-css.0.tgz","fileCount":13,"integrity":"sha512-7qbfl0vFHV24rv32Ln3f1LJl8xPWNGd32F0PAGpC0CIzE8esIvRDkacaR75E8iU3rVTmKXBK61CDB9mb42TZyA==","signatures":[{"sig":"MEYCIQD3Or4iKjmLUH3hAYu2bK5k+0tQX6cJdzySvAXdEU4uvAIhANXVzZY8HZXuP9pktTUMry+LUjkG8Ms8QNn29rNJLJEQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4gsICRA9TVsSAnZWagAAXaUP/2gz9/uMTB2Z0/2TZJQA\nh6viwHY3HhA/WLBYFI6QW4Lgy8rnn3Ioyzedo7EO49rDLa3jgNG6poCUhyMR\nOHl9TUATSirh+Pex5omr5HYjLk9W/qvpRw2f96BFkcB1lYJ4eC90WC7qCq/y\nKlRf3lHe8rMCVuq3p3VhcSGw5nyN3QcTgqDqx9yc8JQFa7+TIleUN6ZgldL4\nYcyQHNUt1fiXJU42fGrNbTxVHv3nkM53zS0UA2ipkNRNKCoTM0pB6VOLu0IO\nmuDE6BbDTvyAnFqJ5FY3IxfyXwblc/vfrbC3yR7tYnzS93p0VNTs3TD1PHZk\nr6dd1JlPRMDxbEXZNA8DwGvFzSl6KKCp8WENuhaWWbNm9i53IY11AMULMMln\na2guYK8ab83n87KfnnSP9BfbRrTRqgJFeJ6hthB7OIFgEajurUkAhlVc8Bi0\nS8n9WA5uE06/OyLzz902RCnxJ1qfs0gBbpdCwXR5GqtaqHpfuJ3j53W6EDsh\nf3BIxbAzhZILB8W5QOjbftyaqXl4gy1+SSycytC2LmbX938z9ZQ6XNfz7F5k\nMm+ZjhLyYVpi0KaN6pHkD5a4XSD7wM3uaDXwZs6j779ywkdSvcs72coDuOQZ\nkpr+7BWZbxueTzocNlIe08pHCPTtO9FXRouHiod5e1kH4vWBXKAcwJF26ef1\naWDx\r\n=uK1o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"4c9429bff14afc0a3ccd684822c6b51eb366725b","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.17.0","dependencies":{"bpk-mixins":"^19.1.21-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.52-css.0","bpk-component-button":"^3.2.31-css.0","bpk-component-spinner":"^3.0.52-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.54-css.0_1591872261942_0.1943828957636482","host":"s3://npm-registry-packages"}},"3.0.55":{"name":"bpk-component-infinite-scroll","version":"3.0.55","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.55","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f3e900c0abf27017cc0cc503572541ffdee5475e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.55.tgz","fileCount":14,"integrity":"sha512-Hu7LOOYXfEhLdR/NtObulOVWiqe6BMc+Ndty/AXGVXdFmpN3SCnuvIU0GwMSmq6o+bIQLNGfisqJ0GHrNDgDUQ==","signatures":[{"sig":"MEUCICKtDFmm9DWOP4Xp8fV0cOvUS/CLRAhaKYpoGjjdghiJAiEA+GTrRPd9JsyyP1TQQwFRDs66LgUgDRX2lkiUdbV9A/E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe65aoCRA9TVsSAnZWagAA18sP/AyoLXpsvJeYojIhNTzY\nCN0EnrTNXnc9nrPYn/3cshpgzCrrEUS+eT4OHY2BbgFke8eT2Y755TP/y9EA\npvoKLgh4zR0AYaULEIZjQ3h4ffKAeYbm8yLifaY4wqxfooL3BuZNni7wyArr\nJ0/1Cijm2+yhVliHXK2FLR+MRL8R/v1KvKaqSXjanvmTXbJhujxEe0KSEmTq\nwSFWEvsvlA31icVxWisdHlAtpnfS9gIkysQjIiyldv0ZxYy4h74QPhL0rPB8\nHRdXIBg3MKCLYVLnQ4/JgZweMk/EnAjHb84A1tBrh8tYufG5AdGtx4VVZCcB\nNrLzZ2oZeK50ruDQiKU1UJ3/7Xlj7777cWmUmmWKYJlSSTbtb/Xdba6tZFiR\nGtedjDjeKyz8uFcnNU86up/TyZyERXSeMucAwiZOuBbDFj7z0WWW4n26HR2Q\nPT519KmwpZSWT/3+bVrKmoJ8VdJu8DUKQj/Dgu6HlwQh6q2tCCksKLT01aPt\nTZHWbOS9zNR3rCybozhSNbrdJ1ZtC3TShR5EpMvXZvYht+DAXPIyCFSO68pi\nITmVYdPgN45uxr4jenSadq30Q9ZySexfv28TBkuoea7JPYby1nCdsXdaKNxg\nVjYTTNszPqeWPNYj6fNDYdTB2c0jYO3NT6bbCZDI6NQiqTYfj5BO4JOh8I/0\nZY+2\r\n=TFGa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.22","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.53","bpk-component-button":"^3.2.32","bpk-component-spinner":"^3.0.53"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.55_1592497832103_0.16037763013411976","host":"s3://npm-registry-packages"}},"3.0.55-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.55-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.55-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7cbdc624aec7b8bdc1bd2adbbb0e72ce29c39d55","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.55-css.0.tgz","fileCount":13,"integrity":"sha512-fdspYfOUyQYd9VEDlDNlDJ+SSP+5rLxy0gGkw8zRAh/qtEGUfr0qc1nuo9IQKzJnTECgmHqL0vqHUqaNo27I+w==","signatures":[{"sig":"MEQCIFAY57GdMg9UdHDyXGzG29BfrH1R430e9uSUlROLzNh/AiA1HDMcEkJ8EsTMV6VzmFuadTvplDHV4fS1Q+WEh2XoHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe65fECRA9TVsSAnZWagAAAO8QAIZf8++2gAn7imtQ7PTd\niyHtyxKb7rl8w/74sk46qD7JP88qEldsN1k5N8/rQr4uTaQewNUYKCEhA4Bp\n1quyv68XOfc6Im7W65yBHvWLJ3z72PMr5TL/CKS57XZ1jAvoyoinwhuJd2yz\n8z4euzNVS+hgggFO1WTNcKLJhDM+fuLQiqULeAN0iFHKbwatZYQTVrIXpEjb\nkPoS35HeUpezHXIBKEyFMPHYCC7u2h2rOz5LhEtVC7HIdmBn9R5OGjRwYuYN\ntRvvyUm8VNfSvBkVeM2Waz/f1DuKNUjony483Ji7sbZDGLjsU8iBksRR0k8D\n6ZetkE5Hf82mg08wCzmuizIOtpQJxniinqj2Bd4zzVo1zzqT0FCtIYBRHkte\n4aa4OQpqtidD9nrTfczr++SnG7OE+6Mm5AFi+MTMUJQXXs9rSeSHqgVfv+sS\nOCOvQp2Ktu4b+PWzFhVUd+0KoAtNNFs7o0T0QC356e9pVJKiDz5QJmcEXqTM\nEsNM7EqiS645DuSfaI6KQjLbOGz2ii5S35husDDzO8IJkXkX4E29ksBptJjS\n/eY5jzEHyZ+vmpkz06ksFaDvscSWDIh8BJN+XiRyxbjubYfUeohGCcdy6Rm1\nwTjQtmie/OvYyV0BN5l073RkDuWJh5Kfbh7xIBHs6XbZIr6LaHLIlUop2Ovi\nR7tM\r\n=FkON\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.22-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.53-css.0","bpk-component-button":"^3.2.32-css.0","bpk-component-spinner":"^3.0.53-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.55-css.0_1592498108997_0.3785811960574812","host":"s3://npm-registry-packages"}},"3.0.56":{"name":"bpk-component-infinite-scroll","version":"3.0.56","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.56","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3a2e231acaad6a5cb7de5407dd9ded111e546cc4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.56.tgz","fileCount":14,"integrity":"sha512-ww3U3LjVYyeX73Xf4fgV9iLoAGMQLfhdRGm4mnp+nReahS7liycjqtkzuVc+R2bNLWhAvlfAFBjclyA9jgJK3A==","signatures":[{"sig":"MEQCIERH6kqb6qGsXlhgONVV94hfcYF/N6dnFbylIdBhtUmjAiAcjg7I0q5/x/ppUtNgQVem2/1futqccK3iEoQvv3WESA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8dcjCRA9TVsSAnZWagAAhfMQAJj5JMMt+MA6yZj3Kwdh\n6dyh+QuAGSUYF0+C6IkldA2o1EE2oKk5J1IO1qGsB9hDrMSKvsZRbdvVragw\npJTIT2pFNABzp0SDTsmgQ4nQCMHp6KR80Usiuu+7zQJCASS6czB4LKAktveE\ndl45RMMsId2Oy+qd5j1IMnAALGBMf8ITPdXNijPghsh0cJ5PMzNLOVhOZSSe\nYxzj/zdM6Pn+Z7xu4uAuTHZ/agXrZeYJx6NafoFTqrFge1MAHI3hREeeguWT\njGP8S/RDrS4yQH9UFK/j/xlNAm39DLBY3jYw5lTtxG4yOBc7MdiVqsmIJI/b\niP7/Qa+kDeflZIlNx5yLytvx9ACZrzV3sM8r79ecjRlqucX7J0ozq/1O0R3D\n5xbKoH+tFg0RcbRUIV0HeAakwE8uNErXHd5FsLDqJBgRByO1Ss3UHPmJymC0\nTW6QFyhZJ2Apez7F/+fbzwXtZJptcYjlTvLb3mBhkg2gJqP+uIEj0nQb556N\nxpbewp590C6uYX2YBAiO0MYkMYKmEmGowYFtL+E31CsNuBQj+hUZu54+jV8F\nUwRpj6dFJY1BDzC4FILDV9japW+BmOfaENvifL3XtYOa3edoCcTb+y2xz3FF\nJuCjzjrV5vl9f+/j2caxTaxdmJZ+W94TWHm/kwKKbglnq6H5yFQXxxXRJ+a0\nhLBY\r\n=mhks\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ce25c8c1cd65ea55c183295c3b47332ea5873ea6","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.23","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.54","bpk-component-button":"^3.2.33","bpk-component-spinner":"^3.0.54"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.56_1592907555403_0.4738847427996995","host":"s3://npm-registry-packages"}},"3.0.56-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.56-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.56-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f522a8d12ac5e256a724796a8378588e5a9da465","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.56-css.0.tgz","fileCount":13,"integrity":"sha512-GdB2vd8/GCFb0e6s3joXNBsOCtZ6Iyv6Gm70jBTOwHGoPDb1GguSjv8zzolhbfU4HaF79f/AX0AnIgREpWuGxA==","signatures":[{"sig":"MEQCIFrURSRWce+0miDtf2A6bTeEiCkN00EKm4c8gep0rDDcAiAIJfhCSsuSwxdf3AmPB5LWUsBOVI7yF2DliTOIkyiLyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8dfYCRA9TVsSAnZWagAALoQP/04YTm8OD7zoE2GSSWTk\nbsAfw1HCPTdxCmjt3LUwBTetSKMi8X4Lle9nFlkY/Kv8ziF40WhJ5NAFudc5\nbfe5NHPa+o5HPv7xscci1dpzJKj7j56aKuylOVsRrNgSac7qAydfHRw+dPLI\nE1JUPq1Lah8pzh3bE2prjqfO0tTMj2TbcQzuZZl5OavO9ukM0DctI64b4kvX\nav3SUVn2m203lPIQN3AvsQW7td/eBA2byf0O9AbZQdVtfDC0dDah2AnxFhWv\nlN9y2979OQEC2QiPnEp1Aft+8P9V4dUru+hjyZ2+HxfLl0v5BrTdEUcTY+kP\nvRooXU998GHLQz1dNis4mv0AV447zTDxr9z1fgcIIjV+YK78Y2uPup+qE1n7\nJNTls/nqNCpynhYr+X/w/ffGmOdkGKMgyyhl/QKSs3TOZL3KnCNxjdTWURJB\n6L65wHhl9Kvn7DXloN8qwWFznidWGrkfM5e15qapD0nx3UJz2vBy9pIIMThr\nYD2KQvYiAH6uks38y6DnqyoIrOMBkwIM5+lGitawcePorQMAZYyQTT1aArjN\nc+y8+wb5gK3S0k/+Yj0vS51C7DtpXTmPyD+gsr5U9Xni0vWmEQ+LQ9Hv700r\n7nYnz1onKTHX0UKwNL7Qo/Qt7TLpEPrkzruauFZiQSHENM7mYKr0xYfOUEAk\nk5JK\r\n=Fc/0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.4","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.23-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.54-css.0","bpk-component-button":"^3.2.33-css.0","bpk-component-spinner":"^3.0.54-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.56-css.0_1592907736313_0.18765732663828794","host":"s3://npm-registry-packages"}},"3.0.57":{"name":"bpk-component-infinite-scroll","version":"3.0.57","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.57","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8853e47298daa5afdf391ff2adf04f96abcf6742","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.57.tgz","fileCount":14,"integrity":"sha512-FyqzMsmCUNC5rrG1jX18z46gCJiOqHtk+oo1POHBJRoPEu/8l1KKk+NCWoSlyR9q689tN2vDXAcn4tWB1V/tFA==","signatures":[{"sig":"MEQCIEkHvJ0Y5GlK4tn40C5ETt11zEmylRtPH6ha/oQgPFIfAiBi0K8b5vqyHG/GD8sf8D2jh0KVKeJB4Cp2B5dz/RForg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+vYUCRA9TVsSAnZWagAAXDkP/3yomzllZQZK2iurwRZR\nNDjue3GsTAZVzkBHO+GnNqDZLoP2Clt2N1a04NX3gaCPiXbr/XKw9dE6M0Pa\nnEy845kJT3CvTRD/1gawthcArVwdgN7uVkpDG06jX7QbqYBh9sC5ZAjc6utL\nUlWG6rX21rOwxoYJpBu4XSUxkIjnoaU3pX4PzikJ8R+rXBIRSKI9yC2Ruuqq\nJ5VzPCw2T4cSXiuHhoLCXRl3d6wQwJNE0hhLgJCiqjPWXcNhepNGemSdb4Mt\nhrVWVu2tPKelgqgzMQKNN/dNLCL9jTXIN7LqXUCUJJ6HeMGQFFsgh2zeixQK\npLBok6JHXhHzOjDd5yH/V1B1UIpdMtHnBv+x1iW/xT63NRGfEgSB2e73zpsR\n8Q7YfSePWUTJCFDMsutBXDCTRx9Xzq1zIGNvvQcisq+XpI/CBomqMzWCve7a\ncUUZ1VVbef/GXyEVUTGqstmlUUkNEvLuOBF0DcjlYcvhNLUxWbA7aaP1glqy\n2UbJ9mGOTOqEI/g0jGJO2/BKzZ0CHMy8nQuji8O7BT54tK76yyHQ3puOvkdb\n3Np8+evPhZb2bp+yM8BWTIXbHUUt6YRoDXlb/1r0ng5I52tNZAQR5H+46QCe\nUgiUH/tFqLxDH5OIxqbvIYC72y9GSPY0pg2X6pLHW25DkjV3l7S/KiPuHJsM\nMapA\r\n=zEdM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2035e92bd7e2ed6f724bc4c98c4b5c3c851a024c","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.24","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.55","bpk-component-button":"^3.2.34","bpk-component-spinner":"^3.0.55"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.57_1593505300179_0.9431600786676544","host":"s3://npm-registry-packages"}},"3.0.57-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.57-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.57-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e282855f051a9c8f02fc8948768206c6f763ac8f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.57-css.0.tgz","fileCount":13,"integrity":"sha512-4h3/rz3SXErrD6w4Xs1oio8ZjgBVOkIhaPWEL6HT8wbjefuIEwgkPFUpIkyrOd9xQupTse2h9S6Od/bC5yaAvw==","signatures":[{"sig":"MEUCIQCPpabLW2ubkRz4LC0IeG7MgCT3IiAHm320I+MEMN9+mgIgIqc2el1FT4nAFpQ3oHH7a1X96tavjxSchvG9BNKEth4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+va2CRA9TVsSAnZWagAAePQP/3lZOf9oRR9NAStq19Ku\nRS5OQ4iuNoAkOSqxE8FFw5NSauHe7eEZuKiffy5QFT+b9f/802wLNdo4+y1A\nGnh+AcFTcjOX9HGUlBbBHmpJ07KzL8WH+RVMvmI0OdO7mQK4sVozkGOeuPYk\nu4prP7UdbxGu4cxQkAnbxw5E5Oh7WbgfHaRM5MQzW8u+DnabsC2KBq4k32z0\nK/dXMhagU02ywUTUjTkfz+H5IxwuTFJvkl7A35a7UptnnPw17ilWR9rKKhUJ\nyYZvnlMKqJl3VoAmvUoS/ZT7aqYwPhuDXO7lBtUFFDDtAhzQb0ZQySmzmMvG\npabGySrr2O4ZHQvgD76QolapAP61aekip1lTqiXxc1LrgdsqN3ZTLBtAlwIz\n5GfPI7hFMrNepihb3ixIbjs36CFlR/kinI6rhkZqHVpsqWvA6NqmxUa4gv63\nSYmAQxEAetmjcw14laqBweOOq9pprV7hN92YyARLeGvsF3+P5QpH4EChFImY\n1Noj3r4BW/93MYFpcbXf6hABDhllOiD0MkzqZFuPEC2G2edKJwo3Z9hXutbx\nOY6SIv9TXj15T6CkA8mxQAO/mhc98m98EmsNGIQYAvWQRmAHIsIzQABvjpid\n6ZKCPvOPA8mrxK0iwJnt5xTB8CmHgrWVvZbjORCOfIAFu5JDGrHi0T5TsSCa\nIa+3\r\n=UP8i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.24-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.55-css.0","bpk-component-button":"^3.2.34-css.0","bpk-component-spinner":"^3.0.55-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.57-css.0_1593505454516_0.6970829718530072","host":"s3://npm-registry-packages"}},"3.0.58":{"name":"bpk-component-infinite-scroll","version":"3.0.58","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.58","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a4d80a3b9fb276944c416e0462bbea292a264404","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.58.tgz","fileCount":14,"integrity":"sha512-j0w/mYed+EYhAynQ44ylyA/zhclrk6JfRN2w351RPdz6kdbgJcHvFFq8YOPqnKNypSOuI1Nxa8DSUFcTr6o7Mw==","signatures":[{"sig":"MEUCIQDkjmLAIEZkug1IGOZokEFfHwJGr50J6pCAsErDyWtOaQIgLmZ3rn3p7esg8QteWrLaskdMebxR4Jl2FMQzNzLit7A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+0gJCRA9TVsSAnZWagAAlRYP/iVzW0CVS38AmpB8nQmU\nCrudnS8521Xo6wjLfj816EPvnyLsNJqPA7GLWdnjHnLwEIF4uCR72p2qJ/XD\nmiCuUYXxFomhu5WekYVKMhLyk0JMVU+7ULYrFaIPBgqBdqNZ0933Fl/IR5dH\nRjRYYCDrW22amZi94LWQQZiIp3DDC9YW+YlAHFKsP3fHqe6CEKvAprslnn3/\nOJWRaY/XuESGZmPrqoa4kRHOtAVQAkOoJUQ2y1Kx0OKoTsWGrwg/JJ94ejIS\ndAADvrnjH1s6I8Ipu5lj6Ikq1FknTwEScVcibDbh7MsFSlGKDrXIEW4vP6U/\nYv5p+fqSzKsiN4yybhszHF+U/JqiFO/fZ9A0OpVhXpdR8pNRdxLi7oyMcY/0\n0qJvWHS8whn4mXpxmcOTFUWBlnlBmXNa2Zm7TNMsa2qssxoTYuH4ouuebxLk\nG6iyzc1ILQ6QalZQem9iSOVGGRjUzBH3Wq/Y9LtTA+5L1TQ5/Ry1yRKZP6L6\nGHP+udNRePbJ46j993SNTMZ9zU3qVBYHE4ZZkIzO4e6QkqmxcXtZ5MoY080+\nUvy6Qd7pvF4dq6pO0TPZ2cEvZcgzEps72gN65q5qsIJrHg+imOuMafAog708\noezQgfmPThvI6AbgZqsz54asj3/+3iQiy4bkTKvBG8aXCnMjUHJC2ZVygZcw\nSIrr\r\n=W1oU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9291ba063a6ea2d6926874218bb75766b6e11d59","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.25","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.56","bpk-component-button":"^3.2.35","bpk-component-spinner":"^3.0.56"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.58_1593526280556_0.9376939438352299","host":"s3://npm-registry-packages"}},"3.0.58-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.58-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.58-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c5528637b63803d12fd53d459ff2095102e73d03","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.58-css.0.tgz","fileCount":13,"integrity":"sha512-480sn0Lpg2sNR5pckwtlxdVq+SFWJfYnn346KY5O+z9ci5csGWRQW3IRnmTefqyH20Bt1vwXeE4lAnBPaSvS0A==","signatures":[{"sig":"MEUCIHLD8/rZBlyFjMDnzU714Vs+Ix0y+/zdtG1z6YEOmOcNAiEAsdZbEfV5QjWJzksDkf+V/x/Np/mWiq7RkTGjx0qx9X0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+0hqCRA9TVsSAnZWagAAi6kQAJ5eR1/Kg8GCIyDDkdvG\nAt3VXQLUsKagmknPF1m2VbOv2b0zlXxTKdyQzqOju8138JN65RsuEXEeqU4y\nQKoN4iqQSgvpfjnnpjYSfMe2zm96FpB2YTrTEkwopTaqKeTzNZqUM5Ok1z7T\n3BqKor4t3h+hbhN4maA68gLAeEBg9fzbLnR5Tb5+gReg9u5PcZ6q7NO3C589\nnaBeAoNCSwAkPGLhOzL4wxzKRR8ZPYLWx9QInIxMhf5WHcgCPmTECqs/znm+\nskyu9vbzxZVO1eFZhKXLLAnYYXsk6xNoIFiUqpQooTV0EXnKAkojXXZhwBo7\ns1SLWypaSBOkhZTyD2z/y4XPG40aCcC/1ZOVa69jBYTzq0yuZYsbMIdAOg8P\nLHy274KVWNTRq4aR93hpL2y/m9kQZIXBC68+eXOzm3ise9Y6zeM/bl+5XEvU\nMXl1C+TwQowk73HAg1bdLa5GE9kIOk1Siy/461Pri63pG8wgVb12zOgplWz+\n3fqYYs4HRkFPYCiMhpvA7XklXn8IjENEQ7c8JnDoQ/8W0LKo6V3p7cgj35+L\n2kEEXX84HPt0z/+1957bbRPnUkWSa9kF7ilGvfkcZtZZRJg012CJCy0J7RCi\ndAPafRzgOkUaew5nxAFvt/ZPnHLp+X4RfYA3TZ8gKBdY/o2qRzaauvP8EhI2\nL+oC\r\n=7iE9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.25-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.56-css.0","bpk-component-button":"^3.2.35-css.0","bpk-component-spinner":"^3.0.56-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.58-css.0_1593526371345_0.5744230143997424","host":"s3://npm-registry-packages"}},"3.0.59":{"name":"bpk-component-infinite-scroll","version":"3.0.59","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.59","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"58b0d7af72b5080966aae83267eb9405e0169293","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.59.tgz","fileCount":14,"integrity":"sha512-Qzvfq7eALIQpb74xrIyzKJtpdk/O7nCuePsi0PCL5j4Diw4BPmfUjocBQGGNvzS8iqQq61Kc/XvkqbgMdpc9Ng==","signatures":[{"sig":"MEQCIFTHtk9epdfwXI4C1Yk7vB2/u68Y7YfLZcpW2NwtqvgpAiA+woWvqulwndHNAv+vCFL6W72y0xiPtrgxtWvMN58NjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/J/QCRA9TVsSAnZWagAALQcQAIhPq/6uSc3LFVNdaikX\n2EwX+mvaTY0vr7IiNl9KNsmN1ezIuuOrWropU+oI+mrwsPgDD2vWRRK8bodN\n03UisodMEuTAKviB4kxECS1xWxPOhGEu8h0vWrd/2PLjBN5D6QDx7GAeDcKl\nQwZEb9BWaGMdWrFU21eSUqr09HNAYKD+tOxn3X2H1rvCiazCrT/tyBhiXpxE\nCPKhMJUekkIAjc48eZdPNefj9okrmVGHcQQr1LsWjj5TIPhtSU3m4yZurCbg\n5IAaaTSkPo1pajguGfDEhFzX/bbFSiO0UaHUZ5QaXs+jMFrZ2wCaCABL0WjB\n1EwyBpcvPT2H8DzKgpZ2kN88JvkQsHAEalKHPBeqagxRe6Eg15pMIK6KqfxN\nsTAZqm31j5a5brUtD5rB1aH4qjVJyzQnor0E7FRMoLb3+ND4yy7A6mBhCtNU\nLKf8lOUsNuYlJ2PPKGu50S1KEuK3tw+CTP1kQK7NLMD4Re8K9ae2IBy6JIqK\nrzcB65GPh4nLuS+3iWMmV94B9W51FY/nHCw8WJNgSYoa+UXoBBKxJkqs/CDJ\nHUiWmJyLXNOg9l2jK62B8ddsXmciSQTNw1XbAUtQ4i/h/vzO1Sef3fKwGMIg\nHUH4ezTFqO2NYQ3KY7Mw1gJpxFK42OO4weXyuLpH4VmtYauqCDPEraVCM7qD\nfjLg\r\n=B7d6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"00fa3415ff1273cb7ff161b3b5ec51f72996de07","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.26","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.57","bpk-component-button":"^3.2.36","bpk-component-spinner":"^3.0.57"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.59_1593614287790_0.579686099782788","host":"s3://npm-registry-packages"}},"3.0.59-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.59-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.59-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ab10a2e89e71034d0ededbcc8e7d7f28e38ee068","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.59-css.0.tgz","fileCount":13,"integrity":"sha512-OAZhKzZf2QRD0UYTg/5lANfxotbyczBex/yfAAirJ75pQkZkqMsbe87ogJ1w8O44jm5dyVcnRVj5YS4gAK4rTg==","signatures":[{"sig":"MEYCIQCxQX91bGy0I+5YBOUNX3t8XsmaVJ+s2viHK6VEj72R2gIhAJhl21YpABovZtHs4DYDxM/i1f7LNi+tauyznG+QTbn9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/KDeCRA9TVsSAnZWagAAsRwP/2lCcc99eRmaQFD9QXRq\n9WY3PWGdNtMBTiWy1Wyga8G3TZXywC2s54AUzkEOmwmx/AUdQrscVuP1q/Wu\nMy2dVWkkoDkfa1qmINpY0hujwk7lho96Bbg4oWItVp9hl/GZ/JoDbvBzkGEL\nONE4pnuPFcRslScnGNzMppaQcZQAgWuFPiaOwBMoJ6TkO992Y7NsIYY+F8Ne\nY+zBGqehJbpyUySX2O5YPeIl/xzeJt36aWk1DIpsfdWk4pK/m3N8btPbkzlM\nPlpax5trQXnKlgK/saWtL+exWy0YtI4umaMenA/2aZ3MW4ADt2vkhtfLgzFB\n0QVqj0cjHlitNIe/ocYd+u0jEGnhgcuh/A+wfU/zXP2NuETPLt7JMA3FcED4\nV4BIkvogbgV+UFTFw3smUZDYsUTXW4INNFcUXLMGwVSr6/yUqzGNPDKABOnO\ncedAj/KtRxgWwjej0T+9yHYqqgkloWJL+UxxjYwdr8Yi14Ax54BK4Epjvw5+\n63LJFaDGPNf1CAV7WQaEQBsubDIVAbm+1qljyrlmrq1+ev2orVRr8Q7Cm/Fi\nvk1BpWeAdoda4WDvsPVv1z2fHVC7ySTbQuDJwoDXGTe7FRxYdpWxD3XppeRX\nVuv7JXjIcael5lVYwFAa0ZLbPFx0Fbwr6ODkxbgqQaC8AwGT+qV82lOErKS4\ni5Ph\r\n=88Xe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.26-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.57-css.0","bpk-component-button":"^3.2.36-css.0","bpk-component-spinner":"^3.0.57-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.59-css.0_1593614557665_0.8090189923694282","host":"s3://npm-registry-packages"}},"3.0.60":{"name":"bpk-component-infinite-scroll","version":"3.0.60","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.60","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0948580396d334daaac4547dfe1913963d5a0cf9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.60.tgz","fileCount":14,"integrity":"sha512-mSJLpKd8DD0ev/f9NGEDgtgdW8WXXh87vSTDisSzsoVXrxGl+1iOl7uzqV18PieBj2EzIUvgfzknE+yX52oi7g==","signatures":[{"sig":"MEYCIQDOo5QH5NaIkG8C01cV5RAsJ/O9r8v8LTCQns9snmpH9gIhAK/9fARfSH/1CRGgN2VOO1lfoahbc8wcVcG9QYFzFKBB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/crjCRA9TVsSAnZWagAA8MYP/3MZmRF9iwhlNF5AHe4q\nuIoDN1ZbA9Il/bXNEf0hh5sOMhMEOprT9I58QihRwAdjLIxWIBwTQ8tNhNl9\nl/1fZjkB1xof1po3soMgWGlhU6rGQJ2pgF/FsZQPOEjInQvtww++euanxQUT\nfhx3UELP34s/SWVBEGzbQhi6bx2Czx/PdpzxSIgjOeIOcguPOKzksA4686te\nuJYA3bWRDubwU0zb3rwIHpVHPo+rImxDqqxZodCNCgCWMt5NQ1zv8sVf/E7Q\nQ0oqO+H54MEV+RRoFbFzPoAqClaQp7iawvlq2kVjKp9qI6LNqrIYOxdekPUO\nVDJh5eYTAMox/JXrasMfDpaI983EkKzSn1nli98R3JssIR9woLPdcx79f79O\n7H+2eC/CrkHEmtq1wCJAaHtBXW8BYXFHRPlhzonqG+I2Nfb/Zx9UnhHvsFD9\nDembMaxdquyb/QG5WdiCEkboOjMJw+iuRnksP7vilfBl1ndhlE+TdA/P7x9Z\n/hkObLCYAfrdwtVysU/D23+KDAx7S57aB/INL3pwXz35xAy/d/eDpmY/wuRw\n1wFKGN+heDT2W0KRxnpsiBPZh+Xqc32o25IQAWdigN1NhDaxBWvG1ZRmg3Vy\nE46uvxvYI/CZnfVnagbDmYjjnYBLFGcLjBcW+Ib20CbjJj+2LiSsFCdxON65\ndCXA\r\n=nTd5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0386cf0fbe8800cb5556974dea600b4a4db3ba3f","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.27","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.58","bpk-component-button":"^3.2.37","bpk-component-spinner":"^3.0.58"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.60_1593690851155_0.9781708019911246","host":"s3://npm-registry-packages"}},"3.0.60-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.60-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.60-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b703dd23e26b451a36c37ac7ac4ad142f9dda680","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.60-css.0.tgz","fileCount":13,"integrity":"sha512-00/vo47HBv30s8I4qnaVBo0QxwMyrJQ57qInowf+CfUrP2+V7qWdFew+llBMBo46nRNDfAO9BHaIJdLH35TtNA==","signatures":[{"sig":"MEYCIQCz7knOrpD9lRncTdjpZvR0WHfJtG6bUj2ASdkM/ISaGAIhANIVahESz3lDzqdGKLZav6bHjdjzOCvaIZKkA8k5Sz2m","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/cuhCRA9TVsSAnZWagAAqDcQAKA0jNBD/7+JgfZaJ+49\nQjW7Z+qiw6jD9qHpvuH4snCw8EhgNWVBVDcwHnK/nZ/coZefIzzgxsUVvSqJ\nfMez9J0cQPco4Xah/XvJqwlzhnog4JRuULBuDnevbO/ccJH7mbHZre8RThhi\nQhy/jS2k3DUhZq2LkOiHefDi76TBHqSibzOKbcA4szH9OYxcDlNyUSB40vyB\nVe6uQrs/NKcwAgTMSk11boRfGyOcnVRgX8Awb8+bO6QVCTXuz8EO76iiRDEL\nlh1r5q0JDQ0J7fSK32ysPKNEyZi+hxJlzCDF4FvH5C/x3f9eNqz4pP/4Bpsa\nJjKWBgjRdaWrtp1b/gvyMLH5NKpF2Yat9HSFw09eUCOPYmxJTUPBkbJzhk/V\nvjIvQ8MHxFd2vRdueMj5Io+vR8UUwdNqoCX23/TpSL5YLRBjriYq89kfxYud\ncYGHaf4PNW0MrBsJFsl3HFBWdEb91saM47q+3GbnwztoaYjAMoovglaHP654\naAo8HUHbuvXYy9s+voMGRVBCjzeBuliH/2IPpyyBojtyHEDM6sOfV/0BYx+z\nvh1xZdDpB6611XW6JmIsUh5Y9cfktDsAvQw7orxKoPpCbkiEg/rGND179IMi\nwZyz/Ii1ejXCWsZiomxIgrJKaKz4zrfxIymzTMPNBes7v3qIgm+/+SyK2a1d\nvhVl\r\n=pKCz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.27-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.58-css.0","bpk-component-button":"^3.2.37-css.0","bpk-component-spinner":"^3.0.58-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.60-css.0_1593691041255_0.8144580676284445","host":"s3://npm-registry-packages"}},"3.0.61":{"name":"bpk-component-infinite-scroll","version":"3.0.61","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.61","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a07737e52383fab87abbdcd8c89e34943af71dfa","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.61.tgz","fileCount":14,"integrity":"sha512-4zrJQspht1LkciWUwBCzzg/JdJJhpOBzQLxUO71gg8cKAIyah8QWPOviLmMbKP/n1Zw7kPiLA8ueW/nqjx7Evw==","signatures":[{"sig":"MEYCIQDiAQ3cqQcgQvtkwHvLXZR8FgUieTL2atB8wiEz1Nv3xwIhAOUe51jGPIOqHCiauhb8AACdKZ6JZLbm7pCIOnDjt0NZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/vynCRA9TVsSAnZWagAAZtkP+QF1wRMpzECSjgafTSum\neLVZETbODa/BCzhqtTHMYsrCUoiA4E+GsnSW53/jkMRXyXEr0IDoLIkx9sbT\n3XB5gJTuRQYNNTE/RTuM+V+WYIdqvPPqJAdWFmSLF6rywGTc8WT0Lh5+3Vwb\nBiyVwp8fxKcmaaqaaxXYJhnTTSD8Sa+zlALyd5+MlqNXjj002wF7ej5ibmpw\nTmpnlQ0PnUkbUufoJBl9ktnbvYEQGswi/BKWE3gv/RS9V0fS+ePa8KBLHjAD\ne1wEE5xZD2iFTTYsPZZPR3yKrN0TfTkmaEbyXbmZa4tBA9uQz7G62mO2OY+A\nsIugtS5cx84ta5NSS1pyPsK1KhPPxJmA5iAdNUAbVhW6Jg/J7E62LfYofvVg\naAokK3xDq1zVlHulS00GVuf7cfRullGjsFHDNeLJ6UAyCNd4MbFzhVQmPO2M\nOJz1p6q4FKfwQCdgqd5wJcNF3KC4gWVmzWjul7GbXEm42MKdkcjygggljplw\nH1k9AcEzro97lbvwSUa7MgmlvufhFn0DGLG7mbxyPqK+BDfsN7kX8E6KTS2E\nlSFZ3+eHDv8kW0uFJaZqhi45dziVAp04YRm5/yk0Z/kt2wlUJT3gfvEZuIOm\nwn02Lvt541wAH6oQIcpX8/sled5oDjcBHfsUIRaKuPucmtGuO/PxWnYERfks\nt4MI\r\n=MuX/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e3a4d0aae74b107babfcf435d7d696e5e11b8b6e","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.28","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.59","bpk-component-button":"^3.2.38","bpk-component-spinner":"^3.0.59"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.61_1593769126471_0.306870293669405","host":"s3://npm-registry-packages"}},"3.0.61-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.61-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.61-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7be5ae652fea6d9737113de7f3f5eefd986a9910","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.61-css.0.tgz","fileCount":13,"integrity":"sha512-THuIqWpdacbrcmaafgcBmjs1TZBbztHMQbVoXLqvixzsGXaLoKAshMNdpI+l+P+hID52HRarU/qUqUEnqH2BVw==","signatures":[{"sig":"MEUCIGaZF8HxrDp4P85JU5LAnH8615qMj0gMT8kJjmYLIOfKAiEAqVnWypXENQsX6sYo35ZcCm3L656ZUVOMVjuKr/KThMU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/wDuCRA9TVsSAnZWagAAlf0P/R6QZKiNISOz+KXjnZsV\nRMeGhG6tjo1uVPeUSSBLZ7m5fjOLnbrUmmxKNV0Tz5x2FU3YLt6CMgJWwio4\nYjpjGoPAlxaj5hCnwhWUCXx0DEdcBaU/WkMkweoYWjK6sGBRk4RRYfXDRqhT\nNdt5DL0unu6mojEYRW1aek4Ge+MSiwGNQux6YS/MmLx1j4ERJRZNKCHj7pqy\nXqh5xuZ1E5eKXqFvAPrEAegSNzaiVAM19IqL5pMgxypwrCpXJvqvhJvhm7Oq\nXDPc04+gsqO0TQIqF4QflfHje6sjdlbMfjdcD02oqvoFMjNXzPOqxS+TCo1Q\ngVAuvuUFnsj2sCJA/1a0VWHSFCSAex6dp7bTpC3nUqDxSeNIXSUBkakzzK/s\n3wqWNijWZPkdrGzY6uBgMB9NQSzE6+dKWcEKHp5lAMNk5lKmfitbGOlLUxmq\nrstQ82rH69QlePR9mnJ4PJwiZAK/ue7xC/hRBQstU5HStNk3QVztUYihrpF1\nbztOVQ9vioOcjm9/ncM3EN4+53U66Ao7yekfWs2NT3KWTglMFe7FokQ2q98q\nMAw268p/8VaB5yaSeg0JaD/AtJ4mxfDTWbJROX2baa8wiFKPemuXODVHQV4D\nucGwElsg88exCsr64Yz55LqnIueTdCP08ZmAYgNhWZT7gbFDCR4FS+GYt10R\nRtwq\r\n=V7kE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.28-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.59-css.0","bpk-component-button":"^3.2.38-css.0","bpk-component-spinner":"^3.0.59-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.61-css.0_1593770221861_0.9659129313598973","host":"s3://npm-registry-packages"}},"3.0.62":{"name":"bpk-component-infinite-scroll","version":"3.0.62","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.62","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"733754d6aec93db298f2ef62d7f58613f94b877d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.62.tgz","fileCount":14,"integrity":"sha512-6GQxyNWSf3SNQzQQSF+g0PytYADLfym28+0gMAsAi94x6Z//e5Ssen1TeD9XVXzhLcGQK2/p2wL88N9ZoCv2xw==","signatures":[{"sig":"MEQCIE2hti78OSjkFTdQ2a2yfqjTMa49wfYKFsKtEp6FD/QxAiBO4orHpF0wlFOTwxr0By1JYFvN254o+8swfPrcHD11lw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/ySwCRA9TVsSAnZWagAAqAQP/i3qpfpOKSliCx0pdmts\nA2p/exRrQtiePULnPhCpMiHZw09Es7yMyXY5nJdyaUKzVPXb4h5Q62ZaPBXM\n/miQ0bjFidrN8koU5KfoYVp4Otylrci0bA7uzog7vigyFKEPXqJQB78ryUSD\ncLY3Hecg9u8algGsQYUPPVXCja4gP7Y4BNXRR/p++LHCGLXPpen73seTKW0I\nAxraROJlXdmM3E++S+SrlWtXl/cp3r+YJ8zWIpIvuhqimnEKDfBSwe7HSKpt\nk9hd3ukhAKBGqfahsxkvm9MPp52Sv3zh9996noUCPj0M9hvmcZC8RoTQeM8F\na2BVg9xTpw377ZXV9UuX60NZfHt4e+AI/e99w6XWNQ2WbLImy3EGf3AZRFpv\nP3rmhVfMZW4Xcj6CmMysSBuoKTuEzTbp3hm9zUfqIENre9qUVL5Kk+k2lu0U\naULCZamzeOt3oSfRP+Fvx/x+vTxtUlwQe10Pb45+fHpcr4JpS7Qhe5HGSMTr\nF83O1qZ6V3OuTrt0JFu7itcWfAYsM64SoASdjTpyop0nKBadlXlDwvl30UR5\nli+8H6w6UGJpFjZif37D7Wl5pij+P33UfFqbgvZAAKYKWY1qetj1z7ORDzIO\np3Ltb6cecR8wf+ZWSDU0rA/J1BIOeP+rcZ5YF5ZjoJJCmNVp5INlcc7rnf0d\nNtQt\r\n=Fttf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"669eab5da9803563e67ee186dd5da1bd38571800","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.29","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.60","bpk-component-button":"^3.2.39","bpk-component-spinner":"^3.0.60"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.62_1593779375757_0.4694010030231901","host":"s3://npm-registry-packages"}},"3.0.62-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.62-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.62-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6cea01bf95bc279d27d384af89be568ac44f3d32","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.62-css.0.tgz","fileCount":13,"integrity":"sha512-P4Dus4YWg/erehIdqmwsqkfFp7zcJxsSZ+znV9le4qc3bmO//kVGw1ARWE96curreG5eG/7vZY8ybTvyIC5LRA==","signatures":[{"sig":"MEQCIFUfCQpr/xHsaK0ghQzrk7pFhX2z+36sg7ACc5LNDrRgAiB9Fz9uUFpVE01dqkX0CifS5NSI3WT4aM9PgNAtra9qig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/yUYCRA9TVsSAnZWagAA7U4P/ReYUbbiAnQhFVNVyZzm\nMZhKVipKo63rqqAxrzGYiXVPcZIwCFIM8Nkt8+COPL9GjylFZCIeD0/SYi6p\nbOy9EynSXT7MFs3pNHJ9fO4e/roQvh7pTe6dzRsjB/3Q650qgYlcxxZ45ao4\n3QG+L30T1JItUuVTX2bwDee2hFlZIuRfuTKXUP60flqKbvgq6Mx8JhmOS6zE\nmzztmzuIy64MW9KebJMNWJZivdqGvxRBQo33AtihdZxJ8B01uLxMhu1XZAQn\npipCA6bnbyLjWVQLPdlDSRQagAq2qL7hGCjuGOEFERKgCOTzjSKJhB6dQ8QH\n8gH3pYIXhPFeQVJMdsejaWgdPJHfSKBXTl8HV1bsH93Hqp5nEGfgcqs9wuIX\n8pzRANkS48brxSOJeVY1c3RAOexAh6zDqJ4OBVIcXF8VDh/gBZH4SyZpk8rS\nCA+OIu5t3LpozC07PbQEq+sW7H5v+j0msMqGPv8nRwHu0jLky6SkAS0qziot\nr7/o0OsbAF0L2wB+1759+RpLGCW8RdgM4DefwS7rR7eYYGaelFiWxrDtQBcl\nk6zlZKBOFLcEKW4TDIt9tm0K46CXyDTalZOF7eY0pO0eHuox0OmqYA9mJIEV\n483dEnzB9rLEyHPFlTKq/mAPhaKVOnHCBtFLcJmAv4p/pEwMZ/ZHXfG8yQbt\n/etX\r\n=W1iB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.29-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.60-css.0","bpk-component-button":"^3.2.39-css.0","bpk-component-spinner":"^3.0.60-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.62-css.0_1593779480107_0.19968699908539778","host":"s3://npm-registry-packages"}},"3.0.63":{"name":"bpk-component-infinite-scroll","version":"3.0.63","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.63","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1c998160f5b6a4a19bdc8df4d03b055c31e7a6db","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.63.tgz","fileCount":14,"integrity":"sha512-bnGXAFMge6NQ4VQc1/m9Qv7oLm7A6qFQCA2xYLfGeGpUJmiZQw9+kDmbodLv8snHwGuoOdQNDsSvDb8aaw4IXA==","signatures":[{"sig":"MEUCIQDJgn/HagUENgQBPhNiTdStmkEN37+gn+eF0oGGtybEdwIgBKWBY1x6WtQ8JIKzAJZ2MV/HgmMjBBdylK9XDtzaL4g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBIbtCRA9TVsSAnZWagAAQnUP/j4qhIguLaMIpE2lN6M+\nuGBHgIzlWcF2dt4vnsHd9MWFCypAZBOQeWilh3vtepjJjlX8E+LAjr22mS37\n4hUMnCYiONkhLVwB4tuyDKTNosWsnUh2edP+AopfDJc9SADP5G9DO+h3eTSN\nbBhT35jp1zEdWVT0THlRKyubw7Wr+HABfzxOtUg3s55IrcicVLPZF5nQ57hL\nHWAEAwbov8gTUa2XLU5uXAUv58Xnj2SHFusit/CgDhXjykDGMMlFsdmBMpEB\n+4WgCQETrk2zIM6KrwxNtRCO/wvl71D1IzphxvWSFEeSLiZO/WSLYX1vZ5RJ\nkIoNe4kH94kEo6Mde7A6uZ6FXNk2IXwCbi3QxluBH66wFCYNmbBd3wd6/W+0\nC8396JTQ1TWgXPTf7yGHnEIzNSMC/BfKjwFuKbRofSF9BZPbb+W7Z8VGhkZP\nqYCuZhFBij9Kv4lg+iQhMqpPi63Ji/fobgH+GvAHo2hCbaoe2cxaO91sL0EG\nFNbyPdwVUpWySjqlkHG9xmi4NDfLqQDd17rL6jAQYVBBMbAFsmmd5ENoaog5\neEkGFFudZjLnjS8YUHANS2sztIWwHVwEfhTYo/G8Hrw/tzEX3YqswFGbH7rS\nXQZI+Xm89bq66crEqLd0/zEVotfid29FZqZIV3mWQXDffkC0B0qYYFXzrPkw\nT1zn\r\n=43Al\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2a2ce3066ea997acd7b04504e5ddadaa560953aa","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.30","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.61","bpk-component-button":"^3.2.40","bpk-component-spinner":"^3.0.61"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.63_1594132204612_0.28203765355672594","host":"s3://npm-registry-packages"}},"3.0.63-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.63-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.63-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2d237b0fb9381795c1a627949d34a14cda3a92ae","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.63-css.0.tgz","fileCount":13,"integrity":"sha512-ZPY4JgKuFplLJNKlObSOwmgAwuRmQYdHSvlo1naOk5fJh9II3DVT3b7ArkCkDs0zArjyg6M78FDmLLa6Cn1CiQ==","signatures":[{"sig":"MEUCIQCtwPIv+swnCIJ5+XQuKLAJ496F3Ck/k8UsfPlfWygmOAIgNTFSlaar0lBge1/dQYySxQ+3Fq7f/M3qaFPWcjTM9Ac=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBIdrCRA9TVsSAnZWagAALI0QAJ57EewfrTTn2yNcVe9c\nhLlttWK/ToP/Tm5c9Kds8BDalYoMeiNWik5TElX/+NQRGl7rxTK2QQJx1fCq\n6f57J9s5auk5bvH7+Ekhik0Rx8QF1eJ0twiSI1s6fUqfAnQaSDd1qED3zOMc\nTpbMRlRmSq/bm4/7mnO+o60F4PLMCiRTHQ62VgC7/kYLfGEUp5M4WlBNI0OZ\nR0qbB8eY9Kvz+Vn5TWr3uGfXthiVwrOOfyhfr01l1I/MWd57sL1ktwu/R2TX\nHiROa7iqaE+6wWpIlkKAz1c0yjzeWusGgvAjOESiJmQHrdBlZ12iYKfWBxPu\npFlEl+KUcAlLB9dZg17iUOcm59P7vHR/TMxWAfp/3YeSiAVQuheAHpAfpkT8\nOnr74WNP8NvJB5iITu14wDve6leVzP98zSMjxGt7svo6CTEJyY8RtbtipgAR\nWDBtB4zhKi35gQ6055N7jmqBmF9Vdy/WcWBtRRxT3tsg/L3clLYLy/VGqAuR\nk98Zrf/dYJ7hiOSJdCq+qVkWILFHx1uQCg1/HZzoZqovduL+nQUXnCx163I6\nlThwVifbDCYpFt1jNvmmdvae/pCV1EidOLQn3y/Kn3ztPxiugEKqZHWKnSM+\nfu+VlbOnavO3hhZwoSkxtsEXh+1d3HYS/kjGFjNDSntl8XRBplP6InAp0Cw+\n8qvm\r\n=qwsM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.0","dependencies":{"bpk-mixins":"^19.1.30-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.61-css.0","bpk-component-button":"^3.2.40-css.0","bpk-component-spinner":"^3.0.61-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.63-css.0_1594132330745_0.7148382016073422","host":"s3://npm-registry-packages"}},"3.0.64":{"name":"bpk-component-infinite-scroll","version":"3.0.64","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.64","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ab6b6def5c9f8cacdf2f54fdd49dfa4c67f9153a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.64.tgz","fileCount":14,"integrity":"sha512-9We7pNf3cMGwNfV6orP7d9sXwqO0WhaFrBXNqKoATMDt4MmdtySBv5tXiUi1BBZYR8VBsx8Ve8ONYB2rwQaQYA==","signatures":[{"sig":"MEQCIB+Lps7xGeXXsGojba3Pd5YnsxZADYb3tEmrmokg4QiZAiAMWJXfqofZ0OG+0yEzddLtb0YjhlZgL1IW0ZlDFRxnTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBz7dCRA9TVsSAnZWagAAU84QAJK4xdzP2IQ5pexvM82l\nftS2iVOMlcaTK6nXqa8aEy6I+ixz+xmXCYx7BfPWId3q3xSaUFWPS3kMrKRu\nQ7DOdlp7Pez4vjbhDiutyqrJ7Vtftyn42mFzFPhn6TwMU2NjkpnKEokYDk/+\nQwfMaXZkOX3W5mTGRK1uFl6gakaS8Y5i9dvP2wHKvDb3ChxBEvI+rOiGzkDE\nm4VWjgT57eNxEqUN6+6IUS5YDvmwzwsdUlVKL9avE3hr3fKW/tZZWi/b+hrf\nAUWFFEKFg7D+V0CbqeaGpTXMyJM7tTd6KNTE883PZRKQYj5Xp/p2I3yBa9od\nMdbxZ6UooJxPle5wUqoGZ+yKE72NcIrih8kHpixk7divT5fo/wpaao9pOptz\nEY9FU2+w5BpFCb/ncZJm7FDgzPTII2tD6Iyip/+X+tHaQzEP7oPAo0vuNOXZ\nUf3MZiMZhiE6cX4A8K3VYCysnfRRq2H58VelnnbnOjOjJRTQrq7hW2Jq2cQu\nn1zUI+YowEbXTkbe1x3bhVvWV3TseNOilyRGEYUpPLG+nVhY4PO40o6Prf4v\nFV0uSKmLmyUCzMJHHBcH/c5mSdd003USj6VHDuzfvDhwA84eO8yM4C1HVkQn\n1R1XpJAxhNQKel4LqjF58EIzhpT3SOWUk7FN3OVWVKSxfWdIMQGz8x80NCMf\n3Ty8\r\n=Tcup\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"52033f22f1dc491996894fde8753411e583481db","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.31","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.62","bpk-component-button":"^3.2.41","bpk-component-spinner":"^3.0.62"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.64_1594310364798_0.7468201384991628","host":"s3://npm-registry-packages"}},"3.0.64-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.64-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.64-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"021ee5ed276d6fbac85a95ac3479951ad176131d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.64-css.0.tgz","fileCount":13,"integrity":"sha512-gaaYNrfzceTJKPihpxdZF3j15k/b//uD6RuINInWKesgMItaExvOUDUCPL01JUdZQTVlVPK+vbh45U8mpJwhgw==","signatures":[{"sig":"MEYCIQDbk/s/9cvycl7RWrSr2k/Klspxue2PwUu9AwVxZAJyjgIhAMwvLXsO3/0wNYsLpcS4qZiBxjU0y2jvDemdbEsVG9Lp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBz/JCRA9TVsSAnZWagAAnV4QAIW2NhthZddEOTWSz+UE\nddd6RM6KmEuYGbbwxsVbQConvjjck4PMuUTtGPEWbOAVykmV+ckYtBlFDnrF\n3nNM3yq4ev6R/cwtMgqko+Bd+GulJErGslYgm0U3TvDhLX4S60m75MPgrzYE\n1lYNq7dY9/opLYjZmVC6q0LAshh5egxTFYNy0dneDT0m06re7UIueOZ/R7YQ\nxzI19sPFA3YAa+pUbsgglTbmakq4mIg4dWt+R0n8+B/El92xkHBC4N1pYdFW\ngXNSRbJvWiUMR/wQpchNC/RKtvgtyWeIH0s1Zw67BsbFhnINko+wi4bx+7zk\nxqv54vkL4VXEke9PEB/nCG6+9jcQtaLW5upOc/FDKbftvAHXdKYLJQQ/qDfz\no2fQo38Cqii5IdxZEs2YpQKU8A16YoVizoDMc19H4LfUPj5YmuSd1VYj/zOO\n99a5HDpaNW0ab+zC4e8JS6hPOw7CNEvnCjwGD97bSCo7HSU2e4CNHcVL6CFj\n3fqdAv2xdOM5141301gc3DDRIGxqteQHDq9se9tmEqIqqXqKX63KgX+5hzm0\ndeNPjju1KeImlgaWA7QClkNYNDu1frEbiGLLOA2pDdr4JDGYzrTT6knx3FcG\nlRgc+Q3gJ1gPpuStdHUz4kvqDFOkOPuE1pwjt/DQ61nXiNQaZk9FifKC8G/o\nyZBQ\r\n=q1Le\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.31-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.62-css.0","bpk-component-button":"^3.2.41-css.0","bpk-component-spinner":"^3.0.62-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.64-css.0_1594310593755_0.4669731541529183","host":"s3://npm-registry-packages"}},"3.0.65":{"name":"bpk-component-infinite-scroll","version":"3.0.65","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.65","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4dc856ec98c9712bffb40647717e98f17c2ec05c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.65.tgz","fileCount":14,"integrity":"sha512-xq0OadiqVKpn3OpG6Iu8g7QuBySbyEWLzdX70af9nBYoue/rAIYgUtqVPqjBPzEH1GYJdY3rgqEKulgr2ASobw==","signatures":[{"sig":"MEUCIQDsMAvSQRgOEtXuf1e9RCF4Vtqj7aG1lCYDtTcokaby2gIgYa0QeF9liOBTqypnrmKyT5SxFTUr0in02Gc4abyzAJ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCEbTCRA9TVsSAnZWagAA6koP/R3XvCvUjAC9z/F4cFMb\npa29ukEeGYnDZQakz+tb+NrkHdBewtapwjpAtDRkmnjy8KaG0cvggjB+pvct\nrZ1clmCzVbWP0HGERG0NC5sXFmV8bmL+XYRwBSH5DJ/noreKbhUiLo98tiXR\nMu8OPQPMrORtqNGCFVdDA1ZAnWd3OdeLA407hCsSoFWWQ/sqj69rc0r22edM\nxSuZfW4Oo45eMS+xlDo8RLONe/jojrgCWOuoObhupfk/yARNFlSAWI5Wq/4u\nh8MxVRvJwVU14sONI9U9+dj6r4BAiR31aw3E4V5SEqndaB45KjWEIVYo810f\nX/z9GcX6355b1bLG5rrFrgS/ICr/oivVspqWViUMfHWTZ2e9jMfnDo9avX31\n0ip73M/Bw6zcbSUJF+xJvFbCIQSYtHsUu0eo+nZ3w72ZjfwF1MnNUfA0p6l4\n4YliVGkWJe1nFU6FMXk0xGy+oNeJZbRRJYTwK2uVC/WYivNHRTDFWE3VoYRN\nc9pDod+jV/2DCwCIKFSv9l9SwbPecdcArOQGhGDV5iG9tjj0d1f2V6Q0Qerg\ni1yw41T+NC9GpiDMJ2gxwPWS5pEdLVbGsAAoAL5PyBdpsR196W2Nvpi63KP+\nRF1q4xY9lL3zYCnYOWuV1923yOGj0g7TbID/+nAOz2UYqU4vvTVZfddtGGMH\n9eum\r\n=LXac\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4b3fcc7ed5acc95ec7a6beb28d0190f06e5aef21","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^19.1.32","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.63","bpk-component-button":"^3.2.42","bpk-component-spinner":"^3.0.63"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.65_1594377938671_0.10549611460396102","host":"s3://npm-registry-packages"}},"3.0.65-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.65-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.65-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e2e181a7fce7dc21ef594b43e50d97b8eeaca6e4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.65-css.0.tgz","fileCount":13,"integrity":"sha512-RmfdXLeaaQjEOANoDDC71nHuYns6Pb+O08OUovi4FOdd+B9GPO085ttgNHIhAOM7DSvLrN9etg/TN0oN5mE8yQ==","signatures":[{"sig":"MEUCIH+G0Dq6X1Uk4gUOmOW+YTIVweev3xq/8vHjqTz9EccTAiEA+lp7gECBIB10xWBCIZWAHDcE5lIAT3embPc69MVE7N8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCEecCRA9TVsSAnZWagAATN4QAJwD8ydxyYvn+j4jC0cL\n+ytK1Wj0aNKLzqSliKByUfEi4ugZWJeCwQcVuTpr3PA90nCFV5zPzT4GpjpZ\nJrkwSdgTOhonCaSk4OFg5KeYT6UWXLcFzfWRxTnOPaW8zSVwCwebKMsFhffo\nWMLIfWTqXRaIZMzMUjhVRGHmBBb9h9kKnVpovlozvmLPt0XlgsxMMzEz7LmB\nfi8HgTQfAicHoYJGmTdMuosjL9Tky6SMVbrtEcE71enY2I8Yl06PSf/Q3uij\nI1MVrKOjGY2M+OntP8Mu4ROSW/YJbu1H2DxKe1Y89SC1ruVsYtSqjtB6QW69\n9skBWX4PfUZCBbVKPTiF1sZfPXrzNUXz/lcJ5xGG6KMVQ/n7mV3m5Kcuc0BB\nzLBUanxMNUwXftxAdMQ+efnBuk9q3GvGdYoCMLqvsHIU4YWItzeLbrHjNoMs\n19WoBg3Gl4LzPHTBGGceQBFDB7pS6x6L71mzpEK7JV/FJ0MCVrZ22EMnl948\nj/QBVyA2R8I8Goo3/YMptHTRXvOeVuW8qjlU3Kwr6PJ1xguKksGXCAy6subs\nPOfA1dzOJ/0woZpMXVJFL+TmiMDT6Y8diLgJ+5FBXQWsWvd5CltrZlmcLvMI\naE4Fz2kZJDZqlny8EQVSpaqGFimbNxhMxN/PVvQfy0KdA3bq5yPWFqTxQovy\n5Cu9\r\n=A0dv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^19.1.32-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.63-css.0","bpk-component-button":"^3.2.42-css.0","bpk-component-spinner":"^3.0.63-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.65-css.0_1594378138129_0.28887852155478155","host":"s3://npm-registry-packages"}},"3.0.66":{"name":"bpk-component-infinite-scroll","version":"3.0.66","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.66","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"75b471bd23fc6c35e2d679201e75102aa206f6b1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.66.tgz","fileCount":14,"integrity":"sha512-T8vCPHEuJPgQ6dGr7ehmot/ddiKXzqwejCrSPPgKEaMQOhDNAF1jm1MUqiLwEsWyeB9hMFO0lk9gOnWVofofDg==","signatures":[{"sig":"MEUCIQDkgkw8t0U30TPVTZIDdV7yji+ZRx0lrXuS2ySdaOFCeAIgd7/FMhUOGPBSadwbRTTBZbedDYpumi2Ldp7wuy7TAjY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDFEUCRA9TVsSAnZWagAArR0P/0hj5qC7HuC0I/snMpQA\nCZFg1ti8VKXEsGmdLzlP1N9KO5+eTN0Q/C2GQZF7PGHo/haejkedwb4P+C6V\n0zj7V2+3pso9MjWZy6rDPmZhf9Z0SlZdrWF47b3yMUC/loNpBfTnyBAGllc7\nXO+zLWU/K67zJRigku09EPRfjiohDG5GDKYJqn5F3a377JmzaDReyUrjASFU\nEfrfYGmO4kPNzzAraiE/YYciYXGMgxFZdZL5Z80q+z2WkC+uUsbNhkSuQRt5\ntah1fPpcXE3E5Sr0lfc+QmlQRPSASK7OkxuMpfW1hvsh9gGkM6eCCKIQhJYk\nn3m3ZCC6lBSwQBHAGItOOOenJRrIC5buYHiLh3pymPFDwzMLBVvzRHAOlC0m\ncAoQW+iL6NAB9Fr5qyMe4KjXwVwJ88szPtF8siX5AY3idvdScD2S6d6mpJIV\nFxJI1AU4BeW9rKm3vaU/9syrc+eWvPpfeLUMWE/JoSNsYFprYkKQAHyja0Rh\n6AbiH+o47ZCyEv/G9s2dqjxzHKJoyKjLYMq9rjWAQyGEPrDG/Ke9ID0U9uW+\ny1ZY1CqzZ7Oc3zb+dtRG+KKA4rjPJOWQoA61pHxlffWNVN59hC/78j2XJ1fI\nozraZh8FwLg5goURo0WHRJv2i0yl8IeFxkjs2tESZPP06eInzGQuxZpxlYoB\nt7Eq\r\n=vbs7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"29dad1815948cb60ed5504878da4d513309ec130","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^19.1.33","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.64","bpk-component-button":"^3.2.43","bpk-component-spinner":"^3.0.64"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.66_1594642708144_0.8230964626826625","host":"s3://npm-registry-packages"}},"3.0.66-css.0":{"name":"bpk-component-infinite-scroll","version":"3.0.66-css.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.66-css.0","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"132f91bb2419148c9729c00c27849ae0a764ce19","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.66-css.0.tgz","fileCount":13,"integrity":"sha512-c92XuLvijGDb+Ogp3K7eIZPjJQYNYNZWE8QxRsOgY+Do/o3GaskpRiPLtt4U8G0c+00v5In4nabhhcs7cuvMog==","signatures":[{"sig":"MEUCIQC/8bCjPX2sVY8cs4JpP6jsd1n2a0IDyALGdbfcpVUV2wIgNzUFEbGqP/VGqEqolGDNXIjxJbi2pVA8/jVSc6fdFT0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":61590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDFGcCRA9TVsSAnZWagAAKQYP/id2HDjl1Iq1Fu6MLbVy\nzHnyIBLnLpFDZuC95R1eE8gWy7YDnbzKbD8S68c3Lp+devAc7aWC1z2BIJW/\niDH5A2IrUj9SDshJsCfNJ0eIImwxcFaz0/MCS2NEfxp2R6mE3WNJCWS7QJvp\nO9BkHUVuI2PQveoybZ5E31XcrQ+Mi6EjHiujZE2y1TvOWV5tdVQZqQo4OKKU\nfwgjrSWs/eCnhan0+Lijoo8RcTp4zHuLsrSwbNvo4GFFIMcpHYTdjTvjc3zg\nKlDdUT2E1qzLvIZ5yDbh8eUuIiuLCyeBcxKrz9pglx9WnKXkK/7pP/MH5f42\nTy0wKmA+OO2T2Jk+ssa0qrQcRdDHeImySpVu6EhpSWSDo4xU4KMu4YT54VDk\nF2gD8HEQsSq/0+ppN7wAZsfTuMD1qa6kWUsXAWi2G1nJunw61tD/MQUPRU/Z\nQtAY7yc5AfBFXSX4BHSOvnLdFmcCv/qCyVdCiksgNbg8Kq7JW+9D1RmqLHYQ\nCKmf/FtBfZpDpQevNpcYCRDEij9F6fK3dfuxWUDOhVR6o0qXb7cSFQs3j7uu\nhXZqJxxfNycUENOugeYiYw3kNuwO5UbNLVnoaIFBDjVlpVW7bx3/AHyQro2F\nBlqfBu4e1DsyU2HPFBToYEnP4aPhCpBq9YdlCT4q1XxAJDnDLqWsNanHM6HP\nlip4\r\n=6u/l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","gitHead":"ace52722a3d752ef1fed43eab155666d232ce21d","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"6.14.5","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^19.1.33-css.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2-css.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bpk-component-card":"^2.0.64-css.0","bpk-component-button":"^3.2.43-css.0","bpk-component-spinner":"^3.0.64-css.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.66-css.0_1594642829102_0.46005877456674926","host":"s3://npm-registry-packages"}},"3.0.67":{"name":"bpk-component-infinite-scroll","version":"3.0.67","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.67","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5747bab5fdc8f889c452df085019490a12a57918","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.67.tgz","fileCount":14,"integrity":"sha512-646Ew0yXdrlF/Zzlz0MFe4LrMMCn5BxPR1xV99jNzF3CX7hNA6EekGtI6VbOVpfbo6x45l4KEL4WPVNcCemR3g==","signatures":[{"sig":"MEUCIQDgJR8aJozTvcZyqyMgcyb0Gj3LCouZRbypKCUjwOKdUgIgEEX353kSgvbACMCTArevCn0i5FHlOjPWoe5tIcxq/I0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDee9CRA9TVsSAnZWagAA8hIP/0YYYCLyYuaWdRXsKjig\nqUQAV6Dqv10O3uxCXL17HNBxT9nNVFsXSFzC6EACXu0BnGNYU4DBk1Pz1WSM\nbKbtaTMYZdFWsLzW7noR1LVZKV7zQs6nXX9scj5JktjSOsLA8YWzpYv+vlIy\nPw3PMDgt2L5sOK1DZPAkT6nbuS5816uCJKkjXBBsGCmyTjhgvj6NCKzaRBAP\nWvyWF+RXA9FnAQbFRUzzDz1UWBzovTHOi9EIv7g1Z2j7LvCQG9G4pVhZi8bH\nCcpdd9X1LOVuifxhlkdho7nW0A5d38msoSf9RQCg+YXUCrQJlOjBcBIKwfwy\nVS9vDKwbTql3iaXsrIUzuke5SA9CS1zPLFTzWlK+1muft5kKC3tX1Exez0Ly\n8wmI2A0QPXLU6O2rkrd3WA5AgZyw/qTTT/WisF99unW0Q8j2eC4X32+tzfYm\nPeVbRmEIRJ1W9fwvoq/6/qEPiMUT/NlI4gCHjORlxS7k43pG7cxOjCNMl9rE\njmBKYLhc4ZWUfekouguqkxcawSqswM5tkBtW8a2t6VmLspHkxAwVUqSSx6SF\n77AucIavdWIa7ZFbVurp+jpxcRookn863fPa8Yp5hOL7BTmje3Cy13j5kSiZ\n8Jw329Th6oDM5gH1vfUl7JJ6wa3RyEOyHCvq/HSRGa/CVHHdUAJ0JFqzkAs9\nVXim\r\n=SuUs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"648d8bfc8214781011b65f392cfcb7118aafbffc","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.17.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.17.0","dependencies":{"bpk-mixins":"^19.1.34","prop-types":"^15.6.2","bpk-react-utils":"^3.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.65","bpk-component-button":"^3.2.44","bpk-component-spinner":"^3.0.65"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.67_1594746813405_0.24859833071534276","host":"s3://npm-registry-packages"}},"3.0.68":{"name":"bpk-component-infinite-scroll","version":"3.0.68","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.68","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"795f7438b0ec1e1bf2860cded25321ebb7391ce3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.68.tgz","fileCount":14,"integrity":"sha512-Ghjuwmp6H9Y88rH7t6ElHUdjPwrSo9cOtAMTBeFwGqGt1dH8dSKQqlv0CQtFDyA/hT2z7/O+Hw3dIOyQqvfpCA==","signatures":[{"sig":"MEYCIQDI+Cq9n0YSO2pfwfo4nUM/pM8AbNxbVYKssC1V+lTc2QIhAL6ouF6LD705yJQfEE8H0X787zeipYqSQO+VgcpZ+ZoE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEHrsCRA9TVsSAnZWagAAHJgP/jHdraoGjIZtpgVh2lRf\nsmx2tBulZDI06+8cpFEvySWoHxIvcY+UfRs9BuGB3e/5wFCFZHBkOQyuEOrW\nDM/9MtJ3QAkJ8zx1XKrPHEwgI32lqeKG4MfWgGqcluvwo8korR5QyYxR26/x\njKsaIhLpnR1qbBKe1N9AuWa5la8hV7F0h3POC2qnLaYcJsG3z7UKJuxZbn+/\nlD5nL6i+7v3tu92BV3ml+Ea9IXo/X2WFP52Jx3BvT40msvgtaRXrZmmfFdsI\nOAunzKjwsW9H+4NiQElKOrzPOF7qht785+E1LThtM2vyxUbF/IpfK4Huyq6Z\nCWRq6eZG5+0HZDQhzmX19eA2jCdGGV1Z7Nv0XKJzmnbcVJ3kiDZkUal+oDBP\n4y0EMOi/zBAwczEhT6lV5gglFaB1d8d+k5nW/1bfvBuiPgQJNlB+GEXpwcRj\nb5ywlBdKkXemW9mLRtvJvcAMr5KtqdZHxItGahR///O97D/KUG2hCTTsIFhy\n5koHRoZlZFUdAB6nALP0ZTO8VbX/Vs5XFPoByAbFsOt6dd7Sq1rx9M34hNY0\ncL3zG6Vnadp8LVlzTFdG9+zcna/y4qegayUiY6LIrhYu1FKM5IEuLFDRB0iz\njo4lhHVPGgE4JZCSMZuZTwjH42kTNGQ+xkFlcGeb/LnMwY8clD2KcH5w3bXH\n7Sax\r\n=f/9E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"136d3706ec2f6823e38a2b1e25715b1a280890b5","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^19.1.35","prop-types":"^15.6.2","bpk-react-utils":"^3.0.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.66","bpk-component-button":"^3.2.45","bpk-component-spinner":"^3.0.66"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.68_1594915563701_0.10921074023679433","host":"s3://npm-registry-packages"}},"3.0.69":{"name":"bpk-component-infinite-scroll","version":"3.0.69","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.69","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2bdd1afc0a3c19b4ea89805300400ffd2bd8f7dc","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.69.tgz","fileCount":14,"integrity":"sha512-4vxUzeW67HUBXqiLgEwSWD3pny93O6zP7nNZ7DNJLn3AhIH2SxIphACN5WFhU1CkmYIfefPs1rJM0vaIINj5jw==","signatures":[{"sig":"MEQCIA0R60bPqfGz10Scj5T32wtGgSebW6rQLHXeItu/EjFmAiBl7SKR1v0jLeKgmoR5eUUzQwCEz4trBIYHnql5kCNHkg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGAVKCRA9TVsSAnZWagAAPO4QAI72izcCLPIO/9g3WqEx\nQuT3/fUWAPexw8YVY6ldBnpTLAO9a8qU3Uv25I93h0dBwNkoOmtyg9NpTDC0\nivrnvP9qDpFimSowGX1jggOypib5fE/paiHLaAsoc/2WHnVPwG81j5/vifGg\nprdKn64Vyhpkk93EX3M1vjfB2ZtvceHFo7AcJNcAejCbLYvCOm6jTxkDUZ2O\noUh98A/ukx4lPtmgM5tDsYymVIMQB8Jso7rBw8/gHMep9+FNaMXWBXgpDcaS\nl+3wj5N728F4MlVVFOLaBS6RFZXRKz2KGubt/Pzr9N/R9msxOsOJa/qRmQ5O\nIWitotlNGFh5Hfd+DEzQDwOR87OJUNd17e6t7wP7g8WRL+6IIrkqeK8N4Oqv\nKfT1e6XYpH8N+3uyAMTWGHXGDA0NGHaEjWF5Wtmk7RvPiQ4UEgHBUw1ZL3Tl\nUqp2k/lpUgTe/lBK/vnOastHhsjwfynjDf0Lcz+ZzQ2V+7cTofGUqa6OAw4v\ny884KgUwPLrXe1OpnBlcf5Av6cXfXTSX8BgG/jX2awyAtIfDcj5rSnAO29Nv\njh7r8vKp0QPh5e+5EeDBClwe2xgBj2NnV2HJN0uK1Z+CrqKr8ZxLLehdZXmp\nqXapF/M/fK7oPnGiVlULaL78BOYfFR068nhCkFl26c5jac/FxL0I02AGe5Mr\nK4+C\r\n=O17K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7146c27152af9ab80cfc93798caf9b5d20495423","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^19.1.36","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.67","bpk-component-button":"^3.2.46","bpk-component-spinner":"^3.0.67"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.69_1595409738247_0.29318672821439273","host":"s3://npm-registry-packages"}},"3.0.70":{"name":"bpk-component-infinite-scroll","version":"3.0.70","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.70","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a356a860d3ad09a7676baee7909253c288c4fb2c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.70.tgz","fileCount":14,"integrity":"sha512-+JDXSTQGhFNRIMMnFsnovKh7PH5GgYjAr3kMHYSifIf5TLV60/vTLkUYgDDJe22AqVURztu0jNxUQjlZeFF6tg==","signatures":[{"sig":"MEUCIEWDIMbbxJPf8PHyuVYAS0kFkvUjp8MEMtbjHSnCUl+hAiEAiOI+s48CHdHtqlc2N45CeNqLHbvlJ6emOGOp9dogWNQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHvI1CRA9TVsSAnZWagAAR3AP/RmJiX+XFsRnrctW37je\nN8xA9UBk9JQcmBipEKgEh0Tjs7+YX7Gn9m0JjJ9H2jfZTNhu5mrCCQq570xE\nFQYQPiCoaxAiepR4HaNGRBwD7HgQ++n9tyAtDtMxDLi+zx0BvVSzJunewWD0\n1WnlYMBhrTi1os0IOP8M8qJblTDtZ0cuFnJt0thfsxJyoJLmuSAIDGhC01hb\nkiQckBKOFKPoPV6feM1e9tiJS4qm/ta687Ud/5cY+KCTgTRvYoYoU9DpMfp7\ndVc5r/ccg1VOg6y0AgvpsDpFpxcWQw0NvRSGd3e3KNRXdKycr2xO7fqRa0Cv\nmXm4Bcg/vFdzQ5IWmYAHIKL3ijoik6QV+HiBJfVMQ2urz+iiCuPxrsrhZWVF\nO0qw4/Kvh25gax8qn4LFSv5PdXprlqeFcUdI0kAl619CgF8SQJKobEtaKnVA\nBCUBU904FrNWIsuXcfn1f68gjYnKxQDoBx4lL9xe5SXXuImzgsOP0B5pnpcH\nz/vv8xO7VYZjldWgpaN/TAUWgqfV5f5bRs0I5Xg6HiEwE7oDoMqbqCiMvEmD\nGYb5BcHDdMfwJ7oosrgpjBmJ9RkTj64iCocNTDW0fKubot+6ttHWvnq0i6ac\n3xJaw+yIAkfgNuLwMmhYoH5CKRhb4WN8qy28QEpAN3iqBGHFVnLm+c7n8vtj\n0PbS\r\n=Di8I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4216b78363623229a3d1d853551f4b4021c03550","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^19.1.37","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.68","bpk-component-button":"^3.2.47","bpk-component-spinner":"^3.0.68"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.70_1595863604792_0.7596964986050279","host":"s3://npm-registry-packages"}},"3.0.71":{"name":"bpk-component-infinite-scroll","version":"3.0.71","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.71","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"bbaec575ec04aa81babaa2ccfdda3d441a8e61a5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.71.tgz","fileCount":14,"integrity":"sha512-PyxVZ+UgICpXk60c/BNBMUWcZ+g5Kw6IxK/pePFI3iCFaMn28dEu/azwP05lEDWbxkzbvVma4AWF3zprbFi7FA==","signatures":[{"sig":"MEQCIE3hbPoUaldn8Ru8hAi6RFP9KT40BeZN7REFuQi1papEAiAxR7dzexf87DGMdGdhDc4/ekJAbNaaylxNZzTUvRIOwQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIDN+CRA9TVsSAnZWagAAZygP/20XSWkzBdT+j1c0jpsK\nZK9JmoUexUQ00h/2TZ394KvdmP26TvCFk7Eoy97iz0EepemeDQALsAqzy+PU\na/ZPZ6Q137fcaZKZwIwOQv/kBSHDX2BSIqW3+GskInzxvsgj3SymK3p48Cb9\nW32pjN07TxDsfj1RP1KUkeVbD3QJXA1Gczz5ihvPPPd9ArmtnwuIJEbJR0E5\nXk+VWViBxOevxUmebJE8SS3KekZ0a9nXLOvzsb+G0xRJ22DnoSrGjNFYTtx+\nabP0koMAwIcpJ6ZHoh4aWskS8EqGo3bvGMxuEmXoE3be2XA2KpY6XDWY1Y/r\nhiY/8FlbtURsq+U2/OImIi+970YWGlRbx3aw7dGP4gpAscl7n0qeMU+Gqr/r\nvxywsj5Exs8C6A2CD+xufVlNg5OKdCyoxK6UjYeSYmNVPWw10Ui5ZX0k0bR4\n1M9N4bPDlUFN2TiGbw+R6DY89oeccDhrk9O88U49DnTbM1XrB665YvNupmAf\n9TE9O0P+1P3uKjoV2T/XHqyEn/V8WjvBGfc19TbikIHgfhC5TO8uIpXRCiKt\nU8S/l4/PSGQAkvu6BBeCrRyHoTrFjDHyoHh1n29q9dBBlKbgtfKu/L4gasCv\nYLUjh1PF1fJ9LYihKh/E3TWFq4ommp1+W9EdJksLNZn7rq0yO4AJg2FMuupu\nI8Dv\r\n=ZnJD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"38a1222131a4144769e61dfe2d9569fb749b7fc5","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^19.1.38","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.69","bpk-component-button":"^3.2.48","bpk-component-spinner":"^3.0.69"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.71_1595945854436_0.41055086387948414","host":"s3://npm-registry-packages"}},"3.0.72":{"name":"bpk-component-infinite-scroll","version":"3.0.72","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.72","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d8bb39d6b4af38641b19d32908ddbf8dc1a7df8b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.72.tgz","fileCount":14,"integrity":"sha512-to1f9rbgSEVYbsHhnqotUXX7UwAI+Y1y9TOghoV/3AOjGo5MvTB1Y7mXN/xLy3jjl5zj+nkbgprkPIJPGUNk7w==","signatures":[{"sig":"MEYCIQC+ozJiDFJqq8RrvjwXrBUqrsgt1uID3N+UDOnkQhAl9gIhAK2/crLdGpxo5d3jdXzkXhCqarW9GHQfCeyWfmLUvNdC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIce/CRA9TVsSAnZWagAAUVUQAJ0dnF5KgKBEqj6lw4P9\nSYeRo9rH+Q2dD27lwrNUjt7fRUFfm256XTgcvDgeo5aSH70ZzG6Bho56Ptos\nTAbx8Qo2eNRGniKpLkeuJnLikTAHI8251gfvuioChzPqnuouwrHUBjKh7UR6\nWKqeGRDFNWa3bPeqYz/0jjYQJUiSWLuOCCBbDR/12h4norUp5+u7OcNdlFVD\ng6Y3ubnz1Lf1EQeyw6C4bs17vel9p6HaM3ZS4w3ERZTTHGl4WgORc3cJJAHt\nxMiwIu//JjD8/r0feyazDUqvByhk+qx6EQyGsD2UFvwrTtttYdXHoDNDFd4U\nwa82EPOJH4AMYZ74p8U14khfWMlKztIVZrhz8ZEMxght2cRCgOq2M1O0XYsO\nPXh4eqoxQgDL1DCsSQ7/wbzXYONqlsukyQlmQtGU/GZkN+S+fN75Csw4Fybn\nJufugJDtdNna4sUHj8XhR0BEQHqEM++rxof/MylBaXCWNdN/JmYurdMX5XGg\nXjBwO2L7n1VTvpUU6O+FysRtcDlSLqahG+/ylFwbVDCxppvSMTyOTWQvbjgo\nZnl7cykswX9Lt01Jd1iCjkt4Vac9kIW1onLxMTYDQRUXxErjXWtHVbhrqZMs\nKurlzdbUt2NJ3HoVAkmX0X+cqABs1RaxyqbF1T8iINVwl0azFKBHcRMoLvme\n9iXm\r\n=gvO+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"75ec9768d8af9d60430bcff20c18e092a9ece5ed","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^19.1.39","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.70","bpk-component-button":"^3.2.49","bpk-component-spinner":"^3.0.70"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.72_1596049342607_0.37217092054610235","host":"s3://npm-registry-packages"}},"3.0.73":{"name":"bpk-component-infinite-scroll","version":"3.0.73","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.73","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"053ab757948d4fefaf4f92af173ed83c7e3c66a9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.73.tgz","fileCount":14,"integrity":"sha512-Pd9ZT38LQENCq+15Vgs3G2uWVt8Fdn852bZjb47oW+Mh3Oib7I9oL/97gC2IRev4geV5o722M4qMSLm+VVl2lw==","signatures":[{"sig":"MEYCIQD17d53xwf2wLmX6NwcNVJvgqx4iLA00ami8oAjeDb0AgIhAIctPpH/MzxNQBD1jOehOiS/3tRV68AHCQkQIbZgd9g7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfJ9rDCRA9TVsSAnZWagAAZe0P/1cBccejHj6MbETdw4cy\nII62UQiyU87rb8mgq2Ett9AqaRAClRf//73tcuNGxqkXSq7KjZDwZ+S2MmUY\nA90FgOTlgjeFcwFYhLntE2uSJNAl7zaeWQVMm1E3wkIMMbvH8waUEzClwTsp\nOO/sg9YkHgXKy3M8GeYiTqZ5xbpvhiEsMm+NNlLVf+Q8mWm2MO1hUEbqz4GB\nc9H9rCrVHDeD/09WmxW8hOyHJk7VxVfy5FEpPfwJ/tWT3njPwZh8u9ISdMgH\nmIVF2+TncB2pHG2Q5UGdBqEoRofPdoofgImH8icUNVk5zHI3u3qA+tJ5+3jV\n17auKLgVXnjm1QwMQcJKn/v6yMsiV4fWqX1whvxFYpyTEQV1mNfjZM4VJVec\nnw0f7FJF3kcqAMLB1zsUUAkGQd1s5CzoehmgBfq0cXmjU6PM//bud2luzmr5\nWL0eJhVs6X8jz3sZE/QhkYMFb2+OXGY+YmuS6f/t1OFQisNtFti/eU6Bl7mm\nlP+3B5AJj2UPxRb+GF83aTnViu4khzpMimuB6wWQJtJo2J0kLt/ccP8YvuqN\nUtCqbX/HrOa+05QpWrjLPbQsNlB1PXAg+I9MZ+toyenFjqBYjUXj3HlTBKvc\nMgQ1RiBU/IE4HprRM/WfXN1W49JgmdL32TdH7S1dY4eOWQEug1SgIkocvAHW\nIaPf\r\n=E1uA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1678a34c09c72a7bbab27e07c72d4c04ded5d46a","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^20.0.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.0.71","bpk-component-button":"^3.2.50","bpk-component-spinner":"^3.0.71"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.73_1596447427169_0.2927260834578336","host":"s3://npm-registry-packages"}},"3.0.74":{"name":"bpk-component-infinite-scroll","version":"3.0.74","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.74","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f07312452e38821492f72b4d0f5f04c578351c62","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.74.tgz","fileCount":14,"integrity":"sha512-5pwrN+NZkpTdSv+r+E1rVy1LSDRcERHiWwevIa1+M8ckNr/nUu0O8HG6e2L9wti+lExkUJguUHrT3ANrHSDHaA==","signatures":[{"sig":"MEUCIQDaJgQ+9lXzqccSw5TQKrSZPW6iCFnQNEYts+FQKNLunAIgUt4/CXuiteZg09eL3CaPSi/THT9nmpakn6b0NuMDoBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKpeBCRA9TVsSAnZWagAAnXEP/0YqdQ987l6mrhEPRE20\noxWBK+DRdAA4HkNgFnxlEo3KMejNATdzCrw3SQTkpfcpq3+pVVoVTaA4j6Uk\nwbe92Pmk/gqFo+wJ8PqUAEvZtCit/HGBRV1xqAMDJar9MkHp8iWxGejHZYgQ\nRueoE8RFqEqBXwb+F/r1bExiNL3uGYWkTJZBSPnVDrzEllXjEGxvN7cdfCj7\nXG7l6lKcGaVS3gbi0uurBlsp8sLMiBs4e77355hyXtdK/EOxguzgL5C9H7HA\n5K8Zo3uQQUOmUx/GK7NTnXDzPAKvKk9efiqsIM9eHjVu4rERBJ3Zl2QhvJkr\nFdt8HqSQd8sUbcJ3XKkwwec66pwZVa5eoY/qKq0l/0gFZpGlcOOowozRs9/u\nRCOrR5lxJ9/JP0IJg1kumfVlWCDWF6GO5DIaRhYWLyDnsuk/p859GpyRzBtS\nh6era+o/HrvboyLR5b7Mbv6U1ILXSmUv1dNFSRirKCqrCKO2+v33y4SLYt1k\nBRaxL7EJp790YUq1+mWEO0dfy2ysDCmyik+1yT/1x/df2MlHaSMCI5c6CwgL\nNpNt2UgIIbt1A60fsZWin9AmKLPNBnv4QShzDvTFbD7AoT0FkwH0d+pEhUiP\ntyUZ+ZQauEAu9UtObM9Rso/mLwIcmIJdweRuyqj3w6w38c1xskJ97Bwylq5n\ntp4K\r\n=ehpY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d35d02bb2da66325272dc1a66ce73cb1ebc9b023","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.2","dependencies":{"bpk-mixins":"^20.0.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.0","bpk-component-button":"^3.2.50","bpk-component-spinner":"^3.1.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.74_1596626817330_0.14676186146259784","host":"s3://npm-registry-packages"}},"3.0.76":{"name":"bpk-component-infinite-scroll","version":"3.0.76","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.76","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e2671d94f1b6dc795cbe122c49806f0fa28632a6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.76.tgz","fileCount":14,"integrity":"sha512-QUe64B+CZ8WCmAuNtaUCFnLNaoPEUIjmZjXoaoXS2mPejq2MPPC/t7Ry6Isr6sz3M8CkvQxSAsJNkgSs9IHVeg==","signatures":[{"sig":"MEUCIHhuGr2TdXE3TaT8iVp6OomM4t5jclmFU/D3d9JjaqkrAiEAxMENemPpc6yUw8ouRnMbZCutik5aKLmqdruHtelmC3Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK9WVCRA9TVsSAnZWagAAD4UP/2sjngDxqb1tgSoRYVaV\nGg67wrB2fDU7xTqRDmh6YTFJDKCIboSybtBWJ+svTAbsg3aq4BLfw2VBvCRF\nTkxGXgp5KGRwpAdm4VTnkihn+CYcCq6e0Wm8+0GO6GDtvBnhguQxzR/LZdTB\nnm3G5bK06WIGppjrmgPwVq17BBWuPolTzg4ISqtCLszfQl2H3n4U9Tl3F37L\ndf2+xAc2qFcXDAj3E1/nuFRH6XaNhGANK/5JyqBmvvA6+U8yro2N30XtrxSn\npcbbZayiXfxZm7bpj4zbRnR7VwquRAJDTJfuN0iDGIyqI9n7sw6cR3FD6WNj\nWRVmXzM03w6HHASXx8EsjyT1aFLjL5R8NdARZmftSwPS/NRlsoNV0CkFLi3B\nDZKVyztC96xlUW4SL1CWwnGscf9nLr2cpoKf/MV4vHDJ8+DE1sxxywbhDrui\n549FAX0pLD/duQ7Z7aWIMOQCw16x4DS6VI5uMqQhJ1/tpM+KQc5/EWVAGlVk\nMj30yVadYNm62rxwN/0vuSmCRqgMw0fqLmTPqeuoCBKZQn1/G/PPgdyeO0HQ\nLbTmQRoerLNdqnBNQ3yCvMzmMiUZNJ6FEzfjtbVJTt8vgxWZOA1JyzESgnZF\n5p6Z5UsZ86qwSIpp6kgNmXBldXzcMTuU0Zw5bmWXqznPGRF4Y2jpKHozxHsd\nNg6i\r\n=OrFi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"708d65ef1d6d05a20355b7c4c566a19390bdd46d","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.0.2","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.2","bpk-component-button":"^3.2.52","bpk-component-spinner":"^3.1.2"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.76_1596708245243_0.4326159646481629","host":"s3://npm-registry-packages"}},"3.0.77":{"name":"bpk-component-infinite-scroll","version":"3.0.77","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.77","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9002adca6dc10412ca1ec0512ac74718c2512b6e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.77.tgz","fileCount":14,"integrity":"sha512-yg7ifra9xBf1dAn+qr7Ihrk4NveK0gCZX43WMWhpon9rfQ8jY0VMgOS3QPl+T0AQc7Ux0Neq7naZIFRExi0GEQ==","signatures":[{"sig":"MEUCIQC4KL/Tv3JhML3x3j0wKfVlT8aOYnasDFl/mTsIKU1C0wIgBgDTWrQFfrTlofwGdj5KB9GG3Zncra06zF6K1bXj6A0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLRn2CRA9TVsSAnZWagAAdBsP/0ovYT0H4+wgjrX9ozkR\nk93TAjcDRX1TgTjW0sVoulSEqU/kgTitEkNSKQU6Z4jgD2K/KdxHLBa1WULO\nFZuuFkc/HaLmuYjPnBYtD8KseaQnxJrNXXmFU6R3DSqP8BHwFCuBP4p6x9AP\nfO+xFcDqPmM3vm51uidIeUX0PFWDOhhGpr/924FLv/b2vs+p8rbaWZOvWWg/\n5RsQLNC/LN7UUSmB4jGz+H1Jgsr3Rl0oy6ATp++RYIXksMs8rzIGQ/ijr7eH\nhv9stx7uKPSFbJSxXWR8x7mbdbaqIPiDOFf9RBYDTw3OgMB2/yQ4eeKzL7cs\n/j1WgIj4cP/6KJ5AIm+XiGMD0yGHyspFhTzUjQr6sqBpOfGSlP7np9jnsF+r\nnokTgVyIAvGUDZALjIOuf+pZHtidCaxu3CwSWF9KdwSSde/kb3jE+hfUo3Ji\ndJ0JxXHvM3pCPOvIr7oyi40h13oAkhicQ3u3vnv23bgP9DWR3HMmu7t+gUnW\ndIMo55oEvlcwtjNXwy3yD1PvtiXJKcbI109reMuSBh+4zRTuCuOv1yWWh7sf\nE8oiju/xnnh1JaeqD4xtnIDGLXWO/KGxlJmitdW8Mmlx1SXsuzoh69bC/Ead\n6oEenec9omO0EqNadgSjUYnu8rW2yXqvCDgrDtS57W51/YwpLVtpM+C8so7R\nohIe\r\n=DlHK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"efe8db9188b61a33844217dd3030aa9cd958bc52","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.0.3","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.3","bpk-component-button":"^3.2.53","bpk-component-spinner":"^3.1.3"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.77_1596791285594_0.43166893243672555","host":"s3://npm-registry-packages"}},"3.0.78":{"name":"bpk-component-infinite-scroll","version":"3.0.78","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.78","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2e98599aad399a3292463154d3b3691fc26614cb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.78.tgz","fileCount":14,"integrity":"sha512-hyjyFsnF5knWZ92Gwtv+zFAzTowoDeyvFFeK4bpolEv9rOXES70YZd3YuX6ZSxzfFGaWxn8rONRj8Cfnntb2aQ==","signatures":[{"sig":"MEUCIQDtk3nrt82miuzS5OaL4MEeYOjGSLlHaxSHCEXJJvY0qgIgey8CfKU6P79w1X2aABUJSaLr5NR2aFbBjugZkayNegQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQ5sVCRA9TVsSAnZWagAAWyEQAJl4SALILUaVct1mU6NH\nOO+yekjYUbrlCTOol1fotUngqn6PpDZ0lihVXVigl/ZVZqaP/zO3nSIdgl6f\niP/TE7ehBxg5BEfOgHDgg3QulblwMdKnE1nIfNBoMhwi94foA9ZYPbNWUCi0\nFvh58lKR2q3/h8vjXKb0U67f2/nyLUUKAZQXfsERMEj0r/SR+hlTav56a5uY\njDaY8CFnU/DrpddVbl8M0V6bz5Z4O5vmtiIFpZ8IXG5uKAdPtnNLzqVkZRLU\nrwlDBVXbIltbC86HyF4cAK2m8dNTP75Osfcuav3G6LFsneYsOGtG0V8PLF3A\ngt815kREyH4zrTy9I/7/QyuW9JHiI2Y7uTlvi0wXU0Ucd8bSbHZMX+Ekbiy7\n/SDwwDPAcUfhMJrqB2cw1cnd/u6G+XY31f+LikB10bXcLCVNxozxML+nr3ia\nGkMfRMOqH2wfQivYXMBuxUAyj7b2rpsoA0EA/3Pj5UnQ2s1oMdpiMpKuhVaI\nLqUVxlGKq/PRw7BSHbvs4n8tN9OqtnIS8XUiI0hzEtOd1J+FC7xOeFq7sIVl\nZI0Yuc8ksKhVvDqB6f76DOEyQR982PucPVJhG1bUqY6HYbhG3UPL92M9Dyjx\nvHWVlR888WOPLl+qcR9Ljc9xZfD2nvQqoRIWclCQJLU/CbQxTOTLx2eR+f9d\nhFQg\r\n=Gnou\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0a7d2633847ae5eb23c1a320d3735036840d3e0f","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.0.4","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.4","bpk-component-button":"^3.2.54","bpk-component-spinner":"^3.1.4"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.78_1598266132932_0.17017769777806535","host":"s3://npm-registry-packages"}},"3.0.79":{"name":"bpk-component-infinite-scroll","version":"3.0.79","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.79","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9c29acbafe39c942d435cbda283a485402e96392","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.79.tgz","fileCount":14,"integrity":"sha512-eCFXOQG44bfBE7CwLKpMkotZ/P184elJ9TEaUz0c8iUi8y3w4fTaHuw+yZDbV0slpvEHoDkm31R3gVxvSkhciA==","signatures":[{"sig":"MEYCIQDfos/MMdj0avrNLjkdbp+ipsk9McxrrXWk9osfG2A53AIhAJU1qv7OX5nUtToti3IHVse14gOzizj2aDzj2ddouMXZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSO8QCRA9TVsSAnZWagAAceUP/0uq2VYmUZlgdHcyfrpy\najgKFeWVLZ5gpYSuio1nYbKniVJnMKgop/x7j6/mWFsKjtGTySUImhkG9wAG\nas5VKx2RSjyyq9l3q11ZfuLYjau/6tq5UlKkDczFHC5cJYAQjhQYD8Oz/a7W\nJ8exfQgWjML7vIr6SswDx/Ub7DO4Ip4GkYJm3uRVPhb45W/fDWeYTnaoqaAr\nAtDEhxqW+ziZ5+Q3bwHN6jjqV5iYlSYstLzL33sLdSmvHZXjXLJduMUww9RT\nZO0Y0dqlotPKPKAp0sj7E1W5HOyGA2Ff+I/AIUgE6SAC9fjorjDOUXhUsJcH\nL/gLymHo4dCvoQs+Jbbi2btLspSngYdF0nn9YWXfI8hbpnkOUhzWEDB6dOb+\nQ8pDc0rlvqVqLQqhf/k+LyNBs26ndkIlntj0tP7XnzFGJLWS+rBw+bLvPPX6\naGCkP9ffiVAF185pTjGLeUHE1AZsUwSnudXrcZHZsgtvVeiT4LAJTgcU5gDh\n7vhV8FD7CAnk00YIxzf3rOpsWMqDNPvJy9nwOeGZxbia/N/PuMHvGUP+U3a0\nWpttAkeFBivlpeK3J9/YQPNlVUKsu7xkpRj5Y1sHsrHPsr65qdVOwz8IZ/7J\nIMIkzNNmXa0clBtQDf2AbSsV7e4GMEK/debbxpLQZ/drCmWjXAC+Y9ZgLu8+\nK9SO\r\n=4p+y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"54b5ca721067d5ffa4ab55d8160ea13aa0c8b980","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.0.5","prop-types":"^15.6.2","bpk-react-utils":"^3.0.4","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.5","bpk-component-button":"^3.2.55","bpk-component-spinner":"^3.1.5"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.79_1598615311789_0.584894781853742","host":"s3://npm-registry-packages"}},"3.0.80":{"name":"bpk-component-infinite-scroll","version":"3.0.80","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.80","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7a0e8ffbfdfad9284497e31cfc2ec9e8a8c8ffe3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.80.tgz","fileCount":14,"integrity":"sha512-AumBe58OBX80VW5HwSvRofKFQM3gCGw01Miiwdd5Xd1Ux7JobruUjWrOl6R1XDbyYswoXcDmy5aHfu/4G46ymw==","signatures":[{"sig":"MEYCIQCgIz0wYDHftW8CC0t4UOXZvCBoPhHbJCDyPu96wuIJwwIhAMitkZHmOmRUl6gpn1gUrXeFWKle7IqqOZC9i+q7vK7W","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72965,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfTOdACRA9TVsSAnZWagAAKKsQAKO4n/9wgTjWM4QCVWir\ntXf44vPXiCRk9c5pbcuYQZ1Ca553Q56Y6lYGDxO7wUsM6F5H4Vxk5lbWkn5g\nsLbye3I1jOR8EC4aDoovngj594cgXb+xNmu+dHEeudG0D0sk4w5yquh83wHr\n71VlsJ6clOCpO2yepNNyiyIWeSteyW6OHEYu4CidndfJtb8JhI+EPBT0ZuAR\ncIPI/dXcx58GlrgwiRdAedrQmIeCLYJLz4wQvMTv1icvpnuKZAqyqmLgJMJ4\nSjL7kP07cNW91JtzEDJGx6yQHTrfRPAiB85Q1OGe38AbkV5iDfKWrw0Za5qp\nSMR1VRg8Mso/f+e7qIZ9NvlTTNBnOhonD88zY9YZwF6MMGOLOBDB3BB+m3qJ\nG5D4qqVmVtFB7gH+fyYQN2TZfFImk3iIViK8TjMR2ba0V1U4nbwng7XGNdcp\nAVTPaMkVMyDmAwcpSHpOhR7wPW5/+aiuxjecxKUOPI4GasLyZ4wUhts5lYWo\ntlIz95rEFULOxXzCguhuaz/5KjDZfurO+zN/jfQMm7MFVuwhQkAFGsP+IUfs\n8Lbc1Srkk01xwdm2UX8ZMdHZl6Gyn0Vo7rQqCu6NO5KQ1WmeFiN+LuNOkz8g\n4VRX6yMXo44HR+39oae76ypACWVF4ocaOmJU3BJBfjLkwGnfcS4vFLidAFMW\nnYXg\r\n=Li26\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ce1a038c778e863c4423990d3a2c091489e0d2c3","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.0.6","prop-types":"^15.6.2","bpk-react-utils":"^3.0.5","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.6","bpk-component-button":"^3.2.56","bpk-component-spinner":"^3.1.6"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.80_1598875456124_0.1027987062442639","host":"s3://npm-registry-packages"}},"3.0.81":{"name":"bpk-component-infinite-scroll","version":"3.0.81","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.81","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"810edaaf9b871a0abab4756483ba9b414200972b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.81.tgz","fileCount":14,"integrity":"sha512-K7yPBjv7Qm2J94ASoGIM7MV28cOHSYWUp/68jJ0ONeJT1PIBy215ocZPsvDJRisxxYbbScIgNnRSF56WFvSghg==","signatures":[{"sig":"MEUCIG5Kzr8AtrWl9wlI1cPlcKGiiM1BzMrqvXBPCb10L3k4AiEAtIDlCrge3TpWsNG0fQ5S3BLNpvROEphvme7N1vO5wfg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUPMOCRA9TVsSAnZWagAAsfAP/2pNkCB4FnhhH8m2BSWM\nUH6BsjUOsQ+Av6P5krtcN/aP/Ngp62N9Wt44RdDWV/r3oQ7SHp83wn+x714i\nIpuymAnmxOCda9M+IBMDq0T/cbky76ciJFEwn7dRZ2o80qoAY5u8t3mJBobs\nB7rEZ7F2mQtluv0guWv7YWclVC6CpcaCJ6j8OEa7NGtw35X/7czISnIOWmU6\npNG4KgvU+gFHVhsZ7InWX9qZWSE6mbFpjy+eOcSkaXMQ3jo9HKZfA9sk0PXK\nOvOQKSEala17392KAzsxSff/rHYLDuDDW1IYZm3jHmA+/wgYIsS4+5RrSbxH\nzsbTNhs2VKvKpGgXr5GWQw/lQRvpCpjeT6yrcDfCgno2n11YbkSV/ougNcOO\nYj72ZH7/mfk4J1nM+ODv66qgDa3YEy6vbvvTtK/6qEwQcTv1Gn1//ElcW9dn\nypRjaNp0S6CatTxe4Dm57BtBsnm7p2RWpvQfb8tiawHcMDv8Fplz8rSX5/Zc\niMuZyKX+tM9he0XFlrktYl6BT0R2C85AHjT1t+lAsBCbhc+XohqG4NuLawBO\nJtrKyiQEU3+wW2LfN6uLX2W6PaQ1q+9b1wRgjN8aCoz3bU8u+OvNW+weWEJU\n02dwBSWSxLkVv+hGVUmZldIB2OVrAbeI/baUi13qvyHqxsgwKEJ3arJIb8NO\na77n\r\n=UIlw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"051e37d8c9b7267c8dd3a57e044c9fb78bd9508c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^20.0.7","prop-types":"^15.6.2","bpk-react-utils":"^3.0.6","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.7","bpk-component-button":"^3.2.57","bpk-component-spinner":"^3.1.7"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.81_1599140621658_0.30712856658240373","host":"s3://npm-registry-packages"}},"3.0.82":{"name":"bpk-component-infinite-scroll","version":"3.0.82","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.82","maintainers":[{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"964e8739de78e74379ff6457dd83090a1069d3d7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.82.tgz","fileCount":14,"integrity":"sha512-/w4OaFP2Izj0Lnh+uO7KRB00wfdq51FdrVx7fRU3RVR81wZCrEIYX4XIj5rvYC5eB2qFvhmk0k1TQRMvdJFX2g==","signatures":[{"sig":"MEUCICsdtiPKP8VjvXaxCfHbAV7Sorec3UYzj/cp3SWZf4EKAiEAlF13KF9moYaXKx0QvmXcen9DEY0HwkIyqoH+PO66XIg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUUkkCRA9TVsSAnZWagAArEsP/jLZ9Dv7eqb3F216aBPR\nxk3BBpATOfD7hW2ulK8GfhKfXAPwnjeEn3J5b1rfHC7tjjtnKwy2Z1cAd6F6\nMNKePaibmhKCucLN4EyiliMRUzLK2thC8QhTVCnsyCLjKh3K53S9zZkg1o/M\n6hm75S8qmtmRL3Jc6nZWpCvELuDwoQUsPaff3Gsrc5Ov60LMoAejohUmgNKf\nP9nD7WoljDcX7BtmfAuZPTFuwZcyo1lPhpP7XOxy0qRIerMLbIKVMMTEZs0L\n0TU/glNqCV3K10ezF32h+CKX6sCkD/R+zp1cT92MnSNXYLGGL/4mBQfZ8GPI\nr/DSQOChFgCTSV6e4LdhFCc6vt39s9YwkDA3OQCVF+D6V/dUky/kwC3bvvPi\nvifsFwsShBYGgxyDotkc0U1Lpv53Grh3UQlhGo1v3Hgz8+An196dLBudMShc\nIhyaxshP3PmOhHyIp1DiiJyFTBwBu6Bdn4CFm4uPUla9jWxZfUfVUG3IGuwc\nx97ZcYhAc+gfUJ11vBuhc34FQo0Uvh49kvNlRWvxzmgBKpKURKGAViQpreJI\niC+Dvl6tNh760Sl2jmmllKVeRngimTpyXeMkv2JtDg6KSwXgiFQesKP/zKZ9\naZNpciPEmd9nQbE9Yx4KJhuQCideuFkvkMyYxvJOpKdiSVkz/TLNee+rPqdr\n/5dW\r\n=yHI2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1bd082dd62cab6c998693f875ca156ae1d280ccc","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.0.8","prop-types":"^15.6.2","bpk-react-utils":"^3.0.6","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.8","bpk-component-button":"^3.2.58","bpk-component-spinner":"^3.1.8"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.82_1599162660216_0.7386230608434534","host":"s3://npm-registry-packages"}},"3.0.83":{"name":"bpk-component-infinite-scroll","version":"3.0.83","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.83","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"41effe1a5f37017884584f171b919548fb3c195e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.83.tgz","fileCount":14,"integrity":"sha512-jvlZnLN9kEnyl+EeXVB4bdwu5RLgNX5afs7liRV0buYu6IPHBp5jvf7NytkEP5VZT7SsUreeFia+RsZrZgp17g==","signatures":[{"sig":"MEUCIQCPU/8ioVpy+Kw9ynh1doraax9Hl0bU9TdaMyikjyYs/QIgIvvJ0doCKY2rVgKjwmOJACmB+WYN/cXlpGb7f0sXpII=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW4TLCRA9TVsSAnZWagAA0qYP/02Yt9qwFuOjTZuidoRp\n3+DRjbGFPnnqvONKK04RFaiGmBtiMWEa8BAXeCiuzAJOSyqyMGXXOJ0YG2Za\nKKAtAfyrI1iM/EbGknDASxzCP8en/iclcMYbdwuIoAcYCJfelyt0+NWg7llU\nildPVV6P15u2NFuPPoOG+BIhz8K3rk2qnOw4YxUik6z15HgunC9fesN00dNP\nDVRmE93GAUAHEPZZT289n3K6L6I3wXt4euoW6+jVCYh6b4wKwvSU9qDGjBV+\nIR4s3C2W9YKYGlO+798bqfxsCHbyWUUv1IBveNB8eDr7dlxbm8KeL9ugmb8A\nppCOO/DYKirwELRNkremsH5v9TJox/LN2tQEiYEYR/Y6h1T++ZGGWJqqqFzN\njzWXtGNBknO9PN50fWK+sEXHs0kLvrjBi5D64v2dhDKQInLBhtwK10GiOTm3\nHuLlKxMb/65n14qpyoMG6Gd8U4HGb9t2f7xjpZ8QOknqxxyqrlwxvZswMIEe\nO16A40Vh/2zRdWhlyrPe3hvI9KMz8AkSh561dwMVcDq8DeWJ+yjLNxWtkTx0\nfVm90fE72Rx1EBpfxAoy0aG+1a3rumhxJs8HB6j7Rx2f5qR76HuLMVO3wSIt\nlIO4nzCQ7dF/dv8R9beay/SHXWVfrE0vttv/NaaZxJjt35KfrEY4RUwXHQg0\n1dt9\r\n=zwhu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1dfcb4d00b9f0826d62bda552fe7f79617ce6d3e","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.0.9","prop-types":"^15.6.2","bpk-react-utils":"^3.0.6","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.9","bpk-component-button":"^3.2.59","bpk-component-spinner":"^3.1.9"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.83_1599833291471_0.6388717867584202","host":"s3://npm-registry-packages"}},"3.0.84":{"name":"bpk-component-infinite-scroll","version":"3.0.84","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.84","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8cb2dcc3a2824dc1c483c3e5f1f374765927839a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.84.tgz","fileCount":14,"integrity":"sha512-AX3qFo2rMc0jtPJ5Jx55jIpbCV2U9oqJN0qoqRjuQFd0mrtsazvigC+rOH8zr+mH8/cQMld1+RQA0AJMxCLM7w==","signatures":[{"sig":"MEYCIQCOhs2FAvnL9nqKsrqNo0fQZG8q07z5+RGItV0qf0POBgIhAOHfw75sR7sc01FgPN5tVJ7eYeLPTNkvECDo/pYvPHiY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfX32tCRA9TVsSAnZWagAANrYP/0lNpUDxjXvkhvIVPLj/\nE3W6gPuAiQC/XyrmR+rPrOeURtiAiFVSEM6wzzOfQVLS1mrDPdwp4DVOvY9n\nFtujXbLxiF2Xt8B6Ed5FCpCSghjkthvFYjdb8OSNdW3JB3T8XPiKfBhxN4LK\n0gJX2jGcIkR8Cp7eHMLu2FzYc7WWizWW+9W474+QovzrYgOXIaHyhvwfur7z\nGHFh7pom7FcGCjhqiYP0DwR+fm2cUsx5XxFb5IbTDdmkrcSw5Ze8HphYXOal\nRDyJfd8EVrM2Nbna7300GFpxDPwvKINqZ+DGjn6PF8LsbBpeLp9h94woPaHd\n0+3FHBVIsZeQ4oxICPnNb6kZijNE4CKc06GbY/i63tOnLtn6QrXqnEhxowAL\nR4ni7ocQhw+DXydhmAZpU7i0mP7SMeJHmSotHPibpD5nPCBqmHK4MbCQOmug\n5w1nocdLhmD8cARXKtWrFvUHTlZ+ZnE57O2AAg6l99ko44/eanzmRG6T0hyP\nhJbp9TYX6cU3UyWtvwbhEL5mboHqiIwyQYRJxxM/qmiVd/aW9svL0QLRF1+9\nQb/M6GSQ7tGQGnmYXS9HNQv5P5JLreRUTF6tIZOaIxoXzvdk4AtwtDiesG6w\nflnh9c1S6qqwVJFy389E/ZkE4RkP68Nd+yS2QddVDNBGk4tmjVz7eE9/mkMk\npbzg\r\n=hNFl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"93545e751587790dc1f9be5c67e4db3d4332c151","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^20.0.10","prop-types":"^15.6.2","bpk-react-utils":"^3.0.6","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.10","bpk-component-button":"^3.2.60","bpk-component-spinner":"^3.1.10"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.84_1600093613181_0.45418072415316346","host":"s3://npm-registry-packages"}},"3.0.85":{"name":"bpk-component-infinite-scroll","version":"3.0.85","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.85","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"871a07fa0da3494d2e7c6b3d318b7226b3a46294","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.85.tgz","fileCount":14,"integrity":"sha512-ArLvqobk3+N1l6hL1EFP8Md8Qk6m+Zb9Kb4Yt70I254muPplf9J+Jmb2zNliQoLMdQVeav21QzHbxK5bSgg9LQ==","signatures":[{"sig":"MEUCIQCAocSfxC8ds3sXDdPPKYqAkuy199qwqe5PoDDEe730owIgOKKsh1iy7vDcqJmR1INNl+QYT+bxPC/q/F0YTkcVGkI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfewFdCRA9TVsSAnZWagAAdLQP+gK5AECOgLdquVWZSn3h\n1Dl4fvLf+N5hIbOBO4h5SVjehZhChHlygxGyhJ0t7GW5h6MgdPb0Fs9Oafgd\nciENTVnuLPMrDkt2tyc3cIna/MV58fDIplXlUhH0KNc2EYyPh3Q+RRmjQ0NS\nltEB3qZScfKcFKdElrXsz7vkYHqwpDITDXEHlQE3YZjSPXJ0/eNeqyS9Hpz0\n52lzqn6tXywGqooKjy9D4meYKD2CdSrT9VE9eJG1w6quH18Sy7KacRK7pIAE\nfj06XHSxzNZDZgYFE42VIlsYu1lwqIJrgdAxPkHmCtjZHPRc6q/i+tBWxaAi\nqkfbulqAQO9tUFfojdPuPjdsac7Yym9AgSRzYOGCYTCb8KNKCMQkNYRM5BSe\nLLBZqWvzexbsYFJNfMjOWFkCx1+DdHb0ZrNSpybWmiDJr/PatMgepnAlXDnn\nY0nc2/OyU0Lu9g0QirUCPSq/Ffx4E8PHqvr+bscB+z/j5a3YXpbL//rCKVKH\nFKUgWG3lXTfypCyVbn5Qgye+jR+yU4js9ejXuZ5bJZp+UB4WncAMPBmLrJ7/\n36n6LNc36cQ6Z8JK/w1EPJS/2Lq7cgLZNSEKQ0WMvLOUBOPDfcFVQZZJKONt\ngZyNZ8yw5GIawqrKHoXmIWi3LAhwK8/a5rfnXU4fAxhem1HQEiYxM8j9p/Ms\nd4hQ\r\n=xwzv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"59d8529811f6eef87a5ca7e37f7f612f205344e6","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.4","dependencies":{"bpk-mixins":"^20.0.11","prop-types":"^15.6.2","bpk-react-utils":"^3.0.6","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.11","bpk-component-button":"^3.2.61","bpk-component-spinner":"^3.1.11"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.85_1601896797324_0.011196122023992228","host":"s3://npm-registry-packages"}},"3.0.86":{"name":"bpk-component-infinite-scroll","version":"3.0.86","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.86","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"880ef4c21672a935348807986823f8084f866eb7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.86.tgz","fileCount":14,"integrity":"sha512-x4O1c0SFyGTC0rKoIpnhBZ9BMc0yAGPKLkE6uRxUPVAzvTZU4FGdNahzBlTVA5HKCNQ1qbAawNUy3JOyL7J+ug==","signatures":[{"sig":"MEUCIQDXfAjLUvasdPTHfSDucKr0hknR/VLIMdjpqLOcif09EgIgQl/qyBZ72+T9u+Rxrps55HoIpGpw4gsjr1f+3btlQFc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfezPBCRA9TVsSAnZWagAADFEQAJUD+7JOl3h0gqYV87kh\nCDdWVXDfnrJIFauAYmy5yc6wLeiAHuaBrA8QlOOUoEJdkxiiTUGiqfWC+Rkj\nF6CCCSErMuHhK+xPkdvKtBgtARU0Y2vNNHzAObkV3SZ2qCUvUq3peF2aY51b\nJFTbhskLjLqYZJhmPLp+2iapX+dwBZZuXEEwFaoWnG3KiShKrFXeAQUI2UjJ\nYWfyuMl9rGsBrS3VFEpV/rG2j2+GATAcTSyrULVSR/GnzZniAVj1hJ6eV927\n1KHCiszI0WmbcQ3CEetF2pP/sCqOcAGE8jlKmw3YTX1xtJx8+MjxkPEF5lFr\njKaYNq7bSHsCt7pO5V8Ly09Y/et4EufaWC/46NGNIETejclHs5qxlumiF8GY\nUrPD4+FaZtcuM7r3teqvA0xh2eDkxIzmWXA/AA9fDhtyyM2tQzV4T2nPj0Ar\nni2USXT/4mXCtR+kInvv2dPHMIjR7+eSiBYzPwmhFXeqs89VxBbEVLvS+asK\n2mzP1dUPHorR44aLzFOI3RYCNr/7lLAFvoC15Vb23EOOAYtQiF76UNbVatan\nFODCOslJfpZXf+9zqTCj64a0apLN+F7P9ewnRIBgB7JvcBKi53pU2CBWly0x\nC0c3RHIs1js3bXiKw0beLlk889XPMO1lpcwnEEu+GJue9eXkl3DEi9HCzG+B\nFu8K\r\n=dygi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7bc73df2019a5759eeb32d5301ea0d42cbae9476","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.4","dependencies":{"bpk-mixins":"^20.1.0","prop-types":"^15.6.2","bpk-react-utils":"^3.0.6","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.12","bpk-component-button":"^3.2.62","bpk-component-spinner":"^3.1.12"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.86_1601909697076_0.7861887731271822","host":"s3://npm-registry-packages"}},"3.0.87":{"name":"bpk-component-infinite-scroll","version":"3.0.87","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.87","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"dfc5997ff50c546021283c20e68add3acbe251b5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.87.tgz","fileCount":14,"integrity":"sha512-GBeGkyqCtUKU6uwerRMCuyfSyAfAuTyBrDk5AFaAaPxPOt3hjOfvLlgTgihX54pvsmz8yhtdBWD4ZZMFPYujHg==","signatures":[{"sig":"MEQCIEx+CH2gLSeGCBe6jQjgOUhcxv6SOHhlhTcdm+1b7pbnAiBTHUzjHQCwuT3NUqLOSgqkz93I8DoqX3KAbt4GNlIP0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhHKyCRA9TVsSAnZWagAA9tMP+wW+VVub7R66/or0nNvk\nDctVd45hC/WXPuEC9sqWGtc7dsAfDH0rl+7NDBOwPHjTcXmQi4vt1aLU3sF0\ne2rA+2rW8A0W8JOZdxVpRA3GBtw5Z5feD23BDvip70uv4n2BHu7k6jfKWypR\nhvLzWHiAPqSrAR9P4iIWFZv9bh0x5TwJrqX0HidiGUNbu/qFjnolkkdgrP3p\nG8UlQ+PJgSJaYb6DpJ9chMguVrMyEi9DQjI7rUCh4gKnKFu+QHEQViPJhvv6\nfMYKEo4sNJM6PRu5OFiPuJNFvuZqMXGPl/LSBWOPJflq01myF2oIfBnHhmZs\nUO/2v1L2Cly0Jq/Vc50pO2VFVsxNYe6OZi1DJDszbJbgAf7w9qzG7NkfnEyO\nQGXSNr2+YgrHxVzAlA6fzgoljp4OiDUwp1Gp39EqFIYH28sOk1ID/6K4IH0p\nN4pjFqimhIaV2MJ5eYlwLpwHEC+A25N+9g+mS0RFozeIA9ltozWcKaqeMmKD\nf12vdfTxC3T4BeDkzxxydhoaJ3wG9o+frnB6cp7WgozaOJecurq6hbQp44OI\nrniYT5y6V5CzxQztBmeGglZsR4kcV3opOxJGSyUIVXWAXP+1V8QEyzS6Wkve\nKizs7wRpdgeexH8nJI1za1PL1HtMMA3dYn2q+2hCuX1VV1tZph6EQgzd65aZ\nGngD\r\n=l239\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"415e45675e7fb0b642e0979ee33e30c912860926","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.4","dependencies":{"bpk-mixins":"^20.1.1","prop-types":"^15.6.2","bpk-react-utils":"^3.0.6","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.13","bpk-component-button":"^3.2.63","bpk-component-spinner":"^3.1.13"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.87_1602515629013_0.881683794949097","host":"s3://npm-registry-packages"}},"3.0.88":{"name":"bpk-component-infinite-scroll","version":"3.0.88","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.88","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"cdb15407621fcb73f7e39e0a46fb29cc3e7e1b00","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.88.tgz","fileCount":14,"integrity":"sha512-gj2QtT+lhdTBIrMk+ZynprahzbxAsckuX5/U70Jrp5E4+v2mERaSE1c5QWJreo8P3kh5wlfIPZ42xfysHJuXpA==","signatures":[{"sig":"MEUCIQCeaictb/lfKdkKCQTYtF14IqVUxrz3blmLZypPWQ/nfAIgQRwQ9rxhYs0IaASX2tQmgqQRNDdwUI5Hf4WcJkgrjow=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjrh3CRA9TVsSAnZWagAAXd0P/3zgAIyoaEB2JWnJafcP\nn1eo/aB36bht0B55a90VPhLj5qTsmlZ8IoxY7znRhfdRtZjPw8jmLQnT5Dp7\nvd7veSwa+FA1G6CeZlQ9Tl96QMbhLIXzGNIlXn0rZYquIWN7dXG/qWjD+fOX\nyFDTAKR4Sr5pHDNz7A9Vq2k54Dj5oDyK+qttdlUpkXAryd4+OkpfaDZjlDlb\nAUlaEnaNsPtZRz5Pk7jDbdWG+8GAHoZtTTdW+CEn5XOeqdjveS+fkaxv2Cyb\nQQhxGhg+79oIbB/3j2uuf9xb4dJHZ1TCFzl6WVyeM+TMjrf+JcEuRZptbdsS\nSmf5ezUQqKilKTVexLO+HG1slFC1OKkbI9O9NRi2LtbBpVL6TQ+WlQ9GqzNu\nuETPbz7TLaHbrSpAner8xOPioTn3NptXrM32dnRGpmjMmk7urPP5zi53USu0\nq3b6QJyLiRVc+F6a/LHLkCG549LRHPkkQuDJ2pkfbt7DatwyOusSO1xJfr7+\nvJG2uI46/2fp6ixlhSFIe8mjjrK3Z0SV8i+j3cqC346ib8HtFuDraPvdTfoS\nsJf0ioReWo/BZMDLoO4jVNtgpfPm24EIICM1lVpPT0CoLJREw6xO/BSW7daZ\nf3grK39asoRAUlVQWeBoFNHDlp6J5V8uei3k6Qxh4QkJT5ti/mZtaMf85Zxt\neY4o\r\n=07Ka\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"04d9e36e7f92c6a5c9e8a0a1cdb8589d69da8447","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.1.2","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.14","bpk-component-button":"^3.2.64","bpk-component-spinner":"^3.1.14"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.88_1603188855470_0.305019189078622","host":"s3://npm-registry-packages"}},"3.0.89":{"name":"bpk-component-infinite-scroll","version":"3.0.89","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.89","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"962af04b126190ba7dd231236979d5cf33aefb58","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.89.tgz","fileCount":14,"integrity":"sha512-VX0yPw4k503gfUEpUfKfHIr09DfwoATpzXPEG4rFF+p/GgOOfXx4aTfRnaTqqQ3MEgMa6BWAui6MFWDfQelFpQ==","signatures":[{"sig":"MEUCIQDGuTER8o2TO+jXG5PkRa4HV1MHCup76x86gglG2roSXQIgfYf+r4HK77bsWXBq5z4la+48C65y5Hvg76vtJRlM+a4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkUNcCRA9TVsSAnZWagAABY8P/3XGsnH1P0h7VelyREI/\npb8i5Dg6sNT+CeljjPSpjvYEmUxq0zmwzvrN59kml3SpeLZ17BeAQ4PYw+Tq\nseqqEbZQxWnQ5yWnPunVTUQcvBqsPjzdMrw85vAl49oC8oRk8dIsEEVQFYKX\n7jxHDW91okB/IEg1sXnZDb+/ogKp/tRNzFr1H3zMNagOIxZCBXilDxn3y5G/\nWPtKz9bj2imdvPtQIJ8SPNNcOtUIRxnqQxtHFsxdDK5WQDcfDCZFjI7dyM27\nqErmRCybAJyz8fX3r+V1adTKQVZGjwSqki7lLMMvQ71s3yfrhdQvERvGwwzh\nZ1uBPB410K7n2X0wvnUlqA2f+9Qp5CShusLhKPCf1w6+FIcc1etnQ786o6Ja\n42ifETJQxgT8MXF0gBIjbxdL1IL7cIR4lWv/IM894awFImDBUbtO4U6/rkhI\nltyA2fvNqKqrZBR4heYdPZXJVI6r0fmknaOAySpt7RywSYDnGXzeec4loRQc\nseWmx6ik/q2rgfi6onBnzn9G3nPKJeTmYo3XCNztKkq6x6CNAw+7Zl8hasf4\nAlmgV9+FBOGr6tMGng3+2aKTnXGOmpZVXxDNGepmyF8B+RbvOuznwNreD+ar\nxR5dRDZdQ3uGLh+QOQC5V1yaMbK21YxDVz55SQWbuhuee6tW8dza/HtaUXWO\nBHcb\r\n=vpk4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"637cb6bcb0f677761a119d6bd32b1d2f36236b72","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.4","dependencies":{"bpk-mixins":"^20.1.3","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.15","bpk-component-button":"^3.2.65","bpk-component-spinner":"^3.1.15"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.89_1603355484425_0.7237075189828999","host":"s3://npm-registry-packages"}},"3.0.90":{"name":"bpk-component-infinite-scroll","version":"3.0.90","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.90","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"396bcfcaa0104a585d87ac3d3981dbd14ea8ab1d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.90.tgz","fileCount":14,"integrity":"sha512-/1Q+1Fnc+uuGJIbIcDnup2eHSOUtWgzTzofV3J8SNY1vzigrN97lw+/nDc4mKUWws+5d5wauIdfN+SS4KDpV4g==","signatures":[{"sig":"MEUCIQCiPYuGUiseXT1LV9JuceX1VONdeemYNf8MgwZhxhZa4AIgMtmz5tdqjtblruDKnNDVbFh3fYB59gaKph1TyvsGvb8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfltkRCRA9TVsSAnZWagAAV1kP/3jUbFCJD/QX9DzFzIgA\nzvVgK4RqqvRZRtkDP2BXLqI6lTuh+rVi5CBCcobm3i07FcL6ob6qGOm7F6rd\noLp+M8+31e2Sq+hDc0JHVu0A5kCfhEtKhsWLoV62jX+q1FoF1Yi4/2DpwZwC\ne+L6/jHvJI0CqWA47H6R7CufLA13lI/3tT/M+sdEh/5KStgHLMcCx1utBvRA\n5tCvH2zaQXBS7Wq+int++w1GPjEw44Nryc7HnhyDDDBd+2fbXecVQC6ZK0gq\nFOVHJHyWCPO9bTEtRU8HOzEpMq7hpQkpsCPkipuLAy2sPhPYyQmVyX8rJPdK\nTP/FmLyIsrs3XJD7bpr3CNZsi4d+48fc7pUvOvTeFMV5cdCrJ52ds1ia4z9L\nkGhhzHnke6fNr+0XFGa5zNzzEmgj1wv4MLuEiuT35Goc7JZOqtUdzvseGya4\nLnQ8YFiqgIJUb1mw0RY7HW3GyN6yLMLB4dpCldqCVBe0c94GNjxVkH3gbnDw\n89bPEL103x2ZRsKE4TGdCwZZqXBoiw5exbNQwX5EFL5xc0OsaNDUwNBtyBsB\nMqiIu4psVxpzSClTtAsI7fRQ1yy3EP/OpSzXVpH8edSJXV0WGdztJMxs+LM+\nBeEpdnu64ppMOdE0MDddwUU3u7G/0sHtZc6UYfCKEDxlheLtizDaHiOasFB+\n8ukA\r\n=sHMu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b021c5cd6f8d6ab7f867097c57031049848c5b38","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"bpk-mixins":"^20.1.4","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.16","bpk-component-button":"^3.2.66","bpk-component-spinner":"^3.1.16"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.90_1603721488903_0.7846342692474335","host":"s3://npm-registry-packages"}},"3.0.91":{"name":"bpk-component-infinite-scroll","version":"3.0.91","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.91","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"34d7fd5cae95d3b550cb032a48b3f6e7adc6ac87","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.91.tgz","fileCount":14,"integrity":"sha512-IhxRXaVMlyI+xsCEpVOjiG+Kz1jZP7nMDNUXJx9q1oppmuwlMuBqInf2EEvzBvLqs77k6HZ2gZuAmyJcjAlLOQ==","signatures":[{"sig":"MEUCIGFz4QC6I4hvo5K7sarq4DiMoKTc5ewwvWfQXNRyyLRMAiEA6sMbmqJJVvqg9aqzgddBJeaNV8GuUTDp4x/0+L6gDaI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfl/r/CRA9TVsSAnZWagAA2FkP/RfrnM/LUo2ycBwCeAku\nJB7stl2zfnr99KhGi91D//9s/TVinEkcPo+fRC9VOweg3Wz3TCSQxv/q4mM1\n7J3aWyOPzdG3aab4YZw+s0Sv9g22DO7hSQOkzYPirqh4dmRm+/94Q1xNLJ8D\npPv/yR8TJp1FgC8Ki3lbJIiRTW5LvqqlcCb8Q+xCQ3h84bsbcizKasdQoOu3\nxMbREENTHMe/jjKURJw3jfktgM8bwaeHAEZ0cJDxoZNINYPUIPU1eR6wIkZc\nkz8S7ouZ3NfwrQmN4hol7JTMzvxRb3kaSpRzx0sxXj8vb170bsBs/0i1+WDF\n0KxzLWpUPEKJHq1GSrjZFsVdtbOLWOYULdqbNHtUKAUBTDKjO5+e1841Sj+3\n9PA5GR4vWAeMs7mJa9q5noKb3JUGEn9Legy1S7i8XzMu0GXoHcY3oDz9wA21\nN3pUX18At13PNWrPJFDnw3QWnby9IuWAikFuWcJHVEQgf0aMxHqJcKKJwoni\naSKUw/H7nPrmu+tfua5ya8cwj3TX8HhB4Snkkv9aIrDkPLFkmd5b2BQJh2vx\nO7x+WO3MFXzdK+6pPQS4H+VKWbGbtQOUNHAOr7Kh2BqvgrJveduxC1Q9P4sy\npyKwI3uzjNQN+iSqjdxvAugJQyyVEGuvDF6EXhRWzUW55ces8ISw0B4hLtw/\npOS9\r\n=gTCX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a6910b1b5068590c7ba3691bedeb5818160cc477","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.5","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.17","bpk-component-button":"^3.2.67","bpk-component-spinner":"^3.1.17"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.91_1603795710905_0.6796221095918014","host":"s3://npm-registry-packages"}},"3.0.92":{"name":"bpk-component-infinite-scroll","version":"3.0.92","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.92","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"tiagohngl","email":"tiagohngl@gmail.com"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5809d20878684197bf614f346b02899f208ba793","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.92.tgz","fileCount":14,"integrity":"sha512-2py8non0zRNXK6g6p6DfpVAtEhrqWJw0I+fjsE2Z0S4ERdTDnSmHK4aRxOOh/kFgU+aXrcVQ2KSwydCGUjB+JA==","signatures":[{"sig":"MEUCIQDU5YNXQ5al1Pau1hHBCqGRkXnnYJ5YhD4slvb3/EwHXgIgcmFRa1ozLJKGZlaQ59qa2mPDPwbH0gcSeD55YeJCH6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoq4YCRA9TVsSAnZWagAA9TEP/1S83Q3PWODVP98U4RFG\n9tTk+fxsWLTpi47IFCBRBFoQpKu/zJn2lGoz93lcG7psKWlht1OBfHRiHrQ1\n+Uwqt7hpfQPfgGUNlGsE9YZWXPC2zoDuk7kQ8ejZhhoKYGRb8ma2oTRBGiKz\nn6Y4FYC9fKpMLoWtBVO7cHFf1KwfWx2TJx2qvRt3O89aJEC1+JPEpmyaDI/X\n6/egrxUEfiAgtCxK4t2i4rumEMzmBwO+D9c1ms+fQz4DMEcQLHuSg6Wcsn1M\nyR0b4EodogEqbqxd636Q39zxDUxHxEs5ZQo0qX64alg/iHHoKV9uNrYVNgH4\nMGK9WfIjIJL1R1WkNpIIDQEZfh/HIueUUmokW7hJCZdEsFM4zbO4GgcrRiZ5\nmrpsG/6w2jzsyGEYi2MMBw/3Q5/u8n3IpZgEfLZxGAYQkWdMD91KtechxoYx\n1sKZNOtMSHYW2ht1XDCjG2YUDIvqQEu5DjR6HTZg1ef0uXBNHy/Qhlorzeid\nomKZb65Sm6dGlm3TqFrNZx1gsRfn318T50yra+jus/0GZw7wIO+TD/lIAIZd\nx++WsrBwPx88o8weG06B/2X0Rut/ie3+58DP4Q2SA6/sEs1Yqo7EyCTEDQSt\nH+s2RKjn0xklE3AL21Ti7D42TMTg3M2QFCCbodZJzNMETWSIYW1Vz/cKunAT\nfQGN\r\n=rLgZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"def1e7cc8fa7f5ce442db63546fa86af846da07b","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.6","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.18","bpk-component-button":"^3.3.0","bpk-component-spinner":"^3.1.18"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.92_1604496920197_0.8532387161053296","host":"s3://npm-registry-packages"}},"3.0.93":{"name":"bpk-component-infinite-scroll","version":"3.0.93","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.93","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"93465e8d53d5616b25c499b47d0b03f473f83b47","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.93.tgz","fileCount":14,"integrity":"sha512-NUMiRPmu2rkV/9YvHHQa9Gr/tpOcAidXxkoggny4pCtqge5ip+isN+6lOJS5yN9djHjbrARzdkvfCEL+sFZrYg==","signatures":[{"sig":"MEUCIQCq7ow1TMxPUZDwfkRqilLqIk+7Wa9mSJJlQefwE0IdogIgKqpAzzm3pwApjuDt0Ig42Xu8I1R7TT5ep3JEdz1Redg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfrPhZCRA9TVsSAnZWagAAolkP/RrU1ufM4DjLq2i0a3MR\n4KQ2yyDM7fTz/MzjeJ6EDzIVLCkYi+7QZYy/gadBeKTtB8P0JSA0EBIrYmNN\ndS4Jc658jMHhhQFa+XecEXvPfNkloitGNpdNaBxgWFSBOYTGJ5kv6w4tYekN\nQJEjMB7i633ytOe1eJhVmlDYdHn/9eosnIVY/hzyzOaQVcxoI2ikiKCk7Ewb\nLZZcsA6C130f68YEtefY0SOCZcBrdELiYzE9sTywqWN1CmixMcmVpgjAyDse\n1zyE4GI961qrw6AxIEdIsatEskyWBRGUIYapFjpXtndRLk3QGK/M4FjkM/tm\nVDh1eEQmlaHx3wUgBUtPml43AJEnf33fULo3OsV0WshS3I6OwxB6NrEqbd+6\n08A3fTtBeFpbS1WnyU5QcNIOadW3wqt+5q9sU+a0lTTdXLvqz8aEbqjZV1ra\nebGA0AeeNT9zWNq3eGthvJDV8I6WGbPX/N4a/LCAYJ3p9un6p/OZzc3o4Qmu\nbEfKbgOInp05yK07qUoiMa9XbUDWwCo/4dWicjLLO8s0DmVSjqm3Oq5eTyzx\nF4l7P52/zxCzdTlerEYoZP1Ksqh0ZIbL/TxRQtsfvoNmm5XhhNWnCCS01OhH\nyfcC0pXz/TUsR/Y+SA5PYmqeky6UZoh2HhcjWoXnHb9PWezWerYB3ojC40qK\nZRYr\r\n=QG3t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"07888741f2b85b9b39020505aa780e328e876a51","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.7","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.19","bpk-component-button":"^3.3.1","bpk-component-spinner":"^3.1.19"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.93_1605171288751_0.48467457931075875","host":"s3://npm-registry-packages"}},"3.0.94":{"name":"bpk-component-infinite-scroll","version":"3.0.94","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.94","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f5da138b7a058e84f39514abe8755af6d6076fda","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.94.tgz","fileCount":14,"integrity":"sha512-/fckqZ1per3DwnYlt7k8TRl/dJrFA8lAbTAheQGEPteYlQMSfUSLtXwB219o9KBKeq3eCGO6rQTMRH2UDwVkqw==","signatures":[{"sig":"MEUCIQDytFSSl/a4+dmsC9ml+kB2LBrOfJvb7YCEBhZxAtx8IQIgRqVTdg/PjgrkT/evSwe9s6XLp/NqZK/p7MI3/MCZ8/8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfx88OCRA9TVsSAnZWagAAnlQQAKT8t8GSoOUlvLoBsBMD\nWboFLCQJgS10IxiEnwkcoQLKoauL79yIn9woNtTvmKcwWmCOQGF2aEOSBhuN\nNXu2TPHKFm2Yr2jVP7+vT6UD8FKYpCXkWLeGTChPWkTlqCXIcEbvfM2QivT0\nnV43MJgPGx/F5z5tjGQ4oCpGWPTUU0qsboB5vOEqP3YSs3NkBbseV7nIzG3e\n+QhHpBG7tpopnwKOKZEQuSfJ1HULWuzt0Q5ESYNkXoXXEKs7EDdz2vLznrzW\nEPGTHmhz2CM5N1N8WiJNpjFv9INKd2sqvY7CTILGtkk5sWseMn21SenSRs+u\nJzB8qnSYK8+YzQf9EJCeXxsIekOCjsaNMrH1sVdSpoYGJbJ2/zxHQ7ZTVKlZ\nshkvrgdiBAMT20KfdScUtaAzS5npMEXQ7ffyJPpXEjOfWLEnSAfXj0px2/ff\npHwXrs3Hq8QhLjmc2jg9z83aJCrjAPcH1bSJ7vaHHxxP2fmpNuXPoUrn9KYm\nx1ssL48b0h5eRdIFScJrDI2SQO6cbAgAzR88Kg/UzPLX+AmVi57OrWiXq20F\nNnduZZ/DJa64ncW9XVaYhenQbbG0ucLuenUz4FYD8/aDXhTlO8egHYaJkcfp\niEfhmE4SEm0/CTsdDPlNhFSAbi9ENlqGL6VuRRUG+YICd3wfVpwUptJbn+iE\nRha4\r\n=7pgw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5c5ac3c3b3b5642b19ba78953914c481c0ac75e7","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.8","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.20","bpk-component-button":"^3.3.2","bpk-component-spinner":"^3.1.20"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.94_1606930184034_0.9256741505843078","host":"s3://npm-registry-packages"}},"3.0.95":{"name":"bpk-component-infinite-scroll","version":"3.0.95","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.95","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f4097beb14fb646de7101ed63ab8f2e9f7c4d795","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.95.tgz","fileCount":14,"integrity":"sha512-WEVFzp4wjGE5F01JCWfPAk5BC93lj+OJR9sI31XhxWzEF5jF/1knfIVQqRA/7Kk+kZYRBCxIRjKvbg/zUwSUUQ==","signatures":[{"sig":"MEYCIQCnU75Mb2dWO2gN/brwc81+VZYHxc8KaFlj3FxfEHT0HQIhAOaB6Hqi/Z32OrNZ2BdbaWcq/faNV6KPhynHsV6/chJB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyVq8CRA9TVsSAnZWagAAr24P/iwBHQvNUuQIg+6SSPrS\nnZcuYypEUYuRJcDY8QTcNoTOv7L6SENSib6JI+H7v/qXpE98p5Ki+57fotK9\n763RJzQQKqZgygGu6Ptr2v1952IFGAoqQzRYPOenWdqjqKUWxhrWF2UY+w4e\nome1Hh/+LastC2Pwhqk0LKgrn6u5YkMpLyzDZ2PauComgLB4oLbxSpTNvuar\nZJaQ8eQxLqXq0+c8VZ0IrFDYQGCgILFj7domMV1wYQppejWezckkUv38tR8t\nhgKyaEG10vnDANi9XkUehPx/9QGMaPym9xDnE+FzyvVemh0XhARclBZcW1yR\nR6XVbz85FxDUSODXwD9sxKtxiuQGvtCT91EVSOSj+GhKDbjyFQgLpxKHyNek\n5PfqlsntK7QeGNSkY5EgxmjQco6rDhneTQU7jpm66kmN8RzrQxETzqtO1rfE\n7YWVKfjOpuGjr5gkGKAdggQSSAjacHzAwSudwSeSmleMj5GW1HgBg/2yF6Bg\nQWkmbv9S3JMGnDZpw7XbqI4G6qKopA1bUbBW7liqmFOZfiyjZECMqOxt0vB/\nw9MDW7PIiFm9+grnHVdN52ezdPUGMkkd/m9MoqX0fNzoEkIS0fCQSpzoV5+d\nxfNcVbEk5uwNdWz1rYq5apsBDtb308/U4PJ2JvDhHqQmrJkRdsbSwSNgkwRZ\nGE/b\r\n=Ugus\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6560b908a434f4def40ac43865627aa23c38fe62","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"bpk-mixins":"^20.1.9","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.21","bpk-component-button":"^3.3.3","bpk-component-spinner":"^3.1.21"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.95_1607031483746_0.3342194289575946","host":"s3://npm-registry-packages"}},"3.0.96":{"name":"bpk-component-infinite-scroll","version":"3.0.96","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.96","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"49b3263a9fb4d1bbc8bb0542b7ae7b1ad3dd2ef7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.96.tgz","fileCount":14,"integrity":"sha512-Hs05Hjd0C2Coi76uiEkJl8DNhQbVk0BxW0jCS+hgWvpWkuAWUlo6jLrzCR7GUSkcTFqJQNIWJZtUfN4IckJStg==","signatures":[{"sig":"MEQCIH9wBSFd6fdi8w0mrBMXHqqeM5jndADwY/4NxH5SLbRZAiB5ekc4ioTEVYC09rtJgfbsS8a4+/IpH4pMl5iZ6+wJHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfykxBCRA9TVsSAnZWagAAg5EP/1CzSycpCGY5ZTOn+fDN\n50pcrhJg50g38iOGnTwqslkBv22yKxAWqQgxXLxbIsgt8LodqNy4335C2/KE\nd2v4sH26FhRCeZZKdZSoOomrfl8ctQ5VnYSPYHysD800u62fe50JC3prjcaL\nfs9Zjd2KaeydEUpioxJ/medeIOQlOfAmrsWzhgtNTJIOjxFKf9675MOCaHrj\nanbkINXBCrpkWw52qDM6uoSdRgAAnZ87tdiIcn8OIgO00S2clUzyUVNLfSVV\n++eDyJt8vg291JGCU8j9e4XFWK2uLkg73Si0JN2DiXkd4cwzj/2A9/FZPhyk\nO8UwM1TnoMLPr3qQLe+Qi3IT4XxzppzrwVllITXgpwbLGElYMVCsJevHcar0\nl4QaXpO/UJrQN+68DvXBqrYqJY5V67YQYDPx53/xr57CyDE9NuuCLv9HJgjc\ngAHXqw8D4FYqtAWmsf7W2X7UdNgg6f0dTTdtxVZGEVDmpxmoXKXg4rs9riTm\nZwufBrTuxhPAFTk49XIWhGO2hPRFt/7SqfhslfVjquW1XGKMaQHYHtv0qC/T\n8KrukMOlrLTA4SDDJgQQ7aY3B/bDcN2A3c3dVpt1ZNS3j5/a1BetUvNJ6iEA\nlKa1TG9M+iKftlnVlKOKZM+JbrFs5KDkItsR0cVNuEbGywa0Wb7jl3LdksG7\nyKaS\r\n=zQyW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"77c10e00b8594149690c8956efbdd296068408f4","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"bpk-mixins":"^20.1.10","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.22","bpk-component-button":"^3.3.4","bpk-component-spinner":"^3.1.22"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.96_1607093312540_0.4241263959138253","host":"s3://npm-registry-packages"}},"3.0.97":{"name":"bpk-component-infinite-scroll","version":"3.0.97","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.97","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3f9f2538d871709bebce5c3fba4d9752875f3f14","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.97.tgz","fileCount":14,"integrity":"sha512-VbJVmYNfo+GCVYbfir9gC/M/j5i/cp+EqrKmiDoaf2iOuEioZop3NtmjmHmhl7FlOfz/FULMpbCytVK8omGSLw==","signatures":[{"sig":"MEUCIGHNWXVulT+69BE9WpTa8Kk8HXQWv2zEfjuPd4R1T+6aAiEA9IKFIhVKfDrKeq7Ja+GlH/F/SS3iVyrdwlex275B6cM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0hBCCRA9TVsSAnZWagAA/qcP+gJWMsb9lKaln0fqgEvY\nKy9J5/rAfXsfZCEeeI66GhbtzZAb5DAMfVvJdOjPVI5LA4yis8sF8tUNVTum\n+GrA1RwVCM3RGdd1b+EX1tvkP18b2otnXr6tQ+pTLx0Zgt6plNEhTAU3Drrq\n35c02k8yKQJVmSGGEx+fbyDTu5v2l/kc6uii7z84y878tTT0Gqb2ejmXjPoM\nzxZhdqyuhCOiY3RVXEs6aIDZOXDxaSrJ9xw827ht9+q18+VjlICpPTisO0wj\n1CWRgiVrmqyxBDZ9iSSASDVU52XeDD8M2P1lqrgdVHvzXu9XHPWd9ztP7JsX\njIywvxHPcK6tDabjSZ40zwE8jAFQ2Q29zuGqdCuOP5QQ40+uouJc4EvEQlVL\nxUFqLghe2HeBEXZMcU4bIMS32T5D4uvNyeeL4JfiGvlS7UF9CNUubLWl2mkA\nbN85d7duLZGVMwVNDFBjEkJoKAvPX9EsamSyV0mpXPYp5B61OHlz+Ka3EvW6\nCkE+R1nJmQbqb/T1Tfs5Uq+t0ahbNShNiJHzjPizUDIyKHsEoKcHt54yETsv\nYVa73XOa1gq9X3SNRlA+rs523pjiEIiCNrzSUmmY5VVf7xzUS+6tiABhfLbk\nyTdoMcyD0mkWxnhKSi1/HTYbjhTVk7OoWk56OdjGwCIsSY6JP0mzx4NTknWk\n6Gie\r\n=ALmE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"35c54a07bc38364c40e90adc19e6fcd42d39ca81","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"bpk-mixins":"^20.1.11","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.23","bpk-component-button":"^3.3.5","bpk-component-spinner":"^3.1.23"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.97_1607602241930_0.25974723210921247","host":"s3://npm-registry-packages"}},"3.0.98":{"name":"bpk-component-infinite-scroll","version":"3.0.98","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.98","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e269ff3a132f49c72ec8e951f2439dd209996abd","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.98.tgz","fileCount":14,"integrity":"sha512-LAWqnX8C3LbCsnyCdK/LdYPoApVm0qVIaR4lGfBfj7G6Gi0Bl+plk+nkBwV66bXUbMu97ihKCLkpJrJ5zb/j6Q==","signatures":[{"sig":"MEQCIBJe+tYosjFoDTuiWvh/pw0OXaCBc89LWaXYG5ZpxrH3AiBjOYW/m+LEHr/mr+xk2Pmqx/Ya8R+kYaw7QYUKbOHWvQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf0h6ECRA9TVsSAnZWagAA9ZUP/AsSU5j2TLEqq/kmYLTf\nlkXZTBTYWMgeke3kE7RYOKurymc6bq0EZyK+I9D0dH5OsRdnVUoZjqwWAX6H\nmM11gwA+DNQlDjmJ1KsEleYVZOTOMM/887Ed6pCzHsB5vn+9523sI+2WJowI\n5LEugRiB5Nc0VdwTCkwyUOjMu5+PI8D91GPV2UD4jBWgV9/yTmZN+ae2TAbg\nx6aw2gaVsBs9zVHKMjWXrW9lsdr9hcV0MVTZ3eqWubI2WVSgzGsxfc2r5RD5\nEVXi99R1dCk5oEAW0TJIG3EL9uoE+1o1M8qgY4EA5AVBothdxQ6WayqJnnAy\n3uVVyN7LR1aHaKSTNZZYBrfnH7ZX+XnqhKzwcF3ig/JO+GdILW1cQoHdCrLX\nvaLaK2Z/nh04IjMPp2jJTf/L+gvuljisJlJBWLVKIhDcM6XfO1TAILbLqMcc\nAau0Kqn3uWJfqGzy3xA9fJXPFfbz4bk727T+M3lemMdqHGhTN2HcK58kzqdz\n9w2jUOr/z7tkIdJywbgmZrQsCRFmUxQakZMGRV6UycG9yL9E0cNOHLNcbNyE\npU/+w6UmXAh6hSC1HrZicSZfdG0E08RSOzBTPnE6kuSr+baMekvFCdaiz8/T\nt1oJg2vpKzqtrDBAaF3HqVmIcpAbVIWWSXaGMqNbcNW/OuVeYq562x0hZ/tk\ntMgH\r\n=rGnl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e4242bc66e8986f74c221a66aa86c1083f444fa1","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"bpk-mixins":"^20.1.12","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.24","bpk-component-button":"^3.3.6","bpk-component-spinner":"^3.1.24"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.98_1607605885856_0.01891591607922316","host":"s3://npm-registry-packages"}},"3.0.99":{"name":"bpk-component-infinite-scroll","version":"3.0.99","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.99","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"fb9151637e2a08c18cf1268efa581739d73dd142","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.99.tgz","fileCount":14,"integrity":"sha512-0rLz2MAUedtvE9JXAaV+feldMIU4YYwBLRUQJ/6QNG3Mu+raT196RiqSanoXaFaUxPlL0oNgtOB3qWOfqO0tDw==","signatures":[{"sig":"MEQCIEO2IuaDpYGVG6pCIyQjTP1Z+9is0jOfmKEH1DJB21FFAiAL5U7ctv06c7jo7tiktT2n7JkbpP3nbRg1y82kgAv+Vg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf02exCRA9TVsSAnZWagAAnjMQAI7bRsrdz4Uv4u9li4J9\n8bEjtLJcgmLJBiHvuZDW0N+rjoegUhjuz1z6h++R7PSHkjxrFqGSGusvz/Ju\nCMj5TdqeNqRR8T1aTI0TcWkS/MgEBxO04oF14hFQOEBtZJ+k9u9YhnU/RNSY\ncrzauluShDYtLRynb7IT2N8Bfq681VHJ3RxEuyIl9Sr3mgqAYbdFUpIFFj+y\nXFaa8zNpdKv6VQJF65YNJVxpFyu1vtAthqTvEz9q+uS9o5/IeG+oTdda7YM4\nBB9TAsqoSS+vmMt4GXhA7bOP5lLsig5MY1gQQCwzvrc9nL3Jr4ouMnUKxGv2\nkoigI9876CsqcgEyVPvxz93QBzKJSVIdwP6KTvDoUcNml9yVYW7PEzeudlvq\nMBO+3LDcS8teP1JIFlYdGytiVHCS+zO/yCVspoPMK7EJ4cScDEkX0YQil8Un\n35ITxKavwHNAM5nzQ/t0vTpBN3Ynt1xyhbYO1S1j8d+wxozM48zR+K/lMu+Y\ncVHyxARPmkwJkA+lGXfbF6kQaYbFS9IkZDnUC4hrKWbAPcxnvV5IgIgzzUFk\nwxAb7Ftm926srpCZeRBvul6qxpLEWKPFmdF6QxFth0ksZezk7r6vYpaLvBly\nrs3M2g0XQRnkq8aSM1OvRoZbcP47Nan7Wt8Ob4InrdF+UNa7qOuaY3i6kVx/\nHnw2\r\n=e/Vz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"0bcfed049b9eaa5160eac1790d9fb93ec84f5cc8","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"bpk-mixins":"^20.1.13","prop-types":"^15.6.2","bpk-react-utils":"^3.0.7","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.25","bpk-component-button":"^3.3.7","bpk-component-spinner":"^3.1.25"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.99_1607690160718_0.7539459919732248","host":"s3://npm-registry-packages"}},"3.0.100":{"name":"bpk-component-infinite-scroll","version":"3.0.100","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.100","maintainers":[{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1eb812f26c7f266e82399f21e883eeeec6ea4430","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.100.tgz","fileCount":14,"integrity":"sha512-xKQPEsF4rmCgZE44DdmAzjx6vwnL6Eo7vDyFdO55mzqPrUxIscgvTIKbnbCVnRlW8EbPbNJiSgki+m2W5ilORA==","signatures":[{"sig":"MEQCIF2pmfmGZ3IUZms8O9OWOWmRUiLatCh8Jbrq9Fjz5ZgFAiAXwQl1xX/TJNC/bZFIXmTqkdmLsbvRLBsugXS48uHJ+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf049VCRA9TVsSAnZWagAA8KYP/3TS39nQB8zzp78IWJET\ntCYWe0nnoCeADidD3ufogdcumTCVIe8M8JvFMrdxAjkIfyWFGhbA8JG1gi8d\nbU30N/MHPJJpkvpPpYsXaZQwIGS9uI0ppSUZ0n4xUbptU94JZmzJlWUkskmK\nIIPxfoGAJUl8cUkzQox1wXm14yESvnjG6Lbe5tatiAts1VjwB8KWBOl/t9uZ\nrFLOUxASIfp5RCFvd4haXEq46WFZ/iMGa2NnJSR88trLeXE75dDFdYIJQenj\njpXP0nIML3qs0nFnv8DI2QqdXK/qtCfv/aSofAZ7XPOtEFJN6U5QN6wl1KZy\n99DKgPXtbx2GvZKTFtqzJ4UbrVBM0QtOILof3kszdQL+WgrrKSTuaSNvmC4v\nAidAxKp5P/dyZAvxbaZ4xJDfnemUJfHwfASAXDAQ2M+gsuJKx57STuI+QGPW\n8cr2xba7F/oVbYbe6/TP2RTwvjcEy6GdaPXsubzegZ5NSFeA6I06KLod0WS7\nXAZiY9k/dVLTM+diFcyNEEBojMrrmNRB27xSVRyAqYb1pzUm411QXXxXUiGK\nAKHURB84YVpnMI7xPyF8ZlC+TB6dzP3PERvnXm+spX5EUfXjgrahu/zkmXWe\n5hScgbrBXvnqZIIbTBfyRwnR1pejPdaDLl3WtWWZuiI3W4n50sDetOj+qwDE\nAhVs\r\n=MukU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"02a5949a3a8de21512e51c9f067087410ac521e6","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"bpk-mixins":"^20.1.14","prop-types":"^15.6.2","bpk-react-utils":"^3.0.8","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.26","bpk-component-button":"^3.3.8","bpk-component-spinner":"^3.1.26"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.100_1607700308406_0.6785739393095063","host":"s3://npm-registry-packages"}},"3.0.101":{"name":"bpk-component-infinite-scroll","version":"3.0.101","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.101","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1b19858826814f60475ba41b58dfbd4405404d6e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.101.tgz","fileCount":14,"integrity":"sha512-/XOG4MatHeqaqggII6VE1j5pnTISe1/iGFrJHgJJSGd0b5LW8nPWxXzkvdzX4FEirHp0GIdtk7dTjm7ItAF7Dw==","signatures":[{"sig":"MEUCIHuC7lttjsC6/NzagyHrh8PYy/0qXsGcwb2tbLT0MZwbAiEArMcqJ2dQzodwoyh/ADYqhYfczJw0xhxjA5B/Q6VftJc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf24NxCRA9TVsSAnZWagAA0Z4QAI+KiLIkM6uTfvE2uJGI\ntKKRx2kEAb1hln/MaDY7QaoqR7uFRK+NgyVNcqBHI66WUCsTiycTCGD4Ds7m\nj/kZ4RN1+CMNXOJl2FXh/jsek5oe5PHRg1CwBCcAZpTjEr2nZJouTzoDh3mn\n4xWnT2fJ6/rTI4ehi0YCcNJpvVRPZpkyzlrdhifD4BVpqByTIw5xxPtoVhnq\nYDheWTLZeGdd2DDI1NcKXJqdT08e96qYxFX+9DDZY/VX2RCkj7l8xILNHMrr\nl2pyQpZ6d5mOfoHEoI6oIWFy7mL1m9RYUnKq9y42HHbx3QDTrfC4myaG4ggY\nXC9iBITS+RnZBOf9eZkEzTi4kLHXX9hXRvjfDHCaC4spt6PAS9TxAl3yJcHC\nmC3iHbY/TjdSkBLTU9LDdD8m8BvwXdHUZnjGqShL9/4QEZ/dHcPMaYI/34Ls\npH24IForlpCWBvhhx3K81BPurzms3vk296S8GcKZToj2BZzXAAMfMnMhQVAI\n+TEUV6yAlE/qd7PxnF5FpQYGmAPksavnPwqA9YbEheoIwowa/pjvkg0Z39Xa\nFYKFjjp0EKR8KItaezgbCGWMZIafnVxQmcDqPNCRcnW65PCmEiAY67VCmVmX\nIICla6kvfS9alVzmm753cRJ1ZII43eFdg+5ZeY4nntESUsA8Brtxv1yEfR1H\n4pMr\r\n=yBFC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ea100e475f25012ec587cdff286b58c9ddccd24a","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.0","dependencies":{"bpk-mixins":"^20.1.15","prop-types":"^15.6.2","bpk-react-utils":"^3.0.9","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.27","bpk-component-button":"^3.3.9","bpk-component-spinner":"^3.1.27"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.101_1608221553321_0.5500403318706","host":"s3://npm-registry-packages"}},"3.0.102":{"name":"bpk-component-infinite-scroll","version":"3.0.102","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.102","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"5f6ef875d67a6073096cc07976ec910a0843523e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.102.tgz","fileCount":14,"integrity":"sha512-WHiOzZS1G7zl+HMQweD6hxMxaRUoit8HRn3BtLej4kvlJ3g68S+QnS53b3Z3pruI1CdL0mE3m1hLyeTIsM9ILw==","signatures":[{"sig":"MEYCIQDCnrMcXI4sxrTnN/uqCMZlOmjR5qWW/FZ2ss2OjwnZAAIhAOE25j+df5KLZu+WEPYXkuUICGQlsvyOyturebYgC3bT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+EtzCRA9TVsSAnZWagAAMRsQAJ22nIautMcB+75oh104\ncvExJhCxUaQtbhl87fvNG0Rks4wmbz4LhPkkDQXOpV4cgogzc8g72Paxwh37\n5a+FBtNjt47CFdic8hNjUo0wjviZQw0XoqGmxZHa6Hqc64SZu8FsoEXfEr5K\nK9+/FiOVaNz++tBIJN39uXQ+GF9noqcTb3Ez/iDeSqP6uUFA7iweZUQ7JW2Q\nQketjVCqL/FoUDCourx1/jqxqPfsWhGEdRJ9z3HYN1jmwWo75qVBb9b5VK/g\nIYZDeKHPU+whid21mff3GfrDrxTB8MwmtyPaJbBEVn3l1XPWiGVIYaSHyins\ndU1gnU/EThZtR3nRpjuxr2NCVlTG44esnKxh7dZjxIBDyJXs6tKFR8lma7aR\nrIevOXgIXCVmzuTmPu0Oc8lTZ46mMNUxNtHqAA9tba1gDgByyFPC+QLEm4es\n79CYinG15xoSOKRP+sMkrNbIGJdK/VBcwJ2upHAC6zSoj0GcrV5vr7s/pYJ9\nEy4GClY8xUIXu28LvnzdWAcd+J0EH4r83+M+4xHiAvrd4kNbtmA/pHH/8MIU\nnJKR2oHOt8r0wXz0mYW/5yS7weMdDllWjNt1XaWfLUDMm/1aVKmGIBAKeVpe\n3H8Nnvsr6be7CiLVSH8g/y3YERO0znQdUb2TKV0cL/P34q1nEg8mked+8Rbn\nRMLN\r\n=TQu6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"09fc99e4e67a5b71dc15f41a5409ad412bc139d4","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.4","dependencies":{"bpk-mixins":"^20.1.16","prop-types":"^15.6.2","bpk-react-utils":"^3.0.10","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.28","bpk-component-button":"^3.3.10","bpk-component-spinner":"^3.1.28"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.102_1610107763180_0.7842291559709842","host":"s3://npm-registry-packages"}},"3.0.103":{"name":"bpk-component-infinite-scroll","version":"3.0.103","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.103","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"dbb20796cb8346b38220f3fc3b34fc042e619f3c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.103.tgz","fileCount":14,"integrity":"sha512-NiPofYtsHfGOFyCbNlBBgRQyyM6rTMAYdIsWRuJwdELCJRhOuW1XimAOri/FzlWGhfng0y7dZVroKbPeqEYvGA==","signatures":[{"sig":"MEYCIQCCtNNDQRokNR83Oit1U9EVCylO3VGYkEYY6YEY6LO+dgIhAMiuoHButLbxdUc4PyPmZvVfE6x0kyMsTwAtBxLDtoSb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/vExCRA9TVsSAnZWagAAuIwQAJE94KLISnnU4Fz0ffjX\nxugOVNG2RJxG/bV7e3GugNFLnDaVWKCtuv8oPU93D+Q7wtG/d2TT+1C5Nblj\nOIlcThGWtefDVPCTP0XLlU73tny3pDFFOIpDFA/1iSV5+0g+JgWbx+T+4ZON\nwXgFcB3xA5kuNT0A0Z9CBjstOcbz1VRRwlGVmhr+3vVhjAwHr5LKOTCojkRK\nl/Gc5/wXg+EOHnEikq/7y7XaaZxU5p0e4ucbcij2ZJNeF86iz/BtZXlhN4cl\n6VRxMI8eE8IFC7/yBBXFr0czlyBBge5An0laPsslB2nmEzMysWqVuRGiUYV7\n2ZUXoWqEAo1so0htBnXwxfZwsn/ypmP/CJN6tKG5KO1+MzieVOe1Db5013/N\n+m7d4aLGyiEQVAsXn/p4HiXeVKLcBINR31ee3VK930hE9V0yfR1kVQMVIPno\nJ2U643Zlr5kUBp8ICTVLEvyAr8gDlOfbzrhSSc+Tn9/N9aQGLJqp0Ta/gd/T\nRcCLwao4clOO8F0R5wsp5lyH2r8Bzc9SzOmoDhUuekVaCfxuwVn842TAAPKu\nJoKcH3Ro1v7G3UxSB7uwReBe9zdLdsdQHqimTmr+7ogvT7KTOYSlfEFsL+O2\n+a36OWeDVFQs55Z5xeXdf1OdpDWGhYwDMAjvMQF6jX783JDc2zHAoFFOKc/5\nZT2s\r\n=kxAY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1855e19d4a03aa8cc00a868ae7e2823b45a1b923","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.16.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.16.1","dependencies":{"bpk-mixins":"^20.1.17","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.29","bpk-component-button":"^3.3.11","bpk-component-spinner":"^3.1.29"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.103_1610543408562_0.9857635654532901","host":"s3://npm-registry-packages"}},"3.0.104":{"name":"bpk-component-infinite-scroll","version":"3.0.104","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.104","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"96963ae194808527d04c54640253578c0cf562d9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.104.tgz","fileCount":14,"integrity":"sha512-9aIKRwjWY0quDL7mCXfc5anN/SEuKD4Pvl40/RF7Vh8OAX3cF5U7Xiusgh1fKI0QEWr5hmPkfWUZszws512ZZg==","signatures":[{"sig":"MEUCIQDNksqMjmwXYizf78DwPXSkJ6Z4bnqrhUVhZQ/u1qTHDQIgZMU0lzOmQIut8B4tx+ilOkpYMFEW+/Z18b55ex30emo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCYqXCRA9TVsSAnZWagAAVQUP/0CUFELIdCG1RqqXZe0A\n9PKi3Cx4+7T52SeDpX9sQJoOGOseBQTgMi4e3Cg4qy+weu/JHfqnoWRG4xLV\nZ6zI9ZBtRevQ1xbIrTO3aQ5mpzQ+tWD1SOi7mHaakSBKj/gn+oye2tmzgPGl\ne9CYguQ0DJlmQamNZ1DFv3/l9aDRPDD9dPShkDGkmzYcyxd3zBzXP9Sjv2xS\nxYKf3yWQquSRmXVCtQJqSP7qNUsPZMwIrA0ra9kckeOkN9wGB6UL+tgQoaMh\nfSGGrQ5QJUFlBV+vbp3Vq+Am/2zp3qzwZxrTgIqqWNMSbXUItPM4SSvxW11R\ncH0jwpCALkAFpDVZ1S0AXUBh4OyTG+vhlrNyNE1KR23SWskKc7fl/WqzBSlF\nnZ/sREcl++GwcfK9519qoj39MInm2BAYpwHCMl9ApYZfyB/U0kU09GBDEy2P\nHaSox3xoI4adLhhMx6kgC8V2IXtSIVvcWMTZEwihAC9gXxSnErbfEY63smeI\njhnc8MkBiEFqu7pWsQHToFpUylYzhrZGZS4O4a7go59obH8EvBBxciQILPp5\nh8cgq78VYawV2hHg1xGsxga6Ses1xl5KwoAgFRmvcuMLp1mDqFHADboVo1g6\nZrPOKbtkuPOU2y78MH7+kA8zfOYTKgjBTZ3Ha1tEZXjoHlVYukbsLC9+2XTt\nk7zh\r\n=JS9X\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"79873745ae0a2285999890445f8915c4f0ad5bc1","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.30","bpk-component-button":"^3.3.12","bpk-component-spinner":"^3.1.30"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.104_1611238038951_0.3239893929894566","host":"s3://npm-registry-packages"}},"3.0.105":{"name":"bpk-component-infinite-scroll","version":"3.0.105","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.105","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f297635ec61522040a8eb898d736d8eedfbf11c8","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.105.tgz","fileCount":14,"integrity":"sha512-cUfnA984oLjuHkmmcQa6hyVESq9IwHLHJyzJoyo2c2PBD4Yw5otH5t8jG/U6eptZjIo5Af1zPT4U3b4cHMgOsQ==","signatures":[{"sig":"MEQCIHAh4RzZwDxD0CNVTCIbbqc4NnqiX9sYd6sDTWEaqaDfAiA9d+c9Nh2h1gkA+tUgh2cYKBVnJMFVQtLa0EPB2zRg4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIrjMCRA9TVsSAnZWagAAscIP/RJV8tVUXfAhsI9tIqUV\n8eAhENn6L+th1UpyQDwszwMqcRbeV1RIRYpnvZWqNe4Ousqzw26GjQgXeboE\nNXOo3qX0Pa55mGXCv4vkrQCv+MLjZ91z3k3H5161r59ukq5H8HZQsJQ9PHNh\nva/lSgnErT8iWJLfxToD6KBNJhtBAIHQil0H2b1rXd90ceZr6yoD9L4hiLbv\nxDQDPcC/UdXP7+obr/aiEPxVl0Tq1XI/Bb0tpTT/g8V1tXitx74OFyM1FI+O\nCwPWfeMzvdndgRhjEvcI/dGCu9/HaPcM9EpaJ6NeKjn0ZNDW4o7GQngqFJfW\nIJoVDAtcABZu3BX1NrM6siaHIbUTNx+PcQm0rkC5FF/x8Y8hAo5PNeLKAjVJ\niz7xf/ylYFqhUd1WoQKsil8J8wK4jpmA0VrFC2ofgbfHgDO7A9WgPiEVGQRw\ngb5HsJVGeiICfKnaRBYJ7KyrvGGq78CASKCMEYqKA1jeDfNLOZ+7ryzA9xQF\nakBNjzBlSz4ygSIdjTm5jwNEr+tW6/4bAa4Q4Rg9WXL4wHAKVysZUBg/3er8\nSYnhoeN/IkVQSp/Zf7wiJIcKDi2yj1RXGcJ+MdiIF/e43zDuOM5mftzXrUgI\nt2idc1C74GD9r0VmnFZF24I0nXfbU5yFXlqhiMO56xyUItx9Tnl1H5e0pnkJ\nlq82\r\n=2e0o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cd4edddc98bc086d453d33f0a771bdadd292ad26","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.30","bpk-component-button":"^3.3.13","bpk-component-spinner":"^3.1.30"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.105_1612888267957_0.3823383980448929","host":"s3://npm-registry-packages"}},"3.0.106":{"name":"bpk-component-infinite-scroll","version":"3.0.106","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.106","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"78a3945c5536b1e812ed723421f77df1830a1970","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.106.tgz","fileCount":14,"integrity":"sha512-i6erreWJB8OG6dTBKTAdC4vHAz1iSJREE1bywuxjGVJzNt05IIDF+TraR2Pq2yUw6xGTd5RLKrqV9f22I3d47A==","signatures":[{"sig":"MEQCIHAyldW0217tk1Hyo9q8tx/a4p/k2rrFigeTL7f5lJmtAiBnG7+czNpYeedAsyijR4LN1bAJT6EDO0fGUIEHddmshA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJnkFCRA9TVsSAnZWagAAA/gQAKNey1d1AUOkrgxuv1eB\nCDVeXnYIs0H8RwI1kqLPdEZtzZeMFd5OcbVMNJCF+hvV89JGAub16wyOd8DO\nKL7t11IV7nkA+ju1Pyo9bOC/vsZPNz0W4x3o73jA9o98MDPwawEPIPLrW0P/\nehmdc59NFEXIhC8kqeiuBkrnfiFl3fWpN+YfxGonepwcfLMDvoy7+tpXa23g\n6MSSYly9hI6npYps8DqYsmtwnAP7HAe2Y3g7Mz0s0Y2P1VIV1wodZy8OzIVH\n4Bb7cERwA3CUmMP+zBUTy1b+KHVV5UvvNtN5IaVGSGQC75wpNnh0erXCPqV0\nPKimQKMZm0s+9/wqJvPBDVJMvDJf8/i8F6SQnEvNi0oxQoH264WJaYj5fke8\nmbVtfhqukuZL+2CU1mXC8J3hNG/nnVEs/hLEdE3Ayzy0SwvE9fkBkfFtpQya\nGH7wAmEBKO/miZ3iapCxzI46jQFygTOKzko3ljp9tuM9EwqWPTgmgAKNsh7Y\nTsMob8PbHdDEE3c/vyeq9UpUH9PopibvUiTuKe2DM7UxA1KkjPDXOzs5hCPg\nWKgiLLRQR6EL/Y/gXsU1+eOvUeyXQgQQzdco/Ba3XMpYL+ZouL7Aa4GUsWIr\nzwnbMvj4UBdZrhoVE9cI0dcWG5gAqCOoAUYzNRVRyyCl1bu8Af0CVtfSVDXW\nIK4o\r\n=iGZg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8888a4ef78966f207aba44cc47ffb52e21bafbc8","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.30","bpk-storybook-utils":"^0.0.2","bpk-component-button":"^3.3.14","bpk-component-spinner":"^3.1.30"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.106_1613134084898_0.8291032327020975","host":"s3://npm-registry-packages"}},"3.0.107":{"name":"bpk-component-infinite-scroll","version":"3.0.107","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.107","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ee7833317192c46de43de2205a949dcd10fdcfb5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.107.tgz","fileCount":14,"integrity":"sha512-UrR8zg+xigcNVsJ5DRugHfEGyviGGUZQPNoC3I6t4HC7uNSGwNMZy6LFjhALH/6XKCBkyX5etpo36Xdauv2Qgw==","signatures":[{"sig":"MEUCIQDWk0YB0sZpZsAT/S07ZQm4vV7LU0oSdktAbJFIQIWWowIgRm0TyLqh63MP+sKraIvcJJvks2j/XXFG6ZpfimlX/oQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJrSLCRA9TVsSAnZWagAA9xEQAIyHPEW44fqMpLVqzWW2\n9ocj2ccQZ48J5S0/zWwoAP7dftzhwgsX27iyohsI2dsGZbzbG+3R19r+4H5V\n80dSOJn0V10BdtUzbj2M6mm1J2ZovwGOdGLzzE2mlypPBJ8ZtpgZ9d9WAo5L\ns5uvbXu0xaxLxttY8mx8M+Vob9wYnQSOn4exuLWBhCBF+WfyrMr//ZfHOJHa\nwG6GSuwOsevzLCOgytJu4f3MvyQpqynVwl0RSu41zNGo9byuErmFM1sLIuFK\nv/n9Y1TnUNWt/VAOJ4HOxQB2Mr2gZ2Fqkr01AUDCHBAOGzstIXUmigmgEHWS\nzlVwcOL8Rl5+OZ+a2n/mtWMyYttlpSc2djG1TPse0zgDhoi/b0NG/mF3qtLC\ntTX+2gOPu3wQTjHgXjMOISEZnfSBSeRqDT+wg+JSJQYFW/0tAmp5QQgHZZ7n\neu/SXxH+XIfMBz3eANRCJpP3rGxCmbgN4IacA2X+9om6qeiFSywcxF+bkal4\nzh5t6eXZgZHfHZAqhye3seu3gZJ4PBy3MJ0igQm7n1yDxdsYpDJsqFHb7SsA\no8x5X2wTxjTRUIIqdsQYufrWK676rWsACwjavh2R9AGi8rtZhR6tvvoxcABP\nDoN5+R0FxFjnZanc1mXKe2EE/OPj2wdMPBgmf9X5sk0JI1H8l5nw3wGGMNhy\no320\r\n=Mgx/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d3d13efd31d334f2b93eb8f75ef420062e783e33","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.30","bpk-storybook-utils":"^0.0.3","bpk-component-button":"^3.3.15","bpk-component-spinner":"^3.1.30"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.107_1613149315807_0.8651678681315502","host":"s3://npm-registry-packages"}},"3.0.108":{"name":"bpk-component-infinite-scroll","version":"3.0.108","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.108","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4487b43e7507698dee097d24ab243a14b7574c29","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.108.tgz","fileCount":14,"integrity":"sha512-woN9Qovyrf59gQ7tJmrwa36ANgrjpVC5lkzOFAOYwZQtqX6BjteDB6xU5MZXd0uaWVWesflaF9yfiqPoRdqL3g==","signatures":[{"sig":"MEQCIHSGfzQMiyLLX++vxKZniCpIleHomsY9NEX6pIeN055cAiBMqd9mI4EBTOoUwHE1Q1QkuBUgPhSXVkPHA1E7Ef/4xA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJtx1CRA9TVsSAnZWagAASaIQAIThjMkb3MV+9XASvqdB\nD+d8sYNTHllrj+vcrHNo3xzvJcMqm/uk3z8cEL1+sl9ojAJ6jM2t3b4982u2\n3n8jz6m1yFUgCnfBcIyxwvlqXD1G+weMCqJDhueL9H1HeBR4JZ/xLgnC11lo\n8JNREdxuGLRazG7fPwCwVqfctN7lt/ijkMgF/qUKHd2qcwE8Gc2N/h257YkH\nyByJZjhVjJRvQx9u5h2/oHxGFSD3W5spBdmh+SNA97WcIB+3EcCNwrBPuQsB\nu7BuyvmD9/Hfc67aXQACQtz5hMm+u7Vx1ZXJ0FHH6r4eKRp/FUcc0r/z4LCH\nTICiq5cI4blD6G3Qrjsn/A6XEdjr/l5szkCx5kfYABgEf2jbBBWXmNcedM00\nmiL2DqoEcSUmlx3bxX7qLnh8Twht+MUwWXtyuMczIAKGhEYwHuiIGBNgwcly\nBMvstylBeNWMkh4H5VQrGLZUU9dHwubD2bg89tc8DCVfCftEz+3PlLwCDASh\n6LxO/uq36lvP0K+ZxOtxOj6DmzDU3+RhCX7M6ufhiYqGrvRmcy3BpYTChe6L\nRFpPB2Nh8Cyq29T37rjRnCbDvq9l46yfGV76AMiFIpBlVsfNtsBmjG1zybNv\nXXVFDTggE/gW7ZH0jFbVLDzka7s1wz69KtnEwEP+QvnYSLdCFyTb8eVV22oP\nYBln\r\n=ggVi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f8a3d8cbca4083477ad33ed3e065799db24cdece","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.30","bpk-storybook-utils":"^0.0.4","bpk-component-button":"^3.3.16","bpk-component-spinner":"^3.1.30"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.108_1613159541049_0.6863142735828198","host":"s3://npm-registry-packages"}},"3.0.109":{"name":"bpk-component-infinite-scroll","version":"3.0.109","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.109","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"12e7c91a58d4370d259a0cc98edbbab12acfd0a7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.109.tgz","fileCount":14,"integrity":"sha512-/0el6NmJh+tlKH6GyoEIqLKYZYKX0VYixcmfK6IwxVjrIxVgUzR3c9mFGD8RbQD3/41HxcWamNbxRN/9Lah+iA==","signatures":[{"sig":"MEUCIQD7QmftfIILpaYJmittNMrP0hdntRAuKgGhsLWyUqVaAwIgGWcfQ6YwJHfGEJ/FqP+AplfscNZ4nSjRU4bS7GyNSWI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgK8yzCRA9TVsSAnZWagAAlX4P/A7oAcrnEEsLKZyNm617\nYKR5kgzlYYI4rCmzn+X+bMv8+YuPJgDJhL3TqbL8DjEHkVjntfsZkdFSDmoJ\nDnXE1LbepCoyt+vmreu0/eq9u7J96RVPCE5GBGXHubVyhWC43vnJn4QBk4Dt\nS1R5vt8Hsnhn84P2wPzf6s7NII8SnLzF4PBfyJzR2XCNJD0ubB5kaIwhbAzx\nGTSPhxnvAt1v+etImm0K1Ml4TtqQRbIq2CrCc7ay051unweNHiipQhz+VJPC\nC/w0SsmAOHX3WycRubU4o3bghVTGht18VdBtW9zO39070N/u9FBTm3FMkX59\n8K7rfaDCrboS0UicJL71IwjDJcdAJQHyFD72XxFP5a4fF6aZnWPaFNkhZp4/\n43Cnlcky7BB7n71GEUJXAlE2e9m+u1AhTPWSsZIt4uW208f/ed3v9RCZQuuk\nVsLQwruHFUxbgB9VrrRAIdGrXfHJlt6zEFHKl3VcS6ViEpyDgDXf//fIcvcU\nFFQuu8r5WKKqxk1NBmSzM+V9H7sIGONKR13QYfI7A0bRi++AjPoNjuBK3cOq\njnSfYk7RHB4+H7ipRp+Pn0N08XFC6b/KxB5KfB4H0xZEbUBiqJUzEfTGmiWS\nnmaQ12ab6rmW7hPsqABXAS6HiCvyo5hKV/LUuuYPklvNaaG5GuHQxC9jj3KF\nY5Qh\r\n=tu+g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b075bce1ced0f7353e142737eec73ee3adb231a8","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.31","bpk-storybook-utils":"^0.0.4","bpk-component-button":"^3.3.16","bpk-component-spinner":"^3.1.30"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.109_1613483187385_0.3116644467381542","host":"s3://npm-registry-packages"}},"3.0.110":{"name":"bpk-component-infinite-scroll","version":"3.0.110","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.110","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c874704d2ef53bd79802da9dd5c06e1c14b5224d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.110.tgz","fileCount":14,"integrity":"sha512-tw4zzCt5vmtiicf1QZTWLAcrmz/izdd7BtjpWEJtuWDKZiJhH16xip689w9+cu9DfdxSU989ZU3xjQMrQdvdpg==","signatures":[{"sig":"MEYCIQCYWHcuud+0nj+AfgApeMcY35z6KlQWihqKKqo0Q/qXjgIhAKnnNPq+96MMMR150YlcfIAoD37nY88u7/94apRKqszf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLO06CRA9TVsSAnZWagAA0hUP/iMi0RExRObi5sqlk96T\ngbk95ZxeuxQ6IlKskY1svmTz+KYXdodDDnJMH1BTyGxITJs8eC6b3tTV8fOF\n3OgLr6Y7OEIiQ5GXKc2DcdzvdlVeCD5+MHlU2TIUiX0QriYfFnUSDfbM0ARj\nnfBJ6TtbIKbMWrZ4vaAqOsfRa9Kfbm5AQMO4tUct2BOouxkN0j+dRb/cRPrv\n4i/TSdf04ELRW7izcYwCLn7+P0yTQn1tQP55J6SinSXhd0t4vGVUvS8wHidd\nlEOXRe2ZUR3V+LTbLN3k4UWDmJH9D6r+Z7JMCyw4iB9cFZEBCWSLUOu8o065\nipthHHdEMfWSWiy0f/XGfwzX1ONr+ifswO1zmf6q4vsf8J/MjRIuX6jcOlE1\nOm4jSta9VAymFqSU8I4OL9+1wK/4PZK+LDAZie/xDyark6DWHn/aq8y3yY09\nRoar++/pD+7WKVOuYi2qRmDRBQL+yQgtJ3Yc4o9+Q6MXodR6/WDmbgHYoq9n\nkdSjTfkAKnoMn6Idb5nKzfKFyBtPXzdwajqjX4yD0w/aeGvr070hL++nul/Q\nj4gA+hO5B0uRe/IDZMm/XhYixJj/tc8q7Je0fmtuMGyVW29eTdgZTY6LdjGZ\nzYmQLai2ZH77ILXOT3btwkhum6FEily4KvQWagV1jFtfWv5JUBUhVQpYPOYb\nVnT3\r\n=s61T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1765b13e07029cdeb959cc1634bf0dca8fd68d84","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.19.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.19.0","dependencies":{"bpk-mixins":"^20.1.18","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.31","bpk-storybook-utils":"^0.0.5","bpk-component-button":"^3.3.17","bpk-component-spinner":"^3.1.30"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.110_1613557050063_0.06137300870406093","host":"s3://npm-registry-packages"}},"3.0.111":{"name":"bpk-component-infinite-scroll","version":"3.0.111","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.111","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"eb8ae89608c682db138f23ffec95b80b761d1dfb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.111.tgz","fileCount":14,"integrity":"sha512-4Vgdv18Zze18icb0jR7XuONdyHD91cIFZ6cBCoOrgJEbUwfniClAG9nsbrgZSR2mQMFmQ6S3I/uOAG9UuPft6A==","signatures":[{"sig":"MEUCIQCarvpEAfb/kxMC/LreH03romjzasbOFRs9mwrxIiUQUQIgA+igXUBENwY2dAJsHbntn01v7UCwEz8v+804EO4iOnA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgM8feCRA9TVsSAnZWagAAHAwP/RWyEZiHQLVSiyCo9Iup\nsto9W+RmlA/4HnOT3hB1k9iPQBlkiIfjUzJyGgpJU+ueNatRrnAsaAaQlX3B\ncW5+JpyRCNs9Bpf6efB04HS7N69gU2mU3G/ezN+XV+6Csf2sY9lJ8NKcOlGC\nXGfuvfPE/1IstRxuJHUfXVlQrNFtqNr/v5kHapVjt0RqP19uR4L6FjPNB4L3\nSYOV8YLxoC8y1srKy9vJpC6wSyYlYo6vqIn4s8kAsmTq+T86CC1nFDEoFSvx\nPtFhx6qt+337OPGCYsjKJzJzmHQRNz6GMV6BGojFKeCriOODqGtSEGhOXYTr\ncVDAGWgsxEx5da4elJadD+GTgqI/FYtxqVzducGKYkxqfszRV0FWX4uucnsk\nyZY9MDVxFdLvz29Iusa0lkOyOBoMMQ4qS3lVH30zF34cbnPbq7I6gU/a4hPn\nqzIax1V2DQ60iI/UBRGuZXykRTx7CkIUrym6W2KwihMHBY8uezrDGmgdV7uE\n7nNSzc6l/EUUYibrgv6ERdEdrWUKZzdxRdi9SK33AqiXw26J+MEWSpq3I+yt\n/GmJvicSDG30ORPZeUoddGxijYCGOzXJJIyJHQx0X9J95n7AgWKSWU28IXGr\nqTBlnYNuezEcoezhrFNojvsMlBHHTyS2FJAeaV0+JJ/8LvMeoE6vuh8nUqTG\nfpdC\r\n=/rus\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"bb3c5770b94b416d63d52cdeca6d30d34d731ed7","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.19","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.32","bpk-storybook-utils":"^0.0.6","bpk-component-button":"^3.3.18","bpk-component-spinner":"^3.1.31"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.111_1614006238233_0.22022835591241385","host":"s3://npm-registry-packages"}},"3.0.112":{"name":"bpk-component-infinite-scroll","version":"3.0.112","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.112","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d2c08a1f3de3555ed1667e3372050e239d577b57","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.112.tgz","fileCount":14,"integrity":"sha512-NglK+hgJfEmwErz1XxHJkIyfr6UuRy7guqvWQdNNPtUGadVpEvyFIuGWJ19PJytP8pfo7SMi7jqIwGvA6jciaw==","signatures":[{"sig":"MEYCIQCQim4upg19qM6QoSWQVQEAB3aeWKGOUxkEY6eJ1Z0MtAIhANLnl6ozyXR9JoKjPMTq5BbvQazfwyAXW63KXKVE60MI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNQF4CRA9TVsSAnZWagAAGA0P/1Edv4J340jnml27jljh\nsxiabQP1PIY7lZb8pOZTQxSvh4YB1+zAhF2/khokTZ4d9Rl0PBEt+7kvi5H2\nZRKJbTsxPapQfwNMCgKMpNmCNjrMXGIxevK0SCeDctH2irB1dyNN67AuZKXj\na8oSvznwiUTCbE356g4qJgFxegoBfZ6yWnLyx/sGFE+9S9uod0kY5sP7j3Eu\nfh9zu1Vc09X78kY4oKdUXwmZ969HYvovrK45KjZe4kx+0Qr7PLbItVZJD6D+\ntZtEtac84hG02LCDv+CY9fvlf167pL7xQMcoIACD4LQSRE7m+C/q3zhSCEWS\nLkPIRSkVJo2EhT39vfhVqx764chgV3tuo3U8g739VZTtWYMWCRkINUdfQBE1\nS2IT88V/8J0CCtTMUM9z1pt+10UQ36kdf3MN+NeXIJBmNKFC4v3cTVAhcnWa\nqYT2ODSDH9xaDFd8OwYzthVflBBzmCOkUq6mEITsYU0UuOsGy0R3+A9caDf6\nf99wEJb+eC9XKF78zBFZBqN9l8hLSIHf083B5sETbUMpfovveF95m2+qfHt7\nJuRXY+O5GA9qoMIHO9komTXTi+83PooKmYMxA66KB8uuvWtjmU67HDJc0nin\nqiEHXyTuYCDkPBjhVYqqkWlHRUVg9W4s6wVski3sGOzqr/mXXeCgUqkIZ/rr\nVvnh\r\n=n12m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"29c8bba126ee9e55b47224cdf6b512327ff69ca5","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.2+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.2","dependencies":{"bpk-mixins":"^20.1.20","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.33","bpk-storybook-utils":"^0.0.7","bpk-component-button":"^3.3.19","bpk-component-spinner":"^3.1.32"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.112_1614086519491_0.42406726744868806","host":"s3://npm-registry-packages"}},"3.0.113":{"name":"bpk-component-infinite-scroll","version":"3.0.113","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.113","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"59af8b5784dea5bd696174d00d169cb2d7920d91","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.113.tgz","fileCount":14,"integrity":"sha512-pOVe6WFNr5aXVnfwcY/5/F6Jkq5pu9DzynT3wkJpzMNd9LwCF7MVdqJ5xvA4jDapl7uoXehVA8oZH9tbcHFR+w==","signatures":[{"sig":"MEYCIQCjEqsMnl7BsZ5uyZpV+c5Y91dd5+0nqn8eWV0QvNwKCQIhAK0zyblCU3Ujv2ZYqZ9X3enAwQpWPkCR45ir/8Hyy+Fa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNh1kCRA9TVsSAnZWagAAAhQP/iiFVpHrCTADltm60zkk\npP3xgH1cDrDyybIGKrWIJqDUoKr06YwOj5lUJOX3WC/xXA8uP3n4Now0nVoE\n+2X1heM9vF3458M847lvwkiu6ghGRo787o57uCDFTTksVYZXoIKz4umNvWIj\nHqWrZA8eawIAjJafmTXWYNFW0duTsIhQ1PnxSlxQcHIYwJsdY7h6yBkXjVXg\nodwXtVg97+hHQzDYDRDwXvWPgzk7rkSxHN37LI5/V2ObaznG8uIBgyNiKjpH\n1wZQMXrTXKR9x0fOejJkFzlckzuDbAjStvS4EtXWkV2ZHtl6dfaQ8jok3QK1\nBM7/HhV4Z59MWlU5+zXQ6+3SsX6bGDQWCNuP2agRD6J5y0ZlJZ6J2COEOFz/\n3Tq1UQ0ESb+a1rPXxWldrIBxzcdaGiUcbjYQwbzZ0oEfD6y/XQ2u/BKoWnsy\nAa+9dU82SO6vQOodcbtL86mr0UR66hVrMZqvXyERP5UQZY7Sd7AxqhrD+bJe\nByf3LbOX47ZSDz8+T30TfJ6zemBTN4KZqxIhXtt8xwMG1q4vhmrXoYpjk3hq\n/XF+M4S72KlavcUFw5GwLkdOCNqG8rlbwxof8mmDKIl+6uA+yc6aSHeXMoMS\ngOzM9PqIabHVypx20wzZ76S35AQDif6rqff79WbJ0Ci8iF5En2/bvwm1xsFq\nYl6W\r\n=D9JQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c8978bb64de36b375fe7aab26a8b3d1b7a89f1d1","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^20.1.21","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.34","bpk-storybook-utils":"^0.0.8","bpk-component-button":"^3.3.20","bpk-component-spinner":"^3.1.33"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.113_1614159203639_0.8117331144860165","host":"s3://npm-registry-packages"}},"3.0.114":{"name":"bpk-component-infinite-scroll","version":"3.0.114","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.114","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"14e7e5eee18513f9e85317cb3ddd893bcb5e7ae1","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.114.tgz","fileCount":14,"integrity":"sha512-GY5Aj521zcGikFrqOXmDd+WCNtxGCS0hbXVTj0GkccYc6m4CPATNCaHxvCZyrtGsVhX/RkCrErpnDHOFYtJizw==","signatures":[{"sig":"MEUCIQDElwGllTKJ5IWQ4W0He6NaZz5zMTkp1/seZOFqfWiMSwIgSMUWvI4kIPO1I0XKJMPrnwF9jJNSB29g8UrsIhwfoAg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNnioCRA9TVsSAnZWagAADpUP/2o1k/TdjSjdEnBxzcNN\n0VVsM3QJAUbXOT/AUbrNPGp4wTYLqmQ6PrqoXD0zMgIbWuTOKG2WH1911vtR\n4AhwdFBMXM80RdoJb6wKICE+D3PyLizenpC3Vk8wJiP7i/GSNreDhvehwhG5\nMAxDLAHoHpE2/L3+pOORAFpNzYtwHS718rkkea4xvyKy/tsXuhJ9NIOHuWeg\njzV3LqGsFnsNEWjujvSxYTWyNDEIEV739t1xTEgdI/TXGnrsXwF4La5LHYJK\nUxaK0u5f2FxNdze0nSPLWgfzlz2BNZJFdD7lri92kNgaYXU97h3oC26DRYRJ\nYL1CSeTG14VCBYj/9mbCvg+IU/bSRuxejy3yKh/PZCQuRGthEaQP2DyX+YaK\n2kAum93k4cboog0KElI8oOEpD+mU2m0QaQiTEagx+cIUbNMVrfVfoyEZ5vgl\nSPdvKD4og4/aAUkBPwZIiVehDinpUOLiNawOhK2paJRlRb1ueE2ttQQCmNoM\nMukdn2T6YW4d5afH9Grbnolff4HPPVEQI+rEC3CAXBJs3wdxn6c6+/VMCdgp\nXNX5lditEdAcpbPiDRogTTpbWBhKsq3l0zUdS8vWip7C3PIayJ2Ukr3gbGOz\nRjkR6B6e1nxNjTZl99IY0ol2E5mJfMWDR6M7QMf3R5rBzCFAREO9HwxHDHgB\nsEzl\r\n=MdkP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"79e9426ba627224294d8a6dcf5ecb898f2021cde","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^20.1.22","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.35","bpk-storybook-utils":"^0.0.9","bpk-component-button":"^3.3.21","bpk-component-spinner":"^3.1.34"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.114_1614182568376_0.28046736028358166","host":"s3://npm-registry-packages"}},"3.0.115":{"name":"bpk-component-infinite-scroll","version":"3.0.115","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.115","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e01b998182de434e1f9bc849d682b8309f5689f4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.115.tgz","fileCount":14,"integrity":"sha512-nDxcMz9V5lErQL2fFA4lAMS61fvIVmeC2ooFuhtW0DdRWtlSefwvMC8qPCxn1IK0qmU6SZXTqb5D8W7XypabIQ==","signatures":[{"sig":"MEUCIBKpD1qz9q8g/7PCqr81GPGBv+1lzMI+g8RojWfMrIxhAiEA/fbZNBACBnSevx4q/lG6l5SqJc0xoElFQFZylPtqYEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPirjCRA9TVsSAnZWagAArlcQAJITSXWCAIxYif5wsfzs\nYr9dVsgLz+EIn8dmA0+U1CJcxwprlq1m3J1RQMwTOyd9m/34GKcb5UJ0ggoJ\nVeoya2FggJ7E5c4pjf6Y0n4oFgqCB2Tf1fKIDPyd8WajlyrSZLdnAWg5xR/6\nzWLGp+qioZtEL0F4t18wvcVwp9qklQgrUOK+VfBOs6Y9ZxCLKZwTDyGBCGJR\nEExWEq/iOq9W69Kn+80PhfOypbkIRj/08cDpmcUK5JKMWVQTDKEDHdTU248j\n18my6QjK+3sv6ESiNeeCfAw+9TyGNjdaAd85HlWlKdF4Hz/94GV9cSb4+lx5\nrq3cKSwcfANrEs3KlG0bK/0KUBjZaR7HjpTeKvAIbhXhsZpL15ycML74HDB1\nNdOEnEtTOx3v5OU8Quiy+gBqRP4Aw2jNDYeDuA2O6F+0n1785Z236fcZKtYB\nNpOZ2HkKADb8KAapiJECBES2s2STPF4d86sF+XRqLD+wsQmp8/Y9aAhxxels\noqGjX64SOcW9tfbhhPQufJvH/sJdvSUWUV7fLhx0VQNogg6K3eghD2iAMVIn\nVl2sXX7gIXJ5v/Wh8Suz4YbBNY7VPouWoAVkmnvu778L9ce9xkHtfoCHz2qL\np1YdotXz8JZZuXNXEIQZw8nCvzLD6sj7Ky367Nuqa4TAPst0BIdU/npnZt74\nnFOV\r\n=Q13w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c9bdaa5a202c9705f30495ce070b43ae482f1c03","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.23","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.36","bpk-storybook-utils":"^0.0.10","bpk-component-button":"^3.3.22","bpk-component-spinner":"^3.1.35"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.115_1614686946884_0.2160989848855106","host":"s3://npm-registry-packages"}},"3.0.116":{"name":"bpk-component-infinite-scroll","version":"3.0.116","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.116","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0bdf7db9b02b7f98b8d2a621cd27dd811b2c2a49","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.116.tgz","fileCount":14,"integrity":"sha512-bY85KtX4qGVIa/yZh76Px3CiI9WuleFcnLZxnzR6TRB5Rhd/tykwOCCtXET4gFwK9s3dUKJmGcto3zAkOFcC7g==","signatures":[{"sig":"MEYCIQC3JiasgBOvwCvi/oHiDVwDF3zV8oL/Q18do4k8TNEOhwIhAM5GaGGTXgKPxcUPJQMJcM8mjpgl/uwI9c+vuGayuwhy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRgU1CRA9TVsSAnZWagAAhZIQAI4c909D9irGZ9fezNnX\n10Soi67ZXwioXCQhaOLkIUHWclFrdvT7lg+aIrUNduNiBIwGEEzoCTixqQMx\noTPx9EIrdolbROFQlOEDTmIzY19msPStJcr8DRgnHy84VlG3wBB56V7TffJP\nAmsMIWmYbusCaYNrW3JpvOqFzDXVSvdGQE2hr9s52YWye9aa4KVHhjwFb9CC\n4CGWBbiPm/vfv7LExmU4ipFi+ZoodmsJB+I7gKYCHuyghM7mUnFPpVR7drNT\nCqoUjyUP3MZ3yflWvHa2KgoC4n0QKHC/l/OUF/mz1i2IfLezktFjQWxezjpq\nFu0+gzwrJ0B3JCfDCTcrTYQxNx5bnXrEzOOmC9fAj2GU/Wj7CvbiXEuKUsZ+\nfx99ecXkg4NVSMOJ7RHiLTAC2VqX5qXBvabLv64Rb6BcFYyD6QecInUTajCX\nrHSsffW/E3mT+Vy7ZxV+AUWn8g8Mx1UUInbaVDKbHp0nDWvciBosI6yQNvZ0\nnE6P4FRKVhkKniCdH40j6FixjDZptp9IN1tDa+2IioTJNSoSFRn5iGIIvHYr\nyx2csxAAfY0UlQjBVvbFsm0nPlcqpVIM5cyzaiPjkc5mJ20eNy4vxE71xrxi\nbD/C61Zv/Y4PTdIzbUlOCcrJxLNBHESEvy5MC2RNzpa9L4O+xdlKKCO7QxxX\nx2Tb\r\n=Je5T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d854bff8fe4436f0d85525eb33353da0edaa6376","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.24","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.37","bpk-storybook-utils":"^0.0.11","bpk-component-button":"^3.3.23","bpk-component-spinner":"^3.1.36"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.116_1615201589134_0.518232340508997","host":"s3://npm-registry-packages"}},"3.0.117":{"name":"bpk-component-infinite-scroll","version":"3.0.117","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.117","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"62c0bf20e87830abc46554aea5aa615b9c9ae8d5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.117.tgz","fileCount":14,"integrity":"sha512-yHmEUpwuHqU0S9Y5A+cekWfB+LYHxyXGp5Fs+3ckur+OSxwb/ZaSg1O9aIzk1/hsASIAUHOrykno/U2+XM259Q==","signatures":[{"sig":"MEQCIBHI2WBdPHEguqT9MjDzcyywB9hUq/IFekAzwpdgjyCMAiBtoweWZEsmtJO+GAly3GJFPzTt3ONpWKhmwjaz9b8AdA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRheXCRA9TVsSAnZWagAAAZIP/RXY6W9o5838+HEBWgQC\nX+7rSQ1y234W4VHZaFoK2QEFCh6ReWIVVc+Q6EBIN/y8b3NLC7SYbfIbLwl3\nghvzxDv8Jz1g+C8FpcXa8R1fyuPg32iSExrM+wdt6LU6PrOG57JOe3WC9kog\n1V9XE9kD6+OHs4wNIl8b+jCyR6GeiaS5AXzexeyGXJGHKwIqJ9oiC5bK25dw\nm7gFGZnztqs26eZCiARwDf7HhdiNnEmiuJlRQE17/tuVEaRsRIoHWB2xYVrk\nW2rX0yOxksclEiVwN+zyEmH6dPrfXZa9wBzJ8ASiwvr6a19QP3kYVwPmBHkz\nSU1Su/aYW+aQ5iZF4oiFhCmbwKbaaj9sX/tkbHjvG6vmEQ/NSEeJYcureOBt\nI2LSM4Z4uPGi05glcml3j8qdhA6QIOzv8fyELpfAsaaToKiZIJlTXQlqSAIE\nyhnZ7eRT1OO0pYtgPNikSnY/s0KxtVlblNbvmi8Sdz/5Bsm0H0hdi2V8iZw+\nfMklx5IFb25SPbb3gYh6vF9Lu52gHtPf4x7OGqQ6vqUkNrj7CO9gCbJQowzC\nWHWcU5pxZwSBzGITdnUJ4WciZfieHejxetcMO3YNJTJ6BLqGAPVWV98YhaJz\ntiTWB44K52vVdbWA+L+vCNFOE97EedSFVP59rSzUhTQDo1hmL5l51BJSIDEg\nwpW0\r\n=JHn3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"577dc7e1e5642beaca5af3e954c15254882fb609","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.25","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.38","bpk-storybook-utils":"^0.0.12","bpk-component-button":"^3.3.24","bpk-component-spinner":"^3.1.37"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.117_1615206295234_0.14459001792881065","host":"s3://npm-registry-packages"}},"3.0.118":{"name":"bpk-component-infinite-scroll","version":"3.0.118","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.118","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"108eff10586f096e27d52f5d18f7c93c8a52a025","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.118.tgz","fileCount":15,"integrity":"sha512-60cZBCIL+jlDwT9N5+heNMWl3e8WM90pTUa6mzpkMrGtWS1x+Ug8UKGa5uax+XAuUDf+2Yv5RJqICe4YNXEYGg==","signatures":[{"sig":"MEUCIQCFUlNUvbvixIb9NXVjPiDfsIdQGQbuyOTbIBk3ZrsmNwIgPNiJG2onDVtssvwPmpwAhn0wLlFexaVgGpP9l9FEaKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS5NWCRA9TVsSAnZWagAACXQP/12mGCi1QCjh5Li6mAam\nD3lf+YB5cB4FEUiE0X2bbaSAfRfb0tp1QcdUaBgHU4w9RPYTsM8EEV+sGU3N\nT1HwhTWHjb0+CK63XR5lDI45/unKaR89sWts9USF0h9t86MrHUe52ZD9/TNW\n/GjPh5K2VkfvymTuepRvgOYhxZBUYzhcUMfmcWWupMCB58Z77BT2lvKISi5R\n6QNb8L3+WEO3qcGvVq1ENKsIhwinEoa3hWAnEjPoeYUWnIU1YnsRoJz58juf\ns/MsaixHpwY4JwoR/Zc3hvNto077jUSQXNSxMNbXsrhq9TzGVZ+tWH0W50Ak\n7CrlVttOGnTboxmX0lVUrRc8CofXChVPY6PlzMmE/YQRi28A9dpT31TuNX6T\nR6W/M8yY4HKYcCA5Lil5yj/zJ7Amh7iO8tD0SQah66h41jDy78muEGk2ZMCp\nrhtUh+hK5dzRDkT54icZBH1Ct/8g2MD4So8L6v8Y0Oxu4KemG473ZkaBaQyx\no9honiWCCc7c1Egk44yPJYLHr/VykDEbW5+3w/WL2mPcQYxKySL3ACz62cYx\n6NGa8gUpYX7JNEENdYiFXbcCNpdW31rHEYtLS06aXzKIbSLvH6u/+odppbew\nfwHHiAvKdMeVQLjdYDrcCDZ5ldwaCPMi5FEJGvMl1bYG8MzXaPf6vzrOyXz3\nMeRj\r\n=mzAu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c33d59e86285dabd507efde6cd2bc6e32e0ad180","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.25","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.38","bpk-storybook-utils":"^0.0.12","bpk-component-button":"^3.3.24","bpk-component-spinner":"^3.1.37"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.118_1615565654389_0.8403555546663095","host":"s3://npm-registry-packages"}},"3.0.119":{"name":"bpk-component-infinite-scroll","version":"3.0.119","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.119","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"cb0063ace96777dc01960a1db1b4520e7a3aaf05","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.119.tgz","fileCount":15,"integrity":"sha512-FgCxVmKe9fQhI25ZXGtcP0JQAQgeNmiKCb1JUHsyKrji5owxJ0Xhnnw0BktiDLdy6iZYrndxkHgYwreBEpnzTQ==","signatures":[{"sig":"MEUCIE2g1eXvpcmUVxjHlX+TCMiA7kMUF9TazpijjT6lPyemAiEA1QC8nVsfxeoQFVi/ASeAiqg13yvwSvaRmdvbtrxvUiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT5plCRA9TVsSAnZWagAAxPUP/ju/gMU514iXHOt3vixl\nMo66OL/J8KjvLhvD3Le9vrZyHpaCmXulO6dXL4Futl1U/N6SQOvEHEi+AzH0\nsJlovr6SGKa4mNkpQJs7jBsH8TmW4ptvV+ItZNeERbt8RkBLsqVUJsZXp1m/\npDsFKx0D27dP+Hue6+wqeLzZMAp9YUUOC5DLtlDHYJP2659sDYfGH1XG+bTC\nh7pBFrVKnncWs3Bzb0ficm2DNaf972nItX7Qfvr8CVWsHCYWh9IH+rstU25w\nf6EpsAzluBBCOglN6QFyMl0jA7I8Ej3FNitcq23eyaTPeHR+QkJ16FHEUtUK\n+09NYlZnHRRp8rYKR57UMF5PGPRY4wSxML38WnD5rAkPY5oYlplqc+8kGntQ\noITht0EpMHeDcXXnlTbOj+AM9aacFjyN21f0A+OePu226WPHj+cpJ8dGfNhC\nQYLLeikxAfi6uYZ8Dgwb0lcA6HCFYDjJhqUyM4vIUFF46K2vb3mMmaTS/6+J\nhJr6MI/Vw6s+5dY61nx/bsg/XCMsBCqMH0RV1NVBcbijZID5beOK1Lu1weqV\nsqLD68EKDkWPQP64SY8Mmd05DM6EBhYFzKGGI1oDB5TyUcUDlkY5X1jAezUa\nDdx6X8CSkONFv8YwiY8ScgNLvsgK3eMh6a6/eBcEHLRjB6hfxrMTByWVBjp2\nq3K3\r\n=j3jL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6e49c6c32e70f8122c4bcffd521741e8e7d4248e","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.25","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-card":"^2.1.38","bpk-storybook-utils":"^0.0.13","bpk-component-button":"^3.3.25","bpk-component-spinner":"^3.1.38"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.119_1615829605070_0.46380235676601744","host":"s3://npm-registry-packages"}},"3.0.120":{"name":"bpk-component-infinite-scroll","version":"3.0.120","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.120","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1ae344a09f3085209ccef6e99034bb1fdb7c115d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.120.tgz","fileCount":17,"integrity":"sha512-V0LuGL9XpAfqO1Bu09xr/9DkotnTwVseD19P17S9PnEgjjmhfrvcfsxBubvvDBOnLbI5zxwOrKUP9J0iiXzrzQ==","signatures":[{"sig":"MEYCIQDXcTH3gSL15012+Yw81Ehqn0eQnh2ymdyrZqUj6DqvWwIhALHjE1e7s/3Nwqt1k1M16K4CJgJGW717PMXiiiccZ1TK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUhfXCRA9TVsSAnZWagAA2lEQAKKY4E5HUwq2waQCEe5l\nwTI74LlFuv5gOGa5OBOwt+EK3BjbolQCFWsThcxlbfiUp2i9fABCsj1BtyEy\ndTCypB2QYGAst796KU7Ob58b/uLwtOsjoRxfv1nhZuKGxnGg7BMisgzMb3dO\n97kBmCGNXvBYfBo9PCVrcDh0sh0C8JKXkMAuQQPqUT9dDLIhm0mKhTUJr5Cm\nTVo6EljSlDLgKYkpxKo7PLkjFw/Lo+SUA1B7oyt9IClGOE5ew+nHNZeUvu5/\nxpNooqCcX85tekCnRoRc/kClFEpUFXR4EatXJ3XERl1CrnBS30bF+IXaMjZT\nbJFNEkinodJdyUIrDrSn5C6HDMkvBIgMiwVmA4mWPEWvmPR+3jXz5l2lKEjS\nGdlnRatWWqYrZhYAQo9sGKRMYNXdUqWfbq0pGeC3DWjw+wJNvIVN3YB4q8zR\n6NTt+WpZU38ieD8cXjQyclTRT7TOvpCJ94uXbofG48E4IJhIdRbvE013OFPh\nX7/nqQl/4oIrxXEES/v++KvHHfZ3dQdgrPXeNJ3eddZHpcp51P99/+FdY5Lp\nddUw9gfnxPgSVo2sDA+vn4PTBs3ZZ06qDD+pkG3SSMExA4v5u313qQRoztaG\nKy24fecO2VKaATHOAqKrBWnwQ+g/UGrT2Nh4dEYtjuQXVLnOMUHRfmWGlXAW\nz8WH\r\n=A9eR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"edd6fd0cb1a682c9338e119f5096082e0cc81bf3","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.25","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.109","bpk-storybook-utils":"^0.0.13","bpk-component-button":"^3.3.25","bpk-component-spinner":"^3.1.38"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.120_1615992790667_0.39543330805244503","host":"s3://npm-registry-packages"}},"3.0.121":{"name":"bpk-component-infinite-scroll","version":"3.0.121","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.121","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8f69a48bbc29df03a30b7b06c1317a8f4e8aa718","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.121.tgz","fileCount":17,"integrity":"sha512-jt6XRI7EtACSQ6GWaTt5btEgOnYVL73M7G+M1aM9wT+7MRrfqQw7sVmuBqs3V51FoZErsw9JjWIWx/DRYVIcjg==","signatures":[{"sig":"MEUCIQCGkMqyQTMJcoDp3bUKB6ZApR4BCdMZ9//mZJtOlW4EHQIgedNLXeXt+Y/aBlIYaBNMFGDKHI+1BDMEpKM5wMaOA9s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUiYCCRA9TVsSAnZWagAAwFwP/0BVlFEPmPU6a0Bx9olp\n8x3dqqGFAl/um2ITHPTrVGwwuY7iZ2XfMxUvIk10KMZZvfXbCjyCWTWWtREt\nxOB+KT6s31BjV9JjV9hxAYb0Bdh1/6hZKe1KgY1DDUAdiKl1Nzxr50Ux9KU0\n7Pfs4XFfIOWjPkp/nIKmKkUxJ4m2LxdTkv6W//JfE+pE9rAbWbo5CexgvpLz\nLaR3GIuTlyx1j0MSECyYJQTqFTBolclYHsQiPlEybEapX7p9BrNvHZ+5gGIJ\n4vbUgMcCfn+4ixx+KuT9rRHnI9sQFGmgJEXmK+iyChfWl0E+Mrw2apXM3d4u\nMTvigh6YMbr4X7JD/bPh6YhEWP03blYE6x6t7pwnjTqKo14WyIsX4BqOQwSZ\nsVxfmDJpjGWjNhGLGpFLbhqYbmfBl2/PK/2FX8pyTiO4g/Ml4ivWCa6Qjc1I\nyzcKwJFZM1KrQV1bUOmeWwFOuDyde44t+HwvA+I3pNQnPV6tXMIJFVipqGTM\nGSP12nO1hehpghYLZhC1VweNpwtlmUPoSvuvSya1s7CqpEwDcUjRqW3dporI\nUKhQVqobtx5MkecBaIT4UlC9YTgtg7dQmvmQ3DB6GAnm4gqh2K4pDKLT3R6w\nFP/Sb4bRIClBLXufJ+TpoJp+R4Vjfdlh3HD14dBi2EWvDDpsbRzcS1Xz8mYd\n+nlB\r\n=rpqM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3a84f330e41f2505236f1cc996e06f8665b308db","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.25","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.109","bpk-storybook-utils":"^0.0.13","bpk-component-button":"^3.3.25","bpk-component-spinner":"^3.1.38"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.121_1615996417690_0.7785544588028375","host":"s3://npm-registry-packages"}},"3.0.122":{"name":"bpk-component-infinite-scroll","version":"3.0.122","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.122","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"48f71ce02881e4d0939d0df655334e2ac1f2494c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.122.tgz","fileCount":17,"integrity":"sha512-iNFy0UKE0l1kxzO6rlK6RM/BJgK6ptaHyfXAL+fIoVxBnzxyL6sB3+TlSm23/jsOCqRh9N9y7f/LQ1Rf6jOF5w==","signatures":[{"sig":"MEUCIQDEhHZnP+HPxLMUxdbCxMw8yEINdeP3C8QsZdgWWNYYkAIgOZhWKYvT+qtIwmMHWMPZ78ay7B2nkyV8vTo81otGQDc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWdqKCRA9TVsSAnZWagAA89oQAKEs+Ys4nfRkBXJjR4Ce\nFZrJsVR8W9xUsnozliDOWZL7QGitm/ZJ17Em3FJpYe1m3g7hFQMzDAGV+0PD\nU7HDkXPyu1QDBT1HnApya7HuCPGzIi9Cpdc3DzRfK9Goiw0tdMZfvNCKuRs7\nF4FnFdtrdqdD4NfgVNzqPPYp/9pLkz0tqIekE1P+m3jXGz5mvuQOGqN5V6oS\nKiN4/zT7ac/XY3zqQp2FoPCgZUtDV+yIv//axOQ513B2B3jIXx7lBrQhFb5s\n5ZMIGs6UFRhJUQnmkSrQN6F0qJAWmj8qoTQ7Pka/k2hiU7x4wP0FaH6d0Rbz\nlN/J7ATerh8XbToKGxNnVYHTADRlyupaTLLaKrlDZltVUB1yEvP0PdllEoPf\ncqDvWYbuBXyMMZjkSTmAYatqoxY0iPnCe+PBwoVsxRF20TuRNOdl35IjK7++\nPGZVsf1MSFjAQCfqUVptirpXKVPtD5v8X/rWHtGDv4uU7Nc7xp42Tm3d3B5a\nBndYqLEUGJblvCoq445/rPY93o5Y3fhn1koNlXfg1abOlRR3xN4l8rXiSKx3\n4X2ykarqRbgulqObMyS62HJvWrlr5q+9L+c+ZHFt7QPCMwB3YLxj8lx6YZBw\nlVCaduAx38mcM6jI95hOMTp1PxBQUoC2r5QXLYGvdsD33VxTdqczp13ucoLQ\nc66I\r\n=IQPb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d76d34b8182233dce0126ea7cbeb6cdfc516a031","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^20.1.26","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.110","bpk-storybook-utils":"^0.0.14","bpk-component-button":"^3.3.26","bpk-component-spinner":"^3.1.39"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.122_1616501385869_0.8200310611593435","host":"s3://npm-registry-packages"}},"3.0.123":{"name":"bpk-component-infinite-scroll","version":"3.0.123","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.123","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e11a710fdc8db27907f6a68bd4ebe0d51ae5327b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.123.tgz","fileCount":17,"integrity":"sha512-svhsjhJeJ3TgWo3ijZB5aP3RUMTFbSPcumgOxVe87YDTS7zHAJz2G/RqvlFfuLli1PMfPnxgQkypN8z4XfTrsA==","signatures":[{"sig":"MEUCIDnU5PW3Gz9zPuFGdHeEp4GcCtbb3THEBcB00yQAzCQSAiEAo/O1bYQ25nYiw418MLFMAWN/JXduwXT/TAJJMk/ufds=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWw0dCRA9TVsSAnZWagAAmgkP/0RJW0N7TRcBLNBD/p3U\nkHGtFWV/qrRM/5T8P2YZ/zggd3EU3L/nqO8rIHxixsGg6xu/ROfV3Bzyt5xC\n3qHvm5Y9VXaJqW/k4Z9ArNBQtbFEHyC6tbDPm+rkA/K9j2Y9oRPKuPpKIcRT\n80u5fmNYon4hazCUfPQ8KD2jRJuZjaBdgZ7MSc9dVtZCkq+4Mr/ngj75hQ5B\nBIMwOPnLup5afKfPZmIbYL4gANSz/fJSVs78LxLofm8RY60R01eUuzA7VSiB\n061jq1b8bZQXDv2gwzBOpgTONGAgyXGhaRKhwWn9byh6/C5zaSj3MzRTolbV\n12AM9FQietxAvs9/F9m2N3F7k4UAgk5tnDoX3BirnISjlg1IbjIq1OWS9Rj5\nZYEJ1QN4Po2LqUQH0olV0YA+j5bkhRfzAyuI5Al+yIvzd5zEVaNoQOVfcY3H\n8c0Ell3HaqYCqV3QzMjyVwMZkENk7fvAhOSWP/Z29W8UPVtfqlYPHcuMNzwp\n1Sr1AlZ7419vFosUyMP8UycgfB84g/f4cj89Q5qZ6wLHpStCpx/Niq5ojnUn\nK8DlpZvH7s9LhC8jrCVsnt9UW1diYfkN4FPUKiISv1ZUt6zDjd+muI5qKHH5\nLOWuD87D0OSkBYCoM1V9gbQa1iGWFSnnbVO4K0CVbrFFjGgMrtpXNJe88bAY\nzc7U\r\n=yc0v\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6b6b8e2511c9f50354ba6eca5331e093901400fe","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^20.1.27","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.111","bpk-storybook-utils":"^0.0.15","bpk-component-button":"^3.3.27","bpk-component-spinner":"^3.1.40"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.123_1616579869310_0.6561822744568855","host":"s3://npm-registry-packages"}},"3.0.124":{"name":"bpk-component-infinite-scroll","version":"3.0.124","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.124","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"372f44a0ea61d818756ac9224137ab1a5d76efe4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.124.tgz","fileCount":17,"integrity":"sha512-NW0D8KL9j7xsGlpKSRa/UTjPvdaFSSmuCQFH1e0i/s5NNtykEk91I79PvjEYmHWS0NKFoqNMyXyLBahJkU8QDw==","signatures":[{"sig":"MEUCIQCvi0dvekIW3J0BOODKZFSlrQRHdsIG/CID7RdXqV8MpAIgfAcgI7zHHFMEI1jwsuqIzni+lAryPlIJh0QM3bDVfjE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXMbVCRA9TVsSAnZWagAA8D8P/1GH2m+CjxRnQQTI47vz\nvFVc+eVtU52uZD+8B5QC66lc2ozHUFShF9jVNZEMeOAav6uEtd71hyyzi2nK\n9Vqtl2YOG1xYDLBApL+WejZkQ3V7dW4187pWWnfCz+BSWicKOoNC1XzUycBo\nJQdo2irpWuzO9IPv4wfI9OlqO5lWwfZKYHbTkJZkl3iOxtrG6Kj/PUlGI2Es\n5O52Q60Yhv6DTJQChcELAJIulRYccCRcAc194nTPoVjbkdLnONXY/0PqDi1u\nl3ZkWEGknhKTEhmBNKEyXrkx7Bk0Q1dAtNCqZyqvuJi7rQOWsR1ScvU0ix53\nQGmlqJV1TXnvj3kvgHt9jzSPgAeBm5kiGD9oLeg2hETs4AjFghE+phG7RCil\nRuvE3FVIpfaDWxd8WPR1BeLPji1cPQ6gadHYrJ4h1auERtVNFMvI4Oj4NPO2\nC6S5J4v7N3wSRPrDZDmU2CCYUKvZtre9c9H+Y4aQ1voqaolKVOUMdfc/SzvP\n1PPvNsjOkcl1ZScTCMp4mla1mNHktPW9mPAa+STJwFYBFdEy7NuynIHYhSb6\nBuudelvf6WWMuyRpX2MsJ3vvKS/mJwepRacvv/qJdRv73Eqli4hTSqDN7T51\nPGy5zhPb7mxBk9mvLobMxV3tds7kmF3kU1Gxw00i7GTXTzG8Vz6B8q23nf70\nePCn\r\n=mktv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b3b34194b66d5a5d7c21be3e4cc50f51901e8558","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^20.1.28","prop-types":"^15.6.2","bpk-react-utils":"^3.0.11","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.112","bpk-storybook-utils":"^0.0.16","bpk-component-button":"^3.3.28","bpk-component-spinner":"^3.1.41"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.124_1616692949399_0.8596232935364521","host":"s3://npm-registry-packages"}},"3.0.125":{"name":"bpk-component-infinite-scroll","version":"3.0.125","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.125","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"807ec0559477e493ab6210684840a41bce139dfa","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.125.tgz","fileCount":17,"integrity":"sha512-Rhq5/pknG5m+foQsx0QxdAqKre6SRO+Ids7rUTRmrOqe0py+7PWfYpiC2qwEqsv3AUsTJ4aMMtFDxXyMXMMTBw==","signatures":[{"sig":"MEUCIG+IpNDgj7eyGlHddEk8jGokTeDdHaNa0iUtX6tcleA8AiEA/lr1VuVfpSXc146UjY4cFYiUbnkmtv+go9Y3Mv2LiR8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78037,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZxcTCRA9TVsSAnZWagAAUHMP/0sqSYk20nCjg3CVVekl\nUhnwa+WR9qZke59mBKcTIn//XzvrlHRr85sQt3WhFCCg/OcWZtehTagr7pm7\nHdKMd6XQvvUwJ366iCF/SvpxD5d4cnQLITYYV+mjr86iMlkIa4Lp0wfg2Zcd\nQNnRW7UXs4BOE95UhNtvatpKB7kwgd1erdL+9zbypla+/kAHGPNphJEOWEZk\nVJwu8O/dlrJ+KSOv6tS1zwzv7Taln9yCGNn2bbIxrmflshU5/zB+aZHP+yU2\nPKi/SXaqV9nPuR7WmDURmeqVkHYT4gp5BLVQMzCevek7pU/hLW0x/WwftyG1\ngSesRZxqy2MiJ+8GhctbX24oLkl31GCp2nY/zPNn4K+FbXTH4MK/bpwtFltD\nAvDa/jznHTEdeQMyTW89QgtxIhY0lVBXRjkvcI/YMPa1vlIoH94Ip7MQMiq+\nbdhNMe05pDGbJsO0Q+D2bMDnONWrh/RgWXn49qUtM7ihiSzTGNXpyz3Ia+Uv\ngGKAuFZ6lAyM/kN5GyfEXcGdjTFhyIpjWvcC+skqOGAPzOTrLUjd1bFd3BJD\neYDnUBeSYRDbAt9EzXdOd//0esRlpMLN+3K6eRHoeCKWC6uqzH5ghUvrrj9Z\nW1USnr6Z4I61SekVpUXq0iNpC0l5fAp7cMJM1NaoG1FsAiGdmVbaTyCi+Puc\nJDk6\r\n=Nymv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cb956fcebacca28ee51adcf5b28068af87aaf0ff","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.4","dependencies":{"bpk-mixins":"^20.1.29","prop-types":"^15.6.2","bpk-react-utils":"^3.0.12","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.113","bpk-storybook-utils":"^0.0.17","bpk-component-button":"^3.3.29","bpk-component-spinner":"^3.1.42"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.125_1617368851050_0.8410341155355952","host":"s3://npm-registry-packages"}},"3.0.126":{"name":"bpk-component-infinite-scroll","version":"3.0.126","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.126","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6633b802190da75f15bdec082b216e601f7120aa","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.126.tgz","fileCount":17,"integrity":"sha512-TcK6M9ynKWQAeDCI3m2cJxMBm4bJyvNlUjB5LqMH+4SmFCHma9ZUAT3mKf6EdYh4UR/9Gv+D0hgcj5mEPyz1rQ==","signatures":[{"sig":"MEYCIQCzVA+WK3zuzB2VFX/ZpvTa3QiIpCpXHM4Y40JYSPhb5gIhAJMCjiR2EfxZxf8NTg8TTwOckLlwW2Ee/dSzv0rlq+zX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":78037,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgaHRvCRA9TVsSAnZWagAAwHYQAIRKV7205+UAWNWJKzkT\nPvuGCjumADh24tDCT6aTU8A79akAdSHxlaAZwe+DOUHvSNc/DqypuFMtMAfw\nIfE/fRG7YThO3eBzfD1Ecsj8n3wYIW2FRLdNnHzwv+zEqvPB1KLhmGFq3qON\nNix3WdrIBT0DUboTlIV7Hd1ouzwqbt2D9ePlTkaeJ/DI/77fJeaEugzSCMF3\nHTZi5kpcYT1XRNScd9w4VDCNsXYqS+3egv7Vjb++DS4ygIqVxbQrNp+gGe89\niILzBuNnRyWzqfptRdDoPobHidpR/jN/QpkLxPBhHKeAh+LVEpVKVSQ0X8Ea\n3+rzk0RLK6lGJnw/a8HJ0Pu1lKM6lquJ/7wpcFKaNZY8xIYpdHdHiCypacIv\np780hkXigs++nq9NonOiheA4fxyALIq0+wxTG00qXW8xM0/haHFm8Kvb9Kfe\nludRcJOtApScSKiCs1QFYugVBrSF9dlg+q3dSO4Et2qglKm39+2mV78SS1KR\nKNrXlrYKhKxbHKa4vbHsmNobsnrYmgf6UrRl6wDoOx88e1soa5y7RmkgVbPO\nHk1Rsuf0Vm4davZmHQMivuQnSXNP5IGcoQUNuGRjkG7xlR2xbwmkGTsX80BO\n/HjCrAg7MuCG8Sy+Dz+GEYIzu8Sr6jy/Z/fdffMXCZn+cJ7K24XPoZh+OK7r\nv/YB\r\n=sdjO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c2217d61875a1f3aa2bb9ed9583c50e3f1523501","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.0","dependencies":{"bpk-mixins":"^20.1.30","prop-types":"^15.6.2","bpk-react-utils":"^3.0.13","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.114","bpk-storybook-utils":"^0.0.18","bpk-component-button":"^3.3.30","bpk-component-spinner":"^3.1.43"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.126_1617458286493_0.35310612621180537","host":"s3://npm-registry-packages"}},"3.0.127":{"name":"bpk-component-infinite-scroll","version":"3.0.127","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.127","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f1a0c53b11c81abf2f0c77a04a62bd53d2b8c8ec","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.127.tgz","fileCount":18,"integrity":"sha512-/rgnvI9mqdjfJ2H//rxoL7kWK+brkfh3ySbgn73dln7pFzT/XuNH5n2pthE9LRi6o0tTw4gWsuGHlX6nQVHccA==","signatures":[{"sig":"MEUCICU/54nUXvUmRqbOn7q5A5QwtpEj/RNFMv9eOseggtNcAiEAp4fvby226kXwlEklylnfK4mvFqVCUcu9nVcIeQOHNRE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcCpSCRA9TVsSAnZWagAAmiQQAJjvmuHXOrVJbuqcziCn\nc92Kb1wCIYQfRjSrRSLFwuFyus4r0vMxLAVFK+KmjQMA+2z22fe+qw3Bj6YX\njGaC21DyXfr8bh9R7+SelfjFdQTnjF9iBPxFB0Wr61Yw6tGrsRsDLgak1jrz\nn5gdJaK8XVde/2o0pGbAB9O8CpE9wXejsJlGBRwIK3CBXj9U87m2Uoj5RKXD\nkFkHHZSRmhBVRKzN/TnEvJQ7V+ZMhkEdcS3O4CoZKb6Cy43DJLDj8q6ruhUh\nJlFDZVyjSGNhL+aXUwidJviuUsyp2RiMMG+V6Zzg3gCIUs6fi6q0z1uEl//E\nvBAPVfTBsa37NNcYVXzK6A92ASPmOYi1H31s8Jc8chhSZ39y3ZHBXd1meUld\njXJvRaCYTsrPeQimqDTNc52ctNFBfqcWHi1KKxwU+jJxfRmxTQvfIT8IZ7h9\nzmemkX/wMMqib0uDGF4haApiRBnT9QrelR4siOmzWAHq6lZSUzZ3YX2qGL+E\nEmnbdOK5SRcIqm9ecHiH65TTl+ccZ0bhqnm9tjs5h3uVPjwEk9W9HWJbttdf\nZdhdZcuh7kIZ5LaZr6KFAAUMEV71fAfqBkbb/lj1j+B+886zx+U0maKolGr5\nNBWLeuHsgPHt/AQvi2m8Mf8RIFEp0+QmMTdiMLaAVY9VKddZ9kzLazLIHLEZ\n/pwW\r\n=mJMp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"691833c5fdbb54214b2f457f0cad324dfc05c633","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.31","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.115","bpk-storybook-utils":"^0.0.19","bpk-component-button":"^3.3.31","bpk-component-spinner":"^3.1.44"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.127_1617963601921_0.47492941702092395","host":"s3://npm-registry-packages"}},"3.0.128":{"name":"bpk-component-infinite-scroll","version":"3.0.128","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.128","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7398269d31bdaf9b8d486da047642890764cba44","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.128.tgz","fileCount":18,"integrity":"sha512-wHZD8Siz/Z1fCcy/7KWOuVPLV/4Y9lmKD4Ft/voHa2ewhTxDIBUCljxV+legdme7DoNc3N9FvYMyEOO1MmIk+A==","signatures":[{"sig":"MEQCIByC8xo8U4IiWML2AIPACNpN6ufN//6xEQJhECNy6MwxAiAm4gUQ93ZM1jV1EexkWtq/kaFILe/f3TB9qfEAj5yaig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgda7JCRA9TVsSAnZWagAAnHsP/2uE6w40YSnjn0V9t1QQ\nChkdcMW37YtrQM1x3RiQyvi+v/qpfcVWcQATq5QYUsuNKhqrE40L4/tgv3H7\n64eiu32oEc8RfKAcBG8dMQDgfj8cFIZwrKpQLffquZFMJh/mXVJTcYcszdux\nfiDfNHyNIA1s/F7ffj6Of52rP/sD3Ms71PFWSYec70zlIcqvHcA870kvKVUF\nNW9/yY2NfwTOtgpBSs+Y17PhODStgII3vUxmpfG79fNshrLv/WAltZybxy4z\n24hAQjE0H1mloc9kVaKCXpgY9yz0L/tNchtJgVeJSw9t93q3vlZ8iFqkzTZx\ncm6p2EFndjxdokAoOgJxL3qn9/x/QBKjJCWQIVM+6Z30rTahk0/DYbc8LAvL\ntqNHiP4ZiVneFaO0D+R72Vg3oqXvZOqgwCMO/zF28MiTXqXVFndxwLVKJK41\nfTi2wz+hXz2H312/HzZO/EBjwHYPbICBWYSNexweddamLMy2w+QDEls68tVv\npG7/cZeKh6eCv0/VQ9qESa58inl0IzhI9gA6qzWvrsppOZaNaRVgp0gzidjV\ndR0U5aZ72ZDV38Y+1yhz/LLAlxj+lUud9e56EE6mYYJm9eMdt18m1TcDcHu8\neh/Ys7gzoWKaFCr1xp/3OpniUugj4I9w2xexcht0G9nrO6gDCIpmZuj7WWZy\n6Dvn\r\n=grRr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6d446e75ee484e7babe153e3c7248fa1ed8bd46c","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^20.1.31","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.115","bpk-storybook-utils":"^0.0.19","bpk-component-button":"^3.3.31","bpk-component-spinner":"^3.1.45"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.128_1618325192887_0.8532652969977923","host":"s3://npm-registry-packages"}},"3.0.129":{"name":"bpk-component-infinite-scroll","version":"3.0.129","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.129","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a9d774f435ac295021b6c4d53a92864a72e37cf6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.129.tgz","fileCount":18,"integrity":"sha512-M8+UoxzGr6kwALU2hPRXvK1ekJulfo5+7hM11rzQ9M+WTabIhNG3t07QcAEvaA5WhswQjSUlFdlDAscgiRzBUQ==","signatures":[{"sig":"MEUCICMBKfQ9OFN2CXkdhEEko+rX9PwMfkGNydflW7OgdemjAiEAt43tS74pYtsALYBDBcR7QNH2EA4vzmHAp13AgpzHQ4I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdbS7CRA9TVsSAnZWagAAStcQAIbLG4J1k6fx54hvuV07\nBGmlFpKJZfO7JhbN4W8O7K2E0+uTWEzCnpCKEEB8Q8zak2seBxooURMkBYSD\ntycS7Dq7F/HgfcVOjxOGPC8rCV0Lr1DIE8bhAmyxtQewsgJ9GjfIQoM3lJdE\nJYrLuOYpr3UQ+LI8NkfB/3sq272NF7XRdepwDwxWaWqr+HsfdEUP86osbUIZ\ny/4j3sCoJ5qppUA/tRCR6Pl0DPftIBjoo9bacj2ntOocksz7JOKx4cT7CoWt\n2cypilVqqq4KD6kqKW6xDg4vw5JshQY6e6VS3f+GGT9nsWWTkK0TfE0dN12J\nmT4ONVmPE9Ue8Z3WiuOPwEKrwa+1WuZc8myp63RG6XkR3tygcSGYYjuNrMck\n3yMiZaZj88tSaVMtLRBacF3H5MEO/D4nDmmQ3UUdO8Ogt/7ZCWOqe+afokbs\ndQ+0EUu5d+7m1rHf6bVD3n5FEunF0RGnUAwv6z+Bmw67AxlLWtPxy8MHJPuQ\nP4m6XO0J3Mm1suGcC106LsgGu0r7NaKcXX6z7P0aNZ9DLyyg2RkiBjUzuaAY\n3cewUMXBkRlil04yUBkVjlaq/S8Qv2TliJZT5fxj3Hzs8POmbEiAQ+0FE2EW\nENX6x/aJwdiRg6eICnQsxuLE8a7r4OX4mtdDpv/gEYDXaoqU6MCfRzkdPPIx\n3TfX\r\n=V2+9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e0755f48046d33ac106159da6454191514fc200e","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^20.1.31","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.115","bpk-storybook-utils":"^0.0.19","bpk-component-button":"^3.3.31","bpk-component-spinner":"^3.1.46"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.129_1618326715353_0.08739104349805316","host":"s3://npm-registry-packages"}},"3.0.130":{"name":"bpk-component-infinite-scroll","version":"3.0.130","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.130","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"551363e5580f045e2112703e80a76de14d9531fe","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.130.tgz","fileCount":18,"integrity":"sha512-0sRecjBd+3nhH+PdbUmvBkjXm8fhBqTsZSlptOh9INSHo06aZlnqLCzIW9jhwiyWAwExd/RAgK3FzM0aEfh7ow==","signatures":[{"sig":"MEYCIQCisD9OMLbqZn2jEWds53ZXzduWLIQsTH0DMoxw6vN7kQIhAMApmiyrDnK89HtWs5EubOLbppb6Zda7X9LLesjz4qzL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiEP4CRA9TVsSAnZWagAAjZcP/jdLoYyP83Kd8wRRkWyj\nhidhqmN7aax9KHk031i8s6cKV0/LiKVY/jXqMJ8pl5ugQARi1e7KGlIOxY6/\njh2jxeiUJLDotUsVd5etjwPVGQ3uqFXGFCywcGg4SbCCB2wfB10Twg02iTZJ\noD27QQGi6gtMiI3thasrFTvf8pmZ/7rHYDoapxU030Ps6VScgk4DHjNyoI4l\n0XdsLFKEFh3qbbUVfSb6SO6tmQ9hI9KcV+jF0lTAF9Cd4pkKxNd0wkv6lnYS\nwBM4NVxt0ndJAYD9diGVULMtxsnxSWBaP3gJUCAxR1DFZZgSMN5pW7DpE90c\nRqzL5UuxAV4hXY0/+jMeTZOW4wpbWnIJupOMbxEwoPAfqqq7m485Dy1iwp1q\nZAw1dMLpTHgN4HzNMzTf3CL6qwq8qwyW/BvBo5YOX1gDBTivQEfEEy/phM2r\nfmHwrafrxWaalfVszIk5Y257uFPaR5UmU5CM57el8ENnNXO3GEeWVaTTGwOh\nVc2MHFW/p5vlwIaCaCygrlVPJ4hHILWPX0YEKC8HCfyf0ljQtkOTB8g2yz+J\nuVdzJaiZ93OyYX+N9NmtcB/hkzNDgDtxJauUBwd+VsYelZzcSXdjls4k44A6\nU0EoB95jil+9W+jQR2Ux34rgbCydx4Nlmqxo6o8KMWaePZhsMxN2/pCyJBt8\nJNox\r\n=VBmD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b3bb78843b11cfffac63d43a4580ee2c1bd3a6a2","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.32","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.116","bpk-storybook-utils":"^0.0.20","bpk-component-button":"^3.3.32","bpk-component-spinner":"^3.1.47"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.130_1619543032447_0.3050410962800154","host":"s3://npm-registry-packages"}},"3.0.131":{"name":"bpk-component-infinite-scroll","version":"3.0.131","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.0.131","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"b319e010d9bf5b5d7659e3cb2b30fcab143e5e0f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.0.131.tgz","fileCount":18,"integrity":"sha512-Z8h888k61mu2inAO0XoSBtltoKOWU5dkl9pW8H5ytNmhczJp2VrpMcWyjqwrPicWLcx/pUFR8h3GRk9Lq1ke0w==","signatures":[{"sig":"MEQCID+nhRvYXZ9YQIuIgweia49ERDo1W2SZSwDp+qqvHnjwAiAYc3756+4a5APS4JpRAyQsfk95WJd3AeDY+gC3VOEV+g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":79716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgit50CRA9TVsSAnZWagAAZHsP/03HRolkdEDWWV4sopw7\nQ2+2xElyw9pkGAHZMhFoxHLa0sraYNliTtt4QIWhVke319t+jqEma34BOF+v\ndktWsRMvZCpFZdK+vFoQKhzRGKWzebYAceMqVsSGSsLI4A73ZUTrEg2efPMN\nARmqDIPXh8sEFF8c/6cNBAvnZADYoh3bTFY9ycBZElmwe+fbX+7wwIVkz9XM\nE5F6XoWpz76MVJJ1fZDdGAEhf5NLMYih3WV5julERRcTXunov7F4BplfhLA7\ncToqeF+77i6YmilWGiTHCSahGcuO4YTRA7O+fqIWDqCdlQDKByUOXHMrbZUR\nlF5gWC3ezC7OzfjmsnXVemUOu3KlutLVqduFYKC3SgSs7zxbN0qg2TZY6T2w\nPB11VSNdsdG1Agkx9bFpqYtc5gmvEBezneJc1IiPUlQwOO1S9uSbX5BqlaFg\n8GmbXKKln2sJkSKEEyxsx9SlQoUOKrzcnrrYU2Bb58LhDoQScIc6KmtJ107y\npyz1qWYgoUNt9287cFSVMAEoA7q79sEws+sAnRH0nET84EcL2JnZO3jaujsO\nj9HoKGr+YItpRcaSTaB4jMalI4tUa16erPGQJAuvxOJlN46+yn5dVmn+EoY9\nBMhQBFIXjtYNstteXo+DhBH4I7ATQc1wUXJJD2qesW2JEmgfuNnjl3tCMv9V\norwA\r\n=nlRD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"db3e2c4679057f19ad3148388da7f362b991ae56","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.1.33","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.0.117","bpk-storybook-utils":"^0.0.21","bpk-component-button":"^3.3.33","bpk-component-spinner":"^3.1.48"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.0.131_1619713651765_0.7210616832296939","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"bpk-component-infinite-scroll","version":"3.1.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.1.0","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"72d6078ee17bc5939018936f06d1f6780fd85800","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.1.0.tgz","fileCount":18,"integrity":"sha512-WQ4oWVCMYF3VTg+E3FKv2IPVAgsNuInKl1r01apxNL54Y4246FCIK8rqc+a7gCRM5oZsiCtRp2w+xZ6rb1Bacg==","signatures":[{"sig":"MEUCIANbfHb9Gz3o/xCqDNoWtZ9msy7ysG8jO7u2BPYRgZd0AiEA4qt1E/1fRt//64/D1ZAssj5/is0UAm/32qZj9/53dmQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgk8vnCRA9TVsSAnZWagAARmcP/2/rZdgW9NrLcVsKy91+\nmfJToTpf90n5s/r4WJC8FCWvYL/AHFIT5nCHfpRJqVhI+Hw+vG2oUVItpbxM\nk7e5QQpT2fUZhSuCvgf0YQxrxqffnhCHt0xSf65gSb9gX2wsxloKJOPitU/L\nel7kJXcBAVQVWQVNFf02D0fiTrS2jyrQDv6SFI/Cb7oGS5M4InBKAfOTvh9x\n98ob7uRNesBFUo3dyNFsMi6Y1nwupBGzHUdZP0VTph5YgC5IBKV69eN2sFhD\nL+dVHqJqRIhIU6qr6O5ExGQc2cYOOwEs6BLeVBThDpDteDkua+TZOaUYU44D\n3XYqr1Kd8lzociWlv5VSd0M3+E8Xsy35IJlfHTYReFp5PuvZAeHA2+Fh6ggR\n4kEOAs+k71tylui5inPduaWpXBe2mu8f59fss1NlbAj54Sh4VIjSOLZtJ7tq\nBduCDbrmv/yu68GxRef0JWziTnrdIO5Nq3M7pv/XzRgXgahqgMPZCjVSrvyO\ntVNiw/BrL7KHdFgjyW4anBgH8gb/76qbaV+2qHOKRcwS45JmuRylOWLzszUv\ntzC+fecyBao5JG5B8rZpd444Yv1GwzakPXxktyHxmz8wj3RX3+O/UVTRUMyP\n2DErsaYH01lzgjsoBNTfrtl0sDmarQ1wvjisIJli1R3g3i/+N3zzELk94THP\npfYn\r\n=Amtd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"148f9ff5c2d54893a3aff43c0b1c33afddadba8e","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.20.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.20.1","dependencies":{"bpk-mixins":"^20.2.0","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.1.0","bpk-storybook-utils":"^0.1.0","bpk-component-button":"^3.4.0","bpk-component-spinner":"^3.2.0"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.1.0_1620298727281_0.18040147775536464","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"bpk-component-infinite-scroll","version":"3.1.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.1.1","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"53d1ed0c0ec6929cca13f6088c86e81b72eee28d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.1.1.tgz","fileCount":18,"integrity":"sha512-ve4kJOKmrDgBthVTrMQD0u2Lh9e2WD2UYnTyYto6cGMKNko/QP3ztjI8toSCUhmC7s56ZwU54Sjp7XreO4KLbg==","signatures":[{"sig":"MEUCICoZZD8vF+mSZ89XfofTU5CBOEELNy3RL5TkL+HfIqLUAiEAjG4OtsECqDDkM/l2rbhxD8nZu3zO33iBC98x9oSH914=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgmj8UCRA9TVsSAnZWagAAo7EP/j544AC/ctSfPk+A2KMN\nPis8qrg7XkpAzNMuwi2AL5dF+XbYodd8wB7x8J/B/JJJF2nMJgQ9ALKiUdSI\nCu6SJsV0x8YJWdxt+LDaJ/71Jrvqfl/iYcqhzk/ToMSDt6SrUK8M9NaSNCg4\npKCZIaLgnJjRVElX/shQyNlSj0ctWIG/C/VTHBgS1CurelBkRtsxI2iLoSN8\niURNP1yRX+now8ii3CnBTm4ld2Swoh+301LHRU0glA7VNochQl7KHdirko4y\n75dWu6ZU0b8ET03MCihXZJvdh6p4Ku34hKtO9DrLI/D2XZ+sfl5nRTejjctJ\nSPO+zBzPPXWS+Xj6UYw3tj7tYeycK3k17bG7pI08akXij+YuSoTFAkRAMOUL\nVYLKsAvvTI6XU2K6HwMzQqWdOnEWULiEoZN8IVcW+DguWvEhRd/b+1mp3CmS\nPrawVbDh5j5WNL1E5za8pRPl035qxTJHRO3b79VMBb9j5Fvs+MYtAxtH9GtV\nq4fothj08PJ2PB0kQqdQqBmoq9yFUgQacNd1oH0cc1pTkbAUoeffYyQ+TkZM\no3EmbhpOmC5TcuTh02DfGyGkndBMnVOMUhgz639rrp3BsdWQAbaX4MMCB+Wz\n1XZs5YFD9ezybMO1L4YR36pNzOG3NlWojbH4nHtxDl7G+CfpmWxFEQBqnO2c\nJ4tw\r\n=C/Da\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5c156b97cb0ba5e75851d3c763334578714c895e","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^20.2.1","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.1.1","bpk-storybook-utils":"^0.1.1","bpk-component-button":"^3.4.1","bpk-component-spinner":"^3.2.1"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.1.1_1620721427796_0.21837310494387618","host":"s3://npm-registry-packages"}},"3.1.2":{"name":"bpk-component-infinite-scroll","version":"3.1.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.1.2","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c3fc5c17fddf3a68c8fe508cb3c83cd7cd1ba773","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.1.2.tgz","fileCount":19,"integrity":"sha512-1WnsY0/LlSk2L1nNWjbYHWlpx0rloKF+UUp327NXAtjJxlSo8kCQ0l+8O9Phu3Y11fva7+Fw8aq/THTc/S6+5g==","signatures":[{"sig":"MEQCIEBU59CPGU/cR6a0/+SyurXi5lpEw6YA2JDZF+K8AwxZAiBmayvYtDWfizvs73PU0awQ8FtmxCTh6PbNbxhpGz6Ncw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnTEcCRA9TVsSAnZWagAAg8YP/jgJg2Blv3X/+Z00lNFm\n4Rrn4igJPVmmtcx99cszsCWYcx9oP2FUguXHtqCsW1JPki8ujmeoO7rd+Xmu\nG5LFeSZwFaw+2vdWmN93VzGKUF0AIEeuej3BT2qg4YtlD4oPwjyEulp4xpFH\nxXIy91ka0u8fpggS7akad3G+afNOI+FggyYQkZvoY3NUj6kJX0zhZBj3+qXP\nOVWO1JtECkNxzVeCyodLfWRejVomr+3NQb6RBsCspmBdVjyPh+SiffgLVsx4\nJgMnDmn/9aEHDkxbu8rx4AjpfsY7Mu6BSemuilaZYVIeLL2fu3YjpD+Uf+I2\nlrhcj43BK4IiuYo7zzGDcSSUsCNrX03fcsT5/pspJAlt13cMoMx6HjJ4RhVz\nUhXg0Em3okKFqN3r2aJgl18eay2WcAu0Rv2eeZ00u6ZfrSypAbZHy/bl5Rjv\nyufKIe3GwFGQNVcYSLRMDgWrEud/9T8Ypb5BNL8JiOi2FAR82OELtI+oHpvH\nVoJKIkD4431ojt1aYG7gVAJ5dA+I47r7xIkozJOP6r+1psbhMFvAuRm0/AqJ\nddn+SgNo+bwRCn1oZ9iKPDF1qm+UNyPy3N08fAm/4uB3cmpbnnDSsLldLTfG\nCGA1q1OiTq+P0HSgEWUULjECcSos8miV+F1oYjRN8BC38DVIobNkMA8rtLOe\nx7dM\r\n=6rqC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"49da908032a4832ae46358e90b37da59279ca73a","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^20.2.2","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.1.2","bpk-storybook-utils":"^0.1.2","bpk-component-button":"^3.4.2","bpk-component-spinner":"^3.2.2"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.1.2_1620914460216_0.4849514791734604","host":"s3://npm-registry-packages"}},"3.1.3":{"name":"bpk-component-infinite-scroll","version":"3.1.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.1.3","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"da6eec70e146c48978a0b854947b637ab860b86c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.1.3.tgz","fileCount":18,"integrity":"sha512-c3buxWrOhra1tGougndGw1U7lCJ2RDaeOikhecuSRj2GxOxJa69ucYHyV+0anUev7kJIhy06rvhSzFVLRsXvvA==","signatures":[{"sig":"MEUCIHMnqGMV4zFrP0t1xl80QAkAvD3heggAngpc68byCqriAiEAz43+5aRcW74YSCQEQ2g2ugV3LnPKHnLObEQVnmotglM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgt7baCRA9TVsSAnZWagAAV0AQAJZG6godk0I2jRgl+loL\nWRXxHUJcXPcQuJi2ylbIav7lv6oDha0Y2D8v/HLvN7wlqWj/G9Iy64hyWjF2\nz6I9hstvaEXKrsFpPONNnge+5RcHIgm/6n+gxkXTXW3ZUGSNymO5cJ7KTodq\nrkMtgGmh5WlUM/f94RGmpGHzUYlXwLv3TJDI3VBheRlTzFtDLMgGCCRsPoOM\nBSEctDzk7LVyxETpe9WBDMdVj9PgVfNyyFQtNLPP03G6sCEtw/HR5UNw6MgA\nR2DD3ZrX/FbYFKC0ZeU8QPa4Q34/9trBB3ElssEWJgwutFKr9oqauxkCoY7N\n5eD3cUFUEVrbbCTclLY+/3lGBZUey1icFa2iaHXC/Qz1qojWZyma/bodInjc\nU5h5UToe+QDa513B7W56cSeV2d0S37Bp0Keo6hVeAwXCd0OpiqbBOoErMym5\nEvWyyIjvi8vhPn5fBVw2CzSUgotT46Y8z18EM3QmsLBhihDGEQAhCXgaLKZN\n9DbPIlDUJCNEHB1DFP72q8RDJVyuAsFxbOM0NQm+VVwl/IsHtK5sIVKOjzhq\n9lGVYBpIb5xs79q2YwCkqASdVWwrbQCanrMpYsjVOO0ALw80la+4mR41fkQo\nj0l0nOR7x2HvSLhGRwYfbwKpQKSYLCkgef2mk/U01Wcmi1hu05k1KUY7RFEY\nHPvE\r\n=M2ZI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6288c38ea0b8c77c0be66184c87b8aaf536f297b","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^20.2.3","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.1.3","bpk-storybook-utils":"^0.1.3","bpk-component-button":"^3.4.3","bpk-component-spinner":"^3.2.3"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.1.3_1622652634544_0.21591611855573123","host":"s3://npm-registry-packages"}},"3.1.4":{"name":"bpk-component-infinite-scroll","version":"3.1.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.1.4","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"eefab1cc91e79933f0f2a75eb6094cb32d5c2d3b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.1.4.tgz","fileCount":18,"integrity":"sha512-A5IhK0ItvHq7mlYS6ktN9TquLXz3UB0t5Kej/wx32phOMO+3yt/eFstwaFrk+Tw5tQKPwafQRWoFYvxERUH9PQ==","signatures":[{"sig":"MEUCIGRruPEKYit3A9Mj89I8Cum4qyYG3lgaRB+vLeMdaVaTAiEAw0VEDrpfZsgTRErLD0HSH8H5VPkD3+BwgCl0stNH1CE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwJ0kCRA9TVsSAnZWagAALNkQAIMx65RFeUP0WqLJY8KB\n87GO7OKo+3LngzmeYZ2ERIYwlj8TDSzhoF3nCJLFbd6cG5juDA7lxtH1cOgP\nHtKM0lLLJWWCAwqWTVWrZjQzWq4wkpHYYApwvSNPBU1Uhf5Nj+F3VOpmm/NB\nUvmiYS+YIRbtG9QmG6MH1twC6P+e5uPtns+U8k1ne/RAZnTLk5X9srIkz/k2\nJYCM6RN8saA4JLEHofGXZq31ac+t4dm5eyCA5A12WB6UH+rh31aPgSw9Iaju\nteXtMpdS4vO7hqbrUmUAVpG6zkULHk6RCGKmhfao3vkpTlvAuS3fY/+goA3K\nqTs44CiVX5+rSs7L4437stQ2+3WyGn+DI04LHMrMYbXNjKAXy0520v5OXI8r\nL81Ooe6AvOFyBDwzSRH83rRz1KeUmkkD9AuDcH7BlikkWEIkeL8kZh7xEng/\n/HtntH+8DWd+iIyeEQr7hM5uZe7nM2cK/9oW/c5GwI7XA5myQJLmgvoS+mtG\nCKj3piAh/gnJVt/tSwbDYYgNvnM4bbKcBQ5Q79EzDMnK6pmq1ABj2mrgo2q5\nfAF/iCyKEoqE6r2MvZtRUPoOrzdDb6ryXakB6Hf5pzYE+ed6FeubBQUaziik\nwdbU6yhtd4zSyPbayhcZsq0kEHmtRz1Mo/PZ1JFq3JXQi45eHmSn4qTdsTtL\nziwo\r\n=MnHe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7de8cbbd55c988a5b5286834e91c477b2bde9a04","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^20.2.4","prop-types":"^15.6.2","bpk-react-utils":"^3.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.1.4","bpk-storybook-utils":"^0.1.4","bpk-component-button":"^3.4.4","bpk-component-spinner":"^3.2.4"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.1.4_1623235876743_0.4582122735315872","host":"s3://npm-registry-packages"}},"3.1.7":{"name":"bpk-component-infinite-scroll","version":"3.1.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@3.1.7","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"68576fc84a2130fd40bc2214cd3d02499ff0c44a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-3.1.7.tgz","fileCount":19,"integrity":"sha512-hP/Ss6FzElB7WSktphG+DKcPy7gwmd2ILuf2OcKWbxMhxAFVfjAyGxUag6YyHBbvcN/OURIKJ/RhCTYTzwfuJA==","signatures":[{"sig":"MEQCIFAm/Gcsdp8PmGJWAV2YdAjadlpiuxVydj3dTwVisTQOAiBehZohfauEsGJz/tE4udnO0B7uENpW/RSLhV7iPB9YKg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyMgdCRA9TVsSAnZWagAA2eUQAJzodg5f3xhlE6lYe/gm\n7/kLbyUWr6uDQC8mXepaDmdDqujkKLAJWgMkRRrFXLnsiibILRsCf20Pz5In\ncUaJ3CmNeUk8CDw5GfUWjiErqyaRBpvDC9ZH57lzSMjIdytQObkSwigjU1a2\n4B+bGdXj9AcZDDHszzypmhuoKtNc9c3hXiEc6LSv1swMemdUZNpHoVBCRjOf\nT5qxi93R1N0NSplpiKvxzXX5gdWyzGTxizA0BJjeO0oDmhlOnudMLoIRC9Vv\nm6lvZzhS0m8jZ/Pj2roeU7soNOAvVuq62CSEdFQ8uTFLBVpQuOpS6RMjDiyT\nRccS9rP1lQAkrywFiKzqeQqp1WmdtoYEA8uGJvzZvGf3wik53oDEgdKkG0+G\n/3d95Fmw41kNW7S//mA7hmruKv06K1Av1zskYv4yIuQ9VA5Xpvf19uWa9dsO\nlYwcwBjMOGK291e+ojVvfshA7n82w2U5oGXOdULDsnwWHHVLssccyT7mAD3l\n0d7JLbfEMJAmfPeay3CYgqO25xCf+VpWw7FiWsIR/fEUx24Rw7cmZXXrM42P\nP2ZMjqNe+Iv3wgRcfvi7za4wo7moPVGhiyN8W06R90zeImhSHskpbaEHBFqT\n9CBjQoEvtCjfvh9qX7xOLGK3LsYjLHK8eYndMMmQeA9nyehVo9jkO+4tQ1AI\nDYq3\r\n=G92e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b9daeaaf1b6837710d9a6783a048dffdb07e3ea3","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^20.2.7","prop-types":"^15.6.2","bpk-react-utils":"^3.1.3","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^2.1.7","bpk-storybook-utils":"^0.1.7","bpk-component-button":"^3.4.7","bpk-component-spinner":"^3.2.7"},"peerDependencies":{"react":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_3.1.7_1623771164962_0.07162278243909781","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"bpk-component-infinite-scroll","version":"4.0.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.0","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e49f42bd7dfaa74b7a2d2c1db044cc992de7fc4b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.0.tgz","fileCount":19,"integrity":"sha512-l3r+xsBaUpiBgzb28HfK67req2oDg9zigcQhAGb4nmCYAxeTOYsFVriJej5jdoj2GPjOvNui6txPon+jOwoOVg==","signatures":[{"sig":"MEYCIQCGLdtVUsKpK+HKBvXtaPDgpOnjR6vDAmpHLyukjz1GQAIhAJTZwEUj/4XAG8DJVt3/xv1u1lkQxSYrEGMelOV8KG+x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgybYxCRA9TVsSAnZWagAARQYQAJNz16Qise/xqrr4w0dJ\nGh/8qFlFoQ5JAC+FS8lsasCq3eohyqkv5GXgZ4feEWv9Z+dvhjYGYcg7B/Xi\neGhcibCbM3aPo+ejrKiG5VLRRvY2ab4CG/VUQTpSlBvs9I8w5paxavIZpe7Z\nyeHZxABYth5+5kiM3K9KbsUoxgLcHxo2Fs0BOBi1HwM1ZYZYRCvxEt53bzN0\nr80JAOYT1h/toL5fDrhDBB7zKdm9ZfF6rn+gpRbTodDqLZQcD4h/IGm061y+\ns/unlE7RATrvbYJJuUo13/Plq92cJEPWNVXNyUVgHr5h4iWRidDWi2SMS4c4\nP1k7buNp8fuYQERfo92KIn9t9RH4lJSfIC4hG9lrN2mEGxL+wp2v8HD97T33\ncMcD5vgpl1KwQ6VopnRsMHCmdxKKWybxth3CHBFThk3O877YlgJ/LMyGa0PH\nX3Ja3Z4UmKGBW+Fx0RgJnqfqcWEdELn5N6Q/R495eiF0A0qXMGBrqHkSt5TF\nrfT23ymvCwKB5REbtZfYNTup7qZVwmwnk6o5UwqK+XdcaoAqUxHN/WdL/hwC\nr59skZHiRbrLBNv3neb7bB9P1OuZGhnGQR3vOzg9FMzpjZj4W75K398L38tx\nt+yK5gJwrmWr8Z/AxD3hlx1UKuRc4EVb3J4OoXsHY3KUdvNa6BuJXpaPqNPb\nHESJ\r\n=oXOT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ba4a3e2cb7bc58169cee458e73ebaa948be9842a","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^21.0.0","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.0","bpk-storybook-utils":"^1.0.0","bpk-component-button":"^4.0.0","bpk-component-spinner":"^4.0.0"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.0_1623832113290_0.5433520078604017","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"bpk-component-infinite-scroll","version":"4.0.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.1","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2f14a2d1f986a4e00edfecbd6d5157632560ff06","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.1.tgz","fileCount":19,"integrity":"sha512-ulQstuRVCpy/AVo9acoqY3owI3ASJ+dBHcEk/AamkN1gc+7uRuu4tB8eFjbWH960FF2ZJQUY9S99gYL/94yeqg==","signatures":[{"sig":"MEUCIQDopP8RSxUzHlPm9Rkvms/nGFJjsl7+PQgUYtUIAy5LBQIgQ7jbkfcQN1xru/WEY/0zho/QFJqT27qrsBM12P3sE/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3HfICRA9TVsSAnZWagAA/L0P/1J1mGE2+aEMpActmBA4\nPD//WtmFFs3Uidr/XIhmV/9ZNGu3fwq4xp/mkma4KGTwo+jEhBHdOwiantQS\nW/eAA7cdM6InARzfVw2g/NdvguyoaMRPbTzoch+gtogUKwYE4JEJoO3NP0/k\nI2oKWXDQnaxZwj+drRrJH0iwaAiudxl40zeV8kjnbCvrWPAQ3SaDsUEv0n4X\nJbkezUOKhxXHsgJ6TdLi6g+RrkgKMl3SpReYcCMhtv30vd7D3L9ha/cihqbR\n3i3DZmpcGmPV7HdftuC+sTf8DTb56BIoSfB/qjyUwmpANzdOvEiHfbY5tqEu\nKFx6WjufbBeRb4NbWeK7k2EnXJhnZ34YMQy95CzAvAHvuK8uk8pVmdm7XNgp\nKtD/kKVoqSLZsyXwscPIR3OOmKdHQ9Xiv3vT5V+x4h6wF6f1QZCbRa2IRFbH\nHDoUirpT8fkWcDlAoOcgfcFBaftiauTMhzjmNsBSk06MCtMIS+d6C5HGuRfH\nsphf2IBIJ2VAmCQi0EYuvMHHoSu+0sFqITQqEt9U3cTyMoHdw7TFFBQuWCe9\nIntg0m7ZF3ivyJTjmgy9Gpd06v7+5M/MeY2vNPqqPdRIG/+Lj7oeaRMGYhyv\nib5oUgZXSLjJVqMuazO6juah3zOYuH53jl7iwyUi4BnOuWLLA+RVhNwbChrc\nwv6B\r\n=bRUC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1f54b8ec326b22fbd555502eb387e0fdaea7be2a","_npmUser":{"name":"shaundon","email":"shaundonnelly@gmail.com"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.21.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.21.0","dependencies":{"bpk-mixins":"^21.0.1","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.1","bpk-storybook-utils":"^1.0.1","bpk-component-button":"^5.0.0","bpk-component-spinner":"^4.0.1"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.1_1625061320292_0.46802769980632863","host":"s3://npm-registry-packages"}},"4.0.2":{"name":"bpk-component-infinite-scroll","version":"4.0.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.2","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"shaundon","email":"shaundonnelly@gmail.com"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6989f4c9b4912346f3f09f5c8efd22644bf6d563","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.2.tgz","fileCount":18,"integrity":"sha512-02Fjuza0Xg1ECqbZ0IkMtJ10N78HQTJKED+JAHM8ztO2IEoxdYmpNLhB0sop4UsNEVSoAu3oTR0oGxkb2A608g==","signatures":[{"sig":"MEYCIQCXoZS9VUF3n52c8RpPXrkYmCGNV9Xb6DPwOs3BEMjaNwIhAP6oI1D/ApKZnlQCD2uhNMKseVb7WudT04ltlEGWcVl/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg7CKrCRA9TVsSAnZWagAAAakP/jC6C+EbCUzRnrdPhFsd\np8xfeayfVg7024iFRHjwoslKc7DrmfJF0J4BVYjFxUvKa59HL4f+TvnWRiqC\nENYvAtJ4SILnglxMUOs4ivhH0AMQnFkZwUnIJZzPWpIeFF2mFrvDkNEhnDHQ\nZFvtNC9l73mD5bleMBbT1k1yHWcWqkvVRqEN0x/bTLLXrDvrLw4wHevCB78R\nAPI04W1DWUIattjm1MJ2a7GTgJUvUWlguQA3bvsg2qqQsWlAYG11Vjm5JS8l\nMDCeXDenOEF1Qm7EScYBdy/bMgRCXd197YJiqCmZMxx9CvA+haL8Kgzh7rZN\nHdKizZam/DPxEkjcvXALjeiaaqjpOi4lzWMv6ukY9+VUpcTHa80ShktWSaYk\nIxMzCI6O1AA5qRX+R0tkfh1WB5bD+6wUov2wubGrjmI4nz2fVnpYqkvq4v87\nATj+47Vfn1Syo5mu6OkwyB5v+AOcpqhjjsfNdw3y+fbXvtx+/nKA+NRHTURN\nxXH6cyMfxPKsWobOKUTdasHO4jw43Qae7YTNOEp57NiVD6w5uVegIbP9x3wJ\nFiAUmA4D6er4B3dG0TzyJg95wQEbZhQUxws6olpB/qLGVjXuZx9eNstKlmiU\n49L5DTnXLeN0j89ilGcQsruzLpecz8g5elP/nMPJnKOuXeKvMt3Mvy4VF3pa\nG4rj\r\n=rwu4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c32be634f1feb9b625b76d9e1696ccf2bfb00923","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^21.0.2","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.2","bpk-storybook-utils":"^1.0.2","bpk-component-button":"^5.0.1","bpk-component-spinner":"^4.0.2"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.2_1626088106558_0.8465157352509114","host":"s3://npm-registry-packages"}},"4.0.3":{"name":"bpk-component-infinite-scroll","version":"4.0.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.3","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"67c517c46f25cdef227ba5940c3252b0a5782be8","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.3.tgz","fileCount":18,"integrity":"sha512-8ZA4XTyTbvSHPuFC1wLKOOaVXF4T43CkY5748WtzF2/5kQh6+SyFL6fWI3WI5E99U9Qjs8c6eyMBkAC2Ju6mMw==","signatures":[{"sig":"MEUCIDnZ3JyQV507Xl+USE1cXhbJUI1QmIqkv5uLtqOB1PGGAiEAzodWujDIg0MLnfFDOynNc4AKU1NMehTL4Z6jpo2AcOo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8WdhCRA9TVsSAnZWagAAmXAP/R5Yi7z5k1rGd1bzsWFU\npZyA3mrP5WuCrAM8BiPgMSskCRwkxrTRe85T4IwiZt5IkRqMmQA0so0vCgFI\n2oeT7Pyjq9EcqzWxssw5t1Q/ToQoNoNF8H302EhQ0OYXaI7kRUAWDyKoLHeN\nnecP+YjMIMDzjklFhCG8bQzHu06dNwwI/Ch1XMQb7WHGj0rEeSSzfL+wKm32\na6z5DvsbpxZXuIepqhIVVqoIEtBT+LwWJGsc5JQ6KsSlc2URzvDCzgdEgEN4\nU/IpH+zmVJIm6ReCAHmW78T8DFDODw+MscYOFUXDNBxCa2S0ANzNUpw04itS\n6KL9JcRNmFXUjz/NZEjnWCcdakA5wm6WzJOje6gcrTjbOZFii0Ubxq59E6ZQ\nNYRl6jti9V8/YC/mqAA+eu7VKuFkSp0/uGL2dFRLbe959Qq2opCXdWBRz477\ngqCm1owJ7XuntO0ZY4FwZc5aAvBubDehkXDMRa5AnQVybUMm3OF5ZYr/2Une\nhm+4lA2HcpsGwrU9uB4JdTE383ntKjubbi+TaCc6UALNc3ieZp+KttflXbUP\nh2ume5FrWsnK1cgBzX5nfOPiVsk33SaBcjwmClT8PkW8mYcB9nC9FAdbFu0S\n6VQDoJSFYkEWiUWY0cR6vOJoEHUjyjgk8fUqd3tYOL8LNL5Qif8jIs4XXkp4\nLUg/\r\n=a43L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9a96ac6772c5ac019fcd2bcd3671f22506119ff6","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^21.0.3","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.3","bpk-storybook-utils":"^1.0.3","bpk-component-button":"^5.0.2","bpk-component-spinner":"^4.0.3"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.3_1626433377617_0.4889117584081675","host":"s3://npm-registry-packages"}},"4.0.4":{"name":"bpk-component-infinite-scroll","version":"4.0.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.4","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d5a904c8570d7ba0b144cf7da3ccd09b12de53b4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.4.tgz","fileCount":18,"integrity":"sha512-hQP48MYPqSv2T8g30oqOnz4EtLbsVnxFvuVPZGKvl41mQCVJfVauIaKB2m7AnXn0tTYdoXxfOD2wJOPIl/bDBA==","signatures":[{"sig":"MEQCIEOwzZr8Id2OcTlb38ZxBI7LXi0cfJIzewL8TE1oYWenAiAH5ifYggJnDfiudjdwedDIFib6794rjwTOpxi0pJktKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhA7h3CRA9TVsSAnZWagAAILwP/i3zQxTdanAdshDVB4mw\n/YgrloljjGCuuMdkr5dSVBfLVJ/2grj7Ham92dnhhSo3hppA1C1eXqrfHNt1\nVIGgamdeZsEUWNq4uXCcv8AMxrc3ksZvywjrxK5xXAt55SvMku0pC+UxV65O\nyrq1FwfBAefh71ijS3FhbJZ9W3v/6i6BlO2s7vd+PJ99d8j9IpKi7uhADULC\nZKLJAt3I/qzGm4z9WS5ZfvN93ofsn0mfPnW1fFkekeGZ9zGQbUZ5/RRSnOgd\n6UYiznTtfD7JmGn4zO0QYwoGyiOVTV2DUoWhQrsdQsGCkoXel/fbvDejhJqy\neMOAiJ7LKObklmvzW8AV8OiDtW7nkBzlKH4JxYng93CDB0vxILkmn5TA2W9I\nEAhcIHUfM4x7axU9murwq8Ib5xsC+02KMV3HAuqkNDxgajCtwzO2MoGqoegQ\n3NRzSS03P8umtqcxFvbVr1f/1itlzMZ8rxFwdQ36f+jQ9CwWi9DMSXxAgJKm\nxdC0rSCTr/jPGhamabIsmVtj8ny7IYdMudfmKF8dBqw1BvE0o4ZwjWKWjSIi\nZ4au6PMXAOgJSLAz0YilU8DMmWCJKqE8WmnHkiSLeRTtH5Ael24gOJca/uLe\nzeFQYj4126S7yodoQ0XomkWTXLZEaDc8b9ohWOrLaizNW7jg4O60AET+lbX3\no9ZQ\r\n=JzdT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"97891480369a3faf5f6a80753885ec6e10222aa8","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.3","dependencies":{"bpk-mixins":"^21.0.4","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.4","bpk-storybook-utils":"^1.0.4","bpk-component-button":"^5.0.3","bpk-component-spinner":"^4.0.4"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.4_1627633783735_0.8064380609690835","host":"s3://npm-registry-packages"}},"4.0.5":{"name":"bpk-component-infinite-scroll","version":"4.0.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.5","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ec781de9745da85b8545d9943fea3d667dcee6b2","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.5.tgz","fileCount":18,"integrity":"sha512-JUTnpa0AVkd+YVwgwwFLB3Jo9q1ArZcBqBArUmr0jAnkuie7uaGJmGOWZRtFGIAl6XIh8XCDOVqINI68//dN6w==","signatures":[{"sig":"MEQCICAXcAlSQAv4MoHqN9SL3ebvBD+wayNNWj6PIp+xJiJhAiBzwLd4EAhpqhuiRcm/7TfFHLTyzk+E0Vm0TZSENdAbDQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBCONCRA9TVsSAnZWagAA3AcP/24CPty9stoJBrP+DtPS\n3vvtmj4a2xjicbHyXGFV1A6GObdqL7zqgZzuM6Oj5hzON3QmV12ZGw7nxyGV\nB9keESLHYUzVtOyb+NKzjI0w/W+FM1mZg25FKNVjsMqRmfdeDb28I5OhKsxu\nystpf6Lv2elTjg8IAnNuc3CW3Ie87dFyYnOQfr8HCKhbylmV0ZoBzIG6hNj/\nEP/wW9a49zIMqJ36kQwzxUd4wyRVyW68Ikpvg4ukZMfRlyEBxYG3+Bg5mC9A\nlnUcs284xFLf7f2wruS70XtXp7SAxbC11Lsr84NvKHvlZVEH45KWeHhqTUHo\nYNCEagMAkp2UglCmq/sJUnA83AZiKv2JUDuII3FLnEIzQLbf5oHtWRW5ySir\ns5xhItyD8wDfmPC4feR1nmC4ax4D98lFWSk4hMbU4amcnuEfDHgrmc6d5br9\nXFscvZFdNoUM423wW0WwBXzK6kxeueaV+S74Viv0dRa4b+DTJb7Vb3gmeHCS\n+uFTDoNqrY0WhFcYfVP/4eByAbzTgUWsJlbMDV/33/IlbnO70x0IuZR8w33J\nWA0N7P0DksxtaAOyVRgWEbzkHXzx9I2pfx4UHVuizbwzehXDB3m3pDy/E3Ih\nnr/silXFH1wvBGwpzmttPK6/6/FxrpzOzwedzoRYBZI8lKWw/6SA2rvX/1nF\nn4DI\r\n=dytb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fcf8c4394c181f65c879dc44d3d52845321dad42","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.3","dependencies":{"bpk-mixins":"^22.0.0","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.5","bpk-storybook-utils":"^1.0.5","bpk-component-button":"^5.0.4","bpk-component-spinner":"^4.0.5"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.5_1627661197490_0.16027699772296322","host":"s3://npm-registry-packages"}},"4.0.6":{"name":"bpk-component-infinite-scroll","version":"4.0.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.6","maintainers":[{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f60db3f47a5e353b8b2359995faa6b771dcd2285","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.6.tgz","fileCount":18,"integrity":"sha512-MkFp/L8KStGNVfpG9Bu1UihiO5QzcvJMYkyl7o1M+Fbyxq2uWG1fT4qBTc89+HH76G9nxLUvcngWC66KH2tNaA==","signatures":[{"sig":"MEUCIQDnJjxRFFjVNtXvNTryMETHhPlgByBmFND0A47I9pI+pwIgW/muzNWeDiRWPTWWCJpIK37tiXaT+fCe4F60JDNPlP4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDUdjCRA9TVsSAnZWagAAK+kP/0onbYyQ/IzFwOSptnGe\nqELiaCRLG/S7M418m7SHc4hJG++6cNRzmlTkgpEQNdqJnhPs6lDySyH1zTHF\n9G2+bRbbIFFqTpwH1HcUf1D/Wwwz137eYlxF/ndbv4yQVFjCRxv3EIg9vNXw\nAFXeNspS3R4a4LKKP/kNyvoxhv0Z0cw4MCILiPIghXQzMl+hfc8mZCbb+24e\ncJAwhE5bYN3KOKlAl9huZdy+7LQwxxBJN8nqq2h/dKbq3LQ4+/jHIH4lA34V\nE5uL0TCpPoZsyNZTHuQj2L+XIj2gq15lq+mS9e+gP/gNUWX87ZvuEzoKOna5\nWlPTvYslDPYTn3/ZLga0N1aMnBKMeUnR8553LStlrSfbzWXNuJg6W5Z0q1Rc\nWFxNBl/hfOeDKwlIS/qrU+IdHD2P2ZuPv+h6uP628MfXl7YGb/R2OQoeBpy5\nAzbuJDedj81arAvwVDbpzpit02ZoUyKVUmrKNtoZXa+QCmqtgaiwCkLShiR7\nR/+hYqFXQ/nhXMt1GkTXrJtfKYC1zs24RUWslFHhi7Pu2uKLeFZ4QJp6Kxqb\n/r7GkobfwzA6EIcl768/HTKO/sqYE3E52b2V+hvBtXABQDWaukvQ3hTsiLJQ\nZaZheXcrBixw8TgzaCDjk8mT6alrZOHLNIlUHHb741X8Dq0zHsPfwi0m0Pm/\nWME3\r\n=BuKA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1fd57e7fafc047e4b223819f06ca55ac83dcc458","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.3","dependencies":{"bpk-mixins":"^22.0.1","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.6","bpk-storybook-utils":"^1.0.6","bpk-component-button":"^5.0.5","bpk-component-spinner":"^5.0.0"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.6_1628260194886_0.2904871648164673","host":"s3://npm-registry-packages"}},"4.0.7":{"name":"bpk-component-infinite-scroll","version":"4.0.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.7","maintainers":[{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3102d3e92aa05edc7203843015fdbb5b8d073da3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.7.tgz","fileCount":18,"integrity":"sha512-L2XK0ar0T2m8WCVnFFV8ysah0T7KOIlNkgHt/rl74eNqHjBMfqFboBpnFFDkZ4acPc69iVy9CduXXZYsPsFTMQ==","signatures":[{"sig":"MEYCIQDTxAolxgxb10WeeUfvXEWjEgNVMx2wCPIM7VE20Dz/AAIhANdX6H7CUaU+Dt6G8JvcoOtkGCps07kve/CrjIsJPGm9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhHpLoCRA9TVsSAnZWagAAcAwP/iTTo6TE7a7zRRlexVtq\n3MnKbiNnPjVzyCasDD9XDrI4dNra39hXDiAdv3CxSvvuzWuhLPQnUzxsyGzE\nRC1alA/mlpn444FzZ83WXc5OC3f4jnGjAE81vChux6Y+AvAIG+dw7wvl5vbe\nqgMyq9EvA62OVVESeJKEOw//PawhhB4xlNI96tIwbwIqloqVYgApVVS4tWUM\nSMWY63j1x55aEX1wlrDBVj/Y2Ofpw28kqicAAW+mdeG/JP6oRk5HJD7t54L3\nEJ/dRZFQk+s98nIUddmwoeNqM2KFZwgh8FgPc9B3vDgJ9cfEMm+vuF8/Ojrk\nts/iaVVP9FfD3obnURhZ/HMBcDEOeLzFX6OY0L/BZx4qDB7ksh5DzwCbFWIB\nX6xyWhPwBxy0BNnBFCBKcgFTb2p6/gVC07jtfiVE2RKoyivSObm6nYLz2sfE\nXqX/WJRSDOEotsGTQN8BIdPjunHJjzo9fkbfBR+ybY/lBP8U9LrCkoiCYOWw\nvUqw9x5P9w+22XSnA+YG9WOVL+V5KSLz6ouKEC94t4sBjiA4Wtd6HNnNL7Nd\nT0hiyxKHSM0MxDEVqbA0A9d+skcuvW0D+tXYJOD9mpp/5eALY7LwwuQymBt0\nrlIyZvqdikUY9/cw+laZZVm3Sd38OpQSE45Y4dgn0q4bQ/9L/7FBYLQ8runk\nbuXM\r\n=wQIx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"303a0f68f0ab81c9c48770c7e692e811183dcb13","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^22.0.2","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.7","bpk-storybook-utils":"^1.0.7","bpk-component-button":"^5.0.6","bpk-component-spinner":"^5.0.1"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.7_1629393640660_0.38983284852697553","host":"s3://npm-registry-packages"}},"4.0.8":{"name":"bpk-component-infinite-scroll","version":"4.0.8","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.8","maintainers":[{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"4a49c82e4d7624a3608b577036b254b1fc1ea2c3","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.8.tgz","fileCount":18,"integrity":"sha512-8yaz0ICPNSX0zh4Mye8S1Z/ADJ0wTWxsGtQDhmMmlENlHxcHnslw4jitwV9oxnqA6s03GRdHYBT59QhZnbcHhw==","signatures":[{"sig":"MEUCIC5bjbQ3EULtD3SqZfrqq3rt0VXl/qQEhfLgcZegWVCbAiEAx7xZnd57/zeuzckleScZlLYZkUOHWqLGY3OYTNah+9g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKM4rCRA9TVsSAnZWagAABowP/2Io3kbaAlRk1oRaLutN\nhP/GAWKKCoRnZ04DZLqQ4LvKdglIMgLwWNUSqLkoy4CNa69rUL9ldrBMYNHc\n7UhjbfEztlBPJHOgooaVJYbfoF77ThXc/aCGtqnYoLTFy3Ue7BxBdGThXLj+\npo/ckXUHSXq6E6Tm9GgBuIGgU6XA4ftMTaKVv5h3Cbu/MT9zzeRDZKFdrvtP\nBQ34vPpnfYIJ+VjN5662r+zAb6EzX1ztM1mY5TGIthRcb/uATaCoNAKXVjOc\nYrOxy7x98fHGSySvNmkO7fHWd4wt1pGCKKSn7HaphKZl2rK5ET9c3Yqwl0jo\n5fV8DLx7bE+S6V4mo1wEp4x2QfucU0YFwtNDnsoOh0zMxD6knr1Tj+x1l/mu\nwEiCsk5WLIDVjyHYuOu618Q1u3eODu2dhjI09Uno5ENiFqViQjtQFQNp8iTe\nwmCphrUwC5oI574Gopv0sqMswj9hpHa78OMaPaK34I3m46R2wANjSOenjFTG\ngQBGMXLlcTqEOxsCGq5bSvEIzFNjhl9zmHCDbw59Mw18t8R7qnATW4C/9o5+\nb3KT0GohBdO1aS/+cdFWfTWIgM41EzFVTtxzRIlNcAhl0CVT1JO63EVbfPdG\nN+3r9bHsOKtbm6RWCO27HvJpNTSZH8estZLWnsS0f5AoqylI3zQht4qTWPtm\nzs3q\r\n=hD0+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"55631d2bb657a0ea6fea9da585a0166138a874d3","_npmUser":{"name":"georgegillams","email":"g@georgegillams.co.uk"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.5+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.5","dependencies":{"bpk-mixins":"^22.0.3","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.8","bpk-storybook-utils":"^1.0.8","bpk-component-button":"^5.0.7","bpk-component-spinner":"^5.0.2"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.8_1630064171388_0.6897549771500262","host":"s3://npm-registry-packages"}},"4.0.9":{"name":"bpk-component-infinite-scroll","version":"4.0.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.9","maintainers":[{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"d91d275457a35554a67ac2fc4f7bcacf0223583d","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.9.tgz","fileCount":18,"integrity":"sha512-wwReaS8BADhI8URXcZ/sflwWE4z9nBbp+/SDXsxhwS8Jp+sGAftEyLo4mcgQBdiGurOhkya7PP36dBdt7mMerQ==","signatures":[{"sig":"MEYCIQDtlYva0E/fOJY9bFzXSd3o+9cLWp2JD1Afm0qpf8d5TgIhAIt/gr5BCPTlgt34ampvdLbJWfVxsvvpRdtt32iZGro2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNd5SCRA9TVsSAnZWagAAi8sP/A5MfgjZ+Mb0iOJb2vyO\n0ExuKxzNA9ZpF3e/ZDR2E+uVLd6iVe4eP74dE9rQ1Pm16Byy76B31NBGKJia\nWthET9lYO6vtfHsuEB3D/98TW4WIJSbhJcn+yCjjcAzMDkJSHjnuSB6HPUfW\nQwtZe/SGT8qkashQY8SKKkCtScA1LpInNMxKGYCUQbKgqf/lqRxY2KxaTShE\nwN62TEbDvloPc4KZ8FcGvP9zgoaWs+c9cchMlMJJkC5VCwwhpa80+tKQCO/R\nai4zAv+eLrCOJ9BPkwvBtP0b1PW5gRah9fk+kCb4AP67E7veAsgT9gnbcXpG\nHsKMvCSz8qTdd6oSokPFsba7yJvLTekivcgXQ1bYunCBtiajW1WIo3A8yyAG\nM4EpA5Si66/SJxaT0vmxUvFrgrbo2x/BKSKD+d0AmB1pvAs2yL+AjJDReiIG\ndcJcvKd8AcXv72Kvz+P9TPae7c83xVGWpd5sR9/UBTgWj5cCyUJRK5tL+UiJ\nWetRJbXU3roSGlmn78V5MzhfjMottXwApug7ixz+Mj9VQK/dPuPzw1kxJfE1\nWb+h8bz9sU67g+0r7txHXNhQRnzo5FLzeQ2T7EXYv5GL0iuRUhzgpHQtxoq2\nmLKLBxFJDtdHWAvSh7PSBQGDnKAnF/VItYc1qi73ad7ExJzXGpfc+MWq27YC\np/ny\r\n=EBRr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a7ece4ef786a962198f82d9b3a9cbe70fff23e9b","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^22.0.4","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.9","bpk-storybook-utils":"^1.0.9","bpk-component-button":"^5.0.8","bpk-component-spinner":"^5.0.3"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.9_1630920274252_0.5391497572116444","host":"s3://npm-registry-packages"}},"4.0.10":{"name":"bpk-component-infinite-scroll","version":"4.0.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.10","maintainers":[{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"047dad241f8c532949ae7168116a0493daae8ab8","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.10.tgz","fileCount":18,"integrity":"sha512-XddpW+aTQPI3tHuLr9pN91m2RwmrGEccbipqh/m6yZfDnlR3o9r5APGE0yV8JFuXfezYi49MuXubHYEdMICKfw==","signatures":[{"sig":"MEUCICiA72jEfybht39ffNYp7VbhohUc5eU6mUjmWKvp8hvTAiEAuSymEtvEYIvJBowscgne45ZGuiQv0g3gV/i6sRm2nps=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOHIcCRA9TVsSAnZWagAAX04P/27+2MPwQ8hp5ZzJ1qrH\nA/VAaQRaAhSffsVHv+DFKmBuY1dlJ4srW1tUmxwZgStYGjdHssDfJdUFtatX\nksXlWEg5MKGbQpAOYO+bUNk4mtfHc/oVcrMQ1kOQciTNM1hWg3rCCshjplSW\n5DiPIEN1ht1NCqpx4+4p5jj5I0CO7U98h//s4f9zMGR9Uj1NPk09l0nC9DUv\nlue6HO62I2022AQu+dKipzdNowhKU6HNeNV6tcvxNatk8vRPvtVjz0d5HFhv\nEmlBINUbvznjBRRQo5QltDn8NEgiNwGcv76cjiJJyfuylDHSHHGMG2jXREoi\nvd5cz1DXaEQs4pXESnH3on9axuU7U0EF55ReJfYOt2Vz7sU9KQkd4pkizdub\ngA9nFDzpJS6OnKA/C7YFioitaL0frT1hsogBH+cLsbseLiSgQTZIlNMbJ5xm\nRkaqmiMZS1N/8c0W/1irQ6Q3ZhP7J01/lZB4sAfj3ZfFvnNBWeKqV+ImY3P4\nsnN0bR7BUKKQH3yOWk25lTJMiYpj3OrnF4ajABuMQGMeWsMwjWPN1zTaRmhK\n17q1CfGxRXWp44SmuILnjZMyQKkQpcU76jSY5QVGkfciSAk6lW8T2CfXIbHO\nQ0valrQCU16v8UsiVcZ0yvRz0j56TclL54/GwJlHYZBa057UbXRt7caVUnjn\nU5nx\r\n=cV0g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"70119866446fc76cf99a9c040db3e93187bbcc9f","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^23.0.0","prop-types":"^15.6.2","bpk-react-utils":"^4.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.10","bpk-storybook-utils":"^1.0.10","bpk-component-button":"^5.0.9","bpk-component-spinner":"^5.0.4"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.10_1631089180406_0.914047852840632","host":"s3://npm-registry-packages"}},"4.0.11":{"name":"bpk-component-infinite-scroll","version":"4.0.11","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.11","maintainers":[{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"25749eac94588ad31e6945ab2476152e35158e5c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.11.tgz","fileCount":18,"integrity":"sha512-J1x0DkTm138I+ZDs+z6dIpex3jxDf/aaJ2ousycbOjrtvfjf/klbkOQMV5JTO1+T2463shaZ/etddI2DR5YhVQ==","signatures":[{"sig":"MEYCIQCg2wv6UE5tivtgawUBK/5Ct8xrN30HiWLpcc/GJXAzZQIhAOoPq1WNl2/m8LYFtIh1IYgMWWghiiJJnBBOHDq8KpTp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPxU3CRA9TVsSAnZWagAAnIUP/1d9MbMR8AIE2JZSkBVC\nXhEq+GFHFT+mpMe7eTu/dLrPv+HYpm290rGSl98rkkyOi1Y8XUJdtfLSeQQC\np4a0+PJOsPsrJBO1yQCsoT3dP2y1IpIaFQRYoIi3QmUiqdpcDEIR+XWNoHER\nOgGWKQsNB/4XJvjtoCzb3fhflIzqKuXc21XPUxIOpyGV6crMQXDWItHvDmDq\nXyz4/ZYogm1jhXghH++355RhomebLlcsxZ0+dhi6E/eJSLjmFNRYyEdoFOPn\nt4cEOxXhQaxNmiCJvgJyHrCLa6TWJux4XU7uuw9Cl2QFOdU/OWGhCL6bZE4A\nPJ6S54EUW4AhCU0pXN/ksBNGyevSduUC1bk4AIolaSSme/eFL8eO1YruOxMi\nik0d7kbNmDyYJISjar0HBELgsY7FghL+rNcIdkaJ2Qc0zLvaWYukIk7JK8RY\n2lOg+ml7SlpP+JxQcDwNv6kCNQfLLgPK6MaPmuAKU4JszUde3tFus7ioCbW8\nwkBMVMyYgn4E7vhTHDLRf7itM5+Lh4QP3PqLdl0EI+MeKJxk7CoQoqgqL4zT\nJ1GpGYIpGKK0kpqTgN6YahqXFmOxxJt/6GKRZKhaKS93FZJIft8ET9OzNfki\nxdDR7/HDX3lxFXlV0bRic/0D39ykeUJZbxBKgsXKRrQYqQCrHWd1ai7SbWSJ\nOxDV\r\n=fOpZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"addd876ec01d090462bf78520b201fcf9318878d","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.4","dependencies":{"bpk-mixins":"^23.0.1","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.11","bpk-storybook-utils":"^1.0.11","bpk-component-button":"^5.0.10","bpk-component-spinner":"^5.0.5"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.11_1631524151743_0.6238142758732985","host":"s3://npm-registry-packages"}},"4.0.12":{"name":"bpk-component-infinite-scroll","version":"4.0.12","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.12","maintainers":[{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"81b7aba1bfc2a18d79d865a7ba0f3a6439829444","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.12.tgz","fileCount":18,"integrity":"sha512-ze/atJBYNZK3Nz4OCYIIvGyooDAsiH5GNuq53PXNfQaoAI5vjKQX9FJXeccGdHSMxUlycfFBGfSji8XVbzXyDg==","signatures":[{"sig":"MEYCIQD1hXZb9R786BiCd5jWx26oUF/sNmzl0AxR/mse4Yg1zgIhAP9js3KVtz2yZ02uj2Hnw+Rp9MzVFQCuuSi4/QyGH+jC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81024},"main":"index.js","gitHead":"877ab13a7df82feba0ce834ceb800b4e10c492c1","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.12","bpk-storybook-utils":"^1.0.12","bpk-component-button":"^5.0.11","bpk-component-spinner":"^5.0.6"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.12_1632994595898_0.08956540164591109","host":"s3://npm-registry-packages"}},"4.0.13":{"name":"bpk-component-infinite-scroll","version":"4.0.13","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.13","maintainers":[{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"k0nserv","email":"h@tunius.se"},{"name":"georgegillams","email":"g@georgegillams.co.uk"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"19d2be5acdf29ec7accf3a62467e566f75721f3f","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.13.tgz","fileCount":18,"integrity":"sha512-yH5rg3/IDxlb7tQnYIwFVt+XLgo9Tlfjur5Hayy4EUgdieuCu24VCmg38b96KwDNnOmrJVPczb5pJHyKashCEA==","signatures":[{"sig":"MEUCIDJXrb6DHJGBqhbrZtBTT+W9AkSHMfhuz0cAlmmZrcaEAiEAlJncObIF/5jzwRsRuDdcibitNV5V4QhCowYWvhLayUg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81024},"main":"index.js","gitHead":"84047f20b54855569eb66805b997a03ccaa129b6","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.0.1","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.13","bpk-storybook-utils":"^1.0.13","bpk-component-button":"^5.0.12","bpk-component-spinner":"^5.0.7"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.13_1633598584731_0.8268745416061662","host":"s3://npm-registry-packages"}},"4.0.14":{"name":"bpk-component-infinite-scroll","version":"4.0.14","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.14","maintainers":[{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3bdf702257bd19dbe06adf9c1d94dd841188f6d2","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.14.tgz","fileCount":18,"integrity":"sha512-XwaDrlqoWT2KCmddOW4M2q3Qzf86FqlcJ049ZrZaO0nvEbKF7EiOXwfsHoqa0joX8MTOp/WfxtVsYBWwh97R2g==","signatures":[{"sig":"MEYCIQDw1lEU7svX7ke05dctL+ZPufQK50WFrJRGN11mrtyYHgIhAIRneoAY2u3ptPys4q6BauRYwBhhJNe1XmWGGdNN3PKY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81024},"main":"index.js","gitHead":"00f4ee60645d6411f7b3c38da86876de4e84b211","_npmUser":{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.18.4+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.18.4","dependencies":{"bpk-mixins":"^24.0.2","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.14","bpk-storybook-utils":"^1.0.14","bpk-component-button":"^5.0.13","bpk-component-spinner":"^5.0.8"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.14_1636650188449_0.16643705779119644","host":"s3://npm-registry-packages"}},"4.0.15":{"name":"bpk-component-infinite-scroll","version":"4.0.15","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.15","maintainers":[{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"771dcae7ae5d20b8e137eab6fd7670ed4d2f0d70","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.15.tgz","fileCount":18,"integrity":"sha512-L3gee+7ipHXhSNuXFiGlCnMDb6HgdnpcxzGMKgMBVCm/YCsmcOC0fVH6fWVKpQuQqnwSwV9wDRNEIsPhjvOGnw==","signatures":[{"sig":"MEQCIEmP9RwdKNLSEK/tid9OVHnSJYzJ8Ck4LhmEchZn7u3BAiAkXQ44PS1dO91Wfx+yaXvTsMw61UQfacP//Qak1wArZQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81024},"main":"index.js","gitHead":"428503a3fe51f5f0d9ae13d73493b16814f27ecb","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.0.3","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.15","bpk-storybook-utils":"^1.0.15","bpk-component-button":"^5.0.14","bpk-component-spinner":"^5.0.9"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.15_1636712881283_0.7356147538869435","host":"s3://npm-registry-packages"}},"4.0.16":{"name":"bpk-component-infinite-scroll","version":"4.0.16","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.16","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3da7362b58de8786e78517877ef2d1c10cc0ec22","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.16.tgz","fileCount":18,"integrity":"sha512-FTS8DK9KFFZwY3xJcglXHY1gpeGxFTaBN/la+ApzUAMboLFNoZiwd8z+eWhuygzvRROShhfLENXdQwzuIWqxfQ==","signatures":[{"sig":"MEUCIQDWgeVn49w+VRlUBBAOAmuIn11u8Ife+SemkzFXKNcESgIgDFnSx4XidMivNJUEXLau3urxVQmzOrA/zWzsn5Wvylg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpKLLCRA9TVsSAnZWagAAnQ8QAJMOF3tcATGZ9N2HEGXr\n/EeQK1nZMoxhW1QP5+ZVBeJgedFW3eB1/Q/2kGGJ19mb5Ctshxa4f5vUoJEb\nfBSYagcDwo/MKKkdZ9zuOaF3uuI1IYc28ItZtW2ygOXBsM30F9WJLV0fzAlL\nASdn9YVmCdanwh0Ifc6gfItxNxVZ9ym5Dukbc3/5IWT9v1S49TSukz5YwmWo\nz5XAHGwpI4o1coqvHFLxXJp1YH6NAOqMl+IJvjI1vhsx4bogusy8BTTY9fDx\nCl5KSgDp+ux+vNq15Nr0XtB1/ATvwSrNf07AcvB5E81lyJNcPM5Vu6Zw0o53\naGnKEE+Zi4KcOexgrM4wEOEOxEWtfCKX8UK61uN7Qx7HWp+9+YD0COzQW6px\nxKWzZ9ollR0y/FXlhXIcORRkVkQip5KxQ9Cvv0VMSYa1qGKZTP5labjlNYyb\nvMKASTwN+gD3wdhib2SQ/jBtwMhzcaIFAw1z+ltIfbt4sdzNQmCeuLPa/rAC\nrvxaV6fNLnOvEHdAc3zMyQMrpPnATKzccv8jWBLr96LdKb4mYkZPMgNcaSye\nXnqlND8njOa4Q/3eXZe7ieIseXERwyyRamsWEwufzf1zK17gIDnhtBEhHc4l\n3Uu6odfKQ2xzv/lkQqlb1wA0pk5sh10qVeh6hIwnGQsRM24dASewSf3Wc6mL\nGLAe\r\n=19gN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"739d5ce18e9137f82d761ccf606cb9cde8d6ca9a","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.7+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.7","dependencies":{"bpk-mixins":"^24.0.4","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.16","bpk-storybook-utils":"^1.0.16","bpk-component-button":"^5.0.15","bpk-component-spinner":"^5.0.10"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.16_1638179530888_0.37096316882269087","host":"s3://npm-registry-packages"}},"4.0.17":{"name":"bpk-component-infinite-scroll","version":"4.0.17","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.17","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6531602d9beaede8e2ecb1d7cd3c133dbf60a900","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.17.tgz","fileCount":18,"integrity":"sha512-88mNel5yjNUbVP01outbMIXziNKxG9rsoYYgUV+3G+SQwnKisbfdMtT4GdBJ006IPf3/i2mAvSWaHEan8lKIbQ==","signatures":[{"sig":"MEUCICSE0PN3Sg0rU6NDGwJxMqdDJeKLVe9TnJhXEhLo5qqeAiEAtfBTFJMbwIi+tkDmmf0N9XVwv7Ggh7mz0mTsga7Jxng=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhp0qpCRA9TVsSAnZWagAAUoMP/1ih0tL5ZamghD2bT96X\nJvd5eWwhBvMcfD/KnjExRPY4MwO6G73kO+Ct/Qf2R54Yx5D3uGKKVgWsuCcd\ncWnf16M1MR7B7rqhnHiXZmJMHxuFvXH2GmTvcn3NgF0gAkoXKHNnEC3Pobho\nIMGWNHNe+BV1mX1NqRwocjyH02ulI1rPx4MAmofueLtmNBPEXZ3C0MULL08t\nynYnsqCPkX6/3lobG1JrjByQ4u0Syv2eYyv1dux7aIoNxbLjJIOZAFcbBxit\nzCGXWmZMFJ6D1SowIlJMrz9Sw0wt+UB7LzY+WYLa4l/T8gcmLJlxgWKuGBC5\nVcCXEanNXfXyepWGM7IPxIDv2/b23r/UKOdcrgdrFfg0LxsRreAdlsZT5QK0\n5srPzeg7aRtKb8wREaIdOaktf1P9oRi+0jH44YxEQMlQTW2UKKjHD3Vn8J3e\nImOXRHiwd075s6TKat8Ez0yKuSbVSDxarTJ+B++il2K0kpGjJJHO9XwN4Uhy\ngzG/KqmWvL5USh6DlwO9pV5acpJYTcO+ODu3hYPmG3WjJJO7oks/ZzDTeqKb\nv4gidkq3Y7uZxF9VVWpL53N/4jYfQIRUliPFyPZbeUmsoUjkFw/qt3Fp/+h1\nkqdl3Jfms39b+E59mxAWzTf+gUuDBi6mpzmDWN+TZtS+Rfy0R6C6QcakRcbn\nAcLP\r\n=vZ2O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2005b2c0bf0d737e18f8f0307a4496f55976aad4","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.7+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.7","dependencies":{"bpk-mixins":"^24.0.5","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.17","bpk-storybook-utils":"^1.0.17","bpk-component-button":"^5.0.16","bpk-component-spinner":"^5.0.11"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.17_1638353576890_0.24510473343015615","host":"s3://npm-registry-packages"}},"4.0.18":{"name":"bpk-component-infinite-scroll","version":"4.0.18","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.18","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9145fa8a087b0574fd01662e84541cf061bbe160","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.18.tgz","fileCount":18,"integrity":"sha512-Ozs01f2qqDdGhOxjP/OZoGMtkyhXdxgtYfgt9XL9DkNm9GUEtNVGZ2Gswe7709OHJZJuJonxh72BpEF018Wi8g==","signatures":[{"sig":"MEYCIQD++ySwAtVXQy0Jxh9OLc3zK1az2qBg4FAg4iThSX2fdwIhAIEiThg72pPQB2mEcYA8DgV/YSZKcPZTvGXp60sR3aEy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqfS0CRA9TVsSAnZWagAAw6kP/iV2ipa9rWgWYjVRr4bN\ndHkCTPgF/ndhfUy98tvnU+XwOZxqlD/o9Yvn9WMKQYas3nME/k+0ny/mSOcK\n3LpVV/2ZOAoWmJbU8ufjNx85+O7QTU+2OGmQytl3LBLN/lIpXLc8pcJkfC4j\n7Jwwhejh6DKevDbkvX1snrIyOgWAPOF1Y9PBNXNm+/MnW0+pqHu5ZaeoMKcK\ntk0bpW29b/u1gUzmi0SvCKvzeaDO/MhAfmt+/OuaxePyQN0tkFzGiS1L7Riy\netlhVVF1Ol5tXBeoqUMFeH08yZvV1HPtYD/4I3rT7iBnpmIwNR5owUs5TiFa\nlAjYZfvfjWKNhdmvfY/TjvnEeLDUpm1IacAk0mCDMu8tBraqXCH9iMqytMdq\nPyWGrzrmfnQyCGboOJT3nbNcOKe7nUKOKluYxgtwzS7NaSrV+Ox6hPCggFJC\nS/EE71PHyvvKYsD3gszD2NoFE7HX0g6j5mdX3Mpk1T/qeIMA830waYU8vK9r\n244sLm7aMrug5dB19W6RGoRS/l6fOlH1265pIiF6Q+IKXM67sKuIZ0ML7E36\nzdJf9e4C2cSUg72ylK7Nxkb1Ijjm9IsdH8brxmeHwFDNbXOi4qIKGuHLam/a\n8TFYRjg8zOvz+OKGhYcJyxQ9nUqcnWicqCi78D2KSFnliSZKB1qn8Wd2xljP\nqNuv\r\n=C5kI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a979dfd007585c278c566217dfe82ddf8465daf7","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.0.6","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.18","bpk-storybook-utils":"^1.0.18","bpk-component-button":"^5.0.17","bpk-component-spinner":"^5.0.12"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.18_1638528180461_0.6460611241017866","host":"s3://npm-registry-packages"}},"4.0.19":{"name":"bpk-component-infinite-scroll","version":"4.0.19","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.19","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ab37ad294a4c755c74fe658a81b97e5fdd7de929","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.19.tgz","fileCount":18,"integrity":"sha512-vliGpXNEoWXDRaujhVqYTldtlKwKYHY4lw8e1qrXwcRSdPGfNfuBDmIwJnDncdXjQLtcm9TgPDpnuHoBJC3wkg==","signatures":[{"sig":"MEQCIG9zeVobFyiR9Nwi6ptGOPFXqvtdUP8Dz4OMxgH1lFhLAiBvwURciVGsIx5N4HWiKrh0670fh2byzWJYi94mxKJAEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsjGnCRA9TVsSAnZWagAAyKYP/3qHJgaaVG004RRFNHph\n21x++VJcvrKoNFABAm44k/eBT8wT8jcXEyhOiFP8A4Y5g+b25qonbt9c37KE\ni8IoP9ZLZB8hfOTywG4dBSefgt3eLBLLZIxaR80ysv5G2R59Z3ze5DxqKTyh\n+5lfT+E7WKy+WaLAh2dMAtVwcsTOwhUk/HoLMMvAi38lDjm+i+wSTdFqjC5V\nvhE9Bj5T53wQwInV+Zl28kP+8QLgtGpJAKark/2TLNgkWAovfQ9NRUgiy8K9\ny19kdQOGEdlcG37P6UArNoBUbLmXlLb8iAlr0zhfsh8QPgLVz8oqbOnRfeBn\nPwHpnQNg1G+s1z5fG0XQui0PmwUJLfXhhX3pPpNlnqjqpD9xZR0twDvIt+O4\nZXG2QPo11nnSJTw7+YmvFGY0qf+uLj6zFT+W4kWeXiUMzTwHBvoWCwSI2ywK\ngYVD0o8L9YmkHgAoX9yPr/dgSDHZgQyQQvdBFF2GB2dtGAhn9W+Byv26N1CL\nJ2o1wYiYfQ1Hke3MB4uFBR6DNZ8AV1N0L2rF8ptZ/wv/NUgwEjoIJAu9lRqa\nPKGZC7C50UtcGx6YGM6POwml5H5kCfDGR4eT97rmfnr1v2yX0tmAhVCamJYz\nEL4pZu2CQo3rlxKGgjYh7VVf0ftGhttV7yHQY8HjOk3eTeLaJO+jYN6Q9nA+\n/WB+\r\n=2Ofq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7b4e0cf84f4d7f98b32bcc2078219f238c6b2d4b","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.7+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.7","dependencies":{"bpk-mixins":"^24.0.7","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.19","bpk-storybook-utils":"^1.0.19","bpk-component-button":"^5.0.18","bpk-component-spinner":"^5.0.13"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.19_1639068071316_0.18878332725169722","host":"s3://npm-registry-packages"}},"4.0.20":{"name":"bpk-component-infinite-scroll","version":"4.0.20","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.20","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8cb4a568a449e5f959fa787250453a0497ec4807","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.20.tgz","fileCount":18,"integrity":"sha512-oBd+1xux7XFiNRYF+E8cqbz78RD6BDGwzXm2rB2ATbEYYcgPO/i06yz/mQt5ZdE4Fbo9O5iQIF3W3jUBF9RFTg==","signatures":[{"sig":"MEQCIEZouLof6Ne9g6CQ8mS2K1bBPxE0/oXaMQJZ2l1ewLKrAiA2AGJxgblM4rOs6w0XBagu2wBrdy3bb6insdgUOx3ECQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvH58CRA9TVsSAnZWagAAuL8P/2W8TvuZQlUMZBQiW2m8\nCYoIZF58qaoF025rcW0+M75r3Dbf3D/ZFuQFKC5OgWeMzkniSE4warxryH55\nCVkekZoRmQgMbviS/NAlk4/9jPVp7XTJv0Xo4+xCf6cjiS6hzhC1SlY/Qa9h\n2/lrq8bOgzvb8IFQUieOQmv8XUWKLu/1MQP7SPGz+vknOF/oo226XsT4vi7P\nNWhn+DWu+e01pc5/ByEc5dMpr6Ii8aFBBAkeGhbaWLKLmsGHqn42m6XJXSVu\n2eEpq0zMTkpxrz4259O+6CgJ1lwDcJ01mZasYb1MkYRoYOQsRpcsQwJvFJcR\n2ulRuq6Tjgbr/uAiBFXF5XGWEo9tUFOddfMqO31LjIYbinUMEP9ySOexXFhn\nX4y934IoUq2kZ3tSuuHPI1q6TylDeEpXrv8sa0Bo+Z/JS+iXXwsm7aIYiJG9\n/ac3GGs8mOPjKpVxk/ock5rZUk/XdPc8a8KzchaKbq6aOHBeUOx0QNyncqEf\nkU1kewtIAklbZqjZyer1/jSUEu4S6XhG0+2SmAb8YPKIfdDJfn2t/AAnkvdC\nvTIBF0CjFv0e/EvbCZ4roDg0vqSbBvUck6APyCu/d2KiNySnzt6cchKLSB3D\nepQB3U42yY9uJ0vHwGqK60mSIvIrcv2uaa4Vpl7dsrkPlsCWEOogz5IN8DNL\nLMj/\r\n=0q1O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"599601b653217544158b0de51ac72eb5573ec16a","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.1.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.20","bpk-storybook-utils":"^1.0.20","bpk-component-button":"^5.0.19","bpk-component-spinner":"^5.0.14"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.20_1639743100821_0.969064462200445","host":"s3://npm-registry-packages"}},"4.0.21":{"name":"bpk-component-infinite-scroll","version":"4.0.21","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.21","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7dab373b350d2f8ad1805ebb8b9610379fad70ec","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.21.tgz","fileCount":18,"integrity":"sha512-ReIxuipLbsotS1dbtSls+4NoiGZxiDA9OsJ/W+DPe/fzhoZvOqj4SfN0KJ/vkjCzB/zIupgwM34OiWgEpvHDPw==","signatures":[{"sig":"MEUCIQDFrPRr4BzhE0+WRn6xHkpzicGQiAHNvVPuzxawMCJymQIgW459TLWNoB+wNjcjrLPyvwiRrRMN+tiXzErV643fRdM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvK4JCRA9TVsSAnZWagAAs3QP/2gI8Xa+skzBB/Oa4pTm\nacCvwuS8xQfOrdldeLThXp3D86+Qi4e3rOW1wEWioid4fZ5fPbtlKQb7yyYK\nbl7O5qjGr0x3qa/yQqZJuufaRVWifsnUVKjXUkX78ZTf1pRRXjrreSx9GO4x\nRYQmH8/LuseO/Qy+wI+GbhX5eGPTHLp9OjBj8SN68WO7lqNVRQfXmVxToP++\n14bBq8+Ec3PW20HQLHFzB7CbJuDq4KCCYMwjl3f7OorNU+cBfPnZ1q3IApzr\nSmgJvzowYmV57eM5WG+1zsWQwq3RjHKyLoaTP79JOyYSROkTZnyx8Blp4Qxc\nRScs92osQiAmvdA1C33LwbRiZkvoJ6S9vXbuamF9UHf4fNmviLSuHGqs+aKl\nDRSvER1W9VRnsxqGY07S6hc4Myyll9H/RProcKCuPiCFVt1+nw45qIvYbwBx\nuFQVGFMkXb4zWyasx4K7ykOyXoT9WKiA4FcA+WbSlyB3zLKqz4N8MvY9UCf0\nLkpB7q4b/rtElZVia8nGgZisvhJCEiHKWzbxatU1AvjUvHE42BpXOohoPbr7\nKygZO19G5n80jGDNVTVH6pdpxW/ceAB/ywHY6MOylRt+QDMDZEzLOG7ssCY8\n2LkBHEftVDtIQHa7M6cXUaffucIBto7t9csTZcQ3LBeVzJunHdAFg+Jh2iEq\nKPTR\r\n=ab1q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6e168b2529c7677f376e7e54fb0982297208c680","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.1.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.20","bpk-storybook-utils":"^1.0.20","bpk-component-button":"^5.0.20","bpk-component-spinner":"^5.0.14"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.21_1639755273045_0.9850360517322552","host":"s3://npm-registry-packages"}},"4.0.22":{"name":"bpk-component-infinite-scroll","version":"4.0.22","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.22","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a6fe56f97474296c17c09b803d695ba5b23c3944","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.22.tgz","fileCount":18,"integrity":"sha512-paeLXp4wIPhJwgvt7+/osInF+o31qpkadHr4I40UlRClZe/KENJ3v3CFoWw+e9rWLTihhRxd+3fvDhSSsSa6QQ==","signatures":[{"sig":"MEUCIAfboMq8vy+uF85cO4RRni+RFIHIx3agMmOoLh6nstxZAiEA0aUx0PaWm5m80KROTPI0rdYMDGXdfLeVkJyK5OxPeNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4EQ3CRA9TVsSAnZWagAAIW4P/RD4+kiT3uiw6ZJ1V+M1\nSjY0YYhLds+L5YUgha5zQMUdkAepe/Suso97bN7DgxET6fRWdV16IgyTtFEM\nRQyZ8HWoupviXXgZ1mq9lCM38r22YYRNUTG9o/++SddTa8kqIrHPazgx7ZLQ\nxB38q/iWlXaKlgIJ0rnu3mFSYLzA/QizkxjFrkakFcQ3a57oDQe6jS9Ro8IQ\nQ1DuCoQj21dk2ife9AhNu9Exg4Ft8Vb/KN+I5ZyzCCkuFVg5NGR3LiqJ4VUS\nN35z3WH4ANI559L1AeeFyiWY1fXH4McV1C0bGwqsVVz5Rr/FoY3mMiqV5u+A\nZ4wyMfQ7mtfUEwBp7gpPfT4LstkTESrS6NhgjLo/Rj9/V1IAjyDacEROpaSn\nAewzi0tmxqraTi/7JlbrPXGygpZQLFpPYFWCF1JGLUmDHSXpO5YNvYla1pD3\nIpadhbo1j/UYTy0Xg1HYBfeutSGG7QqPhzq4oTpQ22e4PjYvEs1IIjsNXqVq\nRGUsb6JGTEdFfoj3Om3O2QFNq2UsY4oTgLNWB9IBwqe4N7ixgjPC6kqGIzyA\nHKWM0ipyrsyyRwybOUoNg9Amz8+e3/YVwn6KWt41FAwhyMu/tVUOm/PTgn8q\nMk2xISn/gVkcjTzKsEaYRKfv7sQ/fLogiZyljoOplfP+AkunS2OlJmR0nUoK\nlfoO\r\n=9ly2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5ad768fa6655356c440b8cd0442b44b2df30b3b9","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.1.1","prop-types":"^15.7.2","bpk-react-utils":"^4.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.21","bpk-storybook-utils":"^1.0.21","bpk-component-button":"^5.0.21","bpk-component-spinner":"^5.0.15"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.22_1642087479378_0.8519529297152248","host":"s3://npm-registry-packages"}},"4.0.23":{"name":"bpk-component-infinite-scroll","version":"4.0.23","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.23","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"9266cce63c2fee98cb7c01c54611a466b90913dd","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.23.tgz","fileCount":18,"integrity":"sha512-eKYjPOtR7GVnbPPhq+/SCbbnqii+SN0ofcxKj+I0cSSVBozDuYMeY29hYV3KPnWl1iBcBf6U+euLn1qURwuVOg==","signatures":[{"sig":"MEQCIBxuxWt2KSqLvpmsOx51XzlOvJFgVbeOfs3vTx3Rw/b9AiBAK6DE9IlVHAqVnctrh2GXxoY5Zh64BTjjWdaDU/nIWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8rtDCRA9TVsSAnZWagAAQ50QAJcTlkVPoB65U9I4TiTm\nPjG5y7z+QhfPpDuIE+rzlH9z+RDJKjvDAFOh1nGVVSJGsm3jT8wFfM3beEws\nGPyvECupRo0xeI48wz3eV8YhrGbhuZ9X4xQZ2hS5fMKxrgPLZSJmTh8PvXKK\nue8s7zQMnZAP/bl3DcCun1DXcSxqEHGEHLfGGnVoaxCtVMjMWACda950ek49\n4yJFMff2itDtT73U7+HyLm58XZ+d94R0ctnyVLGtD4F2RHWx7uagv/fh9dHI\nWXcTHrgA03LqWRTlQOt92R/4r7hIH7IaT7wC+4ge80m3KICg9e87MOB9E4xX\nKniybMtDywLL5/81dgcjIJAMUDP/w1TmnFQQLqtUDUmF7wdB8weeRBf6Aa40\nm5rTsagDVrzRZFsUOOJ6VAdhCrh1w9bPylqegxzi5JGAgnPdOYF64mI+wGLU\njhdjLpUvNkqg+n239jQ2cX9nfM5AyzyLI3gwk1Flk0RHofl9ofRP+2lJfuDp\nf7jSX8et+oxFenTeiqH/HeBamGN+rQb27xbRamgmoPfvYBW7jEsFGLyon7qQ\nuofvKJqRRfAWHDOUkmVKtCnKCLDHpaJ9Jj19CTKlbsEoiAqCQKgt3WAqD8ve\nAHV5TtXHlcRRSnZwR9y3vMDPjm/WPzCyOh2oawmuOsFndH99B1NxQqouADFs\n3nW5\r\n=/XK6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"9c09ca3bffc0b2dc422785cd4fe3953eb0041c3f","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^24.1.2","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.22","bpk-storybook-utils":"^1.0.22","bpk-component-button":"^5.0.22","bpk-component-spinner":"^5.0.16"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.23_1643297603172_0.6900751438032249","host":"s3://npm-registry-packages"}},"4.0.24":{"name":"bpk-component-infinite-scroll","version":"4.0.24","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.24","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ca157c0156c4795bfe31bb8963378f9c45ec12fb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.24.tgz","fileCount":18,"integrity":"sha512-1CZC0mId/9tEvhbMO+ZkCunZBwKs4HGgrPTTjdb1wiJmYDGqYkz+6HGS6hSQS8/yEggHBDzbUpjLhJ949qoCTQ==","signatures":[{"sig":"MEUCIQDKgCtF3moQfG8nfRrQczZJfRwgcbi9VjuKz0Hku4CBEAIgFZzyBaxVcHyoUSilaRYGhAj7+0pbfWsW9O8Bjq6ZEZo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+AUGCRA9TVsSAnZWagAA5IgP/AkaYRp/4OgEH0xLR6r0\nZb/VxxhuO/zJ6Iecocq95UFRIcAncDHv6Soq927LfXcVD1zlSDcZ86TCJP3d\nm+vJUMq/uNnlNnHluQd+is1NYLUDw30ewn8JXmqYiXnxFdAByi+qc0nJrsSc\n+NJNUoYOU2dALke21OVQ9QM1gt5GFv1V9VpQrgfdTAAxE1fBzfz7XIQODvcm\n5HGq7fiJ/35Mm/1PvPNRV8ZuKBpDMGMcOZ63UKr8KlXnZexCH3REEAOvdMJA\nGMeIewqZPNyevFvgudXF86u97eA4601hOmy4UwvgveExNdSgNFXBWR1r0PUH\ns1bXodH/jgWyLEtfWfIZdL7QYnjPIpHR/J+i5SyZG1hmZdR5nUQfu7pSX/hP\nwcTThpGOTmyZewpCOfRkKAb07C1GCt8jyG02F9G2Gcf00p05sPOZWNL/bmlq\nOkUiZ+U2YA/Btf02LHAMSm6mOlkOvbdFuPdh1ZK6v/y3TA6r+bizFHxRy62v\naXd/3cKAXo5HTSGLhAjSYMx7TUqzOxzKT0grEUpwcsd2V6o+slWI+SkUCsMp\ncRk3QBaFbYhyydAQXh5Ula9+0S6CbXnnJePC04jR+L7BRtvxyr50Z2iy8r73\n0dS5qnjIHb92Kt8FIauGKeHSOtB3D3xtSHkx8+X1rNgZIyFgs8mxKYZ4Xytn\n5pNk\r\n=bMGC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"92e1dd6003af93dc50ec3152af0c6fbccf0591b4","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^25.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.23","bpk-storybook-utils":"^1.0.23","bpk-component-button":"^5.0.23","bpk-component-spinner":"^5.0.17"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.24_1643644166716_0.39701637836780823","host":"s3://npm-registry-packages"}},"4.0.25":{"name":"bpk-component-infinite-scroll","version":"4.0.25","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.25","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"6b62a192ac822e686f3c515ebdc23edd9a98f72c","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.25.tgz","fileCount":18,"integrity":"sha512-t2UIgCpXzGFlqiaGexECjQ0uLmIPcqxui84u3AvkU9Bb/H0/ClS2S4MHtncHEAN6z73Ro33G2C26RuIAtsq0JA==","signatures":[{"sig":"MEYCIQDIx0GRCjWFcJN75Pa8+jTRtA4vnb6wKZBRUNStHIJaegIhANWAx/hHtNC9UMxVMqrArcKqF8WXv/Zc/2anm2IjMM3u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+n0TCRA9TVsSAnZWagAAlG8QAKQrdkl8ixfS5by1wPXz\nux1WbvmJqCv6CSyXF61DM4PYez6MRtpcPNMLtmQQIvkCS43g7iLncpsdwEgD\n7kTc1RNWBV1tvBGhDPqR5GQC6Rsnk/qKDwdvVjsieo5OLTwT5ZC4aPBiT37y\nLKomrs8SYTIphh3ifpRefFrtmmQPZOSVQ+mp7nAFdITOW8+1pLACmaqoD17c\nD2F2JDAwlXBZ4EpueyvU7x1kiPrnUbsOl7mJVNkQIeQdF9BSJ454/kcxiwsk\naBounZXx0gEjt+d54JD0o56/+PMsLU3ogLNB1SnEBb6Yx8TtFy2oSI30N2Ya\ntyrs52zhybSLcjCkv5jX4uX5oAWwix8lA3Vqh0h6aBVUA8R5drI/B3+y4MRd\n+cIGtNgCMRtYNPFwdzT5msDsqOrxNQyzU0wpP9tYu57ZFiijJSOOqKOk1yWr\ntL2Qf/jZFtxiV35/bcbgeaB5LtnJRm+O/DgHmLvtH+dayriRlTBjd0a7ihwO\ncwXknmwzJs5mU/xyLo+2zkHNUZL7U1oewP/0D4f6s+da5vYiFiskDh7DiWeK\nFkXzqAdMJ5GEEwi/Y5jVpoFXA2F97mrc2K4jBrtEc7b+JVmVyHtLmSfycyQa\nQfM9TqdpFew/ot/jbDAh0ryCoymAWrY8rZV4dt0Pekiy9Az0lqnSuF2MCZXl\nsVSW\r\n=aa2U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"43082b71a57a15e4509fc1852c6eb0dd6d243c4a","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.9+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.9","dependencies":{"bpk-mixins":"^25.1.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.24","bpk-storybook-utils":"^1.0.24","bpk-component-button":"^5.0.24","bpk-component-spinner":"^5.0.18"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.25_1643805970975_0.8806980545460363","host":"s3://npm-registry-packages"}},"4.0.26":{"name":"bpk-component-infinite-scroll","version":"4.0.26","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.26","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ee2009884c54a902f4d0fdee7c55f74ed1ba0bbb","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.26.tgz","fileCount":18,"integrity":"sha512-M1zDIQUmnfEhZvwn5mcN5EVz/s+GPOXd3Rt26MR71XTy5YsBCaNtG+gB2hvU9b2frOEAEXKVT+lGVYiGx+ePPw==","signatures":[{"sig":"MEUCIQCTSHmDyo/alUFhEw/nKH0AkdzJcNE1DsxbSINXmtHDyQIgfZblJGXyqhMfsOUh9IPGdY06TpSBqo+1IGQCUckGVTA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAPY0CRA9TVsSAnZWagAAXWoQAIcvyVswpbfEyVYiiq90\n4E9WQuc3UDvmCJ2Ish9Sz+orvHYNSrE36c6TDQK7sgqAGw8m01vpqv5jgo9/\n4JSzFBFtAqXnBitPq8pn2EQt1AAlPChb87Rw/IbgKAJUMTNCBnp7Vbj333ft\n6n6I4mfRmKFuMbMD6edcHd5/mSLC+Mkwb6ieZZaDsGnqCTZm3zuLDSxpJNti\n4hJjVaeGhXU6TVb8gpRGhvhbh475x3rp3Oso5RZZb6uMhUFVfd2eMp1uynYm\n2i/+r2q65qJ4ipqkPM5mkgJa9Wq8VagzFshsLExxmB2m4lmtnVP0Vc1LHqKJ\nsEPe9wGxj/cuXVuW2G2NYg28hvscLw5hO6LcHunwh15ppv1gLAopCKEhhaxO\nNwk+EHAdaxu/31vxmscap0/sEnzGcJ/JXwp45Yjp0dEqWeSXzJWAA1zOst6Y\nLvyQEGuaXJAm5Y3Cac3GXc3at9MvyvoN2VGI98MV8sRi2hpfCDEm+c2RniAl\nM4YUNymlDDFia+2pPiN2nTvRpzZ+bo/adMg6kRkd9oSEGgMjIlkgrCamtgC9\nU6ycb1KfIasT04m2TaKCsxgXWWlnoytXDkDoV/O+ag2o8JLGMmbBbTgfDqka\n7F7sjO5/HnYeMZP9C0gbQRl9BfcSqVd+F1IW0PkyGUKNfHZDeCFapqOeH97w\nxSl1\r\n=Gkyi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"b59f99f2967fcfa416d1f64a6db66671340939fa","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.9+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.9","dependencies":{"bpk-mixins":"^25.2.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.25","bpk-storybook-utils":"^1.0.25","bpk-component-button":"^5.0.25","bpk-component-spinner":"^5.0.19"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.26_1644230196020_0.6611400454579386","host":"s3://npm-registry-packages"}},"4.0.27":{"name":"bpk-component-infinite-scroll","version":"4.0.27","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.27","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"ceae5fe01df21c9d9b6900c171f604151a94b40e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.27.tgz","fileCount":18,"integrity":"sha512-+iQyMXOBNKDIdWTPb8dyuMzSfo0uGnk1dQKwQDLJvUeB0Iz1IsfF00YZf1m2GHkJnY7/LSed3bTUZaUhDE/fxw==","signatures":[{"sig":"MEQCIEb194ruWTHkS4dGYKdivzcXwynlI9uVTBoG4kL0G34/AiB0wv6H+MUwVgPjzBRgcUUYCZA6uufniNjDmP3KVsYpTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAnMBCRA9TVsSAnZWagAA5yQP/irZGrYa7AOgzopfjGVA\n9Tvb7z87Ugj6eA9aUDFupnvsktxTbvE0tDJluHZn26B3c5Un3iHDZwRbjRiI\n3O70rLsI2NQVz2jPLi7LSR3ZqAuMfoPS0yeNEEWVPCG0hGJ7/nWhHP5uxbT6\nKmmxAAR+lFn2i9Zv+/0mCkGwEsU9QwIgmcJDrgs6+DJBDKSt0h1C1ek7AD/+\n45S+DEvkq1J9i9F07pzxfc/RzVzb/iAwwvWhuuS3nTVeEoVEknvgGrpgW4wQ\nZ3DqyZFJtpMpnNp5s+sn9nkA5R8AMp2IDZF27rXgXMo8jMFn1SlA3uBHmPKD\nqtXdk5vVdRz49vtZEtEa7r2637nJWsYD08VMw/9l3+vHww/Nf9tLGyHaTU+I\nAu6fKxrMSj62zbNFjXttUVFi4li/JaWar8PtBcKtngrpS2SfqRhocioLFzk6\nqEXmf3qwUj3qONJtaWrz1TMaxbhxkjsBREjaQbRcL9ITJoLDvV/pWa50Pmua\nSbaPP2hwYq+MM4UyjlFncuSTnfYjgM4pNacDX30ltFWl5j3HJ7/gcCKMQcvz\n9MLacQvnyP1nyRDgDeompC5OO4xvlzx2tvGjEcQ8c/+GLSUFbZQVngby6FPp\nHXzfATjwsQ4JdnVwBmqI0APCIYvi8vExXN3w3lOmA1OoqI0gONFHSF/B4TQa\nYnmU\r\n=4p3w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"1f68195ca52c8cfaf0d21b1c21cbe0b8e88f398c","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.9+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.9","dependencies":{"bpk-mixins":"^26.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.26","bpk-storybook-utils":"^1.0.26","bpk-component-button":"^5.0.26","bpk-component-spinner":"^5.0.20"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.27_1644327681600_0.5655150332486134","host":"s3://npm-registry-packages"}},"4.0.28":{"name":"bpk-component-infinite-scroll","version":"4.0.28","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.28","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"80c1618225a282fe30af123d6e8691f0cb9e6597","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.28.tgz","fileCount":18,"integrity":"sha512-AyEqELvLp8bjc6MpF+JDGZgzld6vzGJ4FqWbq7MvQkeTH6O+w9lkiZQiMF4efrHXA7cVIJ/ftAS2ZTgKV3LaRA==","signatures":[{"sig":"MEUCIHlCAlIr7pknCtNRif3gX4C6fcMlX7gGzCN6lNiKqouKAiEA+ni+3sn5fc0qHD12964DfsRsKes8IbKp3mi5TKrfQFc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiA62JCRA9TVsSAnZWagAAU74P/2f7Xy8c+N7wcQQrLgKg\n+e0xwFGYO73OgxC+OTYmf0+/PM4OrIp4c2y+DwvqsZi0BUFUxMh9dKIRjnxu\n2u9BlrbZGZ4WpNXt6WxQGkrFl03lG6rAHopkpt7j++wuGjUppDQ0/y3DwSaH\nUB85/Ch7ymKIUJyXHDIv5DELzt17H5FRVTiRUslT5SchJ+j8BetoMcX4yXKJ\nkxCSD7+VkMoFO5nzuu2Nz1AFpzZj3OiTSCmxfD+c2vvnnIB3vUwjQY2/x5wt\nmLNFLSWHNOzQx8DdtfZp3KFAsrJIedmX5qOhCXSqgukY973P5E5WpWcIhngL\nFxZk5knpZgK65H2PxRCS6xDB0vjOcieOmgLo8z5S82tX803wdgojBfncMQuO\njEC3uCxK7fxcwpvqHtITUofcj/xC2sr8mH/cwOCHrhkp4OY8MWj8AHGJnFVf\nX5cBA6uBw7wL1U/cN+ifU94OxrAs5irWpBWm6f1+ZcFvP1bGlKlS4Rxy+SCC\nuOfgqWKNb6W8+MsnQW6GwIKdakHgHRCrQ3JubpoZkNRXERW7Y0eLlpue/wlg\n/ywywf87qUBw6FWjPIvDaHETAmw48hDwS7VzIknq/2zbxDbfWUEAQsnZCQvB\nuxW/ddIvUWR5InIplvL2fLPO+pvE29vIuID46p9ofmz4yHC9x5snWBvHh8pG\nD37g\r\n=8b+f\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ea73806dd02102aab06d05f43ff4baf73a45a490","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^26.0.1","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.27","bpk-storybook-utils":"^1.0.27","bpk-component-button":"^5.0.27","bpk-component-spinner":"^5.0.21"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.28_1644408201261_0.5948206392566047","host":"s3://npm-registry-packages"}},"4.0.29":{"name":"bpk-component-infinite-scroll","version":"4.0.29","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.29","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"32d58f75d73e8337ef5dc2da74d1a885fc16a85e","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.29.tgz","fileCount":18,"integrity":"sha512-36G3YJjTxEhbMYLRU5iPb+O22CbaAhWhho1eodHgEu/dTdb6jLaX85fmYTsQcLuox0NCgtIxIBH9HjgYtBubiw==","signatures":[{"sig":"MEUCIEaAo8idJvuQunwtotr8XWw45J9vwBf009V+lB8L/GyYAiEArvDO7WofDQoAi8on/mNb0majphQ4N4fCcy8CF6TjVJ8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDTFkCRA9TVsSAnZWagAA5LAP/33F+2fa3VUPTuxF347v\nwCTTYWHF6XI7LDH5AXw+22QLiPaW0XzyV2FlU9VNAN5LCfL1oT5kMSRewVnX\nW3QBCNl9S81K0ivzGmAvKMc9HL20L40G31KAmvGPpBzVUuo1SfENp/dXCpaZ\nRWCwUkxP/xTIJlor8vRK96kBgTCfrhXH+sXEOayVU/NfCsw2Z7qBNIqUs+kT\nSSmT5UbdJYjI+86W9qc5OT/lUPdPwkh/QW4Zobi03Y9GQUVJQMmK9warNIX8\nv8tqM2vqhMpe93SYmLDCujrJixMmZ6ptp2TPJ4JZylCzLgGBU91ItEF/4bI/\nGDWfz92+LlR8pcU2KqDPR8zQFBrz4w7q+xBQ9IZqXJFSBUK8B5J6ynnyI5LQ\nd1oAGBOQAQgqLRQa+S4jbhJGQPKIJVSVvFD9x+R5s748IZSNjaDV5FyTQb7W\nJkyDEqo293/2YtfcHJ2XfXZHWKxlzJ2GqtokG4j5C8xugHevhuobr0iuOl7h\nTB7bbXC2saok/7eYddpMQHxzAc9ppRJJYEdr8QUMyk16So2ianwMgZtubGRo\nY3DRHeps1kShqx6bT+ArsMEDSrifbjAzQ1hm7CGDRU25uwXMEtMeaeski8xq\n9g2l/X1wqpC6E42QUetLvAmxToYgaSJf9W7dH2YUiZn8oL+AvyQeSjh0Kalv\n8zfE\r\n=CXYr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"47efdb377cb92b8b3717c102445ed9f76062784e","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^26.0.2","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.28","bpk-storybook-utils":"^1.0.28","bpk-component-button":"^5.0.28","bpk-component-spinner":"^5.0.22"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.29_1645031780748_0.912346225543049","host":"s3://npm-registry-packages"}},"4.0.30":{"name":"bpk-component-infinite-scroll","version":"4.0.30","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.0.30","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"f802217c4ddb55cb56af4be04448b8cdacef7678","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.0.30.tgz","fileCount":18,"integrity":"sha512-WVSynXvyT13Kmv5a+BMHpmBHzcagrO54ot31T+ZiR9QCQaAOpw1sWuuduYs3glNNwbbP9WPx2sihT4oA9IiKgg==","signatures":[{"sig":"MEUCIAEyVxuI2+Ga7G2p3xZw1aI6skxZiWtAD6CCA+x4kBkEAiEA+YLtCfLvJr+n8FmYtkQ39YogiqlhPRQCNqbekzonbE8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDmeCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo80w/+Ih4heoEkjMYJxcQIlJwwTQwgUZcG5no7LAVbT/+f5bQcIF+o\r\nw+7XNU4TN5gH+7f2dsZ69uGsQ+Q4lWfxEKUf3a9hOFsT+U7PN3kJKLB83D11\r\nmm9IgccCP+b2QyAGg7SuXmdx8xdlFfTXVz8eSSJP6wvduetDJSZhdt/JbCiN\r\ntptanclkZ/WNQqXH99vwAtPs/aHh+ANLN6qMc4N6DfGn6gOPOmulLI0PbaCk\r\n+Zx4Nfx6z1dlyDQkaa52pC847MACwcnP8ln732JfVQ6DlzgvFtAA31dCE001\r\n6AZbRuL8uwu78/1V9hbLa9negNzV76wxuWPQCrQsuoLA3A5K95KPI+qMQpWH\r\nPRIIr13mXwV2um+psw+hZO0qiKaLEnfgsVvwkjyC5Waf/krTGfd1Scx9lZbO\r\nV8ofApqeZRZUWJoy3j93DlrhWRuoOk3hK/ROgfLzW/tjx01mDsbY2T0yc7cb\r\n1Tu6LHz1kV0MEV/IGFfMNTXnCAbEuKycDzZKclYbOTW196bWPtCW/jUgcb9I\r\ni94z9gFmz5dy8Y9ECCvhmhK3jtADoa0+nblQ8qG2xl4bFboT96VkROlfjbmX\r\nfXSA74d15zP6YmIGtcvbNcF32CdZlWmrETRNeLD7wv2Htv+er13ORILuGPmD\r\nHADXotyxiywGfQkQjKy3TqB41rtuaY3shhQ=\r\n=Axtn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"eb52043697af1faa742899ddaf3acf126821fdcd","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.10+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.10","dependencies":{"bpk-mixins":"^26.1.0","prop-types":"^15.7.2","bpk-react-utils":"^4.0.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.0.29","bpk-storybook-utils":"^1.0.29","bpk-component-button":"^5.0.29","bpk-component-spinner":"^5.0.23"},"peerDependencies":{"react":"^16.3.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.0.30_1645111170342_0.4561829709166396","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"bpk-component-infinite-scroll","version":"4.1.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.0","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"8a205a0dd3640cc7ebfdc29ecb67914aac984633","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.0.tgz","fileCount":18,"integrity":"sha512-EvfI8h513vy+LcnrWly0l4tF8y0gr3M7U8IsGNZKsPYaxcFZB3JD0usyTuYZduNxzmvBJdLdPQH3+0mGH500Fg==","signatures":[{"sig":"MEQCIEJyTdOlHtUentz5j9ZIct11RJR+QEiWlEC3nvwHSrieAiAfsS3BSnZmPpj0jR4dN/DUu3P0X5cyAzZlc3qPGdWxEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiE6PCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBnxAAjzt9D/5EKMAwRGvaxbjM5oGle90Fa9jMt07bSBom5Jb/60TX\r\n29ZuXcFNzJ0gFIVWg6IuWj9LWGWtitn7CNmWxxr+weYEAw6gQk4nU6Tm+xCB\r\n0j2VkgSi/2gtWtsjS4MSqSPEHMONcuJblq1t248704myQi03UM2n10GrZD2K\r\nbv+bmEzrnP5UFuspFvOlrXbkZb5P24AtLyIUjIozFNfnqjFkFIHJiDMWnRa7\r\nQAvhVb+/dIXvW2PpgFKgCbYTT+WQCSGgwhiV41a7TN48adgxiodtWNMTTWT0\r\nbCbvagC0xxqKUn9WgDfghKMyZV2YsHbzAQiD8Um7JY88yvQBviQ0YuULMnaL\r\nv0oXnp6V8GafeIubFd4Qg+k1gtRrh0lArxDUzzRJddjNn2GWP2KeSD3u6nim\r\nq5b9/ZgJK0xuZN43me84rJoPZqj5YLZ7C0QPi2gvR4v5QGsP94CM6Tp9W6eX\r\npl+i6OJAs5tlmcdNxnZa2PEQfFo25WPebp+docYSfeSwKhpeIWWc78ywipJe\r\nwtZNmrwH4m5J5zKbyF4g7gLTuKXxXV70W7oUfuY6tbrf17poUSYDU4joF5c+\r\n2YdeloiiA243Rl9VizDGQhyhHLMwo+PmgPgnmDA6WbAtJ+vMURUFsNTmFyjk\r\ns7QAQeiQB+Bp4PhjajaoaaLrmIDjxo1xkH4=\r\n=5Dy5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"cc0aa986efd4d34136626a477283ed08b9291e20","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.1","dependencies":{"bpk-mixins":"^26.1.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.1.0","bpk-storybook-utils":"^1.1.0","bpk-component-button":"^5.1.0","bpk-component-spinner":"^5.1.0"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.0_1645454274108_0.004431551925431432","host":"s3://npm-registry-packages"}},"4.1.1":{"name":"bpk-component-infinite-scroll","version":"4.1.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.1","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3f20d2a18526806e1c85f27d4f100c21f55744c4","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.1.tgz","fileCount":14,"integrity":"sha512-WGHd+X/ZoZUt9OQP5hSpBQDLY7FLK+6IMDcF/+Qvo0HgavUyJTm/1L6pUY06yCfHbXwRkL6O0/Hay7RVSl8qyA==","signatures":[{"sig":"MEYCIQC1qVAH2Z3MpqUzatH361SGjmJYLYEdxvNe4fW3+d1tzAIhAPD0d/Hupv/bCgyAxq+UIn7mX3jqcdiZhqYtm+0wdCg7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOcyNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpb+A/9E3ou3eIQXTwy5vID30AZnqH+ElzmcNgdJbSLYQ2l3PYFfojb\r\n+TdWbCdo0iBm2Dg/ID4gW66e2f0uqlZeCGsGrSKDqibcsjJUp3NgTL+2dRWL\r\nNiOFnJntNAqP8gsk6UJ+xMYYUXSCqg8OOQraBvwg9vZ+xXlDQFYURmi1hcOl\r\nvsfyHh8IOheXe9EHAKoQeOAHBA1W1k5oHYKE937tb5UdybM3vo85YP1QE56l\r\nXjtT5XRIRnw5lzYqSNDncqYEkhneiPLSrG0ir5ta2gT0EOp3tnuvaifS19tE\r\nVGXzd3D8YP+R99V53F4eZxD1f365iBD0yaCP+WnkmW77X75ZVJQEGWumqTY9\r\nm8lBFaz1fnNG0DvEewOsEtQKtvbZzlRfQ1ZePKOt8hGyyW3ZfYcstOfkbY7h\r\n32Khh3DuLkQsfw+0wHcUZq85Skjy4LBKBsF+fNwXyLIooSMRrKb3enSzZH74\r\n8yuBqN2aiW64qv/Ks8tJzG8WLRF3h+kuQsIlseMPZb3V4UdZ1pwb41idC/2M\r\nvC8AbGmpAuajbkpXzk+Osg53k/1oaVQ8YyTOIJ3ggAZBFBGm0GhMfQWKBkUi\r\nW08I40wcgEtDOferT4n7XL6K0UdveBm+EuwK0TgUhs3hW42R9QD0OEbLAJEN\r\nQKcnlmO6hoWUbyaV/JZfYR2Hf3lr1eFDYfE=\r\n=whus\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"de1195c50b16dd9a370086947c8a172723f285fc","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.10+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.10","dependencies":{"bpk-mixins":"^26.1.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.1.1","bpk-storybook-utils":"^1.1.0","bpk-component-button":"^5.1.1","bpk-component-spinner":"^5.1.1"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.1_1647955085860_0.6355313850264162","host":"s3://npm-registry-packages"}},"4.1.2":{"name":"bpk-component-infinite-scroll","version":"4.1.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.2","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"7e8f4d5e74d7b75b68f9dcb164c4cc3cf47eb5d9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.2.tgz","fileCount":14,"integrity":"sha512-4Dyz/Kq+WYUrmHdC7Yi34XFtLvEDmNEqmWUyzwCDIqCp6wyfDCoW4C5YFD4M9U5rhFLCmGeGWEVL1jnAHE9yHQ==","signatures":[{"sig":"MEUCIQCyzVyetZ18Ta6INhLxu/k/mKRnhKYjbgjHvfsJob4UZgIgMqAYkLoMBjg0jbaGtnIoYDiABOF6Na1MXR4O7fapusg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRc7HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHiA/9ErpB+hvAmHV2rWfPH83vD9Z/7yK4OMIzqukfC0xbDchrnCDK\r\nkZNorznzHuZlncJc90jMtNF9bn7EJfQj3UoEborPBjTNWKIvkaUuxD+IJ9py\r\nutxy1wLq++7hg954hI258u+fMaZulLASz2Gf2HPOLBYQSlmz6aivngbUC8GN\r\nuLawWOjJa9TP6pgy4cYHSjwwS0WHocWryhXiApTvcuLnVLZ4dJVEDADKYbiW\r\nIIwy3Q3SyJXV8EDbk/GAmdatgn1KwnmubMWH39YHMI1xo1hqW7t2LuubjqIr\r\nFeiBoLq4gX+gofoTFpJ/wRDRPscx7XmTPooVrX3wKpH8KPnos7MxESaMQ9lt\r\nqfn0+eQ/QApWMepqp9FsYyU78P7XQFv5t+1f9Bsml2lh0jGjG8hF6+pnQJme\r\ntytJpe/X5taxJ8j0xWHXpfPBiaRzUvzTQsOA70iJodswTmqYSZdzW9xQVjfi\r\nvgvOAlEHUEypKFBgAzWugR2SLu6xDC2++o7cWlIIMAh6/xr7riZEko95briz\r\n8evu09SnWMa8vuFPu9NGnoN0hBKZWsH3Dh6U+YXV3ZN7jaXqY6X4XNTF+9jH\r\ndR09xQDX4XOdfztaGx0S0Z/QC2ZHsDkBqfdPOvZQP9NlSo8iaLPL5eRLUFPB\r\n/5Tio9WxnGBbNZtTLsc67oD1WFeryuGwZhI=\r\n=8ir9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"163b20f712793ff480f0545e9fae001d6e58696d","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.11+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.11","dependencies":{"bpk-mixins":"^28.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.1.2","bpk-storybook-utils":"^1.1.1","bpk-component-button":"^6.0.0","bpk-component-spinner":"^5.1.2"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.2_1648742087156_0.1431713237626817","host":"s3://npm-registry-packages"}},"4.1.3":{"name":"bpk-component-infinite-scroll","version":"4.1.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.3","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"daae08b1e78f1b62b2da36eef5542601b63e42e5","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.3.tgz","fileCount":14,"integrity":"sha512-zwBzZ99WzYJHf65YQSEUjw8kz1Uh9YkDx8QXi7EcjPFKh1vgBj8cvwF/9RTHBqQffNw/eTAM/EWdw4aHuG6aUQ==","signatures":[{"sig":"MEQCIDVEMFNF1+DyM0RKcKSpw6pMzE/JPkGgSwJiHQZ/igGVAiA9ZH77D0lOsxO4NZCCxP5mWiPUZbn4mrbtGYbXe1OzxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSvnaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcRQ/8Da+2oFmogxB75U/ak7WGMXUJ01fpoUXj5On+1j+Hl4v/5Uuw\r\n89EgGrGJ4t5ME1K6DBw1waOUBd4WAvay8Ebvp5oS4OO/e45XhLub00UXitOL\r\nTTFYK5sN9Kmuyh68lsbdXEqr9PCss8s5ymfuKh4KmJ/y8dRRsUQ5zWa4aNhs\r\nl7pfphaYxNFX64uJKnHx3SzTF0MY7wdvSeslxZBiJbyObDnpBdmp8AGR5Zcv\r\noS8s/m+7dnJd+dwx7cI5WuvuGHE+ofT0C27D3QWoTOEwyGPUQtmHc45tif9x\r\nAkuNJorhaP0GJbT5nezhn7o+iRqFnoUTP9MyB+YK+Wa/dTycAV7w+8lxoWFD\r\nCcTtiHFb5ao8DimT8msb2LB/DN43h3SYgmi+wT/CwylHqqpm4LMdmY1fd6Lz\r\nhVUr6smShKxJSLILVq6O6SQ+eHXOWNtjlKGkQ8qv+LPVTPt3QRuaphWrH2wX\r\nxmkyTrqDl/kwAqSey0BAkN4lV3X1OHgqSPI25ovtKsAvqCIke4Sb0hNLPoYl\r\ni9B1kFfJiCADOs7HQYDXGH7M1wvqAbTkYCK408mdsuXdkD8Jj8yUZ7kBN2/v\r\nN6GNxVmHAKWIdzc8edU5M5x4697tXdu0dHINjNS4MG9tzCt98rRBoZ/s0CD4\r\n6cCe4s4aKVaaSrVH/U0wFMwF27TPeH4/ArM=\r\n=wC4O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"d72c793fb56230f288888967e897bc16d0231cf9","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.11+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.11","dependencies":{"bpk-mixins":"^28.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.1.3","bpk-storybook-utils":"^1.1.2","bpk-component-button":"^6.0.1","bpk-component-spinner":"^5.1.3"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.3_1649080794073_0.6742271917881699","host":"s3://npm-registry-packages"}},"4.1.4":{"name":"bpk-component-infinite-scroll","version":"4.1.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.4","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"105cdee9ae2a3b04681655cbd19b29c3855428ed","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.4.tgz","fileCount":14,"integrity":"sha512-bCclfwQq+9yBshz5NFwn8aQFJHg2YDNOe/+uaxpcLpc8bshTdoYu5mQmDmfwgARrLNGjaNRwxbcc90gFsiq+oA==","signatures":[{"sig":"MEYCIQDnK+4P99fv3QPxPDJt51cDhoTFIz8izmgf3SCAhDJbWgIhAI+C5+3k5S2wHx+2WgjkOI/0iJ7kB8TOlOW97HV14jWR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVEtDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqLRxAAhLeUlrcYbpuLVEORhWOgfl4o2gl1P1+J6odzE0/zdWhkfRSD\r\npg9IHoy0WA5sr+wM8L9dgmltXGzT5PvDWwSP5EHBMv2fZiciHJN9tg8L812G\r\n5CzulWlrCpHV8iM9A4/P3XrvYwHFX8U4U3lHUnabEfX3//XT6/82Zm5iXaXX\r\njanHmOxRRE1GHdYI0zm7D3MClW1NXc0f6v9QiXS0gZAyO1qxx4a55WTpo6jw\r\n1KiRBCIhM/AExRjOkmQ7qle3DMrUbsqPY62nvN3foYNcZTc33mOFWzgIO3je\r\nBeqhNuENI3OQNfB5pv+yS405uPXk/bHSZaNCUZd9UOSeu/ZU7Uy5soxg+bKk\r\nN9orQVanwbyc+CqDHFifrm8JiKLfveOYK9hccGmvgZgakN1i9jN5l5bcpK47\r\nGcKcdYjRjRl/LuHUXqArnk95lTTWcNdpENYrJRQqdryqS+BBqO3cKtxg7R9i\r\ni8VqZoxzyWJuqOXHfp1F5e3jgzlrESsCYls5Jv5Gd+aQlQ4MvkX4vkCszimK\r\npAKBNFokVP4hKwGHAZYO0zg1l8Rp40fkARJU1+SOmcCjFU4LyUobjTiNY89B\r\nFktiv+8PDku/VavVXRN23kUH1CjCfPChi7P3sP2l54NZzZX7V76xR1rKDFJg\r\nK8cKhddjTD865Haf0HZIYkvdF+HVVOCDDEw=\r\n=fBeu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ed268f31e6392fd53135d46ec2959696c6ac6360","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.11+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.11","dependencies":{"bpk-mixins":"^28.1.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.1.4","bpk-storybook-utils":"^1.1.3","bpk-component-button":"^6.1.0","bpk-component-spinner":"^5.1.4"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.4_1649691459730_0.9445423957223709","host":"s3://npm-registry-packages"}},"4.1.5":{"name":"bpk-component-infinite-scroll","version":"4.1.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.5","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e5f10d7e82e845f245f65cf2be53c7ea20080243","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.5.tgz","fileCount":14,"integrity":"sha512-Qm1MnxtSfRVv7C+nv+6sG1Qx/dntalL4qc8fPxC1eDYOk1P2R+2w7nzcjTD1B2ilsM96N1xfwslJ9cUEq+SoXQ==","signatures":[{"sig":"MEYCIQDwP+QUDh6FJLRjivkOs2MAIhP7XbqAOr0hVuQ81ekUpAIhAPQVpiAo/8dMHhTIx/0PqtE994r43lqAhjOO0qBTGUG9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWT+jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQfg//XlS46Ra+r0Pp12lZNfhzZZpljo6+qmU4hkEBXLHm5M6sYuzO\r\nCsr4chDGoxkFWdWN+OzxMe7q6YGoGsLKAnFDrs1KeP8GW8+vqO1zP3ww814C\r\nSc5Kj7tdbVjrwhx2DZmxgLM+5Zvund0v1FZb1FlSB6vvjmgtec2pTsPsa8I0\r\n/3wj9kegal4EWgvcCU41QFMI1WgB5E1fY2h/5Kqxs3aVitaTO7UdPG5yUwvE\r\n1hmupFF9ZIpIYhBpVBNMrOjblATZ/jRkWXTOgbZdW5aUwfVVLjruo7XvjN7t\r\nI4/+j693XTtzXh2hA5dM/fCaAjpIhjmHsb1pF2aSt5wqTmnTkw0HDLzd8jeM\r\nj6eG8q9/F8T9NYx2HFsoq6ZgHM957J53/SdxSpVvuwazwslaw0kf7VlNdrY/\r\nH6fB6TyGZ05TKKq28PiFiElGb/0IkmrnRAqJqfgvHkVnWn+obMupcxi9yWZe\r\nCoTsdhj8Cq1eGXKKHaMan+qFoWNFqgKoqLeC/9rLabmHxqVW6J9FuEhggwJn\r\nf/9O39vVzJ3iA9IxaTw8OVz7sSsDGdeUMSXruxn3akGJRMwmFkMqBFGbeXg7\r\ni+oT4AhhuSLiyCzsjQ6fmTci2NaXmMIa8hC6XlJY6xVndfepLX526aDfU/Ff\r\nEpBjoJnFO4IuhKRLJCp976sE4R5aWRGRybo=\r\n=xqVX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"035ca28e825a96d00c934fe3a4c083f6c0652390","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.11+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.11","dependencies":{"bpk-mixins":"^28.3.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.1.5","bpk-storybook-utils":"^1.1.4","bpk-component-button":"^6.2.0","bpk-component-spinner":"^5.1.5"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.5_1650016163410_0.28510718012723646","host":"s3://npm-registry-packages"}},"4.1.6":{"name":"bpk-component-infinite-scroll","version":"4.1.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.6","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"c4e929e6e75fe6d1831b02a63db8bd0050e182b9","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.6.tgz","fileCount":14,"integrity":"sha512-FbWAuHSiZCI+4HzheXrgHdupYDAXJDFH43YSXARiI4fwVerN3MpGMPTkvXhUYlHnV2/0z8fpV58mbsIToOrCRA==","signatures":[{"sig":"MEYCIQDwQJc324HMJ97ubMVOv3FbVYFgPEqjW3S7FphG3vDXWQIhAO0BJoyXWAofGUvxUa86/o8nbUnLrVXB4fzHIbET+W2u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaQCqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1NA//YPPYNJNsqZq1beQYqe22w7wj3EgLtU8+Bc31YjiGBxeIp36L\r\nzX593couLbGc5hHizQMmY22bVMk8zUBSqRWm+AV9lv5vTQ2m8Ca990NXJyQM\r\nKTFtUbGXCY18gUTNIrgFfai+dWejihW3EweK1b3N72S/02i0ytnxYQnOO2ew\r\nlMztcTuvgHfIuEkTMdviNx7rXKZ3KpmhuG+jT9sLsxV/ZPICnS/qJKbtHRDg\r\nFafLe6srjkGAOSrFx6p2CckJYyYyoJO7r/ViBjq5g/BNyknU3zSFIrZLlqzl\r\nbEif9crwaG4Uu30uPigdBOvSgEsw3sBeHXYirR/RxJfeX+8hydaT4zDaEluy\r\nV1r3RvuLRfIsA95iVEr/0sMN0SuQ/Ney+sfTTjAGYFMej477bxMwUL5Yn9QP\r\nVeDrkjTrGL8W08ME0w5CBMtjR9pB2MNJzeYXLI5k6/FPkt6+4hvWvZCButVH\r\nzMVkAVy2ukE0xnnu/fZQKxaTRVDo1PuBbhVlnFCWttSZb3F8uwVtW8J/xrUj\r\n5lqaOBQmmHl2jVcLKFyIA/EOe56mFKaE9wGmxir6g73TRCJK2lhHgTO5hPIm\r\nANz7Pie8hBtljDlqf4dw15ROXW0qA4sbhSl1QewAkCtw/eHrXf6oigxyFon5\r\nd6ecgeSrOWgUsPrZKIP/ZRgKjkBBiHV9Nhg=\r\n=Chs0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7790bd3f8c09f7bd2fbb74e7726dd5d5e4141127","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.12+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.12","dependencies":{"bpk-mixins":"^29.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^3.1.6","bpk-storybook-utils":"^1.1.5","bpk-component-button":"^6.2.1","bpk-component-spinner":"^5.1.6"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.6_1651048618532_0.052248450806996916","host":"s3://npm-registry-packages"}},"4.1.7":{"name":"bpk-component-infinite-scroll","version":"4.1.7","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.7","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0d3d35c651926b9914e7cc9b67599ddc2577cb89","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.7.tgz","fileCount":14,"integrity":"sha512-BC/Q6WNi14/nwJGm0yvT7DCjOU8TYUnEKEhwhrKmokoVVldIXqFlkCPtvudGslDgbUf1IG5np1RTBmYyslfKog==","signatures":[{"sig":"MEUCIQC+xEihIIIF0o7QM36JibJbh2vKdmTDVw9GksKLAn99SgIgWzoRX6WdF62RsHyE4l78USQhaXrxfEdqP/jU1Ely/Ao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifTJBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmribg//dN1+LTl8ideWqERfxz7Xw47kdRA0/7Hlycm2SiV6zHQP3sRG\r\nph04s0U7T3qdBK5VL/UabXYHM1BG0Pzcfn/6FBeV9dljawHxJOq5Tbq4QQGG\r\ncSj8z77DoULamSBWxMXtVd3YJVTqB41xPIAInOGos/GzL0fnJXPLe+uSfy1z\r\nf6qxcrk2uCi5Mn2EN99BfVPuyfabR7tXVRRdisc7WFmHvsqe3+/fJZcIHn1H\r\nQhyMcqZyKfsfzkoM68kcqIvw6VMmUbQOlvPvwu3W0t7XtNolSABO7iFd2UBV\r\nufbSj/tQ1gYlDj/NkehYnkvFJPUAORrCwsxZRDt+zO0EFGzyyYnzSI2/4hCT\r\n1tC5cizSBXbjtjZsIBgBlIBOBeQ/gmbGL844Ts+jcRmBwZU3kq18m/XmvvKl\r\nDXOzEb1ACV3yMXKK6bV+ve3ZHkLwIG3CiIV+UC4EbQTSkxp90U8CNKSyQ22n\r\nH8AHh1l3PAQGhngbGJ12Yp8rYMySKtrEez2/dm2jtgSp8t+VLoydKs4axygd\r\npmdWZHO3Kh1eaoM8/8xjioFxqywbUbznoCSrdTXi+TQrTCa05S/Vo7sGOaQB\r\nDmR0QEebdv1lSyhJSqZIurjaR+MCjfUFZVEe1B5mxMG9tSzNRRWz/djQxA7f\r\n+ApTXuei/9fvql6BVmFUHktm+GLK2tqiYAY=\r\n=3w1+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"76dce65fa0c6d5373f9416f0f0d9a286f25a4213","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.12+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.12","dependencies":{"bpk-mixins":"^30.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.0","bpk-storybook-utils":"^1.1.6","bpk-component-button":"^6.2.2","bpk-component-spinner":"^5.1.7"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.7_1652372033561_0.10368511094722699","host":"s3://npm-registry-packages"}},"4.1.8":{"name":"bpk-component-infinite-scroll","version":"4.1.8","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.8","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"435fb338e39800f25e77d7f8ee4a54a51773bfb6","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.8.tgz","fileCount":14,"integrity":"sha512-+OsyZcILfHZB5dddALXQmv4s2CjS9r+eEQtUjIpZpw8p6bXv7Oe8S7A8YBDqWAf4IR/eE0FSsjObgEx+B96qMw==","signatures":[{"sig":"MEUCIQCIs4tHf3lIsooqIRVrHC6DonmYI3V0j09X7bd6HjR63QIgA9oHPSn3Pi5Hhw/FQ0EPfrWPHzCxysunBu17hTAGb0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJignr4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTnBAAk89xml6701q6TcSESFKfy0FNGqpcHHuBhEa9zldZ82t3ImWN\r\nuA7NcaPmO9SjWagEUnEmc2c52AOG5/PRidYMBjWkeVFRFDyRx8xSIRAYWuJL\r\noohFzUskiQWdzc0u3M/Z75n5FBbxcu95PK24lIQvQW0BWfosmhJSjX+UExai\r\nHR5NXOH3eFomDSD5I95BwbJksiBN1zfWE1rWoPqAq4kXqsF+huKX7sZRWWuR\r\nKApkl7BCr6a0N/YTsnEcmT8y8bwDDmLbhws/rUmr6rfvZyZuDvhwiRq7Zc74\r\nL135A/ws4FVcnWEOjjxO44ISzfGOd5ty32ivrXsBlhqU4yvb4PqY7N0Fgz1f\r\nQ1rPyCBNpHyyDlCVSNV6t0V74XmMlmMbVM/HdjsUBvEoHrO/KbKy0lFowbSc\r\nBbp1rRwXxVjHNYwmPODshf2ypN/s0w+9Nw4zuY4eR4K9zVsz/Bphb9Q8j0GA\r\nV9P7gg3LcQHaEnFbwllZDdSo7XdJVmufo0YBQGvnE5HggX3I4RiKmmafmPxV\r\nhKWPaf5Gh21WDT4ZXnFywStsyiBSf1CUDNNt3Vx/1NLxzSQtG9TeuQlMjjke\r\nxWxiuZzljdQPj7wjMwhH0LXTik+aagvkEP6F0cBatqKUXHgXTuS/7TtR/cBt\r\nGEb6OOvjAFwQLi5gi6wY+eFrxbHEe7vIhYg=\r\n=YEnr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e5bf1ad56fe8834bbb87f9fe11c23c80912d4904","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.19.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.19.1","dependencies":{"bpk-mixins":"^31.0.0","prop-types":"^15.7.2","bpk-react-utils":"^4.1.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.1","bpk-storybook-utils":"^1.1.7","bpk-component-button":"^6.2.3","bpk-component-spinner":"^5.1.8"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.8_1652718327999_0.45670482966095705","host":"s3://npm-registry-packages"}},"4.1.9":{"name":"bpk-component-infinite-scroll","version":"4.1.9","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.9","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0bdc5bbe4710d65395d714e85216f38fd40be301","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.9.tgz","fileCount":14,"integrity":"sha512-pQUHAt/KoA/v9Zb7Su1VoSPnWPwFZYfh4FQXVx6f/+tlIdEPcF6C2KeLnXfiUGM+ZXuDQcp/MBhyh/4vKuLz3Q==","signatures":[{"sig":"MEYCIQCjB3Ao4V9p+goasWLvYcjaUKZ7xlCjhu6kfbYd9miVUAIhAI/lOhnCUNHj7AsTsPzPIFRpgQ3jtRANmZOus/f3fZR0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68838,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJij1bjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8cw/8DYjg0zunCANyXsecN48SBuRbam5ndW7d5/l6ha9jgBFNz10x\r\n7IL/cBQr1gpTRlvzAN4lxdvpjTu5cSsvqejZlqTsYhoYF9GIDMu0SnhrJ11c\r\nNIlOxY3HXtcdAqdKh9za5CMon05kevDBkent0hZ3nuRN2zTXkDlgy3/EEws3\r\nY23eEI/e0Utr4Q6bVJwY01Ty0t9z4tM0MrSoIrYKFG0JMJJwi114XAJE2Gh+\r\nfA5fAtSRJnvMKlsOUGU76lHS47U5yieO5Q/CiO7CLz1PSeL+IPxqGlR32Dxk\r\nKI1zSy8I2fCv7x8xRVggLT0OsFuBFGal1DQCJvenr0N6N5SD/ePHceLp+Mxo\r\nI8y0EiGSMydpdWMoNsIRmPSoNcyISNn8h3xweFp0Qz5WEa3BYTsER4JuDups\r\ncKmWZn36bX9lpBfChdSg+BC7cjlu4F43lWS+5MqXFwMhvqm4+hUDfM6yR7YS\r\nYTM/ZzR5b2yivC3p/HlVU4xxpvBHFC03p6I/U2jW3WxRs7kylBPRwbKWD/P0\r\nzlE71PsgnWNq+ztyM4Nqk93uBhAWc5US4FAubGanzEBSstAhKDSo290hL77A\r\n8m+sS8L3koyHgJzcyDleghFaX/gbfrbRa9101hjMLvh84/n67pg94am0yNE8\r\nnawLzqoj1ulHuci187EUF+fzPlNEhCJElj4=\r\n=lbDy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c4fd56a7be2e7e027844bc2fda2be44c3b64b315","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.19.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.19.1","dependencies":{"bpk-mixins":"^31.1.1","prop-types":"^15.7.2","bpk-react-utils":"^4.1.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.2","bpk-storybook-utils":"^1.1.8","bpk-component-button":"^6.2.4","bpk-component-spinner":"^5.1.9"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.9_1653561059547_0.39509084517849535","host":"s3://npm-registry-packages"}},"4.1.10":{"name":"bpk-component-infinite-scroll","version":"4.1.10","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.10","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"a238d0b6f605bc201120dcc20a36bb0b9fcedeea","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.10.tgz","fileCount":14,"integrity":"sha512-HWj97QtQ2JExI626e6GOhirxH0Orv5CvbrvCD1Chay42LFdjigfe7opCQNYrndTY58f1vgA0ydd/DNieyQQH0g==","signatures":[{"sig":"MEQCIAsSq93I62aur+QYKyC9vX8C14R1rO3oyhS5y6f9OtUYAiAU4bSSKrkE9khuXMLQ1ORqLq1fnovT4o74UHbI2aRa7g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiohBXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcwRAAkzDiAK8B0x5TAiyh1pEdvNN01wwW5Rb0+cBmYLeN51JC0rLJ\r\nERfN/zLdE0HiDnLAVxFbBwFkhWdPkMBaptjXQHdSHzxqL6qzcpWQoHkknj9v\r\nqhO6KidwLMDn4ixLGPPF89ukNVr4okMJ77NYbu6J7VmjRbZGpncg0JOS52i0\r\nIgWWtNsjJrPKG5lqrFkABLLj2VKpiOhoQ9nUobbMJLwT8NKugMyuP33sH+ls\r\nMVF/Fb2SNRgsrjiteoUepzrpGpa03jRRczLxfRROyGe19ffXN1mkki4P/hMK\r\nz9wPfoWe3gqR4dw2OPyGpuOatkjo7dilWOLVtz7wzvO3vOt9sxCy7YH64U09\r\naqz5PMyIdHnvGJ+CDGUlXyzlN87fXLQpkT8rk+c5ubF3qiPdqZmgC7dM8bt1\r\nhslPgZ8K2fEU195KEnn90D5IlwiNM68PjdemxCTuk1HA5y1aRVtqti1R1a02\r\nJcZk6Iu5iaI8Fm8y7rqB0i/rR2CfhFOBOYd/t4m1jzYt6Hb57Wy8fua/xqhH\r\nWeTIuGOy/Qd4v7kdQ9ObGZszmvRE18FxT59N1RckDLAF+tZqofuSRUKj0aKb\r\nvA+ozvAHftls8vGZ9/ovqOux9+RAK7xtPm6d9lwXMfxN/AL1GFj/v+TZs/em\r\nhFAR1ZphvaIM/W6jY4RIImnbBQqcXTgtGbw=\r\n=xBd7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fad90303a5cb542fc3f7c28758200d928342aa10","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.19.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.19.1","dependencies":{"bpk-mixins":"^31.1.1","prop-types":"^15.7.2","bpk-react-utils":"^4.1.2","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.3","bpk-storybook-utils":"^1.1.9","bpk-component-button":"^6.2.5","bpk-component-spinner":"^5.1.10"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.10_1654788183059_0.5934401355061576","host":"s3://npm-registry-packages"}},"4.1.11":{"name":"bpk-component-infinite-scroll","version":"4.1.11","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.11","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e854e2c1aa9d4f79fb344ad79b590cc068ade909","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.11.tgz","fileCount":14,"integrity":"sha512-92ISrBkdUVq+Kc5gvNsQLZZ2Ywj+YAym2pYU/b5zIQCqt/Rjr6utVa5qT4wg6QAF+jZVLS5UykTZkPxHoGR31A==","signatures":[{"sig":"MEUCIH+Xe9wYjTwhwGokGi+BRptGo5575Q4vUWcrqNIKGyiSAiEAvWR9Fri+JR1FPPhqJgA1UPp/uflTQgOOfT+OM+VHGxY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJisyBeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7kA/+OyXTFOwL1O1sDJBj/xPEWFjN9jWORj8aslu/bO+d/+hfjGbs\r\nv4oyrJyu5UBJ0lRj8+Zy7B2LbFp0MYwF+GE8Wfh087how0kPshRA/vvGpEe9\r\n/eEuzb0Z62CYcxR1Yh7W2co6PPGbAngKK34KiHPvlqY2/FmkRDl9EAJh2svM\r\nIDfmGeJK/cID/CSC+X/WCrGVXF33D3GWZnjwx672Z+U828Q3ev17PyrJLZfw\r\nW2gQzSDdFuLEAY/JHFgvzSGwuSuTtdTIpA8cmFh22JmxSdW59vsyiVU6LA20\r\nqUzqH1CV3klRuggEAyFHaf9WiW6r9ST++a40IwzJTWZQYDtOed6XGeCaERaD\r\nJb0HJIauqaXztNgesnjXn6H7fIqAouGsC8BBrKv0/WfwslmTAvNnPAf3W2Ju\r\npjhvKBySKliWw0hix19Ozy+xBQgQQ5dqmmOFmGhH08K0hQUC6jS4RBiZHV2U\r\nt+a7lGD07KQ6L8ed7e96kTuFiNfQ74dgZ9s0l1LCZodDl0GLA07kOmnl/krI\r\nn/+B4faCgX+dxTIUjcx2Yilg0/oc0kLQ3lCXGpEfU971I7DLUYW8uifEWNub\r\nKihlLn4x3nMX6+nUqA/xyP/hPLOqj98JpVsKkSpfwUWzLRhZWrsfX9bh3aRE\r\n1+sOcWp1b1NYgATXnghGGeJBQuizgAMe8HY=\r\n=6RNh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"4995a7d83c9ff007516da11a37482940feeb5bc5","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.19.3+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.19.3","dependencies":{"bpk-mixins":"^31.1.1","prop-types":"^15.7.2","bpk-react-utils":"^5.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.4","bpk-storybook-utils":"^1.1.10","bpk-component-button":"^6.2.6","bpk-component-spinner":"^5.1.11"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.11_1655906397895_0.7108852433419262","host":"s3://npm-registry-packages"}},"4.1.12":{"name":"bpk-component-infinite-scroll","version":"4.1.12","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.12","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"70d79afde8273a6a17ea38db6f1b309117af5af7","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.12.tgz","fileCount":14,"integrity":"sha512-1NTXK/ZJYVWwt8ctzdFgBgRvCZAcMvQHX9B0DTtxyy8Jnn8MDkJ3OwmCpNYGYN33bji3Zf7gB2Smy62toIdMYQ==","signatures":[{"sig":"MEUCIEd+h7laeuqY64VEQAKv7aOArwt8VOqETSGMZqgzFlMQAiEAzxrLECf+KbDWQBLESNlCbHj7EFfWXx8mCI6DGvGjSRE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizTOdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEOQ/7BQCR3vddh+qLf1egONzqtN3v2nBTFTlwrd3JA9R/N3MvwRLK\r\nXRWHK+93ttwM1eNOwjLVhOA/v9jegui3PYmDHRnKosaWyX2k7EUqWEsP8uP/\r\nAiJdM52eGQr1cM0hv+O0xvB6g+S6NG5jD4lOfIuOO9zyMTo10W02/b9sokR6\r\nmx7318idx9WCaZN6jUeu9mM0ZINSJroKzUpIaOTEGTf3NQkwDnnxWyjUoPbW\r\nBolfA6Ds/3pAqdDVZaRDTu7x1xj1JusBkDBm4tC3CfHC/20rDPAK3tXk358f\r\n8Lh0Fx3urH5x3HZd1FoyOtOdJV6tpxwEN1M4mkUd32US8q9kX93keYK6F5kj\r\nJV9xLe+pjdONHChOG0Jsp9Qeg1/QMCjaLEWEnGS7WgQlouMoNEyRLGgeffsh\r\nMvTcoIs2Ak3SaCuitMneyq2MXcWYOfELxWlMnH9QQefOwAxGoZKp/7mm57Ad\r\nnbLBWt+3liIBvH9YhdcC02x8XJaNStyy1djumXpgBwoarz10tD8IzD3+rJI9\r\nAkQDfGyHVXYhonG2fgtNVfYZdF1CEX7Lng1OnkeaK/S7yzYJhHpmACgl84H9\r\niOChihawiPJAtA0tplKfi4YvUc1GLo/gsJsI6vZ7Z8CKcFwm984QifXdrd9g\r\niWmK4p46YTEANAMqiC3RN0OURMQDul0U88U=\r\n=/h5N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7c73086b0009b8e96846105c6453314e556567a7","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.19.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.19.1","dependencies":{"bpk-mixins":"^31.1.1","prop-types":"^15.7.2","bpk-react-utils":"^6.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.5","bpk-storybook-utils":"^1.1.11","bpk-component-button":"^6.2.7","bpk-component-spinner":"^5.1.12"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.12_1657615261223_0.16546053752473","host":"s3://npm-registry-packages"}},"4.1.13":{"name":"bpk-component-infinite-scroll","version":"4.1.13","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.13","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"50b0c02618ef7432496d5e76a32d1aab5dd6daaa","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.13.tgz","fileCount":14,"integrity":"sha512-o7Nd8ZvXaGoWdW4dEKGNJPp2KcBOvuURUUBVDOPDeqtBJLKWkt+HEBPoTadrq1S3Z0Ewi3mOuYTKYJZ6KhOzTA==","signatures":[{"sig":"MEUCIQC2Tt88xiqtBwEEe0banMRepbhqHeLsEf6YMdxxI4C9/gIgLnzt9PgSNVe3RqOTJAlFf28ZzX/BZnRnMgGmGQ6TGG4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi47tqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7fA//TjJr1eH8CCwuRo0Dq9TMpZRW0Maua7ul6oUMaG2O69Zyas4S\r\n67TeckRzaftq/4Csg0FxNTRknKlc7usbCuG9aZ85piUrVvwrCVmAGXRhngLw\r\n0kUMyJvtumHOa9glmTihijXzE/WNJX03bNL2o46uopcKpux1q1hPJw0aa7r4\r\n9Zn+qTadBEcyQUlXs2C6pzfN22fZRDGQ0a9ngD+Ine6fLqXugCUfbPLkWFsm\r\nkoNWDmxBWpf1JMAmRFayMvMiggOUQtXWdRgiR4t9932V0PDaVPYJ1IuqTphO\r\n8T8VonQS7CCQu+Wvdh7C43lr8ieaK4q4nq9C9HhZiOHVqMe9jdwM9RNkJVwm\r\n22Qt5+nBGEqKlYrYKnKP9WVgAIgQr7B9BuXUxqTpMYRF/fBW7oYTZXMMUpbW\r\nniSR2For+A9f29ChTilqfc6c+iGRYdqrVntdAt39FhZznWftzJQJ2fK9fNlD\r\n/iEbiVj/Ag6LzyfNszWknEUDltTx7nTMobN50cIfhB016z7HQzFf9jjGOTQm\r\npd6Smt7/IP4ED64RcsUokpjDSZbbi+AS3nsC2LbmaCjiDZ9qXOwvaP+cFAiZ\r\nmWLOmSSLCKhQGMPwBWFupG+cRnwTBJkbAowSm9s2EcGSHmDhHKOXP439TIn2\r\nG1l5vU2u+Z5CceFR44TG+jRr4Fwf893Zqk4=\r\n=3/Nz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3395f6ad4630ddf66486a7bdbec4e90857159451","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.19.1+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.19.1","dependencies":{"bpk-mixins":"^31.1.1","prop-types":"^15.7.2","bpk-react-utils":"^6.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.6","bpk-storybook-utils":"^1.1.12","bpk-component-button":"^6.2.8","bpk-component-spinner":"^5.1.13"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.13_1659091818553_0.5636851998397914","host":"s3://npm-registry-packages"}},"4.1.14":{"name":"bpk-component-infinite-scroll","version":"4.1.14","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@4.1.14","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"dd2f2da9174a119b420c51a703c6e078c2802475","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-4.1.14.tgz","fileCount":14,"integrity":"sha512-NnFqRijhGPDukpPkMBRwvy3JgkXDUnGVIomuWocQ3n5SPVtPSjV6MhQ0A+VKpfmQ0DEw5lLNQYNyd+Mc13Nesg==","signatures":[{"sig":"MEUCIG2Ce63/lHqbQmJMMhn5rxA6iU7oEf8Tww4UA87ZUgTcAiEA5g90ggJiDE2UePMtmzl5/7jOLr2u6YmH7hATbX2jhg8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6UifACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrakw//SJDhckBfGnvAgT6Rk0Qm6K3kOHXxzxQklYFR8PmphLXakJQD\r\ncDjz6R/qIfUY5wPdxSWO/vQes2EjCnzp/jQDxmeALjFdyZo0VeDkWK85NyJ3\r\nE8v/lrLDhMeTCHhjeYqPbNd9qkfbXSWxOsF37yp8yX8JIWj+LN/xUrDQz+F0\r\nshZBiupFFwSI3+eIB45XYbWcajp5rWHMJSI8H28Z/nGjzkcX8wofN1YOJb/z\r\n88AByqUNIJYw/YdoAaMW8++CZDTMV92gciUUHCjw31ulk68PLKzHjXLprIh6\r\nMi528z86kj0T6sziUFkwR3wp6PRGiInNxfwCrajtLQqWCqSuusT3Pdmp967b\r\nI9ucZFGHOLtrYi8KQ7OZYbTS/C77TyVO1E/Oc7liJVMpvXqmcHg9t2FolLA1\r\n+qc8mm9L7eI87J+cpmXknMYFJ++j0aT07Df6j4FmqC514G36yiZpW/OUSa6H\r\nlHzQ25Box3xQ5EwvejDwHHP8mmHQnvO2HUsFxxyKWtnj6wsOw10Q/4JoQrRL\r\nWFaqWeA7aN+sLpa3y1MirY8Z6LMNapEBcABBEtdviM3skq3uaAJXn8mwgu/W\r\nUY1qDvDw7k2fiEOVp8V5nMcv/NGtj5gBuI/isKXlnikajzkgQhRoI652DGTI\r\nxaaDZY1VoHNUWUij95Sbx/ptVYnvfTJ1ZyE=\r\n=1OOV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f40f72c83dcd2c6006aec22fb1704933ac92a807","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.20.0","dependencies":{"bpk-mixins":"^31.1.6","prop-types":"^15.7.2","bpk-react-utils":"^6.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^4.0.7","bpk-storybook-utils":"^1.1.13","bpk-component-button":"^6.2.9","bpk-component-spinner":"^5.1.14"},"peerDependencies":{"react":"^16.3.0 || ^17.0.0"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_4.1.14_1659455647049_0.880321057907655","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"bpk-component-infinite-scroll","version":"5.0.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.0.0","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"0ffd310ef7351819e5839247296d5b518abe2a25","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.0.0.tgz","fileCount":14,"integrity":"sha512-hMLTkiXSkAIB1JE4PnhSpR/dlLvxZXV7H/Cisvy4tZIiwxaxM4Nm0JuPIl22+WAvHYfoStmaCBDJVnZ6muj8cA==","signatures":[{"sig":"MEUCIHClXjYyuWSkSnzk1mzhvd+urMDkFoI1PAtxszOLzlUmAiEAnaAauhZKD4uhK2oxiTlm6PRyVhrAnKMEtPu0a2tw+Yc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7SLpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmru5Q/+OxbFOw5GgVcX63ywbFr+20+XTk5tJ1TKdvigcu42qYL4/oBI\r\nOfV6G6sIeOJNa+JtqNKXeqV2B5lMY4Aas6WUX7j+GBpYWpIOZuB/qIswvaxx\r\nCZ91t61namAI02jcCsSPLPIIL99Yg7NmuQoXVla+xexir6MQKbVFxStCWL7k\r\nWgEaa8GsvIFtH73iOyV2PU2xFKpP2LYvA8VeHy+/G4lOPgBmuwKteLEYPPrG\r\nsKrIlfTKDQZc+nKT+LI2Ut0oHQEvQ7jfdzfzUxph48QTwmH7S9H5TxLOmT+i\r\nEAUJVrbDUn2HKGgotUNc7IHryLWShVXIC1Uqg7e/PVh50t66rl3laA3C8QZc\r\nleqWl5TpAcVA8HeY0alqYJDZ9YgG50IbTwn1adj5njrVygVHXjxplhIFEmOY\r\nabKZZNitwb8xvrgsTkITEfsmOHwyvBtIMX5+Tg9EXXX04S5L5M+crYm4gqYa\r\nfjMFVXZ2JakKOoX1ZkSlhiOgZRtbII4IWMfHX00RX8tx1GyimS0ppqF182Xg\r\nNSdH7i27oCEu2C6YTJQaxTDw1VK/OYHOdzdENGkc9qDHSw7KhXQ/n3Qyv+oz\r\nTrG3+aiXrv+d+aLCpVvPFqR5V50MPjlOHHP+acJJQgzFsVPIIxMcOhRPLZuL\r\nfn9S5Li6TEosW3w94V24N9TlXQYYA33WUR8=\r\n=Pkxl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"f451fa4641187dbc20801be388b49d86b5e05329","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.20.0","dependencies":{"bpk-mixins":"^31.2.0","prop-types":"^15.7.2","bpk-react-utils":"^7.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.0.0","bpk-storybook-utils":"^2.0.0","bpk-component-button":"^7.0.0","bpk-component-spinner":"^6.0.0"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.0.0_1659708136992_0.15648857401096183","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"bpk-component-infinite-scroll","version":"5.0.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.0.1","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"71901927c8b868c026a3c41b2bd78d5ef2066a94","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.0.1.tgz","fileCount":14,"integrity":"sha512-nc9I3kNT6DMPzttKvE/7Y7c6rLWUreN0o+8ttD4yBJSG/J5hnpUygzryFfJJE4rAXIoKvrpeT+ZNFLWbg3lD8Q==","signatures":[{"sig":"MEQCIH+v9zBXsRGIMKZyR4jo1eVjrcviplg5YbfZGvqc4+/HAiANDxrephiacsTMXVkyMfpnxrhUm/UjyP5cevxWfpeuTA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+nENACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/DA/+JaE0hD2LHmEaCrYcgyiOEvFZc2RR8+RrPXfjyI6pcbNDgwfW\r\nxKG+EjF30/yKN9bjRk64ZFvFAEoFK7VRdaKrJBRuDrU8DLFvaTeYpEOTdyps\r\n3M0uj4UGpzQ8VTHWLnNka5iGBvfqUQ1KFYwYfp1cRhM9w0c1jIMW3LrLtb5v\r\nZRaxQN7FvT86qzd9+NODQmibXeNswhJmmqaX/ZF54hr/mEFs9iWL81rwbkh+\r\n9L2ieZoUQfWNeuMm+o+G0AGgyRyVMZipbDDBcu+18ZyCbfiDj5Df74jhmexi\r\ndTs4GMERDkDnJb4hSXIyYy229Qj6W0V3klUnWFZO7T3jl6bh6Wv8mbgDd4B3\r\nc25kOmKE5IuvsRTOgE5ZY9bwynctBLWXBg9xLIfOZ2NWl+AFie+9bNmNwHe0\r\nFWC7njEtCBC4Yy/Ph9qOoKSDfxd1SdCcecNO+En5Kf0VEoXX6n2nC/Zwsd0d\r\nJmBWlvEfs8kqOAYjise8zBCtzH/DQY7OMQ9Q00TUa91LRCpUkTjV/4BqVShv\r\nxKbDuboOq+TsAl83oHuQY5pAMX+6OR7mr9oa9YDkMZso2kAkC3sSJo0Ah16N\r\nLdQenqqjNwzSteMbGcLTws7vrOB9iDFbnxcsN3R9zXUqKGP81UgkTY7riVf6\r\nbJP4fVQrD1lD3pf2Jp1pMwLCORi/+mT5Vng=\r\n=wFEU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"7a02f09b2410a17f024333f5e5d8fc29012c4bdb","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.12+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.12","dependencies":{"bpk-mixins":"^31.4.0","prop-types":"^15.7.2","bpk-react-utils":"^7.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.0.1","bpk-storybook-utils":"^2.0.1","bpk-component-button":"^7.0.1","bpk-component-spinner":"^6.0.1"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.0.1_1660580108909_0.7188911271261489","host":"s3://npm-registry-packages"}},"5.0.2":{"name":"bpk-component-infinite-scroll","version":"5.0.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.0.2","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"2db985c777efe06fb9345e01e94ef3cfe145a2be","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.0.2.tgz","fileCount":14,"integrity":"sha512-zC1ylcH7BKnoxssep+CGcaQ3r3oYJ9mSLlVgpt+6ZPTmXwldGs7DdbWetM/USsQTrwDisK89lore0NC4RwQGHQ==","signatures":[{"sig":"MEYCIQCkX3s77aqeNUU/PyuB7kl43NGP1V64SAIixzPmWXAAugIhAP31mvQX4OJ2fYHNGoB23091Wus3p+hc2xuieePN/eKg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBi0fACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqsA/+MhrMTV5J/R6qczoRKlG1ME1ZPsrMRb/o4LLazgDuzovwCJdt\r\nDUIkBV42bCCYJDCTSH/KI5Do7NM6RTkdjiTREXgwbBR9jBjaWjBF9sbhvYCD\r\n6Dpm4aCQEnUhu2oGVFitFJ1jf+obN58isH7DfwMQMN7bwQrYtgGcEsbLYNIr\r\nRn4oYtnO54V/XepoPe5XqqhA6jSOuk1L0XYwWQSUZjDOcVbal8CyzCjhqo/r\r\nvIqQKb+nAwEbj19y8eEoQv7VhzkjGZTVy/gfLIOZr2WuaoRo3+mBMZ0fOp1X\r\nSWRnZAj0iUMDfqG/XDTiLqnOLrTwY/wtEzShlLBZ2Cq6DzfJhIEZu8JggN8X\r\nP1wh6l2efr2PIgbpJhNhFhzaq9aLUPkPD1zznratjKskIEVxvkhl2gIGBGt4\r\neOnu5RcDZnQfWPPZRObhjxOG6Ift8w2UpN/RRxv4ufAs/TJb+HfMfMX4SY8c\r\n6M4BWbg6nTIkzJ8MPyemCjknsjLTFahQtLGdvWdgSrJ6lgA/PZb86dLAkGSQ\r\ndleFsjDjfy6cqZdr+PJYcStZdh1GsDV9dVTendQAKKuK5ASoJzp0l+dCIsId\r\n3Jnnl/wyijVoXu3nCoAhGcsG8j/UWRetOH1JIQw9Ow3vB0AW8IAix1gSwgTq\r\nBnAfEzMfCtrT96UqblcM0RSwbd1P9+jvXU8=\r\n=ovQ0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"6a7484239e5033c98f3f2a1f0c27884d7c00aad1","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v12.22.12+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"12.22.12","dependencies":{"bpk-mixins":"^31.5.0","prop-types":"^15.7.2","bpk-react-utils":"^7.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.0.2","bpk-storybook-utils":"^2.0.2","bpk-component-button":"^7.0.2","bpk-component-spinner":"^6.0.2"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.0.2_1661349151641_0.5078400139515744","host":"s3://npm-registry-packages"}},"5.0.3":{"name":"bpk-component-infinite-scroll","version":"5.0.3","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.0.3","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1b57457f2f1c8c8adf0b4933a970b7b2a0ee0e48","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.0.3.tgz","fileCount":14,"integrity":"sha512-M+JZK0HCGmj5Q7nJ+cu6uUcX5b20bn6hR8+4Y7QhLm2tXj7OnFKUsNaQ0wo9Dljx36NFEK8UWwrKlZSJsglKBg==","signatures":[{"sig":"MEQCIG90Hs/f+C5TVtRo644CJ/OS/DWkL7LjQP56buLAcjAZAiA/UwipydPhnI9PmISblpqprLJyIADYxFkvrui8PQcSvQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjDLDvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSOw/+MbYjCM/mtlGe5FGw/vDU0PBSCjNSSzW5kIJOoAScmVJpeOhH\r\nk5eu8cruD92Sjoh9TzpspNFtpa9Rk+vxUUUJw5HNMcm+gIZjmppE45aryG+9\r\nweY14hax6yp3g9Ykk9BQ1gUPq9t4E5h9DbZ5SxRo2aLWxVam1LTDrq/EWn8g\r\nRdxeF+MzwSp8JFa/7Ceo7WcuNkscLXnsDrIprMj/CuswYUmp2yQjWoX9Zs7t\r\nST/RBJ51FAUo/9skGAO96w1o+erDwrGytf0WZMY7fgnX8G077HeUsK79rR4f\r\nMEzPAfUFvJa/PSw2h1RUZMGQ+gkJK9DEBmM/GAoW0P6UxnzApOxZZu36npk5\r\nORP9ONztqbk9RgrC+TweT2ncqA6bWuH1triOA7HfsA2osq7jS3AvLGw4WTNz\r\noIfDTciXzFEOupLGbOMLtAFslytdmKCF7I0cvoF20vknLlsE9C5LyVBKOI2t\r\nrErnS+Uba0HzdrGtWeRXD/tFQpgwzlsPCyrE+VaCH1DU50hE6yplUTwa+xvb\r\n1LVGn+aQTQu+qLoYMptYxshZr5MpaFG99IEQyEgXjtrZQqGpKLRuy3tWgfJ1\r\n/aJ6Yil48QckCoau4rM0PH+ARZA4yXe4f53zyPYmzt3iWOzFzeeni/QVeRrL\r\nBITqKtBqt4x4wrJK6/VGRE1kn3mTB78kHNI=\r\n=qk7E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2d9b61d8095fa4aa0ba2e9180402146060f7527a","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.20.0","dependencies":{"bpk-mixins":"^31.6.1","prop-types":"^15.7.2","bpk-react-utils":"^7.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.1.0","bpk-storybook-utils":"^2.0.3","bpk-component-button":"^7.0.3","bpk-component-spinner":"^6.0.3"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.0.3_1661776111450_0.9544285867146223","host":"s3://npm-registry-packages"}},"5.0.4":{"name":"bpk-component-infinite-scroll","version":"5.0.4","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.0.4","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"1028580ed15f5b2c7f627eee1549de5bdb57e4ff","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.0.4.tgz","fileCount":14,"integrity":"sha512-/5RgSECTh0gjwKKTA5B75ZHRUT79gPuO9AcTDo3HSUJAyaCe4wGAQZt6aeabV4GmNGgYIqWMUiPdqQr0Q9KBwg==","signatures":[{"sig":"MEYCIQC8KULFQLaeyQUi6ay9eJCT1H31Agvwv/baPBoZTHJXRwIhAPu0MGJ0WgQKXNObjtOu57o8kVs7+usymAcTGwx7NEhx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEhCMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxnhAAn4IsHfOBMyLu6vWJkoAEuBIr6I/M22af334TBaP7m/sIKjl4\r\nescVAuGcsCU0QHl5Xw0yBaHzcfaR4uuuooUWbWB4mDVjLFlLJ3QF4Wtj2Wpj\r\nOQED89kTXgwLfldshDxa+GYfk4pS2GyAxQ2HSIs090Jbnbq5EwSKuh/dE+9+\r\n+KidSDzGnhc5jRWAiDKpbEpKEAWLjbENs+OWJ2ooRS7mT+qJg0dtaWXtpYJp\r\nlhc3s8WyUnXI/COXIa/QNhxxHzGT4xDn8B8d+pSWT+wofN3PZZq0Htm2rbb3\r\nVNjHVd7SfYoRcYd5MJrFbEz0XJj/2+ZqcAiyWVfWRPG9GI2YoO/PwQ91OY3v\r\nj2X7yQdHYGJUyE71jm1891RjFKzo446My/Ze9/oR1+TUtSy6+TJvsuxzOelK\r\nxWQiSmMUI0xYEPUDzWiHumIZjcE6t2YW1O64F1Id+sXPFEKYG+Spj3zsjFM1\r\nq/1zC8xfaU5h/dShPhygnw3fa2aeCeYgM1Ixk/SaofGVDhFHhM65sDhaCEJC\r\nI+XePdvglH2Flirx+Vq3DAPYFqz+8/owdFzjpEVIb7tpBJ09IN0WyHw6qVZm\r\n3CyzliyB3bSlqbQK8nHx5GIX0UIoKPpO+pcMd+ut2wsWW1HZ96y+1YXw5EVR\r\n3OVn93Vjk6fE/+FJdYHeAuVrpc0GWK0K4tU=\r\n=w7es\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"3dc2d442ffb050d3e84bfcf1cb7938509610982e","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.15.0/node@v14.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.20.0","dependencies":{"bpk-mixins":"^31.6.3","prop-types":"^15.7.2","bpk-react-utils":"^7.0.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.1.1","bpk-storybook-utils":"^2.0.4","bpk-component-button":"^7.0.4","bpk-component-spinner":"^6.0.4"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.0.4_1662128268432_0.7608692071256689","host":"s3://npm-registry-packages"}},"5.0.5":{"name":"bpk-component-infinite-scroll","version":"5.0.5","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.0.5","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"59b5d09fe81b12f454bff7247001a4093478f9df","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.0.5.tgz","fileCount":14,"integrity":"sha512-qg+EmXFNrUxppprrmsguqoj+dgBtBp/9UNP286NNuTyRWKaIwpnQNlhCnyz2r4eyD230i0+Jh1k9sxs9JCtv/Q==","signatures":[{"sig":"MEUCIG9ieZLICxkMZB/mNja68eZKApEoXRkJwcteacWdZeTtAiEAlKxO8q8+RXpkY3KAA8LwtITTakvKS7umPcYohz+rtWY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGv3/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpkgg//RBLSbReA+ZZ2jy+Lnjf7TTkfLpjqPNl/mNnnOmrm44iRnzwM\r\nXCGpSNrvct1J7MHym0rrZqq6pU+lgnKQs41Vqdmq7stT2Id4e2gFVPsEx36i\r\nteWv/u1eHDzbV4E3cASXPwOKd9SqzFLH99bbT9lqagqvtQdUd1AaG2v8QEbf\r\nbswyM+ztdO+xhGlanHFQvCWWZuWSLnX7cK26BoXmoFJyhy++/PmJZMMU/YFr\r\nKGGjiWtks2SHfs2OsUSkSZd6EEHPC/rADK6y/UfkjZqTOrazj7u0p84ZNaPr\r\nYYD9VOGkDMLzCH8yhBVz12bdcTcqsr0h+iHFhOAgxU8nUjxRnJhotfbZwiWK\r\ntB1t3grXEmLV6evIW4RfQCLYUQ8tWwDtyClxjOfI7Z8MGP/rsJyUKQHe3Ruf\r\n+UMLDcm+bdNKEhIJYjXBu28ecTCx6qBATDg+iH9ypi/SkHstzzCljzttOUh3\r\n4XiHM0+mifRkb5XIdYc8iA2sDIlXOreKuZXIaw6MKZwOTIJ+nf3RW6xqKalU\r\nqbTXuliOtqiqi+enxfPwWwrWVYhv3yExBDgmt9xIgqanpNR9Lu98k3q5VFB3\r\n5IFcks/5e6t4gzvr/F9su6ue1kYSyHLSHx88L7E6SRrid9jdWXtODaloUxO9\r\n2Z+N3Ys/n7mMGfh422wmi8rUIRJF2ERHlUU=\r\n=AZ+S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"78f9550cbb5be48ed758f11774f500444da78695","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.20.0","dependencies":{"bpk-mixins":"^31.6.3","prop-types":"^15.7.2","bpk-react-utils":"^7.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.1.2","bpk-storybook-utils":"^2.0.5","bpk-component-button":"^7.0.5","bpk-component-spinner":"^6.0.5"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.0.5_1662713343001_0.7352034425279765","host":"s3://npm-registry-packages"}},"5.0.6":{"name":"bpk-component-infinite-scroll","version":"5.0.6","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.0.6","maintainers":[{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"884706372b9588dbc953b4a805b4bd207697297b","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.0.6.tgz","fileCount":14,"integrity":"sha512-J/4J//CFQKKCIrD+nyuG9w0LDrnoPW3eNRR8q/kyzqvZ4xCf/MWDL6T+X/7RF+ky2slB9etPBxiXDFULfykOUg==","signatures":[{"sig":"MEYCIQCn2P41gJrsEritnALpQorjusr/9gBEsBpbEhdUc/ahSQIhAOdCoM+XK6y+b9wLw+2BIn5DiRlUQ3XNv4ijYA6B5BPJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54938,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHyj8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4kg//SKKPbHyw0PJ2H6q1G4hwdbeV3VFCe2wPugeCU3gcBhBZaCGv\r\nq68au7k4Z0Z8o0xw4NcfWNeAqbyMiIwtW0pBMygNcmtjuPVtwnUz0c1bnqTk\r\nt+12uCTxPo1L9gGzXu10Im9kNGNw+gKAiCbCpq6dxMzUbgDf0QUlBexABPo9\r\nEbDeArTIz9TFeZVg5q9xWmtKPP/fhik2eFz+AEAjY3vHbTZMSSi+uToDwCRU\r\n1GoviegiNp+BAmEuEkwkZuLYJNI9AjeiB2tKwhz0MNipKDwLStoLgUOwV2To\r\n6cv/PLGO2bjp74L2jxfTNg0RTLOXj+eklZ8kdZi1KGLT9j69rR5XL6mh/W8N\r\nXb0cWdBls68UQpB5liSDJvQ91ML3ERM/xq8p1n8D1urHolsPy6ue+CqHMATj\r\nBG0+Tri+SAGyvmM56mfZ706830vPgeLs3zm32LXo+Saka388CGYZLmj0Owo6\r\nDmrFESf/cIeFWrhOmNsVy+EHF5vDzExh/0lWuk4sm8wV+pPtSjrVcm40PjGm\r\njM9ak8aBE1pK67mFaRN3XNbyFD+7xjquMpryC1eImL8Ualj4yI77vBKOM7bB\r\n4I8yCsdjZZergJp2Rrl4vIycDzUO0X7WrK+t8AnVFd32X24GypDYKWR2Q2RA\r\nlv1ktrv/aX77qh8DoZF+hWyjIvdSitLDMcM=\r\n=cWPG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"2da8b8dd4dc70570b74f043685849fd72c573458","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.20.0+x64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"14.20.0","dependencies":{"bpk-mixins":"^31.6.6","prop-types":"^15.7.2","bpk-react-utils":"^7.0.1","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.1.3","bpk-storybook-utils":"^2.0.6","bpk-component-button":"^7.0.6","bpk-component-spinner":"^6.0.6"},"peerDependencies":{"react":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.0.6_1662986491851_0.3183805656880223","host":"s3://npm-registry-packages"}},"5.1.0":{"name":"bpk-component-infinite-scroll","version":"5.1.0","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.1.0","maintainers":[{"name":"gert-jan.vercauteren","email":"gert-jan.vercauteren@skyscanner.net"},{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"05b6bb1cc2b07a6ed73cf9d8cfe0fdbd2662fb73","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.1.0.tgz","fileCount":14,"integrity":"sha512-7LOEMbZasCI9NLCcgde7e9sbG2t7QM4Lrl1Ij7NCY5uJ7fKXmSymqMcXhkMoQAaAReFez+YnM4B6OQmO0Pul4g==","signatures":[{"sig":"MEYCIQDVavpG8dEoVuaH81PIIocPfxKe5UvxKye58XatonTmjAIhAMY80KkQ8Xf0JZP1NMIcIYfoPTCJF71g42J0KOfvUd24","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIeBGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqBDA//bZ0Zohwa5y7obRPtktbpEhh4Yls6WpzwEwPpxMVafW8SLb5U\r\n+RKHBaLM+6nf9RHMdjcNq555narY2aWgF+7bab/WR+Blfcw2ML5Sl1mcUqxU\r\nLkwWW6ebIoA8wCS4YO/B9wO9qRQ+ORFrRDhlWU4IWjKT335DgkHJOpIOaBhB\r\nKVXnyK4CBD7LfOXxXx8jII14lleJB13hFhraQ6Af4oxVnfDfqeFNWww/My52\r\n3iuoI7/u2lghZHObdd/QqAUbfFTL6c7sYVlbXxQqVbwrCoHaW6wjq0iwZYkX\r\n3N0SIVW5kCTWmdi+gKjIGkMd3RTzDdCoAajj2LRvwenyZHfSli7MJIhsRyWP\r\nm0HaUOSOYYg1stNDI4uQUwL4R3jY3hR5ylGdnyyS0iX5iyN89KADGUr0GEJW\r\nOvhMpvl0px8MrM+WFo3mB0J4bpA6KRa0VSTWEGF6UjRlUZvE9vHizr1/H9UG\r\nckB7PRHG5Cj6f/t7hw/4gukOoxuqaSOROTl6t9uTouW87fdo7cvd4FcoudPs\r\nPWT6A+a0+2n89k0FaEZ5OXXk0/v6kQuvoCzXsA9T88YSC/R9mrGru/ZbSIa+\r\nBIk8/5a6irPvresRMQ11LcYmjoPMUHiLb8hNHO6ZHzjVZGZUz0Rvsgddljn5\r\nHkV2RNbK8cFCJ8U8Qk2sUQreuP5ja3kHst8=\r\n=I7Yk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"c7ff0a53e629087652862ca44154028a196bf30d","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v16.17.0+arm64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"16.17.0","dependencies":{"bpk-mixins":"^31.7.0","prop-types":"^15.7.2","bpk-react-utils":"^7.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.2.0","bpk-storybook-utils":"^2.1.0","bpk-component-button":"^7.1.0","bpk-component-spinner":"^6.1.0"},"peerDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.1.0_1663164486681_0.240818509406987","host":"s3://npm-registry-packages"}},"5.1.1":{"name":"bpk-component-infinite-scroll","version":"5.1.1","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.1.1","maintainers":[{"name":"gert-jan.vercauteren","email":"gert-jan.vercauteren@skyscanner.net"},{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"3db01bcf33918d694d65501b7042c616cc5229c8","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.1.1.tgz","fileCount":14,"integrity":"sha512-Yq2nZ+bY+agvaOvSiwQFkXWPBThK9GoqLAPZaDeePLrK7Lqodr0cc9cMY0Q5EJY9qw9OgU2MM1gCZe8EXPOOhw==","signatures":[{"sig":"MEUCIQD3DA/KV/gw1UEhn3dkjoX6VSuU+BZDDAecuLlKo3nrJgIgBNUFDF5sgvzYz4Suy/E3nbKVRP50KwMLkSfU4j/X/Z4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMWiwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqXg//ayKUuECgyxX7c2uItMmQp78zSjTGsUQqhaSWJuRx/5ruSR05\r\nvOwWlH+kOwBWKbHA1LMO9ATZNaXNd9cvN/Z7scaz4TkrNgiDDZXndQ7ww7Lt\r\nyEtfqggHZmNQErS8FzwZv2zm2riT6FI1WCxL9NfqFEKoPwUYBvWwXOG/KIfy\r\nWdhcvMj35bRQpjZ6aovFwWs96CalTcciUWM4J85afqJYmjxp4Gr+Sd2u0sPO\r\nZ7+/GWcy0whULEu431/htH/PQhmTjAXpIgHiGEeFfZme3wQiwfq3EB2v76Bc\r\npFGVbLsRwZxxXFG7csfORsoXD4uyQHM8ZpVpTdJdOFATd96FllzVGWpMMntg\r\nIzPVKJwt+OpN6bK3YvhuhiNflprxm5xWYr3jzDRU4275/gyGKZo435kZd6LW\r\nGn9tCZ6GrgKMax2+q8SHmJTU8kWUjXJB2Z3XHc1IAoYcg2J6FNbQD2RVZOC6\r\nzRnOvdM00YkVIgnA2kS2+5i1pCxi6ydXGnLpMVhPURGlbKMjo6A53VM2lVPY\r\nawCjV7+9BRP1XRXJsbcvP2UXT09n/oXiB9yqAJrWoe6YLODNlAbo1JHYxLxJ\r\nZqHDrgEtmDYzWVFhKgsoC13zYDPt+Daktd3fpI0SkUVAOtKG+zpq26bPYZOq\r\nxZuewJlWpV4QmywYkA7GK2OkjeK236gQ28c=\r\n=6pg8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"943f64fa9e8e0010a0b67d848b3afb5ee379c5cd","_npmUser":{"name":"anambl","email":"ana.belciug@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/5.5.1/node@v16.17.0+arm64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"16.17.0","dependencies":{"bpk-mixins":"^32.0.2","prop-types":"^15.7.2","bpk-react-utils":"^7.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.2.1","bpk-storybook-utils":"^2.1.1","bpk-component-button":"^7.1.1","bpk-component-spinner":"^6.1.1"},"peerDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.1.1_1664182447809_0.7783600804738227","host":"s3://npm-registry-packages"}},"5.1.2":{"name":"bpk-component-infinite-scroll","version":"5.1.2","author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","_id":"bpk-component-infinite-scroll@5.1.2","maintainers":[{"name":"gert-jan.vercauteren","email":"gert-jan.vercauteren@skyscanner.net"},{"name":"frugoman","email":"nfrugoni19@gmail.com"},{"name":"zgeor","email":"zhivko.georgiev@skyscanner.net"},{"name":"anambl","email":"ana.belciug@skyscanner.net"},{"name":"marianeumayer-skyscanner","email":"maria.neumayer@skyscanner.net"},{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"}],"homepage":"https://github.com/Skyscanner/backpack#readme","bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"dist":{"shasum":"e3e9e4284ee1ac4f2df7a9521b36d376c6e3173a","tarball":"https://registry.npmjs.org/bpk-component-infinite-scroll/-/bpk-component-infinite-scroll-5.1.2.tgz","fileCount":14,"integrity":"sha512-w29Aa96E5zMDLkTg+JcQ4JZgER5/Cf6p7/n15IZ0mHbuu6juvvS1K/RzksacZJGCCNTbNd8jEYwTyn/561D1fQ==","signatures":[{"sig":"MEYCIQDPynM7xq4ff/jLXZ33aWLkXhJ6beORsg+gnAnJB7JGfQIhAICPFTB2i+HLAraUmahJS5S3yViSTk+4lIlVpjiFYO4L","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNvGqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmravQ//YuMGMTkQcdOqiacVDdq6kQBy3CBswO0tEAXLFR5UJ3fmM6gS\r\nHKNx37PYifdBk/O45pIQXq3Ba0GLLpanYden34gmknk7+rWOQ/LeSssozbul\r\neXz8KOhCpesn7gXp4lGMagt6q28HfqFJbc9soAxr7Zlhvq7DLs1m9icQqsTs\r\n2lXxbe0jIh791D0wS99ASodnDJ1+0LRtVkn5Amw6S8jH+7IWGm/pp/TUuFYR\r\nPGlg0889cnr7cQSJvYtnsRK57zNIRyBrkAkf3/0aZz/Qq85umdNOkk+cftBS\r\nHiJj/TqsNXcHHndrRkRKbd9PQUC+xoK4XDmvELFjituWuoXcxkLqsVpBB5Az\r\n6wNDecNM+kRXWspfWdks7uxj7zHv6Un7QUHBukxS9JEHM9jdw4plk7/sHHBp\r\nkw4CINhwz7hPRvUZpr3yV+wTNYSm3zUQkdUQVUlqPLpg1DY0AgpSvRcG8P4H\r\nQgW2pXigHrTydqUukLLlrDQkSUVLXYqANrmqCLkrAcgikdJW/l6XoESiY3YJ\r\ncNzhNwVcN5iLqzpD3whFdSOU91Zb3s/1kyt6d5OQmGIvr7Y0BSFswO5iXTQv\r\nkNZ+73eulL2NhM7OagldjhyS7Uw/+Q3AXsSI0wmijlhAFBiNla0tq6TvdQHd\r\nvOm7eurksVNM9JfzAz6dSOwAOnSUprq9E1o=\r\n=WzeI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"becd9828fe74711472493252fda3d06df1c4c871","_npmUser":{"name":"ojcurt","email":"oliver.curtis@skyscanner.net"},"repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"_npmVersion":"lerna/5.5.1/node@v16.17.0+arm64 (darwin)","description":"Backpack infinite scroll component.","directories":{},"_nodeVersion":"16.17.0","dependencies":{"bpk-mixins":"^32.2.0","prop-types":"^15.7.2","bpk-react-utils":"^7.1.0","intersection-observer":"^0.7.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"bpk-component-list":"^5.2.2","bpk-storybook-utils":"^2.1.2","bpk-component-button":"^7.1.2","bpk-component-spinner":"^6.1.2"},"peerDependencies":{"react":"^17.0.2","react-dom":"^17.0.2"},"_npmOperationalInternal":{"tmp":"tmp/bpk-component-infinite-scroll_5.1.2_1664545193918_0.09612592575724532","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-06-14T09:21:46.944Z","modified":"2025-10-09T08:45:21.996Z","1.0.0":"2018-06-14T09:21:47.039Z","1.0.1":"2018-06-19T15:57:06.042Z","1.0.2":"2018-06-20T16:07:52.691Z","1.0.3":"2018-06-22T14:39:48.240Z","1.0.4":"2018-07-11T09:28:32.871Z","1.0.5":"2018-07-12T11:20:41.969Z","1.0.6":"2018-07-17T15:02:43.143Z","1.0.7":"2018-07-20T15:43:35.873Z","1.0.8":"2018-07-23T09:38:37.443Z","1.0.9":"2018-07-24T14:10:45.416Z","1.0.10":"2018-07-30T16:08:31.009Z","2.0.0":"2018-08-01T10:41:20.938Z","2.0.1":"2018-08-01T13:29:33.311Z","2.0.2":"2018-08-09T16:16:31.455Z","2.0.3":"2018-08-15T13:56:40.296Z","2.0.4":"2018-08-21T14:53:09.879Z","2.0.5":"2018-08-22T16:16:04.276Z","2.0.6":"2018-08-28T11:13:25.628Z","2.0.7":"2018-08-31T15:15:55.829Z","2.0.8":"2018-09-05T12:55:44.978Z","2.0.9":"2018-09-06T15:07:22.104Z","2.0.10-alpha.2":"2018-09-10T14:51:36.869Z","2.0.10":"2018-09-13T15:34:39.563Z","2.0.11":"2018-09-18T20:48:47.346Z","2.0.12":"2018-10-03T13:25:47.807Z","2.0.13":"2018-10-04T14:03:37.746Z","2.0.14-alpha.12":"2018-10-08T09:52:08.530Z","2.0.14":"2018-10-12T10:40:09.776Z","2.0.16":"2018-10-24T13:42:36.160Z","2.1.0":"2018-10-25T10:44:07.652Z","2.1.1":"2018-10-31T13:08:36.895Z","2.1.2":"2018-11-14T15:53:47.366Z","2.1.3":"2018-11-15T15:51:07.255Z","2.1.4":"2018-11-16T16:28:53.963Z","2.1.5":"2018-11-22T14:31:39.826Z","2.1.6-beta.1":"2018-11-23T12:40:10.971Z","2.1.6":"2018-11-26T11:19:33.731Z","2.1.7-alpha.2":"2018-11-26T15:07:30.645Z","2.1.7-alpha.3":"2018-11-26T16:42:22.162Z","2.1.7":"2018-12-12T13:11:48.093Z","2.1.8":"2018-12-18T10:58:40.899Z","2.1.9":"2018-12-19T14:47:24.723Z","2.1.10":"2018-12-19T16:16:46.406Z","2.1.11":"2019-01-07T08:28:49.068Z","2.1.12":"2019-01-08T10:32:21.258Z","2.1.13":"2019-01-10T10:35:20.395Z","2.2.0":"2019-01-11T09:56:30.402Z","2.2.1-alpha.2":"2019-01-11T11:54:11.966Z","2.2.1":"2019-01-18T09:45:09.424Z","2.2.2":"2019-01-23T16:24:54.027Z","2.2.3":"2019-01-28T13:04:39.399Z","2.2.4":"2019-02-04T15:44:31.406Z","2.2.5":"2019-02-06T13:14:42.931Z","2.2.6":"2019-02-12T14:31:52.407Z","2.2.7":"2019-02-19T11:31:27.992Z","2.2.8":"2019-02-21T11:42:19.749Z","2.2.9":"2019-02-22T08:21:56.644Z","2.2.10-alpha.1":"2019-02-25T09:08:00.669Z","2.2.10":"2019-03-08T15:10:38.413Z","2.2.11":"2019-03-27T16:52:24.932Z","2.2.12-alpha.1":"2019-04-03T07:50:24.913Z","2.2.12":"2019-04-04T13:05:36.627Z","2.2.13":"2019-04-08T14:59:10.670Z","2.2.14":"2019-04-10T08:18:58.987Z","2.2.15":"2019-04-10T14:14:55.175Z","2.2.16":"2019-04-12T14:49:42.440Z","2.2.17":"2019-04-17T13:30:46.086Z","2.2.18":"2019-04-19T17:31:57.729Z","2.2.19":"2019-04-23T11:04:28.012Z","2.2.20":"2019-04-25T12:56:08.015Z","2.2.21":"2019-04-30T15:10:51.024Z","2.2.21-alpha.10":"2019-04-30T16:22:16.020Z","2.2.22":"2019-05-06T09:43:06.968Z","2.2.23-alpha.9":"2019-05-08T10:31:37.882Z","2.2.23":"2019-05-09T13:22:20.067Z","2.2.24-alpha.1":"2019-05-09T13:37:02.898Z","2.2.24":"2019-05-15T14:21:22.785Z","2.2.25":"2019-05-16T09:38:42.853Z","2.2.26":"2019-05-28T09:44:30.869Z","2.2.27":"2019-05-28T13:33:56.338Z","2.2.28":"2019-05-31T11:43:49.534Z","2.2.29-alpha.1":"2019-05-31T13:23:55.345Z","2.2.29":"2019-06-03T09:21:53.688Z","2.2.30":"2019-06-04T13:15:40.254Z","2.2.31":"2019-06-05T11:22:50.977Z","2.2.32":"2019-06-05T13:16:57.848Z","2.2.33":"2019-06-06T12:40:02.228Z","2.2.34":"2019-06-10T17:57:20.190Z","2.2.35-alpha.9":"2019-06-13T13:33:48.199Z","2.2.35-alpha.18":"2019-06-17T16:20:41.676Z","2.2.35-alpha.37":"2019-06-19T19:08:39.590Z","2.2.35":"2019-06-25T11:50:48.806Z","2.2.36":"2019-06-27T14:34:59.391Z","2.2.35-alpha.41":"2019-06-28T13:06:34.512Z","2.2.37":"2019-07-02T08:37:12.150Z","2.2.38":"2019-07-08T15:48:00.105Z","2.2.39":"2019-07-12T11:51:28.853Z","2.2.40-alpha.1":"2019-07-17T16:32:33.303Z","2.2.41":"2019-07-23T15:51:05.301Z","2.2.42":"2019-07-24T10:08:13.637Z","2.2.43":"2019-07-25T10:14:51.946Z","2.2.44":"2019-07-29T09:56:09.463Z","2.2.45":"2019-07-29T14:42:42.400Z","2.2.46":"2019-08-06T13:14:13.242Z","2.2.47":"2019-08-12T12:24:09.871Z","2.2.48":"2019-08-16T11:56:03.315Z","2.2.49":"2019-08-19T14:24:01.894Z","2.2.50-beta.2":"2019-08-22T15:31:28.772Z","2.2.50":"2019-08-23T07:48:00.693Z","2.2.51":"2019-08-23T14:36:01.887Z","2.2.52":"2019-08-26T11:00:59.717Z","2.2.53":"2019-08-26T11:10:59.107Z","2.2.54":"2019-08-27T13:43:31.748Z","2.2.55":"2019-08-29T16:53:48.086Z","2.2.56-alpha.1":"2019-09-02T11:09:03.097Z","2.2.56":"2019-09-03T09:34:20.076Z","2.2.57":"2019-09-03T14:06:14.444Z","2.2.58":"2019-09-03T14:36:07.211Z","2.2.59":"2019-09-04T15:50:39.888Z","2.2.60":"2019-09-09T11:43:54.265Z","2.2.61":"2019-09-10T13:00:27.611Z","2.2.62":"2019-09-11T14:02:36.769Z","2.2.63":"2019-09-18T14:50:52.072Z","2.2.64":"2019-09-19T11:07:04.482Z","2.2.65":"2019-09-24T08:05:52.564Z","2.3.0":"2019-09-26T12:26:19.326Z","2.3.1":"2019-09-26T17:05:54.788Z","2.3.2-alpha.2":"2019-09-26T17:24:35.648Z","2.3.2":"2019-09-27T16:27:44.534Z","3.0.0":"2019-09-30T11:42:19.762Z","3.0.1-alpha.27":"2019-09-30T15:58:36.156Z","3.0.1":"2019-10-01T10:50:02.896Z","3.0.2":"2019-10-01T11:16:48.517Z","3.0.3":"2019-10-03T15:11:07.399Z","3.0.4-beta.25":"2019-10-09T15:30:07.112Z","3.0.4":"2019-10-10T10:52:15.669Z","3.0.5":"2019-10-17T16:16:17.422Z","3.0.6":"2019-10-21T12:08:38.398Z","3.0.6-css.0":"2019-10-21T12:12:38.998Z","3.0.7":"2019-10-21T12:59:02.178Z","3.0.7-css.0":"2019-10-21T13:04:33.912Z","3.0.8":"2019-10-22T09:18:03.741Z","3.0.8-css.0":"2019-10-22T09:20:11.023Z","3.0.9":"2019-10-22T14:02:10.199Z","3.0.9-css.0":"2019-10-22T14:11:11.426Z","3.0.10":"2019-10-23T16:07:55.339Z","3.0.10-css.0":"2019-10-23T16:12:04.720Z","3.0.11":"2019-10-24T18:33:18.482Z","3.0.11-css.0":"2019-10-24T18:35:10.815Z","3.0.12":"2019-10-24T20:38:31.038Z","3.0.12-css.0":"2019-10-24T20:41:27.345Z","3.0.13":"2019-10-28T15:49:16.382Z","3.0.13-css.0":"2019-10-28T15:52:17.264Z","3.0.15":"2019-10-29T14:17:33.323Z","3.0.15-css.0":"2019-10-29T14:27:01.867Z","3.0.16":"2019-10-29T14:36:55.330Z","3.0.16-css.0":"2019-10-29T14:40:34.190Z","3.0.17":"2019-11-04T13:43:16.918Z","3.0.17-css.0":"2019-11-04T13:46:20.444Z","3.0.18":"2019-11-18T12:44:31.840Z","3.0.18-css.0":"2019-11-18T12:48:04.285Z","3.0.19":"2019-11-29T14:55:59.581Z","3.0.19-css.0":"2019-11-29T14:56:56.700Z","3.0.20":"2019-12-04T09:00:54.684Z","3.0.20-css.0":"2019-12-04T09:03:49.966Z","3.0.21":"2019-12-05T15:57:18.790Z","3.0.21-css.0":"2019-12-05T16:03:17.196Z","3.0.22":"2019-12-06T13:44:45.243Z","3.0.22-css.0":"2019-12-06T14:09:12.504Z","3.0.23":"2019-12-10T14:02:17.186Z","3.0.23-css.0":"2019-12-10T14:03:45.983Z","3.0.24":"2020-01-09T11:54:37.486Z","3.0.24-css.0":"2020-01-09T11:56:49.052Z","3.0.25":"2020-01-17T11:25:29.794Z","3.0.25-css.0":"2020-01-17T11:28:47.287Z","3.0.26":"2020-01-17T14:47:28.178Z","3.0.26-css.0":"2020-01-17T14:49:43.262Z","3.0.27":"2020-01-20T19:57:45.047Z","3.0.27-css.0":"2020-01-20T20:02:20.700Z","3.0.28":"2020-01-21T12:16:32.561Z","3.0.28-css.0":"2020-01-21T12:20:32.587Z","3.0.29":"2020-01-21T15:56:58.259Z","3.0.29-css.0":"2020-01-21T16:01:37.459Z","3.0.30":"2020-01-22T10:38:27.088Z","3.0.31":"2020-01-22T10:47:37.884Z","3.0.32":"2020-01-23T18:35:24.262Z","3.0.32-css.0":"2020-01-23T18:37:35.081Z","3.0.33":"2020-02-03T16:11:54.867Z","3.0.33-css.0":"2020-02-03T16:35:51.038Z","3.0.34":"2020-02-04T13:45:49.787Z","3.0.34-css.0":"2020-02-04T14:25:38.848Z","3.0.35":"2020-02-11T09:41:55.387Z","3.0.35-css.0":"2020-02-11T10:08:27.995Z","3.0.36":"2020-02-12T15:06:14.189Z","3.0.36-css.0":"2020-02-12T15:53:30.699Z","3.0.37":"2020-02-25T12:36:45.687Z","3.0.37-css.0":"2020-02-25T12:40:16.960Z","3.0.38":"2020-03-09T12:41:08.546Z","3.0.38-css.0":"2020-03-09T12:44:30.804Z","3.0.39":"2020-03-18T07:15:35.258Z","3.0.39-css.0":"2020-03-18T07:48:48.462Z","3.0.40":"2020-03-18T10:17:04.674Z","3.0.40-css.0":"2020-03-18T10:28:01.027Z","3.0.41":"2020-03-20T10:14:35.701Z","3.0.41-css.0":"2020-03-20T10:27:12.159Z","3.0.42":"2020-03-24T15:06:42.211Z","3.0.42-css.0":"2020-03-24T15:10:38.474Z","3.0.43":"2020-03-30T13:54:24.557Z","3.0.44":"2020-03-30T13:59:41.298Z","3.0.45":"2020-04-03T12:15:21.313Z","3.0.45-css.0":"2020-04-03T12:18:14.569Z","3.0.46":"2020-04-06T07:37:41.944Z","3.0.46-css.0":"2020-04-06T07:40:28.863Z","3.0.47":"2020-04-08T11:02:37.668Z","3.0.47-css.0":"2020-04-08T11:04:29.606Z","3.0.48":"2020-04-09T11:01:13.487Z","3.0.48-css.0":"2020-04-09T11:03:55.262Z","3.0.49":"2020-05-01T12:21:17.673Z","3.0.49-css.0":"2020-05-01T12:24:45.138Z","3.0.50":"2020-05-06T11:24:39.275Z","3.0.50-css.0":"2020-05-06T11:28:33.782Z","3.0.51":"2020-05-07T08:31:09.118Z","3.0.51-css.0":"2020-05-07T08:34:45.553Z","3.0.52":"2020-05-07T11:51:45.681Z","3.0.52-css.0":"2020-05-07T11:54:39.129Z","3.0.53":"2020-05-26T14:00:22.279Z","3.0.53-css.0":"2020-05-26T14:01:53.285Z","3.0.54":"2020-06-11T10:40:28.660Z","3.0.54-css.0":"2020-06-11T10:44:22.096Z","3.0.55":"2020-06-18T16:30:32.255Z","3.0.55-css.0":"2020-06-18T16:35:09.583Z","3.0.56":"2020-06-23T10:19:15.542Z","3.0.56-css.0":"2020-06-23T10:22:16.663Z","3.0.57":"2020-06-30T08:21:40.286Z","3.0.57-css.0":"2020-06-30T08:24:14.794Z","3.0.58":"2020-06-30T14:11:20.856Z","3.0.58-css.0":"2020-06-30T14:12:51.820Z","3.0.59":"2020-07-01T14:38:07.923Z","3.0.59-css.0":"2020-07-01T14:42:37.940Z","3.0.60":"2020-07-02T11:54:11.475Z","3.0.60-css.0":"2020-07-02T11:57:21.401Z","3.0.61":"2020-07-03T09:38:46.672Z","3.0.61-css.0":"2020-07-03T09:57:01.978Z","3.0.62":"2020-07-03T12:29:35.872Z","3.0.62-css.0":"2020-07-03T12:31:20.270Z","3.0.63":"2020-07-07T14:30:04.944Z","3.0.63-css.0":"2020-07-07T14:32:11.256Z","3.0.64":"2020-07-09T15:59:24.911Z","3.0.64-css.0":"2020-07-09T16:03:14.133Z","3.0.65":"2020-07-10T10:45:38.849Z","3.0.65-css.0":"2020-07-10T10:48:58.279Z","3.0.66":"2020-07-13T12:18:28.308Z","3.0.66-css.0":"2020-07-13T12:20:37.013Z","3.0.67":"2020-07-14T17:13:33.576Z","3.0.68":"2020-07-16T16:06:03.852Z","3.0.69":"2020-07-22T09:22:18.450Z","3.0.70":"2020-07-27T15:26:45.112Z","3.0.71":"2020-07-28T14:17:34.610Z","3.0.72":"2020-07-29T19:02:22.902Z","3.0.73":"2020-08-03T09:37:07.281Z","3.0.74":"2020-08-05T11:26:57.435Z","3.0.76":"2020-08-06T10:04:05.498Z","3.0.77":"2020-08-07T09:08:05.812Z","3.0.78":"2020-08-24T10:48:53.060Z","3.0.79":"2020-08-28T11:48:32.072Z","3.0.80":"2020-08-31T12:04:16.230Z","3.0.81":"2020-09-03T13:43:41.818Z","3.0.82":"2020-09-03T19:51:00.436Z","3.0.83":"2020-09-11T14:08:11.590Z","3.0.84":"2020-09-14T14:26:53.320Z","3.0.85":"2020-10-05T11:19:57.446Z","3.0.86":"2020-10-05T14:54:57.378Z","3.0.87":"2020-10-12T15:13:54.327Z","3.0.88":"2020-10-20T10:14:15.599Z","3.0.89":"2020-10-22T08:31:24.591Z","3.0.90":"2020-10-26T14:11:29.086Z","3.0.91":"2020-10-27T10:48:31.036Z","3.0.92":"2020-11-04T13:35:20.391Z","3.0.93":"2020-11-12T08:54:48.940Z","3.0.94":"2020-12-02T17:29:44.195Z","3.0.95":"2020-12-03T21:38:03.919Z","3.0.96":"2020-12-04T14:48:32.841Z","3.0.97":"2020-12-10T12:10:42.184Z","3.0.98":"2020-12-10T13:11:32.517Z","3.0.99":"2020-12-11T12:36:01.000Z","3.0.100":"2020-12-11T15:25:08.859Z","3.0.101":"2020-12-17T16:12:33.475Z","3.0.102":"2021-01-08T12:09:23.376Z","3.0.103":"2021-01-13T13:10:08.683Z","3.0.104":"2021-01-21T14:07:19.255Z","3.0.105":"2021-02-09T16:31:08.360Z","3.0.106":"2021-02-12T12:48:05.048Z","3.0.107":"2021-02-12T17:02:02.927Z","3.0.108":"2021-02-12T19:52:21.405Z","3.0.109":"2021-02-16T13:46:27.624Z","3.0.110":"2021-02-17T10:17:30.255Z","3.0.111":"2021-02-22T15:03:58.485Z","3.0.112":"2021-02-23T13:21:59.707Z","3.0.113":"2021-02-24T09:33:23.973Z","3.0.114":"2021-02-24T16:02:48.551Z","3.0.115":"2021-03-02T12:09:07.227Z","3.0.116":"2021-03-08T11:06:29.323Z","3.0.117":"2021-03-08T12:24:55.481Z","3.0.118":"2021-03-12T16:14:14.555Z","3.0.119":"2021-03-15T17:33:25.237Z","3.0.120":"2021-03-17T14:53:10.829Z","3.0.121":"2021-03-17T15:53:37.847Z","3.0.122":"2021-03-23T12:09:46.055Z","3.0.123":"2021-03-24T09:57:49.491Z","3.0.124":"2021-03-25T17:22:29.698Z","3.0.125":"2021-04-02T13:07:31.241Z","3.0.126":"2021-04-03T13:58:06.674Z","3.0.127":"2021-04-09T10:20:02.115Z","3.0.128":"2021-04-13T14:46:33.011Z","3.0.129":"2021-04-13T15:11:55.543Z","3.0.130":"2021-04-27T17:03:52.566Z","3.0.131":"2021-04-29T16:27:31.865Z","3.1.0":"2021-05-06T10:58:47.439Z","3.1.1":"2021-05-11T08:23:47.992Z","3.1.2":"2021-05-13T14:01:00.387Z","3.1.3":"2021-06-02T16:50:34.788Z","3.1.4":"2021-06-09T10:51:16.901Z","3.1.5":"2021-06-15T13:46:58.150Z","3.1.7":"2021-06-15T15:32:45.180Z","4.0.0":"2021-06-16T08:28:33.506Z","4.0.1":"2021-06-30T13:55:20.429Z","4.0.2":"2021-07-12T11:08:26.662Z","4.0.3":"2021-07-16T11:02:57.765Z","4.0.4":"2021-07-30T08:29:43.942Z","4.0.5":"2021-07-30T16:06:37.716Z","4.0.6":"2021-08-06T14:29:55.026Z","4.0.7":"2021-08-19T17:20:40.784Z","4.0.8":"2021-08-27T11:36:11.558Z","4.0.9":"2021-09-06T09:24:34.385Z","4.0.10":"2021-09-08T08:19:40.511Z","4.0.11":"2021-09-13T09:09:11.926Z","4.0.12":"2021-09-30T09:36:36.011Z","4.0.13":"2021-10-07T09:23:04.914Z","4.0.14":"2021-11-11T17:03:08.688Z","4.0.15":"2021-11-12T10:28:01.462Z","4.0.16":"2021-11-29T09:52:11.055Z","4.0.17":"2021-12-01T10:12:57.086Z","4.0.18":"2021-12-03T10:43:00.651Z","4.0.19":"2021-12-09T16:41:11.495Z","4.0.20":"2021-12-17T12:11:40.960Z","4.0.21":"2021-12-17T15:34:33.258Z","4.0.22":"2022-01-13T15:24:39.534Z","4.0.23":"2022-01-27T15:33:23.564Z","4.0.24":"2022-01-31T15:49:26.902Z","4.0.25":"2022-02-02T12:46:11.123Z","4.0.26":"2022-02-07T10:36:36.158Z","4.0.27":"2022-02-08T13:41:21.763Z","4.0.28":"2022-02-09T12:03:21.380Z","4.0.29":"2022-02-16T17:16:20.986Z","4.0.30":"2022-02-17T15:19:30.525Z","4.1.0":"2022-02-21T14:37:54.238Z","4.1.1":"2022-03-22T13:18:05.986Z","4.1.2":"2022-03-31T15:54:47.382Z","4.1.3":"2022-04-04T13:59:54.179Z","4.1.4":"2022-04-11T15:37:39.865Z","4.1.5":"2022-04-15T09:49:23.527Z","4.1.6":"2022-04-27T08:36:58.702Z","4.1.7":"2022-05-12T16:13:53.848Z","4.1.8":"2022-05-16T16:25:28.182Z","4.1.9":"2022-05-26T10:30:59.716Z","4.1.10":"2022-06-09T15:23:03.271Z","4.1.11":"2022-06-22T13:59:58.061Z","4.1.12":"2022-07-12T08:41:01.374Z","4.1.13":"2022-07-29T10:50:18.759Z","4.1.14":"2022-08-02T15:54:07.222Z","5.0.0":"2022-08-05T14:02:17.286Z","5.0.1":"2022-08-15T16:15:09.200Z","5.0.2":"2022-08-24T13:52:31.781Z","5.0.3":"2022-08-29T12:28:31.611Z","5.0.4":"2022-09-02T14:17:48.657Z","5.0.5":"2022-09-09T08:49:03.154Z","5.0.6":"2022-09-12T12:41:32.049Z","5.1.0":"2022-09-14T14:08:06.863Z","5.1.1":"2022-09-26T08:54:07.989Z","5.1.2":"2022-09-30T13:39:54.090Z"},"bugs":{"url":"https://github.com/Skyscanner/backpack/issues"},"author":{"name":"Backpack Design System","email":"backpack@skyscanner.net"},"license":"Apache-2.0","homepage":"https://github.com/Skyscanner/backpack#readme","repository":{"url":"git+ssh://git@github.com/Skyscanner/backpack.git","type":"git"},"description":"Backpack infinite scroll component.","maintainers":[{"email":"oliver.curtis@skyscanner.net","name":"ojcurt"},{"email":"gert-jan.vercauteren@skyscanner.net","name":"gert-jan.vercauteren"},{"email":"backpack@skyscanner.net","name":"skyscanner-koalasquad"}],"readme":"# bpk-component-infinite-scroll\n\n> Backpack infinite scroll component.\n\n## Installation\n\n```sh\nnpm install bpk-component-infinite-scroll --save-dev\n```\n\n## Usage\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport BpkButton from 'bpk-component-button';\nimport BpkSpinner, { SPINNER_TYPES } from 'bpk-component-spinner';\nimport withInfiniteScroll, {\n  ArrayDataSource,\n} from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nconst elementsArray = [\n  'element 1',\n  'element 2',\n  'element 3',\n  'element 4',\n  'element 5',\n  'element 6',\n  'element 7',\n  'element 8',\n  'element 9',\n  'element 10',\n];\n\nconst CustomLoading = () => (\n  <div>\n    <BpkSpinner type={SPINNER_TYPES.primary} />\n  </div>\n);\n\nconst CustomSeeMore = ({ onSeeMoreClick }) => (\n  <div>\n    <BpkButton onClick={onSeeMoreClick}>See More</BpkButton>\n  </div>\n);\n\nconst InfiniteList = withInfiniteScroll(SomeList);\nconst dataSource = new ArrayDataSource(elementsArray);\n\nexport default () => (\n  <InfiniteList\n    dataSource={dataSource}\n    renderLoadingComponent={CustomLoading}\n    renderSeeMoreComponent={CustomSeeMore}\n    seeMoreAfter={1}\n  />\n);\n```\n\n## Accompanying classes\n\n## DataSource\n\n`DataSource` is a class used by the BpkInfiniteScroll component to fetch items\nand listen for changes in the data and react to it by reloading the current items\nin the list.\n\n### Methods\n\n`fetchItems(index, nElements)`\n\nCalled by the `InfiniteScroll` component every time new data is\nrequested (by scrolling down) and should return the data starting from `index` plus `nElements` (number of elements). It should return a promise object.\n\nExample:\n\n```js\nfetchItems(0, 5); // should return 5 items starting from position 0\nfetchItems(5, 5); // should return 5 items starting from position 5\n```\n\n_Calling this method directly in the `DataSource` class will result in an error, it should be implemented by the subclass extending `DataSource`._\n\n`onDataChange(cb)`\n\nAdds a new change listener to this `DataSource`, to be called when data is updated. Returns true if added or false otherwise.\n\n`removeListener(cb)`\n\nRemoves the callback from the list of change listeners. Returns true if removed or false otherwise.\n\n`triggerListeners(...args)`\n\nTriggers all listeners in response to data changes. This method should be\nused by subclasses to tell the `InfiniteScroll` component it should refresh\nits data.\n\n```js\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport withInfiniteScroll, { DataSource } from 'bpk-component-infinite-scroll';\n\nconst SomeList = ({ elements }) => (\n  <div id=\"list\">\n    {elements.map(element => (\n      <div key={element} style={{ height: '50px' }}>\n        {element}\n      </div>\n    ))}\n  </div>\n);\n\nclass RemoteFlightsDataSource extends DataSource {\n  constructor() {\n    super();\n    myWebSocketConnection.on('dataChange', () => {\n      // tell the `InfiniteScroll` component to refresh its data\n      this.triggerListeners();\n    });\n  }\n\n  fetchItems(index, nElements) {\n    return fetch(`https://my-api/flights?start=${index}&count=${nElements}`);\n  }\n}\n\nconst InfiniteList = withInfiniteScroll(SomeList);\n\nexport default () => (\n  <InfiniteList dataSource={new RemoteFlightsDataSource()} />\n);\n```\n\n## ArrayDataSource\n\n`ArrayDataSource` is a class that extends from `DataSource`. Accepts an array\nas a parameter in the constructor and uses it as source for the infinite scroll.\n\n> See [Usage](#Usage) for an example of this class in use.\n\n### Methods\n\n_refer to the `DataSource` methods section for a list of all methods_\n\n`fetchItems(index, nElements)`\n\nReturns a subset of the array data.\n\n`updateData(newData)`\n\nUpdates the internal array and triggers all listeners.\n\n## Props\n\n| Property                | PropType                         | Required | Default Value |\n| ----------------------- | -------------------------------- | -------- | ------------- |\n| dataSource              | instanceOf(DataSource)           | true     | -             |\n| elementsPerScroll       | number                           | false    | 5             |\n| initiallyLoadedElements | number                           | false    | 5             |\n| loaderMinDisplay        | oneOf(['small', 'half', 'full']) | false    | 'full'        |\n| onScroll                | func                             | false    | null          |\n| onScrollFinished        | func                             | false    | null          |\n| renderLoadingComponent  | func                             | false    | null          |\n| renderSeeMoreComponent  | func                             | false    | null          |\n| seeMoreAfter            | number                           | false    | null          |\n\n## `elementsPerScroll`\n\nHow many more elements to load every time the user reaches the bottom of the list.\n\n## `initiallyLoadedElements`\n\nHow many more elements to load every time the user reaches the bottom of the list.\n\n### `seeMoreAfter`\n\n`seeMoreAfter` is how many scrolls should happen before a 'See more' button is displayed. This only happens once.\n","readmeFilename":"README.md"}