@unocss/extractor-arbitrary-variants 0.63.5 → 0.64.0
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.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +10 -8
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,6 @@ import { Extractor } from '@unocss/core';
|
|
|
3
3
|
declare const quotedArbitraryValuesRE: RegExp;
|
|
4
4
|
declare const arbitraryPropertyRE: RegExp;
|
|
5
5
|
declare function splitCodeWithArbitraryVariants(code: string): string[];
|
|
6
|
-
declare
|
|
6
|
+
declare function extractorArbitraryVariants(): Extractor;
|
|
7
7
|
|
|
8
|
-
export { arbitraryPropertyRE, extractorArbitraryVariants
|
|
8
|
+
export { arbitraryPropertyRE, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { Extractor } from '@unocss/core';
|
|
|
3
3
|
declare const quotedArbitraryValuesRE: RegExp;
|
|
4
4
|
declare const arbitraryPropertyRE: RegExp;
|
|
5
5
|
declare function splitCodeWithArbitraryVariants(code: string): string[];
|
|
6
|
-
declare
|
|
6
|
+
declare function extractorArbitraryVariants(): Extractor;
|
|
7
7
|
|
|
8
|
-
export { arbitraryPropertyRE, extractorArbitraryVariants
|
|
8
|
+
export { arbitraryPropertyRE, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
|
package/dist/index.mjs
CHANGED
|
@@ -59,12 +59,14 @@ function splitCodeWithArbitraryVariants(code) {
|
|
|
59
59
|
});
|
|
60
60
|
return result;
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
62
|
+
function extractorArbitraryVariants() {
|
|
63
|
+
return {
|
|
64
|
+
name: "@unocss/extractor-arbitrary-variants",
|
|
65
|
+
order: 0,
|
|
66
|
+
extract({ code }) {
|
|
67
|
+
return splitCodeWithArbitraryVariants(removeSourceMap(code));
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
69
71
|
|
|
70
|
-
export { arbitraryPropertyRE, extractorArbitraryVariants
|
|
72
|
+
export { arbitraryPropertyRE, extractorArbitraryVariants, quotedArbitraryValuesRE, splitCodeWithArbitraryVariants };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/extractor-arbitrary-variants",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.64.0",
|
|
5
5
|
"description": "Extractor arbitrary variants for utilities",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/core": "0.
|
|
36
|
+
"@unocss/core": "0.64.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "unbuild",
|