{"_id":"@onedior/react-sticky","_rev":"28-3e2bbf3881ab285d88ad9660c3ef85f9","name":"@onedior/react-sticky","dist-tags":{"latest":"6.0.14"},"versions":{"6.0.4":{"name":"@onedior/react-sticky","version":"6.0.4","keywords":["react-component","React","Sticky"],"author":{"name":"Captivation Software"},"license":"MIT","_id":"@onedior/react-sticky@6.0.4","maintainers":[{"name":"alacroix","email":"dev@lx-consulting.fr"}],"homepage":"https://github.com/captivationsoftware/react-sticky","bugs":{"url":"https://github.com/captivationsoftware/react-sticky/issues"},"dist":{"shasum":"4c6b3314c8f4697322864bf95862be210e54cd8b","tarball":"https://registry.npmjs.org/@onedior/react-sticky/-/react-sticky-6.0.4.tgz","fileCount":12,"integrity":"sha512-sVsupGicVdYpoHkAJmBoAtT629Oj9yZZnWkpJwSXL86C7U7WaU2pel7numWPQfi9elIzVywilsh64QSaPcTDfw==","signatures":[{"sig":"MEUCIEwEreBwElQ0+Rol0dDgZA49TevmrixbYOC5vKhpeJTDAiEAj/NcItQJJtmXwteNw3WezT7Amn5684p1aKxbK5Mjogk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrjKpCRA9TVsSAnZWagAAqyUQAIh+g0f/LsA/qsCD3r7H\nXQpNc91pLHH5Zat9eSF37+2eAfcZhis04Qp74+ygaBC3gu3wHIewK6PK9uUh\nxCzBcaAJuj7FeCBEKgkmQrepeCIFsOVYqaaSbqCGGaJF/7n+LUi6B1oQ74Lj\nARdh8BXWf4cG5LSGT2Befkhj/IlmbXqKZR0F+9J/lp5/HPm2D1hqTqK97O/o\nCTbUACuobMGPSwzxEPlZPuSJUeLoRSbjS8yTQ6aaSV8qrNPtSCH3WTTjrzdB\nXhIJNDUdMotrP4Ylwf3Ow9uyOhrjWQza2SbvzjRj9qDhEVRcYyk+xR+VeZFl\n6MFWgOx5AHJTU3yiNA1hysm1oRrmTb677qqLzDw8qingecMr05vR9EoLsnpl\nh5bmhQgp4g7yWfZVchC+vnwawTTRN5pui9P4gUefX0CV8k1Tt+13o2MLb5dG\nwXeW9h3d7kqrwwzEWwihs9SI4Nwe5BnYHdn0KN/5Pr1Xg3grIt8xGcgHGGcu\njXggxVPvCRDL5tZN2AR7CHySLXWppw0EX9iuH6WWooYHKpJnDfUS03TjZBR9\nFKz2lycPyYN3OceuGbWN0XZysVxZAl5zOWCwa+kboiqbTiKJmfgwbvMoD3F3\niOBsdvjN+VDenjdgzIRA9foCxoUP35LOjFww2BFTKT4TGUeoHiUeh2cuJJ2f\nf0If\r\n=Fqyh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"69237319d21e6107ff905c3ad1a8bd0c7040e33c","scripts":{"test":"mocha test/setup.js test/spec/*.js","clean":"rimraf lib","compile":"babel src --loose --out-dir lib","prepare":"npm run clean && npm run compile","prepublish":"npm run prepare","demos:build":"NODE_ENV=production webpack -p","demos:start":"webpack-dev-server --watch"},"_npmUser":{"name":"alacroix","email":"dev@lx-consulting.fr"},"repository":{"url":"git+https://github.com/captivationsoftware/react-sticky.git","type":"git"},"_npmVersion":"6.2.0","description":"Sticky component for React","directories":{},"_nodeVersion":"8.11.2","dependencies":{"raf":"^3.3.0","prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4","jsdom":"8.0.4","mocha":"^5","react":"^15.5.4","enzyme":"^2.8.2","rimraf":"^2.5.2","webpack":"^3.11.0","babel-cli":"^6.23.1","react-dom":"^15.5.4","babel-core":"^6.23.1","babel-loader":"^6.2.10","react-router-dom":"^4.2.2","babel-preset-react":"^6.5.0","webpack-dev-server":"^2.11.1","babel-preset-es2015":"^6.22.0","react-test-renderer":"^15.5.4","babel-preset-stage-0":"^6.5.0","babel-plugin-transform-class-properties":"^6.23.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-sticky_6.0.4_1538142888358_0.8279045429171896","host":"s3://npm-registry-packages"}},"6.0.12":{"name":"@onedior/react-sticky","version":"6.0.12","keywords":["react-component","React","Sticky"],"author":{"name":"Captivation Software"},"license":"MIT","_id":"@onedior/react-sticky@6.0.12","maintainers":[{"name":"alacroix","email":"dev@lx-consulting.fr"}],"homepage":"https://github.com/captivationsoftware/react-sticky","bugs":{"url":"https://github.com/captivationsoftware/react-sticky/issues"},"dist":{"shasum":"6b84fe611c1b3647a255cd4cfb03d2f04bede51c","tarball":"https://registry.npmjs.org/@onedior/react-sticky/-/react-sticky-6.0.12.tgz","fileCount":12,"integrity":"sha512-CMBf8c32v1wRYSppuVp/XDD/x+veuApgB2WGGxBgv1lum52cXwd1AW5/lYK9yiWakeEm75HRUBRks+fapdguRw==","signatures":[{"sig":"MEYCIQCCVthrUnok9tw7+GIJM/kua/BRg6HTaKt0vj6ujc1CmQIhALGK1ZBTMgqodJC4FFAYf5ISznqmhDyAG1uAQB9ajdDy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221352,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsh1iCRA9TVsSAnZWagAAlNYP/R2JxqtJ11ywk9OB1Mmw\nJMdcHIapC4vmZNqEbFQaj3NTlP1NUe3Q3UokVLIWfb5lB+JaT2kEk/X9s/YJ\nLN8wLmp9UwrVSpfhFj1JBcGQUbPg8GKLzhdsgRYqQGm8do0tVav8GWB16eAC\nAF/E36VcmVfeazH4JRw9YIFDA0Rs5w200sgIWMIwclP3x7z5/nIvRmhzdqgt\nWt2TIK9d+rZ9Zog24faQBkhKntdlSnOsRXvoZot3wX7JXAVHLddex4isgNpj\n1a1H6J1/m/UfrAU+CytMj3VpK3lKHwYpZCBaoBXouRbA1MwwyXpBHWOSvUPC\nRXQM+18ap0xQcvSLhfzT6YL/yGVFhobzp+Dkav9BvYNbFEUyrqZqPSrMvIkw\ngijfaLgvEuTlYCKCg80NwsXH8f67+xOYNDyua5NgT4D0S1HMuIq2QStf7H9T\n+U1umhkRxKz+xgntpnlsfFrqgXB6IHm/dsX7eP8Nz9MJpVlUIn8ShSWlwjAv\nqIW6YpulGc9WD5jsb0A9G8x6NX5LLdifAQOCCiaXka1S5xnjfMGG2zzMf4fY\nijbS3OuvvdHi5Za0xRTLfUCkHOb/+lU+fcEEOHypTZugvLceqJGUqQP0Dy0q\njRo6sRFcJ7RovXNcKFwylr8uh91RUbBfwieQb383RlP6EUKdfbAtFAe0fPPN\nDuXy\r\n=W/n9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"dc10f73f7b4d11f3c55d80b21997c25cbc98b6a9","scripts":{"test":"mocha test/setup.js test/spec/*.js","clean":"rimraf lib","compile":"babel src --loose --out-dir lib","prepare":"npm run clean && npm run compile","prepublish":"npm run prepare","demos:build":"NODE_ENV=production webpack -p","demos:start":"webpack-dev-server --watch"},"_npmUser":{"name":"alacroix","email":"dev@lx-consulting.fr"},"repository":{"url":"git+https://github.com/captivationsoftware/react-sticky.git","type":"git"},"_npmVersion":"6.2.0","description":"Sticky component for React","directories":{},"_nodeVersion":"8.11.2","dependencies":{"raf":"^3.3.0","prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4","jsdom":"8.0.4","mocha":"^5","react":"^15.5.4","enzyme":"^2.8.2","rimraf":"^2.5.2","webpack":"^3.11.0","babel-cli":"^6.23.1","react-dom":"^15.5.4","babel-core":"^6.23.1","babel-loader":"^6.2.10","react-router-dom":"^4.2.2","babel-preset-react":"^6.5.0","webpack-dev-server":"^2.11.1","babel-preset-es2015":"^6.22.0","react-test-renderer":"^15.5.4","babel-preset-stage-0":"^6.5.0","babel-plugin-transform-class-properties":"^6.23.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-sticky_6.0.12_1538399585495_0.12900809816123737","host":"s3://npm-registry-packages"}},"6.0.12-1":{"name":"@onedior/react-sticky","version":"6.0.12-1","keywords":["react-component","React","Sticky"],"author":{"name":"Captivation Software"},"license":"MIT","_id":"@onedior/react-sticky@6.0.12-1","maintainers":[{"name":"alacroix","email":"dev@lx-consulting.fr"}],"homepage":"https://github.com/captivationsoftware/react-sticky","bugs":{"url":"https://github.com/captivationsoftware/react-sticky/issues"},"dist":{"shasum":"b954a083e3a9a1faf5e7d1699c1ac29a2d653295","tarball":"https://registry.npmjs.org/@onedior/react-sticky/-/react-sticky-6.0.12-1.tgz","fileCount":12,"integrity":"sha512-A/TfNV6pcmMJ1AaCgHKMVeNLhBN+qCEGa6qnX/+oKIK0Pr3RW9eRH9Nrf+6Egl+rcO9JZT/K0DdZFX7Tua/lsA==","signatures":[{"sig":"MEYCIQDNm3fJK9fuJl8LIZxh7/I6VPU/Ns/7GkfRmaaNv/cSxwIhAPg/Vtmo5pD5GOPB17vbKm93niIoyXkrPfS3zvFrAV7q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsivDCRA9TVsSAnZWagAAkM4QAIE7L3vAJmNuz+4ZmXKK\nqULt370Cjbkc24tAhHv2EDF+5HFrWwWX9MQAdG2Q6IMStpiueGes12UZ0v1N\nHnVt0GniYED2XLf5y8raUUYwHVmYydelIRnVmaYujn1sE4EaN9n3TJuAVwIC\n5KFwr5CBrU+dS3C5i0mlJFkoW70jMXOPGpBDVQpc/G6RAF+N0nRQBXoy5grN\ns5j1Sj1E8g8weEeFamvlUQhNulzkQTdSb8hOdDrM+8F2IwduYPqjWb5rokwK\nwGKjFLHfsqzjh3RnfiF2it7v7jsgA1YzLRcsRRq04nM4Tc8r9Ikuanrl1596\n6JlxGy1hK7g1IGLwZp7f4EWApo94CDAwnzvKb17OwiU06zFxNAwRU9+nImmD\nE495iAeXYzEcS0uPiCefDi2RTesjP9eRZtbdpCF6ieFIVOpAv3Jk28XtS1nW\ncFU2mvoRcdxIXL9dQbOY1VZAeaO/ight2jhxSVrz9EDqpr07O0UXsSF/ccto\n1hOhAO2Iwte1Gixg08Ox+TTCTSNTwvwaKNkCuuwFWDT0UdPcPn+7Wqz7Bn4N\nN57jwjzwU1bNU8VQpwPrlWgj4MOcwXE3hFvrCwgDeN6kDJLJ4WzO0ilu4PgE\nr2/SzK5GchDDra/5i4IbGG0V/qmZiFYZbVe6PpRjt2Qi18BQToBc6vaNAp6d\nZ168\r\n=KBbv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"985ad632a8fa707e93c66cb0395239124cd924bb","scripts":{"test":"mocha test/setup.js test/spec/*.js","clean":"rimraf lib","compile":"babel src --loose --out-dir lib","prepare":"npm run clean && npm run compile","prepublish":"npm run prepare","demos:build":"NODE_ENV=production webpack -p","demos:start":"webpack-dev-server --watch"},"_npmUser":{"name":"alacroix","email":"dev@lx-consulting.fr"},"repository":{"url":"git+https://github.com/captivationsoftware/react-sticky.git","type":"git"},"_npmVersion":"6.2.0","description":"Sticky component for React","directories":{},"_nodeVersion":"8.11.2","dependencies":{"raf":"^3.3.0","prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4","jsdom":"8.0.4","mocha":"^5","react":"^15.5.4","enzyme":"^2.8.2","rimraf":"^2.5.2","webpack":"^3.11.0","babel-cli":"^6.23.1","react-dom":"^15.5.4","babel-core":"^6.23.1","babel-loader":"^6.2.10","react-router-dom":"^4.2.2","babel-preset-react":"^6.5.0","webpack-dev-server":"^2.11.1","babel-preset-es2015":"^6.22.0","react-test-renderer":"^15.5.4","babel-preset-stage-0":"^6.5.0","babel-plugin-transform-class-properties":"^6.23.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-sticky_6.0.12-1_1538403267131_0.9579039899910795","host":"s3://npm-registry-packages"}},"6.0.12-2":{"name":"@onedior/react-sticky","version":"6.0.12-2","keywords":["react-component","React","Sticky"],"author":{"name":"Captivation Software"},"license":"MIT","_id":"@onedior/react-sticky@6.0.12-2","maintainers":[{"name":"alacroix","email":"dev@lx-consulting.fr"}],"homepage":"https://github.com/captivationsoftware/react-sticky","bugs":{"url":"https://github.com/captivationsoftware/react-sticky/issues"},"dist":{"shasum":"3e30169eeed3d24e61107f3a0784ffd4f4b8a834","tarball":"https://registry.npmjs.org/@onedior/react-sticky/-/react-sticky-6.0.12-2.tgz","fileCount":12,"integrity":"sha512-0BtlxfqPf3+bfXEoLJ7ebubkg2oqYemwBBOxDnWnlVDiX519DWXYpltqnL2ou10220YbdBugdk5bTv815xuSXg==","signatures":[{"sig":"MEUCIQDn+QwfcTsufkGX/FjlEEAZTvoCheLZjieHQ61sV5/oUQIgdHv6VvDz4mrOHEWCNpmcEOOLmgvvhQr8mnyNt+laqgk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsjDVCRA9TVsSAnZWagAAIT8P+gPZrzj5WF66znvSdXoK\nJyJSwkrCgqHgoP8q4Dvifo2wylzWd5Xd61cCLtR0Kkh+C1QYv/t9vXKf8tdV\nNzy21OIfi1p+AAsk5AHE0fVDyiF4uYKDPsqgnQvoPl/b1+BswVa5+o8mIGHK\nZw6l9dVcCDVQJYuAchC7jg91CSW4ibOxTPPNswIb0dzN89aZl6K42h6YAR+M\nKyh/EHprXGrKVFBS1x3yYTOH9EbphR4HZ+1u7dlYC898glyiokeBxz1fu1aa\n/U1ObPRLw5kXcyjXSNQSbDe/z+ReqwkTjNMZxfYiv8wgh1VexeRAd60hHj+r\nrHlaoJPyVjqWbDvE0cdmANcTuAzc4Jvw7HmOO+4bvaiIgNyz2onINfm3JAYT\nXtKHLkLzewvtvse7hDk9hwdrxME99h+rbfSmp6cuByZMp4DHB785Au1zoW4d\n4RgVjR1V+dZYrTC9OKmf29mCyVZE/KHANfj7QbEc11JrFhf+314rRyPieFAf\ncrxr8BUIZlTw922hybh/LN4hk7IEw+46lmHFO4MQ/KSHcx+w/h8pewevK8rH\njUM8i+o2HOi93h1O5mkr4zIRwYOV2aPQifGIqUymNC1h6lFSfdHvgomCYNh7\n4TSIzlAcO20aXooH7QUoI9DMqn/uDZN2Hd+38losp/enqZBeNIpQD4enJN0j\njE5X\r\n=eZYX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"3dca89d59981410b389520e0baa625c6e36cfadf","scripts":{"test":"mocha test/setup.js test/spec/*.js","clean":"rimraf lib","compile":"babel src --loose --out-dir lib","prepare":"npm run clean && npm run compile","prepublish":"npm run prepare","demos:build":"NODE_ENV=production webpack -p","demos:start":"webpack-dev-server --watch"},"_npmUser":{"name":"alacroix","email":"dev@lx-consulting.fr"},"repository":{"url":"git+https://github.com/captivationsoftware/react-sticky.git","type":"git"},"_npmVersion":"6.2.0","description":"Sticky component for React","directories":{},"_nodeVersion":"8.11.2","dependencies":{"raf":"^3.3.0","prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4","jsdom":"8.0.4","mocha":"^5","react":"^15.5.4","enzyme":"^2.8.2","rimraf":"^2.5.2","webpack":"^3.11.0","babel-cli":"^6.23.1","react-dom":"^15.5.4","babel-core":"^6.23.1","babel-loader":"^6.2.10","react-router-dom":"^4.2.2","babel-preset-react":"^6.5.0","webpack-dev-server":"^2.11.1","babel-preset-es2015":"^6.22.0","react-test-renderer":"^15.5.4","babel-preset-stage-0":"^6.5.0","babel-plugin-transform-class-properties":"^6.23.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-sticky_6.0.12-2_1538404564705_0.47443792400400464","host":"s3://npm-registry-packages"}},"6.0.13":{"name":"@onedior/react-sticky","version":"6.0.13","keywords":["react-component","React","Sticky"],"author":{"name":"Captivation Software"},"license":"MIT","_id":"@onedior/react-sticky@6.0.13","maintainers":[{"name":"alacroix","email":"dev@lx-consulting.fr"}],"homepage":"https://github.com/captivationsoftware/react-sticky","bugs":{"url":"https://github.com/captivationsoftware/react-sticky/issues"},"dist":{"shasum":"65f8987334740a5542036a4ff48081857e35cd01","tarball":"https://registry.npmjs.org/@onedior/react-sticky/-/react-sticky-6.0.13.tgz","fileCount":12,"integrity":"sha512-wp5y/EWLIIIwG3sJmYehACajbQpIkT7i8+ys5YXa4t8NxphlCUCb6NpXUublmGOOB/09zatG/tbUP3PEEQ1hkw==","signatures":[{"sig":"MEQCIB0Dx9WX5lbAfDpARbd83m7aAhVeoLNnQziucWoiOldSAiBMtEUTxMqM4AcRlS642URzWZ6piRY4hCP4fGZzDNaTIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221426,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsjbGCRA9TVsSAnZWagAAMBkP/iAaWtCjKsliu5Hkigm9\nebXIdorP702rdH1B0fGuS83qfSi7hdlXEBg0EsWVJr8fwtm3c6LquqQm3EYe\nvWQLhM7K3q4HN/tJr7vFVeqizjvZtSAKeYgW1p0VowEzXKsyyh59vq707Vyx\nU65WGLxgYaGFKvPEhqlL+D76Z+Czj2NMM5mLYlqHcEGEFrMU0xcRlAmQW1RG\n2URuBZqOY88fntJ2lQinQEt4PnrVFlz6OsN8w+xsEa17kuwVB3I7zNYaqiV1\nNsq5EzXiKJwXc1X0vVRZ2/9UtejVkaQ283DQqKxXzn62yookSwZK9ZjCQyXr\nECwqc+N1hYrUUztA1NR+XI4XNdFVcMwgsfWTrDAXMjn+NCdTDgH3eAop+Ae+\nuA9u3Y+4BYhDchiSNn7aW13qy2KqpODcW8HkUe2/+krttNRgPNbtRr3nOXPs\nE6bkgVtp9syALOyj75XQTE6xSv4K0S038HiRg+IrwkFA21sJ7k0rg017C8xD\nFz+8j6+Yx+xod6rgnDhJZVl4edJyNAW2hoR6Qzraw4RS6GQPljh0Lbs+Jevs\nGEC4QoEOlYdiHJVXfctVdBuVcW660WLxmVcUarCxYmoqu2X5ERpf4Jz2M99o\n4K/aUabK4uaPSShl51bKYQLXcFWXW9fj+SwqhRjBwh+cvMKOgycaX6IHThL6\n+MUY\r\n=CFjk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"e3ecd3ff933b1e8da3089372437b3b0e9c7ce68b","scripts":{"test":"mocha test/setup.js test/spec/*.js","clean":"rimraf lib","compile":"babel src --loose --out-dir lib","prepare":"npm run clean && npm run compile","prepublish":"npm run prepare","demos:build":"NODE_ENV=production webpack -p","demos:start":"webpack-dev-server --watch"},"_npmUser":{"name":"alacroix","email":"dev@lx-consulting.fr"},"repository":{"url":"git+https://github.com/captivationsoftware/react-sticky.git","type":"git"},"_npmVersion":"6.2.0","description":"Sticky component for React","directories":{},"_nodeVersion":"8.11.2","dependencies":{"raf":"^3.3.0","prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4","jsdom":"8.0.4","mocha":"^5","react":"^15.5.4","enzyme":"^2.8.2","rimraf":"^2.5.2","webpack":"^3.11.0","babel-cli":"^6.23.1","react-dom":"^15.5.4","babel-core":"^6.23.1","babel-loader":"^6.2.10","react-router-dom":"^4.2.2","babel-preset-react":"^6.5.0","webpack-dev-server":"^2.11.1","babel-preset-es2015":"^6.22.0","react-test-renderer":"^15.5.4","babel-preset-stage-0":"^6.5.0","babel-plugin-transform-class-properties":"^6.23.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-sticky_6.0.13_1538406086147_0.3689643159721048","host":"s3://npm-registry-packages"}},"6.0.14":{"name":"@onedior/react-sticky","version":"6.0.14","keywords":["react-component","React","Sticky"],"author":{"name":"Captivation Software"},"license":"MIT","_id":"@onedior/react-sticky@6.0.14","maintainers":[{"name":"alacroix","email":"dev@lx-consulting.fr"}],"homepage":"https://github.com/captivationsoftware/react-sticky","bugs":{"url":"https://github.com/captivationsoftware/react-sticky/issues"},"dist":{"shasum":"e5d4a6c44da75f53d9b3f5819f3ef6c1bd740bef","tarball":"https://registry.npmjs.org/@onedior/react-sticky/-/react-sticky-6.0.14.tgz","fileCount":12,"integrity":"sha512-0Vzlh0jOF4T91u/L6mVxBfmaOwtzRdoTEQGao1czBu+bq1WrHooi7Dh0xIxn7Iwp2y4QyQSOHX92WOTUg46duA==","signatures":[{"sig":"MEUCIQCza/v8uqRgN8PP9JDnoSeLCc3E53ObXuWFur8IoFUsrwIgPQb5WOhRPBkHrp94yZrJlQmusNy0x2ao1mZTiNl1W3k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":221561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbszPgCRA9TVsSAnZWagAACXEP/jM1FbnKeyOLt8vP8iUO\n1Yo6tTkXOBZJO5qW/6GMNoEP3zqCaJsnKIiJ157YzFFx3no1+VJZKDjqaiyB\nVxlknR2Xm1mQ8BgKF13sMZPY/TPupSUCAT6Ok1x71FFtAfddNQ2vssjserXD\nL7BsSTRA/+HruPY1DL00o6GeS2enBMG4WTbeipbEtKXu7zDnYUxVO/EN1e7A\nNQF6HcZhmCiDbUdxXv1g6mDyhHOdRjU/YoC3rh7qb84Lluispi2krH8HrujA\naIrdwJB150CCOqAtf8fs7AhTXwlE4gzBjYpd1kdrlaj0O5TSBCUEo9SKCL5K\n5asbHcKrtkwSFosaCeKq0KXo+xk61Ywhhve8vjeJUWjfVFcX1MJRUavSzrvg\ngF2KPZ+eJqZrE9tyveUbniMOiVHP94rwfIz4MX7JJ5XhU7LBxPOeIH9mgt+h\n38ROjSSLpV0sCByfppFpIJCeapPSvoCi4L+9hvKQpgONhV5bMfyq+XZ337W6\nYLiu9qpPuNSDfnU26PQMbo0oFk5hM8aHLILoNx4/EglT+RAnvFZ1FDZglNMT\nfxBXYMN0gl4XNQclj5G4/ucvNyNNxEhqWi9wS9obejot/nsChOhk6083Ak4E\nEIXV1UAje3XJpBuWgPeF0N69AJIFU27nxKBou2r2TjSR7b2KKoy8A173olMk\n24Z9\r\n=WeZs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"fedbb95b89a557fb763072870f4410e3a7a918d4","scripts":{"test":"mocha test/setup.js test/spec/*.js","clean":"rimraf lib","compile":"babel src --loose --out-dir lib","prepare":"npm run clean && npm run compile","prepublish":"npm run prepare","demos:build":"NODE_ENV=production webpack -p","demos:start":"webpack-dev-server --watch"},"_npmUser":{"name":"alacroix","email":"dev@lx-consulting.fr"},"repository":{"url":"git+https://github.com/captivationsoftware/react-sticky.git","type":"git"},"_npmVersion":"6.2.0","description":"Sticky component for React","directories":{},"_nodeVersion":"8.11.2","dependencies":{"raf":"^3.3.0","prop-types":"^15.5.8"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4","jsdom":"8.0.4","mocha":"^5","react":"^15.5.4","enzyme":"^2.8.2","rimraf":"^2.5.2","webpack":"^3.11.0","babel-cli":"^6.23.1","react-dom":"^15.5.4","babel-core":"^6.23.1","babel-loader":"^6.2.10","react-router-dom":"^4.2.2","babel-preset-react":"^6.5.0","webpack-dev-server":"^2.11.1","babel-preset-es2015":"^6.22.0","react-test-renderer":"^15.5.4","babel-preset-stage-0":"^6.5.0","babel-plugin-transform-class-properties":"^6.23.0"},"peerDependencies":{"react":">=15","react-dom":">=15"},"_npmOperationalInternal":{"tmp":"tmp/react-sticky_6.0.14_1538470879070_0.36200664271845095","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-09-28T13:54:48.291Z","modified":"2025-01-14T14:16:54.502Z","6.0.4":"2018-09-28T13:54:48.550Z","6.0.5":"2018-10-01T10:02:16.579Z","6.0.6":"2018-10-01T10:09:51.634Z","6.0.7":"2018-10-01T12:18:29.505Z","6.0.8":"2018-10-01T12:26:25.477Z","6.0.9":"2018-10-01T12:30:51.717Z","6.0.10":"2018-10-01T12:34:25.383Z","6.0.11":"2018-10-01T13:01:55.700Z","6.0.12":"2018-10-01T13:13:05.600Z","6.0.12-1":"2018-10-01T14:14:27.337Z","6.0.12-2":"2018-10-01T14:36:04.811Z","6.0.13":"2018-10-01T15:01:26.240Z","6.0.14":"2018-10-02T09:01:19.250Z"},"bugs":{"url":"https://github.com/captivationsoftware/react-sticky/issues"},"author":{"name":"Captivation Software"},"license":"MIT","homepage":"https://github.com/captivationsoftware/react-sticky","keywords":["react-component","React","Sticky"],"repository":{"url":"git+https://github.com/captivationsoftware/react-sticky.git","type":"git"},"description":"Sticky component for React","maintainers":[{"email":"psabouret9@gmail.com","name":"izi-p"},{"email":"melanie.duverger@sfr.fr","name":"melanieduverger"},{"email":"audric.debladis@gmail.com","name":"drico56"}],"readme":"# react-sticky [![Build Status](https://travis-ci.org/captivationsoftware/react-sticky.svg?branch=master)](https://travis-ci.org/captivationsoftware/react-sticky)\n\nMake your React components sticky!\n\n#### Demos\n\n* [Basic](http://react-sticky.netlify.com/#/basic)\n* [Relative](http://react-sticky.netlify.com/#/relative)\n* [Stacked](http://react-sticky.netlify.com/#/stacked)\n\n#### Version 6.x Highlights\n\n* Completely redesigned to support sticky behavior via higher-order component, giving you ultimate control of implementation details\n* Features a minimal yet efficient API\n* Drops support for versions of React < 15.3. If you are using an earlier version of React, continue to use the 5.x series\n\n#### CSS\nThere's a CSS alternative to `react-sticky`: the `position: sticky` feature. However it currently does not have [full browser support](https://caniuse.com/#feat=css-sticky), specifically a lack of IE11 support and some bugs with table elements. Before using `react-sticky`, check to see if the browser support and restrictions prevent you from using `position: sticky`, as CSS will always be faster and more durable than a JS implementation.\n```css\nposition: -webkit-sticky;\nposition: sticky;\ntop: 0;\n```\n\n## Installation\n\n```sh\nnpm install react-sticky\n```\n\n## Overview & Basic Example\n\nThe goal of `react-sticky` is make it easier for developers to build UIs that have sticky elements. Some examples include a sticky navbar, or a two-column layout where the left side sticks while the right side scrolls.\n\n`react-sticky` works by calculating the position of a `<Sticky>` component relative to a `<StickyContainer>` component. If it would be outside the viewport, the styles required to affix it to the top of the screen are passed as an argument to a render callback, a function passed as a child.\n\n```js\n<StickyContainer>\n  <Sticky>{({ style }) => <h1 style={style}>Sticky element</h1>}</Sticky>\n</StickyContainer>\n```\n\nThe majority of use cases will only need the style to pass to the DOM, but some other properties are passed for advanced use cases:\n\n* `style` _(object)_ - modifiable style attributes to optionally be passed to the element returned by this function. For many uses, this will be the only attribute needed.\n* `isSticky` _(boolean)_ - is the element sticky as a result of the current event?\n* `wasSticky` _(boolean)_ - was the element sticky prior to the current event?\n* `distanceFromTop` _(number)_ - number of pixels from the top of the `Sticky` to the nearest `StickyContainer`'s top\n* `distanceFromBottom` _(number)_ - number of pixels from the bottom of the `Sticky` to the nearest `StickyContainer`'s bottom\n* `calculatedHeight` _(number)_ - height of the element returned by this function\n\nThe `Sticky`'s child function will be called when events occur in the parent `StickyContainer`,\nand will serve as the callback to apply your own logic and customizations, with sane `style` attributes\nto get you up and running quickly.\n\n### Full Example\n\nHere's an example of all of those pieces together:\n\napp.js\n\n```js\nimport React from 'react';\nimport { StickyContainer, Sticky } from 'react-sticky';\n// ...\n\nclass App extends React.Component {\n  render() {\n    return (\n      <StickyContainer>\n        {/* Other elements can be in between `StickyContainer` and `Sticky`,\n        but certain styles can break the positioning logic used. */}\n        <Sticky>\n          {({\n            style,\n\n            // the following are also available but unused in this example\n            isSticky,\n            wasSticky,\n            distanceFromTop,\n            distanceFromBottom,\n            calculatedHeight\n          }) => (\n            <header style={style}>\n              {/* ... */}\n            </header>\n          )}\n        </Sticky>\n        {/* ... */}\n      </StickyContainer>\n    );\n  },\n};\n```\n\nWhen the \"stickiness\" becomes activated, the arguments to the sticky function\nare modified. Similarly, when deactivated, the arguments will update accordingly.\n\n### `<StickyContainer />` Props\n\n`<StickyContainer />` supports all valid `<div />` props.\n\n### `<Sticky />` Props\n\n#### relative _(default: false)_\n\nSet `relative` to `true` if the `<Sticky />` element will be rendered within\nan overflowing `<StickyContainer />` (e.g. `style={{ overflowY: 'auto' }}`) and you want\nthe `<Sticky />` behavior to react to events only within that container.\n\nWhen in `relative` mode, `window` events will not trigger sticky state changes. Only scrolling\nwithin the nearest `StickyContainer` can trigger sticky state changes.\n\n#### topOffset _(default: 0)_\n\nSticky state will be triggered when the top of the element is `topOffset` pixels from the top of the closest `<StickyContainer />`. Positive numbers give the impression of a lazy sticky state, whereas negative numbers are more eager in their attachment.\n\napp.js\n\n```js\n<StickyContainer>\n  ...\n  <Sticky topOffset={80}>\n    { props => (...) }\n  </Sticky>\n  ...\n</StickyContainer>\n```\n\nThe above would result in an element that becomes sticky once its top is greater than or equal to 80px away from the top of the `<StickyContainer />`.\n\n#### bottomOffset _(default: 0)_\n\nSticky state will be triggered when the bottom of the element is `bottomOffset` pixels from the bottom of the closest `<StickyContainer />`.\n\napp.js\n\n```js\n<StickyContainer>\n  ...\n  <Sticky bottomOffset={80}>\n    { props => (...) }\n  </Sticky>\n  ...\n</StickyContainer>\n```\n\nThe above would result in an element that ceases to be sticky once its bottom is 80px away from the bottom of the `<StickyContainer />`.\n\n#### disableCompensation _(default: false)_\n\nSet `disableCompensation` to `true` if you do not want your `<Sticky />` to apply padding to\na hidden placeholder `<div />` to correct \"jumpiness\" as attachment changes from `position:fixed`\nand back.\n\napp.js\n\n```js\n<StickyContainer>\n  ...\n  <Sticky disableCompensation>\n    { props => (...) }\n  </Sticky>\n  ...\n</StickyContainer>\n```\n\n#### disableHardwareAcceleration _(default: false)_\n\nWhen `disableHardwareAcceleration` is set to `true`, the `<Sticky />` element will not use hardware acceleration (e.g. `transform: translateZ(0)`). This setting is not recommended as it negatively impacts\nthe mobile experience, and can usually be avoided by improving the structure of your DOM.\n\napp.js\n\n```js\n<StickyContainer>\n  ...\n  <Sticky disableHardwareAcceleration>\n    { props => (...) }\n  </Sticky>\n  ...\n</StickyContainer>\n```\n","readmeFilename":"README.md"}