@unocss/astro 0.53.4 → 0.53.6
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.ts +2 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AstroIntegration } from 'astro';
|
|
|
2
2
|
import { VitePluginConfig } from '@unocss/vite';
|
|
3
3
|
import { UserConfigDefaults } from '@unocss/core';
|
|
4
4
|
|
|
5
|
-
interface AstroIntegrationConfig<Theme extends
|
|
5
|
+
interface AstroIntegrationConfig<Theme extends object = object> extends VitePluginConfig<Theme> {
|
|
6
6
|
/**
|
|
7
7
|
* Include reset styles
|
|
8
8
|
* When passing `true`, `@unocss/reset/tailwind.css` will be used
|
|
@@ -20,6 +20,6 @@ interface AstroIntegrationConfig<Theme extends {} = {}> extends VitePluginConfig
|
|
|
20
20
|
*/
|
|
21
21
|
injectExtra?: string[];
|
|
22
22
|
}
|
|
23
|
-
declare function UnoCSSAstroIntegration<Theme extends
|
|
23
|
+
declare function UnoCSSAstroIntegration<Theme extends object>(options?: AstroIntegrationConfig<Theme>, defaults?: UserConfigDefaults): AstroIntegration;
|
|
24
24
|
|
|
25
25
|
export { AstroIntegrationConfig, UnoCSSAstroIntegration as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/astro",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.6",
|
|
4
4
|
"description": "UnoCSS integration for Astro",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@unocss/core": "0.53.
|
|
41
|
-
"@unocss/reset": "0.53.
|
|
42
|
-
"@unocss/vite": "0.53.
|
|
40
|
+
"@unocss/core": "0.53.6",
|
|
41
|
+
"@unocss/reset": "0.53.6",
|
|
42
|
+
"@unocss/vite": "0.53.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"astro": "^2.
|
|
45
|
+
"astro": "^2.8.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "unbuild",
|