tailwindcss 4.0.0-beta.2 → 4.0.0-beta.4
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 +15 -5
- package/dist/lib.js +18 -18
- package/dist/lib.mjs +18 -18
- package/index.css +9 -9
- package/package.json +2 -2
- package/preflight.css +1 -1
- package/theme.css +8 -8
package/dist/lib.d.mts
CHANGED
@@ -219,18 +219,28 @@ type CompileOptions = {
|
|
219
219
|
base: string;
|
220
220
|
}>;
|
221
221
|
};
|
222
|
+
type Root = null | 'none' | {
|
223
|
+
base: string;
|
224
|
+
pattern: string;
|
225
|
+
};
|
226
|
+
declare const enum Features {
|
227
|
+
None = 0,
|
228
|
+
AtApply = 1,
|
229
|
+
AtImport = 2,
|
230
|
+
JsPluginCompat = 4,
|
231
|
+
ThemeFunction = 8,
|
232
|
+
Utilities = 16
|
233
|
+
}
|
222
234
|
declare function compile(css: string, opts?: CompileOptions): Promise<{
|
223
235
|
globs: {
|
224
236
|
base: string;
|
225
237
|
pattern: string;
|
226
238
|
}[];
|
227
|
-
root:
|
228
|
-
|
229
|
-
pattern: string;
|
230
|
-
};
|
239
|
+
root: Root;
|
240
|
+
features: Features;
|
231
241
|
build(candidates: string[]): string;
|
232
242
|
}>;
|
233
243
|
declare function __unstable__loadDesignSystem(css: string, opts?: CompileOptions): Promise<DesignSystem>;
|
234
244
|
declare function postcssPluginWarning(): void;
|
235
245
|
|
236
|
-
export { type Config, __unstable__loadDesignSystem, compile, postcssPluginWarning as default };
|
246
|
+
export { type Config, Features, __unstable__loadDesignSystem, compile, postcssPluginWarning as default };
|