@unocss/core 0.45.18 → 0.45.19
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 +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -183,7 +183,7 @@ interface ParsedColorValue {
|
|
|
183
183
|
*/
|
|
184
184
|
name: string;
|
|
185
185
|
/**
|
|
186
|
-
* Color scale,
|
|
186
|
+
* Color scale, preferably 000 - 999.
|
|
187
187
|
*/
|
|
188
188
|
no: string;
|
|
189
189
|
/**
|
|
@@ -223,7 +223,7 @@ interface RuleContext<Theme extends {} = {}> {
|
|
|
223
223
|
*/
|
|
224
224
|
variantMatch: VariantMatchedResult;
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* Construct a custom CSS rule.
|
|
227
227
|
* Variants and selector escaping will be handled automatically.
|
|
228
228
|
*/
|
|
229
229
|
constructCSS: (body: CSSEntries | CSSObject, overrideSelector?: string) => string;
|
|
@@ -328,11 +328,11 @@ interface VariantHandlerContext {
|
|
|
328
328
|
*/
|
|
329
329
|
prefix: string;
|
|
330
330
|
/**
|
|
331
|
-
* Rewrite the output selector. Often be used to append
|
|
331
|
+
* Rewrite the output selector. Often be used to append pseudo classes.
|
|
332
332
|
*/
|
|
333
333
|
selector: string;
|
|
334
334
|
/**
|
|
335
|
-
* Rewrite the output selector. Often be used to append
|
|
335
|
+
* Rewrite the output selector. Often be used to append pseudo elements.
|
|
336
336
|
*/
|
|
337
337
|
pseudo: string;
|
|
338
338
|
/**
|
|
@@ -375,7 +375,7 @@ interface VariantHandler {
|
|
|
375
375
|
*/
|
|
376
376
|
order?: number;
|
|
377
377
|
/**
|
|
378
|
-
* Rewrite the output selector. Often be used to append
|
|
378
|
+
* Rewrite the output selector. Often be used to append pseudo classes or parents.
|
|
379
379
|
*/
|
|
380
380
|
selector?: (input: string, body: CSSEntries) => string | undefined;
|
|
381
381
|
/**
|
|
@@ -402,7 +402,7 @@ interface VariantObject<Theme extends {} = {}> {
|
|
|
402
402
|
*/
|
|
403
403
|
name?: string;
|
|
404
404
|
/**
|
|
405
|
-
* The entry function to match and rewrite the selector for
|
|
405
|
+
* The entry function to match and rewrite the selector for further processing.
|
|
406
406
|
*/
|
|
407
407
|
match: VariantFunction<Theme>;
|
|
408
408
|
/**
|
|
@@ -762,12 +762,12 @@ interface GenerateOptions {
|
|
|
762
762
|
*/
|
|
763
763
|
safelist?: boolean;
|
|
764
764
|
/**
|
|
765
|
-
*
|
|
765
|
+
* Generate minified CSS
|
|
766
766
|
* @default false
|
|
767
767
|
*/
|
|
768
768
|
minify?: boolean;
|
|
769
769
|
/**
|
|
770
|
-
* @
|
|
770
|
+
* @experimental
|
|
771
771
|
*/
|
|
772
772
|
scope?: string;
|
|
773
773
|
}
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/core",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.19",
|
|
4
4
|
"description": "The instant on-demand Atomic CSS engine.",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"magic-string": "^0.26.
|
|
40
|
+
"magic-string": "^0.26.3",
|
|
41
41
|
"unconfig": "^0.3.6"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|