diff options
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 {}; |
