tailwindcss 4.0.0-alpha.15 → 4.0.0-alpha.17

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
@@ -206,8 +206,8 @@ declare class Theme {
206
206
  value: string;
207
207
  isReference: boolean;
208
208
  }]>;
209
- resolve(candidateValue: string, themeKeys: ThemeKey[]): string | null;
210
- resolveValue(candidateValue: string, themeKeys: ThemeKey[]): string | null;
209
+ resolve(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
210
+ resolveValue(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
211
211
  resolveWith(candidateValue: string, themeKeys: ThemeKey[], nestedKeys?: `--${string}`[]): [string, Record<string, string>] | null;
212
212
  namespace(namespace: string): Map<string | null, string>;
213
213
  }
@@ -244,7 +244,7 @@ declare class Variants {
244
244
  group(fn: () => void, compareFn?: CompareFn): void;
245
245
  has(name: string): boolean;
246
246
  get(name: string): {
247
- kind: "arbitrary" | "static" | "functional" | "compound";
247
+ kind: Variant["kind"];
248
248
  order: number;
249
249
  applyFn: VariantFn<any>;
250
250
  compounds: boolean;
@@ -256,7 +256,7 @@ declare class Variants {
256
256
  compare(a: Variant | null, z: Variant | null): number;
257
257
  keys(): IterableIterator<string>;
258
258
  entries(): IterableIterator<[string, {
259
- kind: "arbitrary" | "static" | "functional" | "compound";
259
+ kind: Variant["kind"];
260
260
  order: number;
261
261
  applyFn: VariantFn<any>;
262
262
  compounds: boolean;
@@ -302,7 +302,7 @@ declare class Utilities {
302
302
  arbitrary(compileFn: CompileFn<'arbitrary'>): void;
303
303
  has(name: string): boolean;
304
304
  get(name: string | symbol): {
305
- kind: "arbitrary" | "static" | "functional";
305
+ kind: Candidate["kind"];
306
306
  compileFn: CompileFn<any>;
307
307
  } | undefined;
308
308
  kind(name: string): "arbitrary" | "static" | "functional";
@@ -310,7 +310,7 @@ declare class Utilities {
310
310
  suggest(name: string, groups: () => SuggestionGroup[]): void;
311
311
  keys(): IterableIterator<string | symbol>;
312
312
  entries(): IterableIterator<[string | symbol, {
313
- kind: "arbitrary" | "static" | "functional";
313
+ kind: Candidate["kind"];
314
314
  compileFn: CompileFn<any>;
315
315
  }]>;
316
316
  getArbitrary(): CompileFn<any>;
package/dist/lib.d.ts CHANGED
@@ -206,8 +206,8 @@ declare class Theme {
206
206
  value: string;
207
207
  isReference: boolean;
208
208
  }]>;
209
- resolve(candidateValue: string, themeKeys: ThemeKey[]): string | null;
210
- resolveValue(candidateValue: string, themeKeys: ThemeKey[]): string | null;
209
+ resolve(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
210
+ resolveValue(candidateValue: string | null, themeKeys: ThemeKey[]): string | null;
211
211
  resolveWith(candidateValue: string, themeKeys: ThemeKey[], nestedKeys?: `--${string}`[]): [string, Record<string, string>] | null;
212
212
  namespace(namespace: string): Map<string | null, string>;
213
213
  }
@@ -244,7 +244,7 @@ declare class Variants {
244
244
  group(fn: () => void, compareFn?: CompareFn): void;
245
245
  has(name: string): boolean;
246
246
  get(name: string): {
247
- kind: "arbitrary" | "static" | "functional" | "compound";
247
+ kind: Variant["kind"];
248
248
  order: number;
249
249
  applyFn: VariantFn<any>;
250
250
  compounds: boolean;
@@ -256,7 +256,7 @@ declare class Variants {
256
256
  compare(a: Variant | null, z: Variant | null): number;
257
257
  keys(): IterableIterator<string>;
258
258
  entries(): IterableIterator<[string, {
259
- kind: "arbitrary" | "static" | "functional" | "compound";
259
+ kind: Variant["kind"];
260
260
  order: number;
261
261
  applyFn: VariantFn<any>;
262
262
  compounds: boolean;
@@ -302,7 +302,7 @@ declare class Utilities {
302
302
  arbitrary(compileFn: CompileFn<'arbitrary'>): void;
303
303
  has(name: string): boolean;
304
304
  get(name: string | symbol): {
305
- kind: "arbitrary" | "static" | "functional";
305
+ kind: Candidate["kind"];
306
306
  compileFn: CompileFn<any>;
307
307
  } | undefined;
308
308
  kind(name: string): "arbitrary" | "static" | "functional";
@@ -310,7 +310,7 @@ declare class Utilities {
310
310
  suggest(name: string, groups: () => SuggestionGroup[]): void;
311
311
  keys(): IterableIterator<string | symbol>;
312
312
  entries(): IterableIterator<[string | symbol, {
313
- kind: "arbitrary" | "static" | "functional";
313
+ kind: Candidate["kind"];
314
314
  compileFn: CompileFn<any>;
315
315
  }]>;
316
316
  getArbitrary(): CompileFn<any>;