@weapp-tailwindcss/postcss 3.0.8 → 3.1.0
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 +0 -1
- package/dist/compat/mini-program-css/index.d.ts +1 -0
- package/dist/compat/mini-program-css/preflight.d.ts +0 -1
- package/dist/compat/mini-program-css/root-cleanups.d.ts +4 -0
- package/dist/compat/mini-program-css/selectors.d.ts +1 -0
- package/dist/compat/mini-program-css/theme.d.ts +1 -1
- package/dist/compat/tailwindcss-rpx.d.ts +15 -2
- package/dist/compat/tailwindcss-v4.d.ts +1 -1
- package/dist/generator-plugin/index.d.ts +1 -1
- package/dist/generator-plugin/types.d.ts +1 -20
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2427 -2004
- package/dist/index.mjs +2421 -2005
- package/dist/types.d.ts +1 -1
- package/package.json +5 -5
- package/dist/cssVarsV3.d.ts +0 -5
- package/dist/generator-plugin/package-version.d.ts +0 -3
- package/dist/generator-plugin/tailwind-version.d.ts +0 -3
package/dist/types.d.ts
CHANGED
|
@@ -123,7 +123,7 @@ export type IStyleHandlerOptions = {
|
|
|
123
123
|
uniAppX?: boolean | undefined;
|
|
124
124
|
uniAppXCssTarget?: UniAppXCssTarget | undefined;
|
|
125
125
|
uniAppXUnsupported?: UniAppXUnsupportedMode | undefined;
|
|
126
|
-
majorVersion?:
|
|
126
|
+
majorVersion?: 4 | undefined;
|
|
127
127
|
} & RequiredStyleHandlerOptions;
|
|
128
128
|
export interface UserDefinedPostcssOptions {
|
|
129
129
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/postcss",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "@weapp-tailwindcss/postcss",
|
|
5
5
|
"author": "ice breaker <1324318532@qq.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"postcss-rule-unit-converter": "^0.2.2",
|
|
76
76
|
"postcss-selector-parser": "~7.1.4",
|
|
77
77
|
"postcss-value-parser": "^4.2.0",
|
|
78
|
-
"tailwindcss-patch": "9.
|
|
78
|
+
"tailwindcss-patch": "9.5.0",
|
|
79
79
|
"@weapp-tailwindcss/postcss-calc": "^1.0.2",
|
|
80
|
-
"
|
|
81
|
-
"tailwindcss
|
|
80
|
+
"tailwindcss-config": "2.0.0",
|
|
81
|
+
"@weapp-tailwindcss/shared": "2.0.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@csstools/css-color-parser": "^4.1.
|
|
84
|
+
"@csstools/css-color-parser": "^4.1.8",
|
|
85
85
|
"@csstools/css-parser-algorithms": "^4.0.0",
|
|
86
86
|
"@csstools/css-tokenizer": "^4.0.0",
|
|
87
87
|
"@csstools/postcss-is-pseudo-class": "^6.0.0",
|
package/dist/cssVarsV3.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { WeappTailwindcssPostcssTailwindVersion } from './types';
|
|
2
|
-
export declare const DEFAULT_TAILWINDCSS_GENERATOR_MAJOR_VERSION: WeappTailwindcssPostcssTailwindVersion;
|
|
3
|
-
export declare function readInstalledPackageMajorVersion(packageName: string, base: string): WeappTailwindcssPostcssTailwindVersion | undefined;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { Result, Root } from 'postcss';
|
|
2
|
-
import type { WeappTailwindcssPostcssPluginOptions } from './types';
|
|
3
|
-
export declare function resolvePostcssTailwindVersion(root: Root, result: Result, options: WeappTailwindcssPostcssPluginOptions): import("./types").WeappTailwindcssPostcssTailwindVersion;
|