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/{chunk-J6HTTNZH.mjs → chunk-VA4PAOBV.mjs} +1197 -1197
- package/dist/cli.js +1197 -1197
- package/dist/cli.mjs +1 -1
- package/dist/lib.d.mts +4 -4
- package/dist/lib.d.ts +4 -4
- package/dist/lib.js +1197 -1197
- package/dist/lib.mjs +1 -1
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __require, optimizeCss, compile, package_default } from './chunk-
|
|
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
|
|
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,
|
|
181
|
-
functional(name: string,
|
|
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
|
-
|
|
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
|
|
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,
|
|
181
|
-
functional(name: string,
|
|
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
|
-
|
|
185
|
+
compileFn: CompileFn<any>;
|
|
186
186
|
} | undefined;
|
|
187
187
|
kind(name: string): "arbitrary" | "static" | "functional";
|
|
188
188
|
keys(): IterableIterator<string>;
|