tailwindcss 0.0.0-oxide.1 → 0.0.0-oxide.2

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/cli.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { __require, optimizeCss, compile, package_default } from './chunk-J6HTTNZH.mjs';
1
+ import { __require, optimizeCss, compile, package_default } from './chunk-VA4PAOBV.mjs';
2
2
  import parse from 'mri';
3
3
  import watcher from '@parcel/watcher';
4
4
  import { scanDir, clearCache, scanFiles, IO, Parsing } from '@tailwindcss/oxide';
package/dist/lib.d.mts CHANGED
@@ -172,17 +172,17 @@ type Candidate = {
172
172
  important: boolean;
173
173
  };
174
174
 
175
- type MatchFn<T extends Candidate['kind']> = (value: Extract<Candidate, {
175
+ type CompileFn<T extends Candidate['kind']> = (value: Extract<Candidate, {
176
176
  kind: T;
177
177
  }>) => AstNode[] | undefined;
178
178
  declare class Utilities {
179
179
  private utilities;
180
- static(name: string, matchFn: MatchFn<'static'>): void;
181
- functional(name: string, matchFn: MatchFn<'functional'>): void;
180
+ static(name: string, compileFn: CompileFn<'static'>): void;
181
+ functional(name: string, compileFn: CompileFn<'functional'>): void;
182
182
  has(name: string): boolean;
183
183
  get(name: string): {
184
184
  kind: "arbitrary" | "static" | "functional";
185
- matchFn: MatchFn<any>;
185
+ compileFn: CompileFn<any>;
186
186
  } | undefined;
187
187
  kind(name: string): "arbitrary" | "static" | "functional";
188
188
  keys(): IterableIterator<string>;
package/dist/lib.d.ts CHANGED
@@ -172,17 +172,17 @@ type Candidate = {
172
172
  important: boolean;
173
173
  };
174
174
 
175
- type MatchFn<T extends Candidate['kind']> = (value: Extract<Candidate, {
175
+ type CompileFn<T extends Candidate['kind']> = (value: Extract<Candidate, {
176
176
  kind: T;
177
177
  }>) => AstNode[] | undefined;
178
178
  declare class Utilities {
179
179
  private utilities;
180
- static(name: string, matchFn: MatchFn<'static'>): void;
181
- functional(name: string, matchFn: MatchFn<'functional'>): void;
180
+ static(name: string, compileFn: CompileFn<'static'>): void;
181
+ functional(name: string, compileFn: CompileFn<'functional'>): void;
182
182
  has(name: string): boolean;
183
183
  get(name: string): {
184
184
  kind: "arbitrary" | "static" | "functional";
185
- matchFn: MatchFn<any>;
185
+ compileFn: CompileFn<any>;
186
186
  } | undefined;
187
187
  kind(name: string): "arbitrary" | "static" | "functional";
188
188
  keys(): IterableIterator<string>;