summaryrefslogtreecommitdiff
path: root/node_modules/postcss-gap-properties/dist
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-12-21 22:46:53 +0800
commitf06956efd2dc4bf77244a9fcce2b883a00b925af (patch)
tree0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/postcss-gap-properties/dist
parent8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff)
updated node modules
Diffstat (limited to 'node_modules/postcss-gap-properties/dist')
-rw-r--r--node_modules/postcss-gap-properties/dist/index.cjs2
-rw-r--r--node_modules/postcss-gap-properties/dist/index.d.ts10
-rw-r--r--node_modules/postcss-gap-properties/dist/index.mjs2
3 files changed, 9 insertions, 5 deletions
diff --git a/node_modules/postcss-gap-properties/dist/index.cjs b/node_modules/postcss-gap-properties/dist/index.cjs
index 7af188d7..9e3db031 100644
--- a/node_modules/postcss-gap-properties/dist/index.cjs
+++ b/node_modules/postcss-gap-properties/dist/index.cjs
@@ -1 +1 @@
-"use strict";const e=["column-gap","gap","row-gap"],creator=o=>{const r=Object.assign({preserve:!0},o);return{postcssPlugin:"postcss-gap-properties",Declaration(o){var s,p;if(!e.includes(o.prop.toLowerCase()))return;if(!(null!=(s=o.parent)&&s.some((e=>"decl"===e.type&&("display"===e.prop.toLowerCase()&&"grid"===e.value.toLowerCase())))))return;const t=`grid-${o.prop.toLowerCase()}`;(null==(p=o.parent)?void 0:p.some((e=>"decl"===e.type&&e.prop.toLowerCase()===t)))||(o.cloneBefore({prop:t}),r.preserve||o.remove())}}};creator.postcss=!0,module.exports=creator;
+"use strict";const e=["column-gap","gap","row-gap"],creator=o=>{const r=Object.assign({preserve:!0},o);return{postcssPlugin:"postcss-gap-properties",Declaration(o){if(!e.includes(o.prop.toLowerCase()))return;if(!o.parent?.some((e=>"decl"===e.type&&("display"===e.prop.toLowerCase()&&"grid"===e.value.toLowerCase()))))return;const s=`grid-${o.prop.toLowerCase()}`,p=o.parent?.some((e=>"decl"===e.type&&e.prop.toLowerCase()===s));p||(o.cloneBefore({prop:s}),r.preserve||o.remove())}}};creator.postcss=!0,module.exports=creator;
diff --git a/node_modules/postcss-gap-properties/dist/index.d.ts b/node_modules/postcss-gap-properties/dist/index.d.ts
index 8330bff7..2cc7af8f 100644
--- a/node_modules/postcss-gap-properties/dist/index.d.ts
+++ b/node_modules/postcss-gap-properties/dist/index.d.ts
@@ -1,8 +1,12 @@
import type { PluginCreator } from 'postcss';
+
+declare const creator: PluginCreator<pluginOptions>;
+export default creator;
+
/** postcss-gap-properties plugin options */
-export type pluginOptions = {
+export declare type pluginOptions = {
/** Preserve the original notation. default: true */
preserve?: boolean;
};
-declare const creator: PluginCreator<pluginOptions>;
-export default creator;
+
+export { }
diff --git a/node_modules/postcss-gap-properties/dist/index.mjs b/node_modules/postcss-gap-properties/dist/index.mjs
index 604df9ae..f4883c97 100644
--- a/node_modules/postcss-gap-properties/dist/index.mjs
+++ b/node_modules/postcss-gap-properties/dist/index.mjs
@@ -1 +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};
+const e=["column-gap","gap","row-gap"],creator=o=>{const r=Object.assign({preserve:!0},o);return{postcssPlugin:"postcss-gap-properties",Declaration(o){if(!e.includes(o.prop.toLowerCase()))return;if(!o.parent?.some((e=>"decl"===e.type&&("display"===e.prop.toLowerCase()&&"grid"===e.value.toLowerCase()))))return;const p=`grid-${o.prop.toLowerCase()}`,s=o.parent?.some((e=>"decl"===e.type&&e.prop.toLowerCase()===p));s||(o.cloneBefore({prop:p}),r.preserve||o.remove())}}};creator.postcss=!0;export{creator as default};