@unocss/nuxt 0.30.8 → 0.30.12

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 CHANGED
@@ -5,6 +5,7 @@ import { IconsOptions } from '@unocss/preset-icons';
5
5
  import { UserConfig } from '@unocss/core';
6
6
  import { WebFontsOptions } from '@unocss/preset-web-fonts';
7
7
  import { TypographyOptions } from '@unocss/preset-typography';
8
+ import { PresetWindOptions } from '@unocss/preset-wind';
8
9
 
9
10
  interface UnocssNuxtOptions extends UserConfig {
10
11
  /**
@@ -56,6 +57,12 @@ interface UnocssNuxtOptions extends UserConfig {
56
57
  * @default false
57
58
  */
58
59
  typography?: boolean | TypographyOptions;
60
+ /**
61
+ * Enable the wind preset
62
+ * Only works when `presets` is not specified
63
+ * @default false
64
+ */
65
+ wind?: boolean | PresetWindOptions;
59
66
  }
60
67
  declare const _default: _nuxt_schema.NuxtModule<UnocssNuxtOptions>;
61
68
 
package/dist/index.mjs CHANGED
@@ -8,6 +8,7 @@ import presetAttributify from '@unocss/preset-attributify';
8
8
  import presetIcons from '@unocss/preset-icons';
9
9
  import presetWebFonts from '@unocss/preset-web-fonts';
10
10
  import presetTypography from '@unocss/preset-typography';
11
+ import presetWind from '@unocss/preset-wind';
11
12
 
12
13
  const dir = dirname(fileURLToPath(import.meta.url));
13
14
  const index = defineNuxtModule({
@@ -22,13 +23,16 @@ const index = defineNuxtModule({
22
23
  uno: true,
23
24
  attributify: false,
24
25
  webFonts: false,
25
- icons: false
26
+ icons: false,
27
+ wind: false
26
28
  },
27
29
  setup(options) {
28
30
  if (options.presets == null) {
29
31
  options.presets = [];
30
32
  if (options.uno)
31
33
  options.presets.push(presetUno(typeof options.uno === "boolean" ? {} : options.uno));
34
+ if (options.wind)
35
+ options.presets.push(presetWind(typeof options.wind === "boolean" ? {} : options.wind));
32
36
  if (options.attributify)
33
37
  options.presets.push(presetAttributify(typeof options.attributify === "boolean" ? {} : options.attributify));
34
38
  if (options.icons)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/nuxt",
3
- "version": "0.30.8",
3
+ "version": "0.30.12",
4
4
  "description": "Nuxt module for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -37,16 +37,17 @@
37
37
  "sideEffects": false,
38
38
  "dependencies": {
39
39
  "@nuxt/kit": "npm:@nuxt/kit-edge@latest",
40
- "@unocss/core": "0.30.8",
41
- "@unocss/preset-attributify": "0.30.8",
42
- "@unocss/preset-icons": "0.30.8",
43
- "@unocss/preset-typography": "0.30.8",
44
- "@unocss/preset-uno": "0.30.8",
45
- "@unocss/preset-web-fonts": "0.30.8",
46
- "@unocss/reset": "0.30.8",
47
- "@unocss/vite": "0.30.8",
48
- "@unocss/webpack": "0.30.8",
49
- "unocss": "0.30.8"
40
+ "@unocss/core": "0.30.12",
41
+ "@unocss/preset-attributify": "0.30.12",
42
+ "@unocss/preset-icons": "0.30.12",
43
+ "@unocss/preset-typography": "0.30.12",
44
+ "@unocss/preset-uno": "0.30.12",
45
+ "@unocss/preset-web-fonts": "0.30.12",
46
+ "@unocss/preset-wind": "0.30.12",
47
+ "@unocss/reset": "0.30.12",
48
+ "@unocss/vite": "0.30.12",
49
+ "@unocss/webpack": "0.30.12",
50
+ "unocss": "0.30.12"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@nuxt/schema": "npm:@nuxt/schema-edge@latest"