tailwindcss 4.0.0-alpha.21 → 4.0.0-alpha.22

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
@@ -22,17 +22,21 @@ declare class Theme {
22
22
  value: string;
23
23
  isReference: boolean;
24
24
  isInline: boolean;
25
+ isDefault: boolean;
25
26
  }>);
26
- add(key: string, value: string, { isReference, isInline }?: {
27
+ add(key: string, value: string, { isReference, isInline, isDefault }?: {
27
28
  isReference?: boolean | undefined;
28
29
  isInline?: boolean | undefined;
30
+ isDefault?: boolean | undefined;
29
31
  }): void;
30
32
  keysInNamespaces(themeKeys: ThemeKey[]): string[];
31
33
  get(themeKeys: (ThemeKey | `${ThemeKey}-${string}`)[]): string | null;
34
+ hasDefault(key: string): boolean;
32
35
  entries(): IterableIterator<[string, {
33
36
  value: string;
34
37
  isReference: boolean;
35
38
  isInline: boolean;
39
+ isDefault: boolean;
36
40
  }]>;
37
41
  resolve(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
38
42
  resolveValue(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
@@ -413,7 +417,10 @@ type CompileOptions = {
413
417
  loadConfig?: (path: string) => Promise<UserConfig>;
414
418
  };
415
419
  declare function compile(css: string, opts?: CompileOptions): Promise<{
416
- globs: string[];
420
+ globs: {
421
+ origin?: string;
422
+ pattern: string;
423
+ }[];
417
424
  build(candidates: string[]): string;
418
425
  }>;
419
426
  declare function __unstable__loadDesignSystem(css: string, opts?: CompileOptions): Promise<DesignSystem>;
package/dist/lib.d.ts CHANGED
@@ -22,17 +22,21 @@ declare class Theme {
22
22
  value: string;
23
23
  isReference: boolean;
24
24
  isInline: boolean;
25
+ isDefault: boolean;
25
26
  }>);
26
- add(key: string, value: string, { isReference, isInline }?: {
27
+ add(key: string, value: string, { isReference, isInline, isDefault }?: {
27
28
  isReference?: boolean | undefined;
28
29
  isInline?: boolean | undefined;
30
+ isDefault?: boolean | undefined;
29
31
  }): void;
30
32
  keysInNamespaces(themeKeys: ThemeKey[]): string[];
31
33
  get(themeKeys: (ThemeKey | `${ThemeKey}-${string}`)[]): string | null;
34
+ hasDefault(key: string): boolean;
32
35
  entries(): IterableIterator<[string, {
33
36
  value: string;
34
37
  isReference: boolean;
35
38
  isInline: boolean;
39
+ isDefault: boolean;
36
40
  }]>;
37
41
  resolve(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
38
42
  resolveValue(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
@@ -413,7 +417,10 @@ type CompileOptions = {
413
417
  loadConfig?: (path: string) => Promise<UserConfig>;
414
418
  };
415
419
  declare function compile(css: string, opts?: CompileOptions): Promise<{
416
- globs: string[];
420
+ globs: {
421
+ origin?: string;
422
+ pattern: string;
423
+ }[];
417
424
  build(candidates: string[]): string;
418
425
  }>;
419
426
  declare function __unstable__loadDesignSystem(css: string, opts?: CompileOptions): Promise<DesignSystem>;