@weapp-tailwindcss/postcss 3.0.7 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compat/mini-program-css/finalize-options.d.ts +4 -0
- package/dist/compat/tailwindcss-v4.d.ts +2 -0
- package/dist/generator-plugin/types.d.ts +1 -0
- package/dist/index.js +1028 -516
- package/dist/index.mjs +1001 -489
- package/dist/options-resolver.d.ts +1 -0
- package/dist/types.d.ts +113 -9
- package/package.json +5 -5
|
@@ -3,4 +3,8 @@ export interface FinalizeMiniProgramCssOptions {
|
|
|
3
3
|
cssPreflight?: CssPreflightOptions | undefined;
|
|
4
4
|
preservePseudoContentInit?: boolean;
|
|
5
5
|
isTailwindcssV4?: boolean | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* 是否为 Tailwind CSS v4 渐变工具类生成小程序字面量兜底。
|
|
8
|
+
*/
|
|
9
|
+
tailwindcssV4GradientFallback?: boolean | undefined;
|
|
6
10
|
}
|
|
@@ -9,6 +9,8 @@ export declare function collectUsedTailwindcssV4Variables(root: Root): Set<strin
|
|
|
9
9
|
export declare function usesTailwindcssV4ContentVariable(root: Root): boolean;
|
|
10
10
|
export declare function createUsedCssVarsV4Nodes(usedProps: ReadonlySet<string>): PostcssDeclaration[];
|
|
11
11
|
export declare function createMissingCssVarsV4Nodes(root: Root, usedProps: ReadonlySet<string>): PostcssDeclaration[];
|
|
12
|
+
export declare function mergeTailwindcssV4GradientDirectionRules(root: Root): void;
|
|
13
|
+
export declare function appendTailwindcssV4MiniProgramGradientRules(root: Root): void;
|
|
12
14
|
export declare function isTailwindcssV4ModernCheck(atRule: AtRule): boolean;
|
|
13
15
|
export declare function isTailwindcssV4LinearGradientSupports(atRule: AtRule): boolean;
|
|
14
16
|
export declare function isTailwindcssV4DisplayP3Supports(atRule: AtRule): boolean;
|