From f06956efd2dc4bf77244a9fcce2b883a00b925af Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 21 Dec 2023 22:46:53 +0800 Subject: updated node modules --- node_modules/postcss-gap-properties/dist/index.cjs | 2 +- node_modules/postcss-gap-properties/dist/index.d.ts | 10 +++++++--- node_modules/postcss-gap-properties/dist/index.mjs | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) (limited to 'node_modules/postcss-gap-properties/dist') 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; +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; -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}; -- cgit v1.2.3