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/@csstools/css-calc/dist/index.d.ts | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/@csstools/css-calc/dist/index.d.ts')
| -rw-r--r-- | node_modules/@csstools/css-calc/dist/index.d.ts | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/node_modules/@csstools/css-calc/dist/index.d.ts b/node_modules/@csstools/css-calc/dist/index.d.ts deleted file mode 100644 index 7fe7efb4..00000000 --- a/node_modules/@csstools/css-calc/dist/index.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { ComponentValue } from '@csstools/css-parser-algorithms'; -import type { TokenDimension } from '@csstools/css-tokenizer'; -import type { TokenNumber } from '@csstools/css-tokenizer'; -import type { TokenPercentage } from '@csstools/css-tokenizer'; - -export declare function calc(css: string, options?: conversionOptions): string; - -export declare function calcFromComponentValues(componentValuesList: Array<Array<ComponentValue>>, options?: conversionOptions): Array<Array<ComponentValue>>; - -export declare type conversionOptions = { - /** - * Pass global values as a map of key value pairs. - */ - globals?: GlobalsWithStrings; - /** - * The default precision is fairly high. - * It aims to be high enough to make rounding unnoticeable in the browser. - * You can set it to a lower number to suite your needs. - */ - precision?: number; - /** - * By default this package will try to preserve units. - * The heuristic to do this is very simplistic. - * We take the first unit we encounter and try to convert other dimensions to that unit. - * - * This better matches what users expect from a CSS dev tool. - * - * If you want to have outputs that are closes to CSS serialized values you can set `true`. - */ - toCanonicalUnits?: boolean; - /** - * Convert NaN, Infinity, ... into standard representable values. - */ - censorIntoStandardRepresentableValues?: boolean; -}; - -export declare type GlobalsWithStrings = Map<string, TokenDimension | TokenNumber | TokenPercentage | string>; - -export declare const mathFunctionNames: Set<string>; - -export { } |
