postcss-space-between
Advanced tools
Comparing version 0.1.0 to 0.1.1
# Changelog | ||
## 0.1.1 | ||
### Patch Changes | ||
- [`8183117`](https://github.com/vnphanquang/postcss-space-between/commit/818311798ec1ccf253d420633b9366d83cf078af) Thanks [@vnphanquang](https://github.com/vnphanquang)! - should scope selector to only direct children | ||
- [`c64d0b5`](https://github.com/vnphanquang/postcss-space-between/commit/c64d0b5d50378929ce618f7579260623656aa914) Thanks [@vnphanquang](https://github.com/vnphanquang)! - docs: use absolut path for references in README | ||
## 0.1.0 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "postcss-space-between", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "postcss plugin to add vertical / horizontal spacing between direct children", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -78,15 +78,15 @@ # postcss-space-between | ||
[changelog]: ./CHANGELOG.md | ||
[tests]: ./src/space-between.test.js | ||
[tests]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/space-between.test.js | ||
[tests.in-media-queries.input]: ./src/tests/in-media-queries.input.css | ||
[tests.in-media-queries.output]: ./src/tests/in-media-queries.output.css | ||
[tests.in-media-queries.input]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/in-media-queries.input.css | ||
[tests.in-media-queries.output]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/in-media-queries.output.css | ||
[tests.with-combined-selector.input]: ./src/tests/with-combined-selector.input.css | ||
[tests.with-combined-selector.output]: ./src/tests/with-combined-selector.output.css | ||
[tests.with-combined-selector.input]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/with-combined-selector.input.css | ||
[tests.with-combined-selector.output]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/with-combined-selector.output.css | ||
[tests.with-postcss-nesting.input]: ./src/tests/with-postcss-nesting.input.css | ||
[tests.with-postcss-nesting.output]: ./src/tests/with-postcss-nest.output.css | ||
[tests.with-postcss-nesting.input]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/with-postcss-nesting.input.css | ||
[tests.with-postcss-nesting.output]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/with-postcss-nest.output.css | ||
[tests.with-postcss-nested.input]: ./src/tests/with-postcss-nested.input.css | ||
[tests.with-postcss-nested.output]: ./src/tests/with-postcss-nest.output.css | ||
[tests.with-postcss-nested.input]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/with-postcss-nested.input.css | ||
[tests.with-postcss-nested.output]: https://github.com/vnphanquang/postcss-space-between/blob/main/src/tests/with-postcss-nest.output.css | ||
@@ -93,0 +93,0 @@ <!-- npm --> |
@@ -41,3 +41,3 @@ const postcss = require('postcss'); | ||
.comma(parent.selector) | ||
.map((s) => `${s} * + *`) | ||
.map((s) => `${s} > * + *`) | ||
.join(', '); | ||
@@ -44,0 +44,0 @@ if (global) selector = `:global(${selector})`; |
9295