summaryrefslogtreecommitdiff
path: root/node_modules/postcss-gap-properties/dist/index.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/postcss-gap-properties/dist/index.mjs')
-rw-r--r--node_modules/postcss-gap-properties/dist/index.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/postcss-gap-properties/dist/index.mjs b/node_modules/postcss-gap-properties/dist/index.mjs
new file mode 100644
index 00000000..604df9ae
--- /dev/null
+++ b/node_modules/postcss-gap-properties/dist/index.mjs
@@ -0,0 +1 @@
+const e=["column-gap","gap","row-gap"],creator=o=>{const r=Object.assign({preserve:!0},o);return{postcssPlugin:"postcss-gap-properties",Declaration(o){var p,s;if(!e.includes(o.prop.toLowerCase()))return;if(!(null!=(p=o.parent)&&p.some((e=>"decl"===e.type&&("display"===e.prop.toLowerCase()&&"grid"===e.value.toLowerCase())))))return;const t=`grid-${o.prop.toLowerCase()}`;(null==(s=o.parent)?void 0:s.some((e=>"decl"===e.type&&e.prop.toLowerCase()===t)))||(o.cloneBefore({prop:t}),r.preserve||o.remove())}}};creator.postcss=!0;export{creator as default};