{"name":"@csstools/postcss-container-rule-prelude-list","description":"Declare a list of container queries in a single at-container rule","version":"1.0.1","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"license":"MIT-0","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/css-parser-algorithms":"^4.0.0","@csstools/css-tokenizer":"^4.0.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-container-rule-prelude-list#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-container-rule-prelude-list"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["container queries list","csswg","fallback","postcss-plugin"],"gitHead":"1d75961414c42b984ca2da2980d2c0e4b871a900","_id":"@csstools/postcss-container-rule-prelude-list@1.0.1","_nodeVersion":"26.1.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-c5qlevVGKHU+zDbVoUGSZl1Mw7Vl1gVRKv6cdIYnaoyM+9Ou23Ian0H5Gr2ZF+lsDWovPK03hOSAbkw6HS8aTg==","shasum":"24178a637ab029c719b37e3ac1b7fa0e07a4882a","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-container-rule-prelude-list/download/@csstools/postcss-container-rule-prelude-list-1.0.1.tgz","fileCount":6,"unpackedSize":5697,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCJrrRSSnRJ9ScmKUjcoPWTy7USZgKJqGPBVaref5qkkQIhAMwFIK2f/Kiv6Ez85CUuJ2tpe3KcyuQGRymMeYgeIz8N"}],"size":2518,"noattachment":false,"key":"/@csstools/postcss-container-rule-prelude-list/-/@csstools/postcss-container-rule-prelude-list-1.0.1.tgz"},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-container-rule-prelude-list_1.0.1_1778685109533_0.09718955516560879"},"_hasShrinkwrap":false,"readme":"# PostCSS Container Rule Prelude List [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n`npm install @csstools/postcss-container-rule-prelude-list --save-dev`\n\n[PostCSS Container Rule Prelude List] lets you declare a list of container queries in a single `@container` rule following the [CSS Conditional 5 Specification].\n\n```css\n@container card (inline-size > 30em), style(--responsive: true) {\n\ta {\n\t\tcolor: red;\n\t}\n}\n\n/* becomes */\n\n@container card (inline-size > 30em) {\n\ta {\n\t\tcolor: red;\n\t}\n}\n@container style(--responsive: true) {\n\ta {\n\t\tcolor: red;\n\t}\n}\n```\n\n## Usage\n\nAdd [PostCSS Container Rule Prelude List] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-container-rule-prelude-list --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssContainerRulePreludeList = require('@csstools/postcss-container-rule-prelude-list');\n\npostcss([\n\tpostcssContainerRulePreludeList(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n## Options\n\n### preserve\n\nThe `preserve` option determines whether the original notation\nis preserved. By default, it is not preserved.\n\n```js\npostcssContainerRulePreludeList({ preserve: true })\n```\n\n```css\n@container card (inline-size > 30em), style(--responsive: true) {\n\ta {\n\t\tcolor: red;\n\t}\n}\n\n/* becomes */\n\n@container card (inline-size > 30em) {\n\ta {\n\t\tcolor: red;\n\t}\n}\n@container style(--responsive: true) {\n\ta {\n\t\tcolor: red;\n\t}\n}\n@container card (inline-size > 30em), style(--responsive: true) {\n\ta {\n\t\tcolor: red;\n\t}\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/#container-rule-prelude-list\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-container-rule-prelude-list\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Container Rule Prelude List]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-container-rule-prelude-list\n[CSS Conditional 5 Specification]: https://drafts.csswg.org/css-conditional-5/#container-rule\n","publish_time":1778685109653,"_cnpm_publish_time":1778685109653,"dist-tags":{"latest":"1.0.5"}}