diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:05:55 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:05:55 +0800 |
| commit | c06f7ee0a40255214c477e13d9b956a7e07c2900 (patch) | |
| tree | f5982a568ef8fab865d0142e71c7494fea3e4c1b /node_modules/postcss-image-set-function/dist/lib | |
| parent | 3fd9400d4dccc25aa29b5702216732e0b7542073 (diff) | |
postcss,(plugins): nanocss, postcss-preset-env
Diffstat (limited to 'node_modules/postcss-image-set-function/dist/lib')
5 files changed, 28 insertions, 0 deletions
diff --git a/node_modules/postcss-image-set-function/dist/lib/get-comma.d.ts b/node_modules/postcss-image-set-function/dist/lib/get-comma.d.ts new file mode 100644 index 00000000..77c82734 --- /dev/null +++ b/node_modules/postcss-image-set-function/dist/lib/get-comma.d.ts @@ -0,0 +1,2 @@ +import valueParser from 'postcss-value-parser'; +export declare function getComma(node: valueParser.Node): boolean; diff --git a/node_modules/postcss-image-set-function/dist/lib/get-image.d.ts b/node_modules/postcss-image-set-function/dist/lib/get-image.d.ts new file mode 100644 index 00000000..2a1a4d20 --- /dev/null +++ b/node_modules/postcss-image-set-function/dist/lib/get-image.d.ts @@ -0,0 +1,2 @@ +import valueParser from 'postcss-value-parser'; +export declare function getImage(node: valueParser.Node): string | false; diff --git a/node_modules/postcss-image-set-function/dist/lib/get-media.d.ts b/node_modules/postcss-image-set-function/dist/lib/get-media.d.ts new file mode 100644 index 00000000..324d4108 --- /dev/null +++ b/node_modules/postcss-image-set-function/dist/lib/get-media.d.ts @@ -0,0 +1,4 @@ +import type { Declaration, Postcss } from 'postcss'; +import type { Node } from 'postcss-value-parser'; +export declare function getMedia(dpi: number | false, postcss: Postcss, decl: Declaration): false | import("postcss/lib/at-rule").default; +export declare function getMediaDPI(node: Node): number | false; diff --git a/node_modules/postcss-image-set-function/dist/lib/handle-invalidation.d.ts b/node_modules/postcss-image-set-function/dist/lib/handle-invalidation.d.ts new file mode 100644 index 00000000..13aad1b4 --- /dev/null +++ b/node_modules/postcss-image-set-function/dist/lib/handle-invalidation.d.ts @@ -0,0 +1,6 @@ +import type { Declaration, Result } from 'postcss'; +export declare const handleInvalidation: (opts: { + oninvalid: 'warn' | 'throw' | unknown; + decl: Declaration; + result: Result; +}, message: string, word: string) => void; diff --git a/node_modules/postcss-image-set-function/dist/lib/process-image-set.d.ts b/node_modules/postcss-image-set-function/dist/lib/process-image-set.d.ts new file mode 100644 index 00000000..76a38653 --- /dev/null +++ b/node_modules/postcss-image-set-function/dist/lib/process-image-set.d.ts @@ -0,0 +1,14 @@ +import type { Declaration, Result, Postcss } from 'postcss'; +import type { Node } from 'postcss-value-parser'; +type imageSetFunction = { + imageSetFunction: Node; + imageSetOptionNodes: Array<Node>; +}; +export declare const processImageSet: (imageSetFunctions: Array<imageSetFunction>, decl: Declaration, opts: { + decl: Declaration; + oninvalid: 'warn' | 'throw' | 'ignore' | false | undefined; + preserve: boolean; + result: Result; + postcss: Postcss; +}) => void; +export {}; |
