{"_id":"focus-within","_rev":"7-e05f6387ccc966dfc651eaec79c6c254","name":"focus-within","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"focus-within","version":"1.0.0","description":"Target elements based on whether an element is focused or contains a focused element","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/focus-within.git"},"homepage":"https://github.com/jonathantneal/focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/focus-within/issues"},"main":"index.bundle.js","module":"index.js","files":["index.js","index.bundle.js"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:ec && npm run test:js","test:ec":"echint --ignore index.bundle.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet"},"engines":{"node":">=4.0.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","echint":"^4.0","eslint":"^4.18","eslint-config-dev":"2.0","pre-commit":"^1.2","rollup":"^0.56","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["javascript","js","polyfill","focus","within","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"015b9e4cf6075fed4baeb60bb9ef3a3b68053c9d","_id":"focus-within@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-LNQDoasy3TK5kLJYMlwKiRcDVaY/zw2BZ1wC3ctpPsHDGLIcgmjsskriCVfwPFpHX0g2rzjQhHIO4HigqHIZ3Q==","shasum":"53e017ba50b2ee8b3c2409e21e99cf7327370858","tarball":"https://registry.npmjs.org/focus-within/-/focus-within-1.0.0.tgz","fileCount":6,"unpackedSize":13009,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFprvKCc7ekyJx+bBcmVbwqzfEfBmj2H2Tx/C8oRp+33AiEA3iMpLhhG5taj/Gt0mbixoWKJFRNmK891FxNmuNq84No="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/focus-within_1.0.0_1518910010726_0.9002400011877505"},"_hasShrinkwrap":false},"1.0.1":{"name":"focus-within","version":"1.0.1","description":"Target elements based on whether an element is focused or contains a focused element","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/focus-within.git"},"homepage":"https://github.com/jonathantneal/focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/focus-within/issues"},"main":"index.umd.js","module":"index.es.js","files":["index.es.js","index.umd.js"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet"},"engines":{"node":">=4.0.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.6","eslint":"^4.18","eslint-config-dev":"2.0","pre-commit":"^1.2","rollup":"^0.56","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["javascript","js","polyfill","focus","within","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"a74ae888d430aefaea625b10bffe1aabb9166b2e","_id":"focus-within@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-6Gk18QlQ0Y1awqGQHKIaiwZWUKuFfUhKZFb1I5Ec/Lwe840hs6BfrnusZ6tHvKRTz0Gg7fzPjaJOd4+fgZLnxQ==","shasum":"4d8133080abe21b9f7047a97bda4ebc8b7628235","tarball":"https://registry.npmjs.org/focus-within/-/focus-within-1.0.1.tgz","fileCount":6,"unpackedSize":13225,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEXMdKEBFwJBjhBYpPqE+bWsj857T+tdPYHkzdhNCrAFAiAlxsVy2SilrEqt/auzBX+Ib0pygFc64OJjeHSqxkhcqg=="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/focus-within_1.0.1_1519177877379_0.2132256984250347"},"_hasShrinkwrap":false},"2.0.0":{"name":"focus-within","version":"2.0.0","description":"Target elements based on whether an element is focused or contains a focused element","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/focus-within.git"},"homepage":"https://github.com/jonathantneal/focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/focus-within/issues"},"main":"index.cjs.js","module":"index.es.js","files":["index.es.js","index.cjs.js"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet"},"engines":{"node":">=4.0.0"},"devDependencies":{"babel-core":"^6.26","babel-eslint":"^8.2","babel-preset-env":"^1.7","eslint":"^4.19","eslint-config-dev":"2.0","pre-commit":"^1.2","rollup":"^0.59","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["javascript","js","polyfill","focus","within","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"364fecf8d834a5b04e10993707f7af8b95dd0c82","_id":"focus-within@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.1.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-pG259uya8g/bX5QT5ot0zD5DAIrzIqzwNKiZNz21hZ80glYIq/QDqkMOWRkVdmIrjA4/Dafh79uItHTn82OADw==","shasum":"149f35548355f8d8916a2f8c48934d33529cbaab","tarball":"https://registry.npmjs.org/focus-within/-/focus-within-2.0.0.tgz","fileCount":6,"unpackedSize":14483,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFZg6CRA9TVsSAnZWagAAcxUP+wbiWfC+QMOB2it8nBPk\nKUo8UJtPrc8vX87edChQB9m7FeDxtyAubbJfHGkMF1rdXml+QJ4Csv3dzZK1\nENDW6Db1gr1teN+WnTu7HmdytKDxz3kiNtHQgERmFU11XVFJftOgAh388T0A\nASEg4Vxe5mFBecIGNUJUQWW/VuDfbRaXtcIfEooauCpuidPnI+YxPSoje7mu\nRuhrxqfzBpjF2ejJy42A0wNn+t1LL2obALTrYhu6jy2Jp2QDdiLS27ENuH9e\n5usIv+jTOhlx91E+a3B6V4z53okgnlGJfwCy7Xq6npAx7g3tbfMjZKegRN/+\nLp6h2/R6N6kCx7mGBU/vYJNIccmfQ54OgqEpk3rosmSKyurgahkLihfCk+pK\n5L/9TmjM2ODvfKl4lvbXqKKUK2QudAJ9tenUhUJmbvgunQdO4CWTinUIQRk/\nG26pVhWE1elu353Zw0ASpCXP41bo3tq5xUG86KxQYUG1cQVZ5h6RM+ru4Dxh\nekFVJwVaBOLorx8eOkDVMC6VkTN3fUyoRcKBvcuuNTLoTHq/1hxgz42dh5QZ\nXmrlYmGcOYdf37ENZuUQmribP0sV2AgR/4zMyJ6hmF30LQhYNVZlJMrcCDuP\n0vWXZF9A5vJmY0sTImizFHMFfimqhZ1J7OWZSYTuSPZAHTW76+8I5LokHVsv\nRll6\r\n=GbvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUuU/yl9/h58b6mwctR5GS5pSKgXrUw7VkbsxlgQb3SAiBP9vWt1JcwWWdvgHH7P1g2hC85tMPcQNcLe73oiTc01A=="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/focus-within_2.0.0_1528141882009_0.9767850117063859"},"_hasShrinkwrap":false},"3.0.0":{"name":"focus-within","version":"3.0.0","description":"Style elements when they are focused or contain a focused element","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/focus-within.git"},"homepage":"https://github.com/jonathantneal/focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/focus-within/issues"},"main":"index.js","module":"index.mjs","bin":{"focus-within":"cli.js"},"scripts":{"build":"npm run build:browser && npm run build:cli && npm run build:node && npm run build:postcss","build:browser":"cross-env NODE_ENV=browser rollup -c .rollup.js --silent","build:cli":"cross-env NODE_ENV=cli rollup -c .rollup.js --silent","build:postcss":"cross-env NODE_ENV=postcss rollup -c .rollup.js --silent","build:node":"rollup -c .rollup.js --silent","prepublishOnly":"npm build && npm test","pretest":"npm run build:postcss","pretest:postcss":"npm run build:postcss","test":"npm run test:js && npm run test:postcss","test:js":"eslint src/*.js --cache --ignore-path .gitignore --quiet","test:postcss":"postcss-tape --plugin=postcss.js"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.5"},"devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0","cross-env":"^5.2.0","eslint":"^5.9","eslint-config-dev":"2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.67.3","rollup-plugin-babel":"^4.0.3","rollup-plugin-terser":"^3.0.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","javascript","js","polyfill","focus","within","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"56dc599d3bfb925696d539441fba0e855e2a4b88","_id":"focus-within@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-0oEBzKlDjGxj144xQbKVo4tD9sme8fwMUInKO+9PTZtroersznPLbUDfmQpMpX3ztIUB+HXTRQZyH8CI3YkgAw==","shasum":"85c81b4e45a5cc9d3980f68a3aa489418d704210","tarball":"https://registry.npmjs.org/focus-within/-/focus-within-3.0.0.tgz","fileCount":13,"unpackedSize":29558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8EulCRA9TVsSAnZWagAA1WwP/jXEXqH09WtooWGecEgH\ni/TWev6bZHWXYRkkm+aL5Pqp0HOQ0HJfoUZGtqYf7naxJHxufDdvpIyBdvgM\n3AcYY+xJEPPpEh6j5c4VfZvWAVld1ws3w04fFXgibgYPXiyD7xVOFJaqmFz+\na76KXFCY0zyYJoyJIQJox76k1UYK61iANGxX2Hcu7DJ16j/xLJ8zDIFHnwdQ\nkE4edAsK2FX5nbscaHWJhu1QjSdzEIzhBXlo2zScjK4yGRd5XYlEURFsUC9s\nhVk4qdojyP6yybHWYkf3RaMkZzP0XP7cd8DTvnlEO11x/MtlOx4pDD10kLXK\nQxCnT/zv0JzwXWDIkwM23pUy3NpSecuslCvCKzv/fyvm6tDfwmQb+LSfqd2n\n34BmjI9YO6/W9VIRDl5LxuJa4JjOcfynTc1PlnYv7epZorSFozPwzlZS/Abs\ntsQAhrOJ/0e5/g1agxIgzIT/DdqotoZIv7z6ee0y82D+Xum5c58EagG6hYb5\nW0174pFCssKBYFtji5hq6PGhsnP3Al7r4YrkakWX6n+KUp4f4vnR9Aerwpjc\n4Op4Zijw1BGtC3qcIxQXySXSze8mgw399G95t6VBcTG+LJQga37wPCxp0rlv\n62Hr/mxxn7n8JJh0zwr7oBc9pjGT4Vg6Ytr/JBfDxvNWpNpqIGT0zxO2ojxv\nDXn+\r\n=fmeQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDXOveBSIwh5kaxIymxN9/nD/pEhZV2W6wAk+HCTSo3GAiBom303yJUacUz+xrIEMbAl8/OQoYpCaFrhZsUZIEplaQ=="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/focus-within_3.0.0_1542474660764_0.8157857671185911"},"_hasShrinkwrap":false},"3.0.1":{"name":"focus-within","version":"3.0.1","description":"Style elements when they are focused or contain a focused element","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/focus-within.git"},"homepage":"https://github.com/jonathantneal/focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/focus-within/issues"},"main":"index.js","module":"index.mjs","bin":{"focus-within":"cli.js"},"scripts":{"build":"npm run build:browser && npm run build:cli && npm run build:node && npm run build:postcss","build:browser":"cross-env NODE_ENV=browser rollup -c .rollup.js --silent","build:cli":"cross-env NODE_ENV=cli rollup -c .rollup.js --silent","build:postcss":"cross-env NODE_ENV=postcss rollup -c .rollup.js --silent","build:node":"rollup -c .rollup.js --silent","prepublishOnly":"npm run build && npm test","pretest":"npm run build:postcss","pretest:postcss":"npm run build:postcss","test":"npm run test:js && npm run test:postcss","test:js":"eslint src/*.js --cache --ignore-path .gitignore --quiet","test:postcss":"postcss-tape --plugin=postcss.js"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.6"},"devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0","cross-env":"^5.2.0","eslint":"^5.9","eslint-config-dev":"2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.67.3","rollup-plugin-babel":"^4.0.3","rollup-plugin-terser":"^3.0.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","javascript","js","polyfill","focus","within","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"951d4b634127d6b509feeb9020074d1a91d3e588","_id":"focus-within@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-nEclXxwHeC5XbVpR5jsXAI2k0CYLCM0MKRC6a7X/hTrEQBZOKHlkrDgyrLJIKCaLFwJW1GfiVvHupymNYeS5bQ==","shasum":"f8417ea331eafbea654998c332c3896920543a73","tarball":"https://registry.npmjs.org/focus-within/-/focus-within-3.0.1.tgz","fileCount":14,"unpackedSize":31428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9becCRA9TVsSAnZWagAAvWEP/3/y6YLZAKhfBL3F+fQK\n0qxYw52rFaJ2u08TAM7W38LAgIFRRHDN4Z4L6t+918E3bPR48yDsIEhpXfCW\nIurfEzJWsrE4zDjlhDG9ycvLs8Rc422JTlwQQPbTScjAzEq7lZn+LLRGQubr\nV7DFvUAxRuv0Rlq0wCQyed7FpN63sPyZ/aN1cSRa5itO3IJjNANaX8g+g1sg\noPfWEFcqEgA8NY9gYzLgq12welB5FrM2DHw720h5ZGrAYpuLt8TIWUvbUaMa\nb/FqEMb+U1yyH5CdlCFlqmYJxX1nbEjSTbEFaDPHI43Mv6QHxBp8ixAFVFXZ\no1gNyMHz/NNSfx71biIepqCZvyLFrlYFbatcXEmBMjD4f8uf2e/+8JfZLRNk\nbliz7Ekqrf2ln23i9KHgG+OQKM333ATftjwjwKTBW0kZZt20Ak3hm3s+VBwW\nCpBtGc9q8CrzuHFlrvOiTbsIqCPcTRykeHCV4WnB0aEn2vDHHPfhHjaxDqI9\n9dbSSUItiAeCDO1dvEJOrIyHgRZq9F70nqo9BGok1P5H2r4KtEuSs/kO+jmT\nLbr96jD3I721eAT99DI8C5X7u7KS+LIZIuPlnfMfg0x7QFTkC3NsdsqHFrcP\n1C2CdtyrU9eB/akcUJYeUUW+TrXRUG5aZmcQvfeB2QqAzG2QK/ll4kAniAkI\nIllX\r\n=GVeN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFGlOaJtEduDi3EHqsQBcdoFGqK9uejiouEHhawS6dCmAiEAm/OKEkV2fCc5bw2Ima0xocpnE7gAD1Tx+Ku/M3cE2RU="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/focus-within_3.0.1_1542829979765_0.39227245804013955"},"_hasShrinkwrap":false},"3.0.2":{"name":"focus-within","version":"3.0.2","description":"Style elements when they are focused or contain a focused element","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/focus-within.git"},"homepage":"https://github.com/jonathantneal/focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/focus-within/issues"},"main":"index.js","module":"index.mjs","bin":{"focus-within":"cli.js"},"scripts":{"build":"npm run build:browser && npm run build:cli && npm run build:node && npm run build:postcss","build:browser":"cross-env NODE_ENV=browser rollup -c .rollup.js --silent","build:cli":"cross-env NODE_ENV=cli rollup -c .rollup.js --silent","build:postcss":"cross-env NODE_ENV=postcss rollup -c .rollup.js --silent","build:node":"rollup -c .rollup.js --silent","prepublishOnly":"npm run build && npm test","pretest":"npm run build:postcss","pretest:postcss":"npm run build:postcss","test":"npm run test:js && npm run test:postcss","test:js":"eslint src/*.js --cache --ignore-path .gitignore --quiet","test:postcss":"postcss-tape --plugin=postcss.js"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.6"},"devDependencies":{"@babel/core":"^7.1.6","@babel/preset-env":"^7.1.6","babel-eslint":"^10.0","cross-env":"^5.2.0","eslint":"^5.9","eslint-config-dev":"2.0.0","postcss-tape":"^2.2.0","pre-commit":"^1.2.2","rollup":"^0.67.3","rollup-plugin-babel":"^4.0.3","rollup-plugin-terser":"^3.0.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","javascript","js","polyfill","focus","within","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"9942db07d29b00e827325286491c197e479043bf","_id":"focus-within@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-TMn2sLUwi02dSPElXFPyzBkiQN+Xo1oYta5Jd2zC54MQoBOCMht6xar7gJgw5a9+GtFxkG9c2k4ptI6cU37soA==","shasum":"7bb19f9db1c9b5bf02564d21b84f2a5c3852c549","tarball":"https://registry.npmjs.org/focus-within/-/focus-within-3.0.2.tgz","fileCount":14,"unpackedSize":31849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+CN4CRA9TVsSAnZWagAAsIQP/11mx3cWZKh/qML3uE1e\nwm6PgdzGLj5bFGHUvKGe8ZnAk43rUBtAMpPtQA0hAcB+tGfH+/Q9QtOfal4Q\nlp8DmVDGYU50ZtLdIji5UNLc0N9bHGFoovW9ru0PBxy4is5YtPA3ed87XpvY\nwX2OmGdP4G317wip72jPjbDXNWI7VroINWqvk9fq4WNYlGkUGMotW4RXZ39W\nrhArRZQcp0DUbjjDH3HgJHQG3BLODLnc3UseAwzyzrOZzhb9jN9qnWfC/DBj\nib4B5KvuWVThYoxB772IEQydM/2jfDVBBsPTP9zXyAR7+HDMN6TBSjuVNFJE\noIFjO7BgTsYD0zSpGj04yZ5UBytNQNrd0kOxNnCD9b4sAqCvdlC2K7KadZWn\nXQjEvpVtju/Zp4kqYw6z+jFNpsIqhg5ECMI3g0avW21IogC3fUEhkGJe42JY\nlnhzv2FQ2ZgL4bgSnpg4A1eZFO/FhcZDPbaVvCAfS973ZA/lmjh8IZod5m/y\nY6TjTQkKWAh7JbmpJz1IgVQuJVVkjDCy10dK5CbPPcOSQx+rCxYc0lqjJb5H\n0x0lIOysjZM3qBPI8PknnguS1qvpd2l4kIJWM/tpeGnDET4aHYsvfOm5Pii8\nIsjAuNlJForCE3XmqVF7Oo0lFjCzhKjWUgmhRcl5q+tABn/0zQH8sYGOkjdp\nAfO6\r\n=Cw9P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVSnV1N1/BOQRuX5blYzNIoJ80NIlx6oH6EFzfjDcWmQIgfBeZLCaaDVH6w5AywHYUzKiGYoxy2F2Nq020XTrtwUU="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/focus-within_3.0.2_1542988664081_0.7763826865337671"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-17T23:26:50.725Z","1.0.0":"2018-02-17T23:26:51.176Z","modified":"2022-05-02T17:17:08.376Z","1.0.1":"2018-02-21T01:51:17.533Z","2.0.0":"2018-06-04T19:51:22.107Z","3.0.0":"2018-11-17T17:11:00.922Z","3.0.1":"2018-11-21T19:52:59.912Z","3.0.2":"2018-11-23T15:57:44.399Z"},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"description":"Style elements when they are focused or contain a focused element","homepage":"https://github.com/jonathantneal/focus-within#readme","keywords":["postcss","css","postcss-plugin","javascript","js","polyfill","focus","within","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"repository":{"type":"git","url":"git+https://github.com/jonathantneal/focus-within.git"},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"bugs":{"url":"https://github.com/jonathantneal/focus-within/issues"},"license":"CC0-1.0","readme":"# Focus Within [<img src=\"http://jonathantneal.github.io/js-logo.svg\" alt=\"\" width=\"90\" height=\"90\" align=\"right\">][Focus Within]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Support Chat][git-img]][git-url]\n\n[Focus Within] lets you style elements when they are focused or contain a\nfocused element, following the [Selectors Level 4] specification.\n\n```css\n.field label {\n  /* style a label */\n}\n\n.field:focus-within label {\n  /* style a label when its field also contains a focused element */\n}\n```\n\n## Usage\n\nFrom the command line, transform CSS files that use `:focus-within` selectors:\n\n```bash\nnpx focus-within SOURCE.css TRANSFORMED.css\n```\n\nNext, use your transformed CSS with this script:\n\n```html\n<link rel=\"stylesheet\" href=\"TRANSFORMED.css\">\n<script src=\"https://unpkg.com/focus-within/browser\"></script>\n<script>focusWithin(document)</script>\n```\n\nThat’s it. The script is 379 bytes and works in all browsers, including\nInternet Explorer 9.\n\n## How it works\n\nThe [PostCSS plugin](README-POSTCSS.md) duplicates rules containing\n`:focus-within`, replacing them with an alternative `[focus-within]` selector.\n\n```css\n.field:focus-within label {\n  font-weight: bold;\n}\n\n/* becomes */\n\n.field[focus-within] label {\n  font-weight: bold;\n}\n\n.field:focus-within label {\n  font-weight: bold;\n}\n```\n\nNext, the [JavaScript library](README-BROWSER.md) adds a `focus-within`\nattribute to elements otherwise matching `:focus-within` natively.\n\n```html\n<html focus-within>\n  <body focus-within>\n    <form focus-within>\n      <div class=\"field\" focus-within>\n        <label for=\"a\">Field</label>\n        <input id=\"a\" value=\"This element is focused\" focus-within>\n      </div>\n      <div class=\"field\">\n        <label for=\"b\">Field</label>\n        <input id=\"b\" value=\"This element is not focused\">\n      </div>\n    </form>\n    <p>Some sibling text element.</p>\n  </body>\n</html>\n```\n\n> **GOTCHA!**\n>\n> One cannot simply add the `[focus-within]` selector to an existing rule:\n> ```css\n> .field:focus-within label, .field[focus-within] label {}\n> ```\n> Browsers that don't support `:focus-within` will throw the entire rule away!\n> This is why you should follow the [Usage](#usage) instructions.\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/focus-within/master.svg\n[cli-url]: https://travis-ci.org/jonathantneal/focus-within\n[git-img]: https://img.shields.io/badge/support-chat-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/focus-within.svg\n[npm-url]: https://www.npmjs.com/package/focus-within\n\n[Focus Within]: https://github.com/jonathantneal/focus-within\n[PostCSS Preset Env]: https://preset-env.cssdb.org/\n[Selectors Level 4]: https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo\n","readmeFilename":"README.md"}