diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/postcss-gap-properties/dist | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/postcss-gap-properties/dist')
| -rw-r--r-- | node_modules/postcss-gap-properties/dist/index.cjs | 1 | ||||
| -rw-r--r-- | node_modules/postcss-gap-properties/dist/index.d.ts | 12 | ||||
| -rw-r--r-- | node_modules/postcss-gap-properties/dist/index.mjs | 1 |
3 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/postcss-gap-properties/dist/index.cjs b/node_modules/postcss-gap-properties/dist/index.cjs deleted file mode 100644 index 9e3db031..00000000 --- a/node_modules/postcss-gap-properties/dist/index.cjs +++ /dev/null @@ -1 +0,0 @@ -"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 deleted file mode 100644 index 2cc7af8f..00000000 --- a/node_modules/postcss-gap-properties/dist/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { PluginCreator } from 'postcss'; - -declare const creator: PluginCreator<pluginOptions>; -export default creator; - -/** postcss-gap-properties plugin options */ -export declare type pluginOptions = { - /** Preserve the original notation. default: true */ - preserve?: boolean; -}; - -export { } diff --git a/node_modules/postcss-gap-properties/dist/index.mjs b/node_modules/postcss-gap-properties/dist/index.mjs deleted file mode 100644 index f4883c97..00000000 --- a/node_modules/postcss-gap-properties/dist/index.mjs +++ /dev/null @@ -1 +0,0 @@ -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}; |
