From c06f7ee0a40255214c477e13d9b956a7e07c2900 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 15:05:55 +0800 Subject: postcss,(plugins): nanocss, postcss-preset-env --- .../@csstools/postcss-exponential-functions/dist/calc.d.ts | 1 + .../@csstools/postcss-exponential-functions/dist/checks.d.ts | 2 ++ .../@csstools/postcss-exponential-functions/dist/index.cjs | 1 + .../@csstools/postcss-exponential-functions/dist/index.d.ts | 8 ++++++++ .../@csstools/postcss-exponential-functions/dist/index.mjs | 1 + 5 files changed, 13 insertions(+) create mode 100644 node_modules/@csstools/postcss-exponential-functions/dist/calc.d.ts create mode 100644 node_modules/@csstools/postcss-exponential-functions/dist/checks.d.ts create mode 100644 node_modules/@csstools/postcss-exponential-functions/dist/index.cjs create mode 100644 node_modules/@csstools/postcss-exponential-functions/dist/index.d.ts create mode 100644 node_modules/@csstools/postcss-exponential-functions/dist/index.mjs (limited to 'node_modules/@csstools/postcss-exponential-functions/dist') diff --git a/node_modules/@csstools/postcss-exponential-functions/dist/calc.d.ts b/node_modules/@csstools/postcss-exponential-functions/dist/calc.d.ts new file mode 100644 index 00000000..5a1ee11e --- /dev/null +++ b/node_modules/@csstools/postcss-exponential-functions/dist/calc.d.ts @@ -0,0 +1 @@ +export declare function calc(css: string): string; diff --git a/node_modules/@csstools/postcss-exponential-functions/dist/checks.d.ts b/node_modules/@csstools/postcss-exponential-functions/dist/checks.d.ts new file mode 100644 index 00000000..6623beb7 --- /dev/null +++ b/node_modules/@csstools/postcss-exponential-functions/dist/checks.d.ts @@ -0,0 +1,2 @@ +export declare const FUNCTION_NAME_REGEXP: RegExp; +export declare const FUNCTION_CALL_REGEXP: RegExp; diff --git a/node_modules/@csstools/postcss-exponential-functions/dist/index.cjs b/node_modules/@csstools/postcss-exponential-functions/dist/index.cjs new file mode 100644 index 00000000..defdaba9 --- /dev/null +++ b/node_modules/@csstools/postcss-exponential-functions/dist/index.cjs @@ -0,0 +1 @@ +"use strict";var e=require("@csstools/css-calc");const s=new RegExp(`(${["exp","hypot","log","pow","sqrt"].join("|")})\\(`,"i"),creator=o=>{const t=Object.assign({preserve:!1},o);return{postcssPlugin:"postcss-exponential-functions",Declaration(o){if(!s.test(o.value))return;const c=e.calc(o.value);c!==o.value&&(o.cloneBefore({value:c}),t.preserve||o.remove())}}};creator.postcss=!0,module.exports=creator; diff --git a/node_modules/@csstools/postcss-exponential-functions/dist/index.d.ts b/node_modules/@csstools/postcss-exponential-functions/dist/index.d.ts new file mode 100644 index 00000000..d216e578 --- /dev/null +++ b/node_modules/@csstools/postcss-exponential-functions/dist/index.d.ts @@ -0,0 +1,8 @@ +import type { PluginCreator } from 'postcss'; +/** postcss-exponential-functions plugin options */ +export type pluginOptions = { + /** Preserve the original notation. default: false */ + preserve?: boolean; +}; +declare const creator: PluginCreator; +export default creator; diff --git a/node_modules/@csstools/postcss-exponential-functions/dist/index.mjs b/node_modules/@csstools/postcss-exponential-functions/dist/index.mjs new file mode 100644 index 00000000..748e9dbb --- /dev/null +++ b/node_modules/@csstools/postcss-exponential-functions/dist/index.mjs @@ -0,0 +1 @@ +import{calc as e}from"@csstools/css-calc";const s=new RegExp(`(${["exp","hypot","log","pow","sqrt"].join("|")})\\(`,"i"),creator=o=>{const t=Object.assign({preserve:!1},o);return{postcssPlugin:"postcss-exponential-functions",Declaration(o){if(!s.test(o.value))return;const n=e(o.value);n!==o.value&&(o.cloneBefore({value:n}),t.preserve||o.remove())}}};creator.postcss=!0;export{creator as default}; -- cgit v1.2.3