{"_id":"detect-element-overflow","_rev":"12-27e7c7f256e47b4fc627a9adee2c9100","name":"detect-element-overflow","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.1-alpha":{"name":"detect-element-overflow","version":"0.0.1-alpha","keywords":["overflow","collision"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@0.0.1-alpha","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/detect-element-overflow#readme","bugs":{"url":"https://github.com/wojtekmaj/detect-element-overflow/issues"},"es6":"src/entry.js","dist":{"shasum":"221477b7ced01109d12b678be6bd9252bf45b7fa","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-0.0.1-alpha.tgz","integrity":"sha512-fOSH/DxRRcfWQ7yC4PfEhTJ+DpkvAUAtCf3Q4hzMjj+Yj9XdXVzXPxTz3Y2FPt7h44tIpUbSmFs9snsLC4Ubjg==","signatures":[{"sig":"MEUCIEoHijku+GFJkkj3ChAr608rX6FXgF3tCXcoUJLtswCXAiEApN4llQjC5RpBPlQpqH9pJlZABictWiNVXUC/2ABjY6o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/entry.js","gitHead":"9cb21187975f21976a0915d5616917b46160199c","scripts":{"test":"npm run test-eslint","build":"babel src -d build --ignore **/__tests__","test-eslint":"eslint ./src","prepublishOnly":"npm run build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"git+https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"_npmVersion":"5.3.0","description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"_nodeVersion":"8.4.0","devDependencies":{"eslint":"^4.6.0","babel-cli":"^6.26.0","babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1","eslint-plugin-import":"^2.7.0","eslint-config-airbnb-base":"^12.0.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow-0.0.1-alpha.tgz_1504643825368_0.33684910275042057","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"detect-element-overflow","version":"1.0.0","keywords":["overflow","collision"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.0.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/detect-element-overflow#readme","bugs":{"url":"https://github.com/wojtekmaj/detect-element-overflow/issues"},"es6":"src/entry.js","dist":{"shasum":"942af1c16d4d112155e72f95284d19d817fd5b96","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.0.0.tgz","integrity":"sha512-SFeHuy3yaUQIbxupndEwT+6ggZczXEizOzZ27rdG83oteebIHtf7aB4U6PzU80hhcFDZrKfrqdxt/z+To+fwcA==","signatures":[{"sig":"MEUCIE+PGid69O05zNhR6rqnuSNw3HbcL0kMm81H2LHl+//GAiEAsalfhBbHc129eH/ndjZrsKg1uQlg7k+HywoUkog/u4Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/entry.js","gitHead":"9cb21187975f21976a0915d5616917b46160199c","scripts":{"test":"npm run test-eslint","build":"babel src -d build --ignore **/__tests__","test-eslint":"eslint ./src","prepublishOnly":"npm run build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"git+https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"_npmVersion":"5.3.0","description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"_nodeVersion":"8.4.0","devDependencies":{"eslint":"^4.6.0","babel-cli":"^6.26.0","babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1","eslint-plugin-import":"^2.7.0","eslint-config-airbnb-base":"^12.0.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow-1.0.0.tgz_1504735007337_0.82082882639952","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"detect-element-overflow","version":"1.1.0","keywords":["overflow","collision"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.1.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/detect-element-overflow#readme","bugs":{"url":"https://github.com/wojtekmaj/detect-element-overflow/issues"},"es6":"src/entry.js","dist":{"shasum":"5de7b38064349daddba9214d0ced79922cd689fc","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.1.0.tgz","integrity":"sha512-Nby2yAqrLQFC8FrZmQmjM9fC2MrGP8LU3+y7bcdvxUERmPPV6Tnbff5MdQfmhd22U4+89NLevIFHlDDjdI7v9Q==","signatures":[{"sig":"MEYCIQD62b0i4suEkUEUwje7BpZ4TuT91+Ik4LDwdsSxpKh1qAIhAJVjPt08lKKNsgHn4b8Johx5S9IbCryZwUeSpaKpKGbu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/entry.js","gitHead":"58f82f83454a98a0221195a2a0ea49e3974ebc62","scripts":{"test":"npm run test-eslint","build":"babel src -d build --ignore **/__tests__","test-eslint":"eslint ./src","prepublishOnly":"npm run build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"git+https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"_npmVersion":"5.3.0","description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"_nodeVersion":"8.4.0","devDependencies":{"eslint":"^4.6.0","babel-cli":"^6.26.0","babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1","eslint-plugin-import":"^2.7.0","eslint-config-airbnb-base":"^12.0.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow-1.1.0.tgz_1505041217222_0.9426164417527616","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"detect-element-overflow","version":"1.1.1","keywords":["overflow","collision"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.1.1","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/detect-element-overflow#readme","bugs":{"url":"https://github.com/wojtekmaj/detect-element-overflow/issues"},"es6":"src/entry.js","dist":{"shasum":"771c50ec9d69f487477fef9728db0766a8f6962d","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.1.1.tgz","integrity":"sha512-07f/EWuaPHU2JqPLg1JPuNaf47h+A5dt70EHO+X+U1zzSuAsgmI5qAU3kP1bCMICYmuvMrcqEZOIxiLB9d8zdg==","signatures":[{"sig":"MEYCIQCcFfya9c1bPiES9/Vdmc0NYOC+YUooxED59SbUTbsLdgIhANTtNSMLERU14euIRvbiCULJ5yCcMrUT+DGtE6dd5TGl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/entry.js","files":["LICENSE","README.md","dist/","src/"],"gitHead":"13231cdc4673eb40aef38009f8013a4c943d15bb","scripts":{"test":"npm run test-eslint","build":"babel src -d dist --ignore **/__tests__","test-eslint":"eslint ./src","prepublishOnly":"npm run build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"git+https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"_npmVersion":"5.5.1","description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"_nodeVersion":"8.9.1","devDependencies":{"eslint":"^4.13.1","babel-cli":"^6.26.0","babel-eslint":"^8.0.3","babel-preset-env":"^1.6.1","babel-preset-stage-2":"^6.24.1","eslint-plugin-import":"^2.8.0","eslint-config-airbnb-base":"^12.1.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow-1.1.1.tgz_1513564474045_0.12022272078320384","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"detect-element-overflow","version":"1.2.0","keywords":["collision","collision-detection","position"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.2.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"86e504292ffedc3aef813395fbdf0261aaf6afa9","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.2.0.tgz","fileCount":11,"integrity":"sha512-Jtr9ivYPhpd9OJux+hjL0QjUKiS1Ghgy8tvIufUjFslQgIWvgGr4mn57H190APbKkiOmXnmtMI6ytaKzMusecg==","signatures":[{"sig":"MEUCIQDCYB4g2YkIdYaH+4GIkI1iYawaXxf1AIaVbXUl5VENHwIgPb4veWuCWAWJDHPUQTuEle137arIY2QMSQRUSKKnaSA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvx6aCRA9TVsSAnZWagAAFmwP/0FnH/PsPgedGci9r59y\niDLYjuwjmw9iV0/whdM8u0g8J6bkhBvlcwNDYJ6ByLTxpYd4o4tYqfyKfX1P\nOO3na6fusvzr/tae6Aekk4EJReAVNaD5HwoUnOkR9rpri5GH2TuD5Nskrqon\nH2IpgsWyNer9QDSp1D81njAxjoaEClP75VNnfPfVAt/G96zW3Jx6/XHrlF8i\nkQszDIKl+f7nNE2mN1tb5+r7VsxPd6YfOS4kVCRECK9DoStFLBGHDDG3q24s\nKEvebDGXm/qOr0OIW/ek/3sJ8JjVagiBRwdGv/H8R60WnuoG2kZ8xcmC8+T6\ngJ/aMgrXEu6dXRUfl87x3iwUBzgw97kWZTwrM40+vblVXpKGO4J5llak1ZTi\nZQ33IHdV/02NLeNPKLmkv066f/kyoZoe7bErkHOZdFH8K3noVoCO9j7Zzd7f\nLSDD5ie0tpaKVTxo4Uf81KO5PDkLWLIqfpVe0EClALS3iloz9FBAWOXoo81H\nesEU5RIjYN/ZMwHLgTG1tq0y1Ijk2qNOV3LYGDPyzpnwLKV6geVch8R1XfpE\n/SS5sHHpiaC7vAnSCyv2OFtOQNteU2Xen3/lnJTz78F89NNpDIs1ke0F+aZ2\nPsotjc3eh02RMNbl7lpEqEaLmjINx0ipg4wT8y9mWsS5N9rhC4CqDbJT/ggF\neOxm\r\n=XxCt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/umd/index.js","module":"dist/esm/index.js","source":"src/index.js","scripts":{"lint":"eslint src/ --ext .jsx,.js","test":"yarn lint","build":"yarn build-esm && yarn build-umd","clean":"rimraf dist","build-esm":"BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js","build-umd":"BABEL_ENV=production-umd babel src -d dist/umd --ignore **/*.spec.js","prepublishOnly":"yarn clean && yarn build"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2017-2019 Wojciech Maj\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"eslint":"^6.1.0","rimraf":"^3.0.0","@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","eslint-plugin-import":"^2.18.2","eslint-config-airbnb-base":"^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow_1.2.0_1572806298062_0.846739423217828","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"detect-element-overflow","version":"1.3.0","keywords":["collision","collision-detection","position"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.3.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"17d83db4b9055f863ea784b6a66b4ee09de589bf","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.3.0.tgz","fileCount":8,"integrity":"sha512-/VHnPaQqFHoQm067JnVpBFt2rhS2RF+x1OVCjUUQSvk66UhSbpCbUb5ir1HQaqvsoLIWW0ZbRpeYybQcXOCfGA==","signatures":[{"sig":"MEUCIQCOmz/p+B9eYXVx0VhClFLwTtjZTboeYicGt8XeLtgm2AIgNPJrUjwoadibiYEDh8v8iOSvstk5Z3an7nhZpc4fL7Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10137,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvTx1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqswg/9EmSTKXiyO9Yyv6fvR15Z1NB4fvDnjhZ9cvh0Sov3BNuqAmwf\r\nCt0JOmZJR77e7v+DCUrFF/xpV/uUIS2UhWOYAZ/IJmKyqa/0H3T5ewwBX5rx\r\nTp2RZoXcBrl2i66flLMHpC/XYODN7YFrRvXmXnJAEJRT8BK8hYDe5D92+iQd\r\nWlsbKS8SUXe4uPEgP19aQw44159A28l2BzNo89aObuGC1yM5vjzwhtZTvazZ\r\nB0IJTSLC/FIJ+meUatOPUTsjHerf8E1XUbsyChzPJFvKcc68hccB/I4GHmjl\r\nkr2ddExiA4bTQSxoP1f/9+9j930fNyEYt+Da3QYBft/swPSWwZFjW5sR4LBp\r\nL8v8k3eC9rj+kxJNYxMDCDKP6ODEzDs0Pd4R5M3Ilv2o/NkXi1s7hYhQVA3t\r\n/Cc9iQE8fTaIjh7xLt/V4t6NV033BRwf0orJvT5HCezWmvYgTSaVzrQjI/C7\r\nwsGiiZ04HRvQt34cjoGtwP3pO9HAWQGAhObHwE8EaKnqUy4EgB0cLm7G8hhQ\r\nGK9InFYrJFQf+qTrp/Qw0LhkfB0R283r/N55uSdmB8YASPBeBndk7bDtkb2/\r\n1v/EAngD/dBGgHbcYrN1t2slhsFrGvB0p20MueHKkAW+83Nvi9cKrUP+kADE\r\n1QwQHM2M7MDGKWe389RLyMrEYq+n/iJAHAw=\r\n=BFJx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"src/index.ts","module":"dist/esm/index.js","source":"src/index.ts","funding":"https://github.com/wojtekmaj/detect-element-overflow?sponsor=1","gitHead":"16d1ae5d42de393ef010d5fcc1ad5fe89cd2b8c4","scripts":{"tsc":"tsc --noEmit","lint":"eslint src","test":"yarn lint && yarn tsc && yarn prettier","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"resolutions":{"semver@7.0.0":"^7.0.0"},"sideEffects":false,"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","prettier":"^2.7.0","@babel/cli":"^7.15.0","typescript":"^4.9.4","@babel/core":"^7.15.0","pretty-quick":"^3.1.0","@babel/preset-env":"^7.15.0","eslint-config-wojtekmaj":"^0.7.1","@babel/preset-typescript":"^7.18.6","@typescript-eslint/parser":"^5.44.0","@typescript-eslint/eslint-plugin":"^5.41.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow_1.3.0_1673346164816_0.4838556302428565","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"detect-element-overflow","version":"1.3.1","keywords":["collision","collision-detection","position"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.3.1","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"1a83f11abfd70c4dec750f214c7d7808c5c19638","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.3.1.tgz","fileCount":8,"integrity":"sha512-E29Axx3pyotgg3j5HUbusTTarjPUHsC02p7fZ3/cnUufyK0kx5RzRA9waBvrKFWGc/LWiRj3pD9Y3y+mymMYiQ==","signatures":[{"sig":"MEYCIQDhtBuvFeg3QJ9u9orhzZ65BuSamxkevDPjQ/sek/ib4QIhAKTf7Cf6lLnGFpWQb1DPySktHOZfD75vhzBDf2yE3z5O","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj23HsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnZQ/+Puv7BDkXjYQyRY5vjSPk2alDjMGHgo6wtaQpbh2lASkzuih/\r\nzqTn+Kkk4YMSCuKSIQ/UjFwHxdRmhPFe6s+ckzbNFZGRR6QLMRkWCiKkXV8P\r\nCLdRB4NXO81pjZTtcOp+60HfhWJK7i8Vw9TIvKc9V7PCHhSh5UVQ3Y+H0DxN\r\nTOJ7i0KCgnzwRYUgHgzvahbCccLyBlYD63Ve5BfAFeAOCHpIgwWBAQCWxXyp\r\nwdY1tityvx8+E1j9NAIpmTMZ0rV2AHtqQJ4Ib+cK7YIviwr+eClz99luYO1A\r\n7FGIrNL40PFO76xp4GMFi17hLRxO1L5i5UY8PlVFJzp0uQ/bidpwDWwSQWqd\r\n8cfFBIQUBs8reqMkuXgrX8oOFfE1iFa4YYpGYSnTKcH+hg/zwO3Mno2QIWG7\r\nWv89aaen9C9EgEWGG5GJ/mB1k51N29zgTfQZuFv5XpHOfznElqPV7+95Nm7Z\r\nQmW0/hIBJ5qs9T9VYwi43S08JVYhvHBnpMXokwQ2LBZDwE2jDcKzoHQttCxg\r\nWDsN1duI9LfPKw352ka7myGROLItNOLB2uTdD47Cx8O8ERIVuBv33zOTyHUU\r\n6EnKPMDDaKhqiMsYjCBGdur/M7EjSt3MBTmJItnlyrxGCW+CFeDdcZGoys1m\r\nNgA2bg0Q0tSwXVucDue6u6znYqpGat+iYsw=\r\n=qCAH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/cjs/index.d.ts","module":"dist/esm/index.js","source":"src/index.ts","funding":"https://github.com/wojtekmaj/detect-element-overflow?sponsor=1","gitHead":"2bc9cc08f5083d46e5f42012f3b5827d91f6cc08","scripts":{"tsc":"tsc --noEmit","lint":"eslint src","test":"yarn lint && yarn tsc && yarn prettier","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"resolutions":{"semver@7.0.0":"^7.0.0"},"sideEffects":false,"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","prettier":"^2.7.0","@babel/cli":"^7.15.0","typescript":"^4.9.4","@babel/core":"^7.15.0","pretty-quick":"^3.1.0","@babel/preset-env":"^7.15.0","eslint-config-wojtekmaj":"^0.7.1","@babel/preset-typescript":"^7.18.6","@typescript-eslint/parser":"^5.44.0","@typescript-eslint/eslint-plugin":"^5.41.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow_1.3.1_1675325931834_0.5882418986226683","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"detect-element-overflow","version":"1.4.0","keywords":["collision","collision-detection","position"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.4.0","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"50c2b91b97af271453ec43f93cfa2aa33855df27","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.4.0.tgz","fileCount":8,"integrity":"sha512-Z9KUa5MWQxijb4mR6Kl4+odBZt5qaDx7FJTBO3CaT1GecicYXPDidWYYh0LabbCkW1bQl9FOzS0AVJUuyBq0/g==","signatures":[{"sig":"MEUCIQC4gqF59DIEkLIkLUnMYMpcct96v0aiWIYXtM9fE3uaGwIgO4913afbO6+waxNBKe8R4EEG2g+bnEOoAFml4yk0mKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9864},"main":"./dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","source":"./src/index.ts","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"funding":"https://github.com/wojtekmaj/detect-element-overflow?sponsor=1","gitHead":"c76872d70ab6c2b8b65321c8babb0a99f49ab3b9","scripts":{"tsc":"tsc --noEmit","lint":"eslint .","test":"yarn lint && yarn tsc && yarn prettier","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"sideEffects":false,"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","prettier":"^2.7.0","typescript":"^5.0.0","pretty-quick":"^3.1.0","eslint-config-wojtekmaj":"^0.8.4"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow_1.4.0_1685369493637_0.9818830767838933","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"detect-element-overflow","version":"1.4.1","keywords":["collision","collision-detection","position"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.4.1","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"dist":{"shasum":"fc2ff7eb04c03090b289abe45a447b2c78b983b6","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.4.1.tgz","fileCount":9,"integrity":"sha512-6a1wXl5+KbnXhO5FWgKq+omp8km42QLWgd1UYj99SS6o/aYBuTPU/ByI9dLgPYi9aes5TAg62IRoRKpqrDb0PQ==","signatures":[{"sig":"MEQCIFviUoyU87ZYedYTfIV96wf1zgXSJr7XdJfFaXXrijYTAiA9yNtjKrNZcy79fFRJ+IuLNIFrXm3HKxI4mAzJ0B6fLg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9954},"main":"./dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","source":"./src/index.ts","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"funding":"https://github.com/wojtekmaj/detect-element-overflow?sponsor=1","gitHead":"bc849cdfacfb698f957dcd650abaac0d8723f2f4","scripts":{"tsc":"tsc --noEmit","lint":"eslint .","test":"yarn lint && yarn tsc && yarn prettier","build":"yarn build-esm && yarn build-cjs","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs && echo '{\n  \"type\": \"commonjs\"\n}' > dist/cjs/package.json","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm --module esnext"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"repository":{"url":"https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"sideEffects":false,"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","prettier":"^2.7.0","typescript":"^5.0.0","pretty-quick":"^3.1.0","eslint-config-wojtekmaj":"^0.8.4"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow_1.4.1_1685381154833_0.9080148568725728","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"detect-element-overflow","version":"1.4.2","keywords":["collision","collision-detection","position"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","_id":"detect-element-overflow@1.4.2","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"homepage":"https://github.com/wojtekmaj/detect-element-overflow#readme","bugs":{"url":"https://github.com/wojtekmaj/detect-element-overflow/issues"},"dist":{"shasum":"2e48509e5aa07647f4335b5f4f52c146b92f99c5","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-1.4.2.tgz","fileCount":9,"integrity":"sha512-4m6cVOtvm/GJLjo7WFkPfwXoEIIbM7GQwIh4WEa4g7IsNi1YzwUsGL5ApNLrrHL29bHeNeQ+/iZhw+YHqgE2Fw==","signatures":[{"sig":"MEUCIQDS//pg5QlBA7S3jOvKhp709a2gOG/+7SKNo/ZYHikNIwIgP/HXU116/loieLsVTpv+p/yVgV5fbH3q2w9y9a5GPrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/detect-element-overflow@1.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10041},"main":"./dist/cjs/index.js","type":"module","_from":"file:package.tgz","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","source":"./src/index.ts","exports":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"funding":"https://github.com/wojtekmaj/detect-element-overflow?sponsor=1","scripts":{"tsc":"tsc --noEmit","lint":"eslint .","test":"yarn lint && yarn tsc && yarn prettier","build":"yarn build-esm && yarn build-cjs && yarn build-cjs-package","clean":"rimraf dist","prepack":"yarn clean && yarn build","prettier":"prettier --check . --cache","build-cjs":"tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --verbatimModuleSyntax false","build-esm":"tsc --project tsconfig.build.json --outDir dist/esm","build-cjs-package":"echo '{\n  \"type\": \"commonjs\"\n}' > dist/cjs/package.json"},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"_resolved":"/home/runner/work/detect-element-overflow/detect-element-overflow/package.tgz","_integrity":"sha512-4m6cVOtvm/GJLjo7WFkPfwXoEIIbM7GQwIh4WEa4g7IsNi1YzwUsGL5ApNLrrHL29bHeNeQ+/iZhw+YHqgE2Fw==","repository":{"url":"git+https://github.com/wojtekmaj/detect-element-overflow.git","type":"git"},"_npmVersion":"10.1.0","description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","directories":{},"sideEffects":false,"_nodeVersion":"20.8.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@3.1.0","devDependencies":{"husky":"^8.0.0","eslint":"^8.26.0","rimraf":"^3.0.0","prettier":"^3.0.0","typescript":"^5.0.0","lint-staged":"^14.0.0","eslint-config-wojtekmaj":"^0.9.0"},"_npmOperationalInternal":{"tmp":"tmp/detect-element-overflow_1.4.2_1697635386095_0.0036878144441920835","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"detect-element-overflow","version":"2.0.0","description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","type":"module","sideEffects":false,"main":"./dist/index.js","source":"./src/index.ts","types":"./dist/index.d.ts","exports":{".":"./dist/index.js","./*":"./*"},"scripts":{"build":"tsc --project tsconfig.build.json","clean":"rimraf dist","format":"biome format","lint":"biome lint","prepack":"yarn clean && yarn build","test":"yarn lint && yarn tsc && yarn format","tsc":"tsc"},"keywords":["collision","collision-detection","position"],"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","devDependencies":{"@biomejs/biome":"1.9.0","husky":"^9.0.0","rimraf":"^6.0.0","typescript":"^5.5.2"},"publishConfig":{"access":"public","provenance":true},"repository":{"type":"git","url":"git+https://github.com/wojtekmaj/detect-element-overflow.git"},"funding":"https://github.com/wojtekmaj/detect-element-overflow?sponsor=1","packageManager":"yarn@4.3.1","_id":"detect-element-overflow@2.0.0","bugs":{"url":"https://github.com/wojtekmaj/detect-element-overflow/issues"},"homepage":"https://github.com/wojtekmaj/detect-element-overflow#readme","_integrity":"sha512-DETEHRGdIdQowMR1Fb5hG4WXUJhlLId/IRQgAi5GVqCnHwnb0SKf9V/teyEVDX0+iClPeOPiNvlE6fSiECz65w==","_resolved":"/home/runner/work/detect-element-overflow/detect-element-overflow/package.tgz","_from":"file:package.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-DETEHRGdIdQowMR1Fb5hG4WXUJhlLId/IRQgAi5GVqCnHwnb0SKf9V/teyEVDX0+iClPeOPiNvlE6fSiECz65w==","shasum":"fc73ede4d81444b6c8d9287dffd136473bb75e46","tarball":"https://registry.npmjs.org/detect-element-overflow/-/detect-element-overflow-2.0.0.tgz","fileCount":6,"unpackedSize":8077,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/detect-element-overflow@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD0A9z86GPSi9u0XW10LEUT/jtjj7B5Pbnm1B7o59qEcgIgeAR3qKhlHQYLRyDaK+zKK/ZwoCClz5CrWRCfW7Z8/AU="}]},"_npmUser":{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"},"directories":{},"maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detect-element-overflow_2.0.0_1742512075131_0.8525436237107675"},"_hasShrinkwrap":false}},"time":{"created":"2017-09-05T20:37:06.431Z","modified":"2025-03-20T23:07:55.721Z","0.0.1-alpha":"2017-09-05T20:37:06.431Z","1.0.0":"2017-09-06T21:56:48.237Z","1.1.0":"2017-09-10T11:00:18.160Z","1.1.1":"2017-12-18T02:34:34.949Z","1.2.0":"2019-11-03T18:38:18.165Z","1.3.0":"2023-01-10T10:22:44.980Z","1.3.1":"2023-02-02T08:18:51.978Z","1.4.0":"2023-05-29T14:11:33.808Z","1.4.1":"2023-05-29T17:25:55.019Z","1.4.2":"2023-10-18T13:23:06.335Z","2.0.0":"2025-03-20T23:07:55.320Z"},"bugs":{"url":"https://github.com/wojtekmaj/detect-element-overflow/issues"},"author":{"name":"Wojciech Maj","email":"kontakt@wojtekmaj.pl"},"license":"MIT","homepage":"https://github.com/wojtekmaj/detect-element-overflow#readme","keywords":["collision","collision-detection","position"],"repository":{"type":"git","url":"git+https://github.com/wojtekmaj/detect-element-overflow.git"},"description":"A function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.","maintainers":[{"name":"wojtekmaj","email":"kontakt@wojtekmaj.pl"}],"readme":"[![npm](https://img.shields.io/npm/v/detect-element-overflow.svg)](https://www.npmjs.com/package/detect-element-overflow) ![downloads](https://img.shields.io/npm/dt/detect-element-overflow.svg) [![CI](https://github.com/wojtekmaj/detect-element-overflow/actions/workflows/ci.yml/badge.svg)](https://github.com/wojtekmaj/detect-element-overflow/actions)\n\n# Detect-Element-Overflow\n\nA function that tells you whether a given element is overflowing its container or not. Useful for creating dropdowns and tooltips.\n\n## tl;dr\n\n- Install by executing `npm install detect-element-overflow` or `yarn add detect-element-overflow`.\n- Import by adding `import detectElementOverflow from 'detect-element-overflow'`.\n- Do stuff with it!\n  ```ts\n  const collisions = detectElementOverflow(child, parent);\n  ```\n\n## User guide\n\nDetect-Element-Overflow returns an object with getter functions described below.\n\n| Attribute name | Description                                                                                                                                                         | Example values |\n| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |\n| collidedTop    | Whether or not the child element collided with the top parent's border.                                                                                             | `true`         |\n| collidedBottom | Whether or not the child element collided with the bottom parent's border.                                                                                          | `true`         |\n| collidedLeft   | Whether or not the child element collided with the left parent's border.                                                                                            | `true`         |\n| collidedRight  | Whether or not the child element collided with the right parent's border.                                                                                           | `true`         |\n| overflowTop    | How many pixels of the child have crossed the top parent's border. Negative values specify how many pixels are between the child and the top parent's border.       | `20`, `-15`    |\n| overflowBottom | How many pixels of the child have crossed the bottom parent's border. Negative values specify how many pixels are between the child and the bottom parent's border. | `20`, `-15`    |\n| overflowLeft   | How many pixels of the child have crossed the left parent's border. Negative values specify how many pixels are between the child and the left parent's border.     | `20`, `-15`    |\n| overflowRight  | How many pixels of the child have crossed the right parent's border. Negative values specify how many pixels are between the child and the right parent's border.   | `20`, `-15`    |\n\n## License\n\nThe MIT License.\n\n## Author\n\n<table>\n  <tr>\n    <td >\n      <img src=\"https://avatars.githubusercontent.com/u/5426427?v=4&s=128\" width=\"64\" height=\"64\" alt=\"Wojciech Maj\">\n    </td>\n    <td>\n      <a href=\"https://github.com/wojtekmaj\">Wojciech Maj</a>\n    </td>\n  </tr>\n</table>\n","readmeFilename":"README.md"}