{"_id":"postcss-focus-within","_rev":"259589","name":"postcss-focus-within","description":"Use the :focus-within pseudo-selector in CSS","dist-tags":{"latest":"7.0.2"},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"time":{"modified":"2023-03-27T17:08:37.000Z","created":"2018-02-17T23:27:38.113Z","7.0.2":"2023-02-08T08:36:37.525Z","7.0.1":"2023-01-28T07:39:04.310Z","7.0.0":"2023-01-24T09:05:20.505Z","6.1.1":"2022-08-23T20:53:16.814Z","6.1.0":"2022-07-30T17:38:59.841Z","6.0.0":"2022-07-08T17:32:08.872Z","5.0.4":"2022-02-05T17:08:33.361Z","5.0.3":"2022-01-02T15:37:43.614Z","5.0.2":"2021-12-13T09:34:01.627Z","5.0.1":"2021-09-22T14:02:07.708Z","5.0.0":"2021-09-17T13:41:04.763Z","4.0.0":"2020-04-13T13:40:33.531Z","3.0.0":"2018-09-18T03:54:54.810Z","2.0.0":"2018-04-08T01:55:22.443Z","1.0.0":"2018-02-17T23:27:38.113Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"versions":{"7.0.2":{"name":"postcss-focus-within","description":"Use the :focus-within pseudo-selector in CSS","version":"7.0.2","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"},"./browser":{"import":"./dist/browser.mjs","require":"./dist/browser.cjs","default":"./dist/browser.mjs"},"./browser-global":{"default":"./dist/browser-global.js"}},"dependencies":{"postcss-selector-parser":"^6.0.10"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"prebuild":"npm run clean","build":"rollup -c ../../rollup/default.mjs","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"","docs":"node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.mjs && npm run test:exports","test:browser":"node ./test/_browser.mjs","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["a11y","accessibility","ancestors","css","descendants","focus","polyfill","postcss","postcss-plugin","pseudos","selectors","within"],"csstools":{"cssdbId":"focus-within-pseudo-class","exportName":"postcssFocusWithin","humanReadableName":"PostCSS Focus Within","specUrl":"https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo"},"volta":{"extends":"../../package.json"},"gitHead":"4f487af70e9abb9c15fd8a7c110995e8f01be88f","_id":"postcss-focus-within@7.0.2","_nodeVersion":"18.13.0","_npmVersion":"9.4.1","dist":{"shasum":"5d2c866030e66ed22b204c9506de640943310b1c","size":11438,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-7.0.2.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-7.0.2.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_7.0.2_1675845397357_0.24708871793684595"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-08T08:36:37.525Z","publish_time":1675845397525,"_cnpm_publish_time":1675845397525},"7.0.1":{"name":"postcss-focus-within","description":"Use the :focus-within pseudo-selector in CSS","version":"7.0.1","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"},"./browser":{"import":"./dist/browser.mjs","require":"./dist/browser.cjs","default":"./dist/browser.mjs"},"./browser-global":{"default":"./dist/browser-global.js"}},"dependencies":{"postcss-selector-parser":"^6.0.10"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"prebuild":"npm run clean","build":"rollup -c ../../rollup/default.mjs","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"","docs":"node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.mjs && npm run test:exports","test:browser":"node ./test/_browser.mjs","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["a11y","accessibility","ancestors","css","descendants","focus","polyfill","postcss","postcss-plugin","pseudos","selectors","within"],"csstools":{"cssdbId":"focus-within-pseudo-class","exportName":"postcssFocusWithin","humanReadableName":"PostCSS Focus Within","specUrl":"https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo"},"volta":{"extends":"../../package.json"},"gitHead":"88b7d48b511ccbbb03520fe6c06ac44edb303ce1","_id":"postcss-focus-within@7.0.1","_nodeVersion":"18.8.0","_npmVersion":"8.18.0","dist":{"shasum":"4b91875d2ceba27e1deebb26f74e68bad6096e36","size":11322,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-7.0.1.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-7.0.1.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_7.0.1_1674891544147_0.762325336600675"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-28T07:39:04.310Z","publish_time":1674891544310,"_cnpm_publish_time":1674891544310},"7.0.0":{"name":"postcss-focus-within","description":"Use the :focus-within pseudo-selector in CSS","version":"7.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^14 || ^16 || >=18"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"},"./browser":{"import":"./dist/browser.mjs","require":"./dist/browser.cjs","default":"./dist/browser.mjs"},"./browser-global":{"default":"./dist/browser-global.js"}},"dependencies":{"postcss-selector-parser":"^6.0.10"},"peerDependencies":{"postcss":"^8.4"},"scripts":{"prebuild":"npm run clean","build":"rollup -c ../../rollup/default.mjs","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"","docs":"node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.mjs && npm run test:exports","test:browser":"node ./test/_browser.mjs","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["a11y","accessibility","ancestors","css","descendants","focus","polyfill","postcss","postcss-plugin","pseudos","selectors","within"],"csstools":{"cssdbId":"focus-within-pseudo-class","exportName":"postcssFocusWithin","humanReadableName":"PostCSS Focus Within","specUrl":"https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo"},"volta":{"extends":"../../package.json"},"gitHead":"9418170068c0fa4f03283c1d4b8485b8cb9f143e","_id":"postcss-focus-within@7.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"224c671a7e7d18d05135378943cf18ee0ce20d00","size":11291,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-7.0.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-7.0.0.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_7.0.0_1674551120315_0.6027439688591743"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-24T09:05:20.505Z","publish_time":1674551120505,"_cnpm_publish_time":1674551120505},"6.1.1":{"name":"postcss-focus-within","description":"Use the :focus-within pseudo-selector in CSS","version":"6.1.1","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^12 || ^14 || >=16"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"},"./browser":{"import":"./dist/browser.mjs","require":"./dist/browser.cjs","default":"./dist/browser.mjs"},"./browser-global":{"default":"./dist/browser-global.js"}},"dependencies":{"postcss-selector-parser":"^6.0.10"},"peerDependencies":{"postcss":"^8.2"},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","docs":"node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.mjs && npm run test:exports","test:browser":"node ./test/_browser.mjs","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["a11y","accessibility","ancestors","css","descendants","focus","polyfill","postcss","postcss-plugin","pseudos","selectors","within"],"csstools":{"cssdbId":"focus-within-pseudo-class","exportName":"postcssFocusWithin","humanReadableName":"PostCSS Focus Within","specUrl":"https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo"},"volta":{"extends":"../../package.json"},"gitHead":"4bd9b1702df3be672306bedefe7af3b2b877205d","_id":"postcss-focus-within@6.1.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"93e412c4a5caa9843ede494f05be6f3e997006f7","size":10912,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-6.1.1.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-6.1.1.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_6.1.1_1661287996623_0.1139467186155545"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-23T20:55:40.064Z","publish_time":1661287996814,"_cnpm_publish_time":1661287996814},"6.1.0":{"name":"postcss-focus-within","description":"Use the :focus-within pseudo-selector in CSS","version":"6.1.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^12 || ^14 || >=16"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"},"./browser":{"import":"./dist/browser.mjs","require":"./dist/browser.cjs","default":"./dist/browser.mjs"},"./browser-global":{"default":"./dist/browser-global.js"}},"dependencies":{"postcss-selector-parser":"^6.0.10"},"peerDependencies":{"postcss":"^8.2"},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","docs":"node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.mjs && npm run test:exports","test:browser":"node ./test/_browser.mjs","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["a11y","accessibility","ancestors","css","descendants","focus","polyfill","postcss","postcss-plugin","pseudos","selectors","within"],"csstools":{"cssdbId":"focus-within-pseudo-class","exportName":"postcssFocusWithin","humanReadableName":"PostCSS Focus Within","specUrl":"https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo"},"volta":{"extends":"../../package.json"},"gitHead":"e18c674bdcfc55539f3103d1ce8ccf99f797a1f1","_id":"postcss-focus-within@6.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"12903d157700934aeff12b27dff95b97b61283c2","size":10784,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-6.1.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-6.1.0.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_6.1.0_1659202739667_0.8482871245744938"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-30T17:39:02.423Z","publish_time":1659202739841,"_cnpm_publish_time":1659202739841},"6.0.0":{"name":"postcss-focus-within","description":"Use the :focus-within pseudo-selector in CSS","version":"6.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"}],"license":"CC0-1.0","funding":{"type":"opencollective","url":"https://opencollective.com/csstools"},"engines":{"node":"^12 || ^14 || >=16"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"},"./browser":{"import":"./dist/browser.mjs","require":"./dist/browser.cjs","default":"./dist/browser.mjs"},"./browser-global":{"default":"./dist/browser-global.js"}},"dependencies":{"postcss-selector-parser":"^6.0.10"},"peerDependencies":{"postcss":"^8.2"},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","docs":"node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs","lint":"npm run lint:eslint && npm run lint:package-json","lint:eslint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","lint:package-json":"node ../../.github/bin/format-package-json.mjs","prepublishOnly":"npm run clean && npm run build && npm run test","test":"node .tape.mjs && npm run test:exports","test:browser":"node ./test/_browser.mjs","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs","test:rewrite-expects":"REWRITE_EXPECTS=true node .tape.mjs"},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["a11y","accessibility","ancestors","css","descendants","focus","polyfill","postcss","postcss-plugin","pseudos","selectors","within"],"csstools":{"cssdbId":"focus-within-pseudo-class","exportName":"postcssFocusWithin","humanReadableName":"PostCSS Focus Within","specUrl":"https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo"},"volta":{"extends":"../../package.json"},"gitHead":"f26252111c84461681875086fac5ca3e26532916","_id":"postcss-focus-within@6.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"febeb6e500f0ff3a115c543c92d668d427c5ea88","size":10577,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-6.0.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-6.0.0.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_6.0.0_1657301528662_0.20077407114457602"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-08T17:57:51.778Z","publish_time":1657301528872,"_cnpm_publish_time":1657301528872},"5.0.4":{"name":"postcss-focus-within","version":"5.0.4","description":"Use the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","lint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"postcss-tape --ci && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs"},"engines":{"node":"^12 || ^14 || >=16"},"dependencies":{"postcss-selector-parser":"^6.0.9"},"devDependencies":{"postcss":"^8.3.6","postcss-tape":"^6.0.1"},"peerDependencies":{"postcss":"^8.4"},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"volta":{"extends":"../../package.json"},"gitHead":"1a1a983df7404d906219cbeba5443ccb9c47b228","_id":"postcss-focus-within@5.0.4","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"5b1d2ec603195f3344b716c0b75f61e44e8d2e20","size":5790,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-5.0.4.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-5.0.4.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_5.0.4_1644080913220_0.6430127035303979"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-05T17:08:41.115Z","publish_time":1644080913361,"_cnpm_publish_time":1644080913361},"5.0.3":{"name":"postcss-focus-within","version":"5.0.3","description":"Use the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","lint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"postcss-tape --ci && npm run test:exports","test:exports":"node ./test/_import.mjs && node ./test/_require.cjs"},"engines":{"node":"^12 || ^14 || >=16"},"dependencies":{"postcss-selector-parser":"^6.0.8"},"devDependencies":{"postcss":"^8.3.6","postcss-tape":"^6.0.1"},"peerDependencies":{"postcss":"^8.3"},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"volta":{"extends":"../../package.json"},"gitHead":"efdb08fc17440a541431696f6d2587eabf4d352c","_id":"postcss-focus-within@5.0.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"shasum":"0b0bf425f14a646bbfd973b463e2d20d85a3a841","size":5701,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-5.0.3.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-5.0.3.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_5.0.3_1641137863464_0.10671048966684782"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-02T15:37:50.040Z","publish_time":1641137863614,"_cnpm_publish_time":1641137863614},"5.0.2":{"name":"postcss-focus-within","version":"5.0.2","description":"Use the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","bin":{"postcss-focus-within":"dist/cli.mjs"},"scripts":{"build":"rollup -c ../../rollup/default.js","clean":"node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"","lint":"eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern","prepublishOnly":"npm run clean && npm run build && npm run test","stryker":"stryker run --logLevel error","test":"postcss-tape --ci"},"engines":{"node":"^12 || ^14 || >=16"},"dependencies":{"postcss-selector-parser":"^6.0.7"},"devDependencies":{"postcss":"^8.3.6","postcss-tape":"^6.0.1"},"peerDependencies":{"postcss":"^8.3"},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-focus-within"},"gitHead":"74c36798aa03dbc1927fc2dd7e2f94e48db98fa4","_id":"postcss-focus-within@5.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"ba9229b68c03ad65aa4ead81ca29717b5b4dbf62","size":33723,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-5.0.2.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-5.0.2.tgz"},"_npmUser":{"name":"alaguna","email":"sombragriselros@gmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_5.0.2_1639388041450_0.37313706969188876"},"_hasShrinkwrap":false,"publish_time":1639388041627,"_cnpm_publish_time":1639388041627,"_cnpmcore_publish_time":"2021-12-15T10:41:37.596Z"},"5.0.1":{"name":"postcss-focus-within","version":"5.0.1","description":"Use the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-focus-within.git"},"homepage":"https://github.com/csstools/postcss-focus-within#readme","bugs":{"url":"https://github.com/csstools/postcss-focus-within/issues"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","types":"./dist/index.d.ts"}},"scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","prepublishOnly":"npm test","pretest":"npm install && npm run build","test":"npm run lint && npm run tape","tape":"npx postcss-tape"},"engines":{"node":">=12"},"peerDependencies":{"postcss":"^8.3"},"devDependencies":{"@babel/core":"7.15.5","@babel/preset-env":"7.15.6","eslint":"7.32.0","postcss":"8.3.6","postcss-tape":"6.0.1","pre-commit":"1.2.2","rollup":"2.57.0","rollup-plugin-babel":"4.4.0","rollup-plugin-copy":"^3.4.0"},"babel":{"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true,"node":true},"extends":"eslint:recommended","parserOptions":{"ecmaVersion":2020,"sourceType":"module"}},"rollup":{"input":"src/index.js","plugins":["rollup-plugin-babel",["rollup-plugin-copy",{"targets":[{"src":"./src/index.d.ts","dest":"./dist"}]}]],"output":[{"exports":"default","file":"dist/index.cjs","format":"cjs"},{"file":"dist/index.mjs","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"cd8eb6e4eb2d394c61056c85b426f99f6e21d1bf","_id":"postcss-focus-within@5.0.1","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"615659122325d86e00bc8ed84ab6129d0b3a0f62","size":5349,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-5.0.1.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-5.0.1.tgz"},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_5.0.1_1632319327532_0.5727158051188852"},"_hasShrinkwrap":false,"publish_time":1632319327708,"_cnpm_publish_time":1632319327708,"_cnpmcore_publish_time":"2021-12-15T10:41:37.815Z"},"5.0.0":{"name":"postcss-focus-within","version":"5.0.0","description":"Use the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-focus-within.git"},"homepage":"https://github.com/csstools/postcss-focus-within#readme","bugs":{"url":"https://github.com/csstools/postcss-focus-within/issues"},"main":"dist/index.cjs.js","module":"dist/index.esm.mjs","scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","pretest":"npm install && npm run build","test":"npm run lint && npm run tape","tape":"npx postcss-tape"},"engines":{"node":">=12"},"peerDependencies":{"postcss":"^8.3"},"devDependencies":{"@babel/core":"7.15.5","@babel/preset-env":"7.15.6","eslint":"7.32.0","postcss":"8.3.6","postcss-tape":"6.0.1","pre-commit":"1.2.2","rollup":"2.56.3","rollup-plugin-babel":"4.4.0"},"babel":{"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true,"node":true},"extends":"eslint:recommended","parserOptions":{"ecmaVersion":2020,"sourceType":"module"}},"rollup":{"input":"src/index.js","plugins":["rollup-plugin-babel"],"output":[{"exports":"default","file":"dist/index.cjs.js","format":"cjs"},{"file":"dist/index.esm.js","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"40906659a2c651c0e2affdc6b1c4f411e875abb6","_id":"postcss-focus-within@5.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"6356b6e204b868f80613ad694bea5f5dac6bfd68","size":4663,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-5.0.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-5.0.0.tgz"},"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_5.0.0_1631886064608_0.46239666550162184"},"_hasShrinkwrap":false,"publish_time":1631886064763,"_cnpm_publish_time":1631886064763,"_cnpmcore_publish_time":"2021-12-15T10:41:38.054Z"},"4.0.0":{"name":"postcss-focus-within","version":"4.0.0","description":"Use the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-focus-within.git"},"homepage":"https://github.com/csstools/postcss-focus-within#readme","bugs":{"url":"https://github.com/csstools/postcss-focus-within/issues"},"main":"dist/index.cjs.js","module":"dist/index.esm.mjs","scripts":{"build":"npx rollup -c .rollup.js","build:watch":"npx rollup -c .rollup.js --watch","lint":"npx eslint --cache src","lint:fix":"npx eslint --cache --fix","pretest":"npm install && npm run build","test":"npm run lint && npm run tape","tape":"npx postcss-tape"},"engines":{"node":">=10.0.0"},"dependencies":{"postcss":"^7.0.27"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.5","babel-eslint":"^10.1.0","eslint":"^6.8.0","postcss-tape":"5.0.2","pre-commit":"^1.2.2","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0"},"babel":{"presets":[["@babel/env",{"targets":"maintained node versions"}]]},"eslintConfig":{"env":{"es6":true,"node":true},"extends":"eslint:recommended","parser":"babel-eslint"},"rollup":{"input":"src/index.js","plugins":["rollup-plugin-babel"],"output":[{"file":"dist/index.cjs.js","format":"cjs"},{"file":"dist/index.esm.js","format":"esm"}]},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"d82b739c98fae042d2520c52643028f5be74bc26","_id":"postcss-focus-within@4.0.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"shasum":"c6b428e13403ba053704ce338514584b6cd880c3","size":5305,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-4.0.0.tgz"},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_4.0.0_1586785233377_0.8103446826494147"},"_hasShrinkwrap":false,"publish_time":1586785233531,"_cnpm_publish_time":1586785233531},"3.0.0":{"name":"postcss-focus-within","version":"3.0.0","description":"Use the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-focus-within.git"},"homepage":"https://github.com/jonathantneal/postcss-focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-focus-within/issues"},"main":"index.cjs.js","module":"index.es.mjs","scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=6.0.0"},"dependencies":{"postcss":"^7.0.2"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^9.0.0","eslint":"^5.6.0","eslint-config-dev":"2.0.0","postcss-tape":"2.2.0","pre-commit":"^1.2.2","rollup":"^0.66.0","rollup-plugin-babel":"^4.0.1"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"382ed07404b3665e1d31bd795a0c028033bc8276","_id":"postcss-focus-within@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"763b8788596cee9b874c999201cdde80659ef680","size":5776,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-3.0.0.tgz"},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_3.0.0_1537242894675_0.266156652750438"},"_hasShrinkwrap":false,"publish_time":1537242894810,"_cnpm_publish_time":1537242894810},"2.0.0":{"name":"postcss-focus-within","version":"2.0.0","description":"Ise the :focus-within pseudo-selector in CSS","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-focus-within.git"},"homepage":"https://github.com/jonathantneal/postcss-focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-focus-within/issues"},"main":"index.cjs.js","module":"index.es.js","files":["index.cjs.js","index.es.js"],"scripts":{"prepublishOnly":"npm test","pretest":"rollup -c .rollup.js --silent","test":"echo 'Running tests...'; npm run test:js && npm run test:tape","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^6.0.21"},"devDependencies":{"babel-core":"^6.26.0","babel-eslint":"^8.2.2","babel-preset-env":"^1.6.1","eslint":"^4.19.1","eslint-config-dev":"2.0.0","postcss-tape":"2.2.0","pre-commit":"^1.2.2","rollup":"^0.57.1","rollup-plugin-babel":"^3.0.3"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"1596182fbd0d23a936bcd6389b360f4e0afd5cef","_id":"postcss-focus-within@2.0.0","_npmVersion":"5.8.0","_nodeVersion":"9.11.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"7ff76ad8b5e9a000c0123d9690a76752c36c0c52","size":5215,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-2.0.0.tgz"},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_2.0.0_1523152522342_0.6922532908309977"},"_hasShrinkwrap":false,"publish_time":1523152522443,"_cnpm_publish_time":1523152522443},"1.0.0":{"name":"postcss-focus-within","version":"1.0.0","description":"[![NPM Version][npm-img]][npm-url] [![Build Status][cli-img]][cli-url] [![Windows Build Status][win-img]][win-url] [![Gitter Chat][git-img]][git-url]","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/postcss-focus-within.git"},"homepage":"https://github.com/jonathantneal/postcss-focus-within#readme","bugs":{"url":"https://github.com/jonathantneal/postcss-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 && npm run test:tape","test:ec":"echint --ignore index.bundle.js test","test:js":"eslint *.js --cache --ignore-path .gitignore --quiet","test:tape":"postcss-tape"},"engines":{"node":">=4.0.0"},"dependencies":{"postcss":"^6.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","postcss-tape":"2.2","pre-commit":"^1.2","rollup":"^0.56","rollup-plugin-babel":"^3.0"},"eslintConfig":{"extends":"dev","parser":"babel-eslint"},"keywords":["postcss","css","postcss-plugin","focus","within","polyfill","pseudos","selectors","accessibility","a11y","descendants","ancestors"],"gitHead":"ee63ee4246a8107b64f65afa4e13d047839c2593","_id":"postcss-focus-within@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"dbaa2e5c2f599cce6384d4afc0073414f2203546","size":5018,"noattachment":false,"key":"/postcss-focus-within/-/postcss-focus-within-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/postcss-focus-within/download/postcss-focus-within-1.0.0.tgz"},"maintainers":[{"name":"alaguna","email":""},{"name":"jonathantneal","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-focus-within_1.0.0_1518910058056_0.7729713731156693"},"_hasShrinkwrap":false,"publish_time":1518910058113,"_cnpm_publish_time":1518910058113}},"readme":"# PostCSS Focus Within [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n[<img alt=\"npm version\" src=\"https://img.shields.io/npm/v/postcss-focus-within.svg\" height=\"20\">][npm-url] [<img alt=\"CSS Standard Status\" src=\"https://cssdb.org/images/badges/focus-within-pseudo-class.svg\" height=\"20\">][css-url] [<img alt=\"Build Status\" src=\"https://github.com/csstools/postcss-plugins/workflows/test/badge.svg\" height=\"20\">][cli-url] [<img alt=\"Discord\" src=\"https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white\">][discord]\n\n[PostCSS Focus Within] lets you use the `:focus-within` pseudo-class in CSS, \nfollowing the [Selectors Level 4 specification].\n\n```pcss\n.my-form-field:focus-within label {\n\tbackground-color: yellow;\n}\n\n/* becomes */\n\n.my-form-field[focus-within].js-focus-within label, .js-focus-within .my-form-field[focus-within] label {\n\tbackground-color: yellow;\n}\n.my-form-field:focus-within label {\n\tbackground-color: yellow;\n}\n```\n\n[PostCSS Focus Within] duplicates rules using the `:focus-within` pseudo-class\nwith a `[focus-within]` attribute selector, the same selector used by the\nfocus-within polyfill. This replacement selector can be changed using the\n`replaceWith` option. Also, the preservation of the original `:focus-within`\nrule can be disabled using the `preserve` option.\n\n## Usage\n\nAdd [PostCSS Focus Within] to your project:\n\n```bash\nnpm install postcss postcss-focus-within --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssFocusWithin = require('postcss-focus-within');\n\npostcss([\n\tpostcssFocusWithin(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n[PostCSS Focus Within] runs in all Node environments, with special\ninstructions for:\n\n- [Node](INSTALL.md#node)\n- [PostCSS CLI](INSTALL.md#postcss-cli)\n- [PostCSS Load Config](INSTALL.md#postcss-load-config)\n- [Webpack](INSTALL.md#webpack)\n- [Next.js](INSTALL.md#nextjs)\n- [Gulp](INSTALL.md#gulp)\n- [Grunt](INSTALL.md#grunt)\n\n## Options\n\n### preserve\n\nThe `preserve` option determines whether the original notation\nis preserved. By default, it is preserved.\n\n```js\npostcssFocusWithin({ preserve: false })\n```\n\n```pcss\n.my-form-field:focus-within label {\n\tbackground-color: yellow;\n}\n\n/* becomes */\n\n.my-form-field[focus-within].js-focus-within label, .js-focus-within .my-form-field[focus-within] label {\n\tbackground-color: yellow;\n}\n```\n\n### replaceWith\n\nThe `replaceWith` option defines the selector to replace `:focus-within`. By\ndefault, the replacement selector is `[focus-within]`.\nPlease note that using a class, leverages `classList` under the hood which\nmight  not be supported on some old browsers such as IE9, so you may need\nto polyfill `classList` in those cases.\n\n```js\npostcssFocusWithin({ replaceWith: '.focus-within' });\n```\n\n```pcss\n.my-form-field:focus-within label {\n\tbackground-color: yellow;\n}\n\n/* becomes */\n\n.my-form-field.focus-within.js-focus-within label, .js-focus-within .my-form-field.focus-within label {\n\tbackground-color: yellow;\n}\n.my-form-field:focus-within label {\n\tbackground-color: yellow;\n}\n```\n\nNote that changing this option implies that it needs to be passed to the\nbrowser polyfill as well.\n\n### disablePolyfillReadyClass\n\nThe `disablePolyfillReadyClass` option determines if selectors are prefixed with an indicator class.\nThis class is only set on your document if the polyfill loads and is needed.\n\nBy default this option is `false`.\nSet this to `true` to prevent the class from being added.\n\n```js\npostcssFocusWithin({ disablePolyfillReadyClass: true })\n```\n\n```pcss\n.my-form-field:focus-within label {\n\tbackground-color: yellow;\n}\n\n/* becomes */\n\n.my-form-field[focus-within] label {\n\tbackground-color: yellow;\n}\n.my-form-field:focus-within label {\n\tbackground-color: yellow;\n}\n```\n\n## Browser\n\n```js\nimport focusWithinInit from 'postcss-focus-within/browser';\n\nfocusWithinInit();\n```\n\nor\n\n```html\n<!-- When using a CDN url you will have to manually update the version number -->\n<script src=\"https://unpkg.com/postcss-focus-within@7.0.2/dist/browser-global.js\"></script>\n<script>focusWithinInit()</script>\n```\n\n[PostCSS Focus Within] works in all major browsers, including Safari 6+ and\nInternet Explorer 9+ without any additional polyfills.\n\n### Browser Usage\n\n#### force\n\nThe `force` option determines whether the library runs even if the browser\nsupports the selector or not. By default, it won't run if the browser does\nsupport the selector.\n\n```js\nfocusWithinInit({ force: true });\n```\n\n#### replaceWith\n\nSimilar to the option for the PostCSS Plugin, `replaceWith` determines the\nattribute or class to apply to an element when it's considered to be `:focus-within`.\n\n```js\nfocusWithinInit({ replaceWith: '.focus-within });\n```\n\nThis option should be used if it was changed at PostCSS configuration level.\n\n### Using with Next.js\n\nGiven that Next.js imports packages both on the browser and on the server, you need to make sure that the package is only imported on the browser.\n\nAs outlined in the [Next.js documentation](https://nextjs.org/docs/advanced-features/dynamic-import#with-external-libraries), you need to load the package with a dynamic import:\n\n```jsx\nuseEffect(async () => {\n\tconst focusWithinInit = (await import('postcss-focus-within/browser')).default;\n\tfocusWithinInit();\n}, []);\n```\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#focus-within-pseudo-class\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/postcss-focus-within\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Focus Within]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within\n[Selectors Level 4 specification]: https://www.w3.org/TR/selectors-4/#the-focus-within-pseudo\n","_attachments":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-focus-within#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"license":"CC0-1.0"}