tailwindcss 4.0.0-alpha.30 → 4.0.0-alpha.31
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/lib.d.mts +18 -7
- package/dist/lib.js +17 -15
- package/dist/lib.mjs +17 -15
- package/dist/plugin.d.mts +1 -1
- package/dist/plugin.d.ts +4 -1
- package/dist/{types-DxVE_W4f.d.mts → types-BW7iKs0i.d.mts} +4 -1
- package/package.json +2 -2
package/dist/plugin.d.mts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as PluginFn, C as Config, b as PluginWithConfig, c as PluginWithOptions } from './types-
|
1
|
+
import { a as PluginFn, C as Config, b as PluginWithConfig, c as PluginWithOptions } from './types-BW7iKs0i.mjs';
|
2
2
|
import './resolve-config-CCprQPpk.mjs';
|
3
3
|
import './colors.mjs';
|
4
4
|
|
package/dist/plugin.d.ts
CHANGED
@@ -33,6 +33,9 @@ interface UserConfig {
|
|
33
33
|
interface UserConfig {
|
34
34
|
important?: boolean | string;
|
35
35
|
}
|
36
|
+
interface UserConfig {
|
37
|
+
future?: 'all' | Record<string, boolean>;
|
38
|
+
}
|
36
39
|
|
37
40
|
type Config = UserConfig;
|
38
41
|
type PluginFn = (api: PluginAPI) => void;
|
@@ -83,7 +86,7 @@ type PluginAPI = {
|
|
83
86
|
modifiers: 'any' | Record<string, string>;
|
84
87
|
}>): void;
|
85
88
|
theme(path: string, defaultValue?: any): any;
|
86
|
-
config(path
|
89
|
+
config(path?: string, defaultValue?: any): any;
|
87
90
|
prefix(className: string): string;
|
88
91
|
};
|
89
92
|
type CssInJs = {
|
@@ -49,7 +49,7 @@ type PluginAPI = {
|
|
49
49
|
modifiers: 'any' | Record<string, string>;
|
50
50
|
}>): void;
|
51
51
|
theme(path: string, defaultValue?: any): any;
|
52
|
-
config(path
|
52
|
+
config(path?: string, defaultValue?: any): any;
|
53
53
|
prefix(className: string): string;
|
54
54
|
};
|
55
55
|
type CssInJs = {
|
@@ -88,5 +88,8 @@ interface UserConfig {
|
|
88
88
|
interface UserConfig {
|
89
89
|
important?: boolean | string;
|
90
90
|
}
|
91
|
+
interface UserConfig {
|
92
|
+
future?: 'all' | Record<string, boolean>;
|
93
|
+
}
|
91
94
|
|
92
95
|
export type { Config as C, Plugin as P, UserConfig as U, PluginFn as a, PluginWithConfig as b, PluginWithOptions as c };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "tailwindcss",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.31",
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
5
5
|
"license": "MIT",
|
6
6
|
"repository": {
|
@@ -67,7 +67,7 @@
|
|
67
67
|
"@types/node": "^20.14.8",
|
68
68
|
"lightningcss": "^1.26.0",
|
69
69
|
"dedent": "1.5.3",
|
70
|
-
"@tailwindcss/oxide": "4.0.0-alpha.
|
70
|
+
"@tailwindcss/oxide": "4.0.0-alpha.31"
|
71
71
|
},
|
72
72
|
"scripts": {
|
73
73
|
"lint": "tsc --noEmit",
|