@varlet/preset-unocss 3.20.7 → 3.20.8
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/lib/index.d.cts +4 -5
- package/lib/index.d.ts +4 -5
- package/package.json +3 -3
package/lib/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Preset } from "unocss";
|
|
2
2
|
//#region src/index.d.ts
|
|
3
|
-
interface PresetVarletOptions {
|
|
3
|
+
export interface PresetVarletOptions {
|
|
4
4
|
breakpoints?: boolean | {
|
|
5
5
|
sm?: string | number;
|
|
6
6
|
md?: string | number;
|
|
@@ -10,7 +10,7 @@ interface PresetVarletOptions {
|
|
|
10
10
|
fontSize?: boolean;
|
|
11
11
|
colors?: boolean | PresetVarletColors;
|
|
12
12
|
}
|
|
13
|
-
interface PresetVarletColors {
|
|
13
|
+
export interface PresetVarletColors {
|
|
14
14
|
body?: string;
|
|
15
15
|
text?: string;
|
|
16
16
|
primary?: string;
|
|
@@ -74,6 +74,5 @@ interface PresetVarletColors {
|
|
|
74
74
|
hslOutline?: string;
|
|
75
75
|
hslOnSurfaceVariant?: string;
|
|
76
76
|
}
|
|
77
|
-
declare function presetVarlet(options?: PresetVarletOptions): Preset;
|
|
78
|
-
//#endregion
|
|
79
|
-
export { PresetVarletColors, PresetVarletOptions, presetVarlet };
|
|
77
|
+
export declare function presetVarlet(options?: PresetVarletOptions): Preset;
|
|
78
|
+
//#endregion
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Preset } from "unocss";
|
|
2
2
|
//#region src/index.d.ts
|
|
3
|
-
interface PresetVarletOptions {
|
|
3
|
+
export interface PresetVarletOptions {
|
|
4
4
|
breakpoints?: boolean | {
|
|
5
5
|
sm?: string | number;
|
|
6
6
|
md?: string | number;
|
|
@@ -10,7 +10,7 @@ interface PresetVarletOptions {
|
|
|
10
10
|
fontSize?: boolean;
|
|
11
11
|
colors?: boolean | PresetVarletColors;
|
|
12
12
|
}
|
|
13
|
-
interface PresetVarletColors {
|
|
13
|
+
export interface PresetVarletColors {
|
|
14
14
|
body?: string;
|
|
15
15
|
text?: string;
|
|
16
16
|
primary?: string;
|
|
@@ -74,6 +74,5 @@ interface PresetVarletColors {
|
|
|
74
74
|
hslOutline?: string;
|
|
75
75
|
hslOnSurfaceVariant?: string;
|
|
76
76
|
}
|
|
77
|
-
declare function presetVarlet(options?: PresetVarletOptions): Preset;
|
|
78
|
-
//#endregion
|
|
79
|
-
export { PresetVarletColors, PresetVarletOptions, presetVarlet };
|
|
77
|
+
export declare function presetVarlet(options?: PresetVarletOptions): Preset;
|
|
78
|
+
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/preset-unocss",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.8",
|
|
4
4
|
"description": "unocss preset of varlet",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"lib"
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@types/node": "^
|
|
36
|
+
"@types/node": "^22.18.0",
|
|
37
37
|
"typescript": "5.6.3",
|
|
38
|
-
"vite-plus": "
|
|
38
|
+
"vite-plus": "1.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"unocss": "^66.0.0"
|