tailwindcss 4.0.0-beta.4 → 4.0.0-beta.5

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { U as UserConfig, P as Plugin } from './types-CAsznCh5.mjs';
1
+ import { U as UserConfig, P as Plugin } from './types-BTRmm49E.mjs';
2
2
  import { V as Variant, C as Candidate } from './resolve-config-QUZ9b-Gn.mjs';
3
3
  import './colors.mjs';
4
4
 
@@ -25,7 +25,7 @@ type Comment = {
25
25
  };
26
26
  type Context = {
27
27
  kind: 'context';
28
- context: Record<string, string>;
28
+ context: Record<string, string | boolean>;
29
29
  nodes: AstNode[];
30
30
  };
31
31
  type AtRoot = {
@@ -231,6 +231,15 @@ declare const enum Features {
231
231
  ThemeFunction = 8,
232
232
  Utilities = 16
233
233
  }
234
+ declare function compileAst(input: AstNode[], opts?: CompileOptions): Promise<{
235
+ globs: {
236
+ base: string;
237
+ pattern: string;
238
+ }[];
239
+ root: Root;
240
+ features: Features;
241
+ build(candidates: string[]): AstNode[];
242
+ }>;
234
243
  declare function compile(css: string, opts?: CompileOptions): Promise<{
235
244
  globs: {
236
245
  base: string;
@@ -243,4 +252,4 @@ declare function compile(css: string, opts?: CompileOptions): Promise<{
243
252
  declare function __unstable__loadDesignSystem(css: string, opts?: CompileOptions): Promise<DesignSystem>;
244
253
  declare function postcssPluginWarning(): void;
245
254
 
246
- export { type Config, Features, __unstable__loadDesignSystem, compile, postcssPluginWarning as default };
255
+ export { type Config, Features, __unstable__loadDesignSystem, compile, compileAst, postcssPluginWarning as default };