@unocss/core 0.30.0 → 0.30.1
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/index.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -361,7 +361,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
363
|
|
|
364
|
-
const version = "0.30.
|
|
364
|
+
const version = "0.30.1";
|
|
365
365
|
|
|
366
366
|
class UnoGenerator {
|
|
367
367
|
constructor(userConfig = {}, defaults = {}) {
|
|
@@ -447,7 +447,7 @@ class UnoGenerator {
|
|
|
447
447
|
}
|
|
448
448
|
this._cache.set(cacheKey, null);
|
|
449
449
|
}
|
|
450
|
-
async generate(input, {
|
|
450
|
+
async generate(input = "", {
|
|
451
451
|
id,
|
|
452
452
|
scope,
|
|
453
453
|
preflights = true,
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare class UnoGenerator {
|
|
|
14
14
|
applyExtractors(code: string, id?: string, set?: Set<string>): Promise<Set<string>>;
|
|
15
15
|
makeContext(raw: string, applied: VariantMatchedResult): RuleContext<{}>;
|
|
16
16
|
parseToken(raw: string, alias?: string): Promise<StringifiedUtil[] | null | undefined>;
|
|
17
|
-
generate(input
|
|
17
|
+
generate(input?: string | Set<string>, { id, scope, preflights, safelist, minify, }?: GenerateOptions): Promise<GenerateResult>;
|
|
18
18
|
matchVariants(raw: string, current?: string): VariantMatchedResult;
|
|
19
19
|
applyVariants(parsed: ParsedUtil, variantHandlers?: VariantHandler[], raw?: string): UtilObject;
|
|
20
20
|
constructCustomCSS(context: Readonly<RuleContext>, body: CSSObject | CSSEntries, overrideSelector?: string): string;
|
package/dist/index.mjs
CHANGED
|
@@ -357,7 +357,7 @@ function resolveConfig(userConfig = {}, defaults = {}) {
|
|
|
357
357
|
};
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
const version = "0.30.
|
|
360
|
+
const version = "0.30.1";
|
|
361
361
|
|
|
362
362
|
class UnoGenerator {
|
|
363
363
|
constructor(userConfig = {}, defaults = {}) {
|
|
@@ -443,7 +443,7 @@ class UnoGenerator {
|
|
|
443
443
|
}
|
|
444
444
|
this._cache.set(cacheKey, null);
|
|
445
445
|
}
|
|
446
|
-
async generate(input, {
|
|
446
|
+
async generate(input = "", {
|
|
447
447
|
id,
|
|
448
448
|
scope,
|
|
449
449
|
preflights = true,
|