@unocss/transformer-variant-group 0.55.1 → 0.55.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/index.d.cts +22 -0
- package/dist/index.d.mts +22 -0
- package/package.json +2 -2
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SourceCodeTransformer } from '@unocss/core';
|
|
2
|
+
|
|
3
|
+
interface TransformerVariantGroupOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Separators to expand.
|
|
6
|
+
*
|
|
7
|
+
* ```
|
|
8
|
+
* foo-(bar baz) -> foo-bar foo-baz
|
|
9
|
+
* ^
|
|
10
|
+
* separator
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* You may set it to `[':']` for strictness.
|
|
14
|
+
*
|
|
15
|
+
* @default [':', '-']
|
|
16
|
+
* @see https://github.com/unocss/unocss/pull/1231
|
|
17
|
+
*/
|
|
18
|
+
separators?: (':' | '-')[];
|
|
19
|
+
}
|
|
20
|
+
declare function transformerVariantGroup(options?: TransformerVariantGroupOptions): SourceCodeTransformer;
|
|
21
|
+
|
|
22
|
+
export { TransformerVariantGroupOptions, transformerVariantGroup as default };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SourceCodeTransformer } from '@unocss/core';
|
|
2
|
+
|
|
3
|
+
interface TransformerVariantGroupOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Separators to expand.
|
|
6
|
+
*
|
|
7
|
+
* ```
|
|
8
|
+
* foo-(bar baz) -> foo-bar foo-baz
|
|
9
|
+
* ^
|
|
10
|
+
* separator
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* You may set it to `[':']` for strictness.
|
|
14
|
+
*
|
|
15
|
+
* @default [':', '-']
|
|
16
|
+
* @see https://github.com/unocss/unocss/pull/1231
|
|
17
|
+
*/
|
|
18
|
+
separators?: (':' | '-')[];
|
|
19
|
+
}
|
|
20
|
+
declare function transformerVariantGroup(options?: TransformerVariantGroupOptions): SourceCodeTransformer;
|
|
21
|
+
|
|
22
|
+
export { TransformerVariantGroupOptions, transformerVariantGroup as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/transformer-variant-group",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.2",
|
|
4
4
|
"description": "Variant group transformer for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/core": "0.55.
|
|
36
|
+
"@unocss/core": "0.55.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"magic-string": "^0.30.2"
|