@vinicunca/unocss-preset 1.2.0 → 1.3.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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const utils = require('@unocss/preset-mini/utils');
4
- const index = require('../shared/unocss-preset.CffguDnq.cjs');
4
+ const index = require('../shared/unocss-preset.HoSLz00o.cjs');
5
5
  require('@unocss/core');
6
6
  require('@vinicunca/perkakas');
7
7
 
@@ -1,5 +1,5 @@
1
1
  import { h } from '@unocss/preset-mini/utils';
2
- import { l as layerMeta } from '../shared/unocss-preset.B_TV_Exc.mjs';
2
+ import { l as layerMeta } from '../shared/unocss-preset.BGv2ivdZ.mjs';
3
3
  import '@unocss/core';
4
4
  import '@vinicunca/perkakas';
5
5
 
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('@unocss/core');
4
- const index = require('./shared/unocss-preset.CffguDnq.cjs');
4
+ const index = require('./shared/unocss-preset.HoSLz00o.cjs');
5
5
  require('@vinicunca/perkakas');
6
6
 
7
7
 
package/dist/index.d.cts CHANGED
@@ -3,8 +3,8 @@ import { CSSObject, UserConfig } from '@unocss/core';
3
3
  import { IconsOptions } from '@unocss/preset-icons';
4
4
  import { Theme } from '@unocss/preset-mini';
5
5
  import { TypographyOptions } from '@unocss/preset-typography';
6
- import { PresetUnoOptions } from '@unocss/preset-uno';
7
6
  import { WebFontsOptions } from '@unocss/preset-web-fonts';
7
+ import { PresetWind3Options } from '@unocss/preset-wind3';
8
8
  import { TransformerDirectivesOptions } from '@unocss/transformer-directives';
9
9
  import { TransformerVariantGroupOptions } from '@unocss/transformer-variant-group';
10
10
 
@@ -223,10 +223,10 @@ interface PresetVinicuncaOptions {
223
223
  * Enable the default preset
224
224
  * Only works when `presets` is not specified
225
225
  *
226
- * @about [@unocss/preset-uno](https://unocss.dev/presets/uno)
226
+ * @about [@unocss/preset-wind3](https://unocss.dev/presets/wind)
227
227
  * @default true
228
228
  */
229
- uno?: boolean | PresetUnoOptions;
229
+ wind?: boolean | PresetWind3Options;
230
230
  /**
231
231
  * Enable icons preset and the options of it
232
232
  * Only works when `presets` is not specified
package/dist/index.d.mts CHANGED
@@ -3,8 +3,8 @@ import { CSSObject, UserConfig } from '@unocss/core';
3
3
  import { IconsOptions } from '@unocss/preset-icons';
4
4
  import { Theme } from '@unocss/preset-mini';
5
5
  import { TypographyOptions } from '@unocss/preset-typography';
6
- import { PresetUnoOptions } from '@unocss/preset-uno';
7
6
  import { WebFontsOptions } from '@unocss/preset-web-fonts';
7
+ import { PresetWind3Options } from '@unocss/preset-wind3';
8
8
  import { TransformerDirectivesOptions } from '@unocss/transformer-directives';
9
9
  import { TransformerVariantGroupOptions } from '@unocss/transformer-variant-group';
10
10
 
@@ -223,10 +223,10 @@ interface PresetVinicuncaOptions {
223
223
  * Enable the default preset
224
224
  * Only works when `presets` is not specified
225
225
  *
226
- * @about [@unocss/preset-uno](https://unocss.dev/presets/uno)
226
+ * @about [@unocss/preset-wind3](https://unocss.dev/presets/wind)
227
227
  * @default true
228
228
  */
229
- uno?: boolean | PresetUnoOptions;
229
+ wind?: boolean | PresetWind3Options;
230
230
  /**
231
231
  * Enable icons preset and the options of it
232
232
  * Only works when `presets` is not specified
package/dist/index.d.ts CHANGED
@@ -3,8 +3,8 @@ import { CSSObject, UserConfig } from '@unocss/core';
3
3
  import { IconsOptions } from '@unocss/preset-icons';
4
4
  import { Theme } from '@unocss/preset-mini';
5
5
  import { TypographyOptions } from '@unocss/preset-typography';
6
- import { PresetUnoOptions } from '@unocss/preset-uno';
7
6
  import { WebFontsOptions } from '@unocss/preset-web-fonts';
7
+ import { PresetWind3Options } from '@unocss/preset-wind3';
8
8
  import { TransformerDirectivesOptions } from '@unocss/transformer-directives';
9
9
  import { TransformerVariantGroupOptions } from '@unocss/transformer-variant-group';
10
10
 
@@ -223,10 +223,10 @@ interface PresetVinicuncaOptions {
223
223
  * Enable the default preset
224
224
  * Only works when `presets` is not specified
225
225
  *
226
- * @about [@unocss/preset-uno](https://unocss.dev/presets/uno)
226
+ * @about [@unocss/preset-wind3](https://unocss.dev/presets/wind)
227
227
  * @default true
228
228
  */
229
- uno?: boolean | PresetUnoOptions;
229
+ wind?: boolean | PresetWind3Options;
230
230
  /**
231
231
  * Enable icons preset and the options of it
232
232
  * Only works when `presets` is not specified
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  import '@unocss/core';
2
- export { a as defineConfig, d as defineVinicuncaConfig, p as presetVinicunca } from './shared/unocss-preset.B_TV_Exc.mjs';
2
+ export { a as defineConfig, d as defineVinicuncaConfig, p as presetVinicunca } from './shared/unocss-preset.BGv2ivdZ.mjs';
3
3
  import '@vinicunca/perkakas';
@@ -519,7 +519,7 @@ const defaultOptions = {
519
519
  reset: true
520
520
  },
521
521
  // presets
522
- uno: {
522
+ wind: {
523
523
  preflight: "on-demand"
524
524
  },
525
525
  icons: true,
@@ -561,7 +561,7 @@ async function resolveOptions(options) {
561
561
  const presets = [];
562
562
  const transformers = [];
563
563
  const presetMap = {
564
- uno: import('@unocss/preset-uno').then((mod) => mod.presetUno),
564
+ wind: import('@unocss/preset-wind3').then((mod) => mod.presetWind),
565
565
  icons: import('@unocss/preset-icons').then((mod) => mod.presetIcons),
566
566
  webFonts: import('@unocss/preset-web-fonts').then((mod) => mod.presetWebFonts),
567
567
  typography: import('@unocss/preset-typography').then((mod) => mod.presetTypography),
@@ -521,7 +521,7 @@ const defaultOptions = {
521
521
  reset: true
522
522
  },
523
523
  // presets
524
- uno: {
524
+ wind: {
525
525
  preflight: "on-demand"
526
526
  },
527
527
  icons: true,
@@ -563,7 +563,7 @@ async function resolveOptions(options) {
563
563
  const presets = [];
564
564
  const transformers = [];
565
565
  const presetMap = {
566
- uno: import('@unocss/preset-uno').then((mod) => mod.presetUno),
566
+ wind: import('@unocss/preset-wind3').then((mod) => mod.presetWind),
567
567
  icons: import('@unocss/preset-icons').then((mod) => mod.presetIcons),
568
568
  webFonts: import('@unocss/preset-web-fonts').then((mod) => mod.presetWebFonts),
569
569
  typography: import('@unocss/preset-typography').then((mod) => mod.presetTypography),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/unocss-preset",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "description": "Opinionated UnoCSS preset",
6
6
  "author": "praburangki<https://github.com/praburangki>",
7
7
  "license": "MIT",
@@ -42,22 +42,22 @@
42
42
  "dist"
43
43
  ],
44
44
  "peerDependencies": {
45
- "@vinicunca/perkakas": "^1.2.3",
46
- "unocss": "^65.5.0"
45
+ "@vinicunca/perkakas": "^1.3.0",
46
+ "unocss": "^66.0.0"
47
47
  },
48
48
  "publishConfig": {
49
49
  "registry": "https://registry.npmjs.org/"
50
50
  },
51
51
  "dependencies": {
52
- "@unocss/core": "^65.5.0",
53
- "@unocss/preset-icons": "^65.5.0",
54
- "@unocss/preset-mini": "^65.5.0",
55
- "@unocss/preset-typography": "^65.5.0",
56
- "@unocss/preset-uno": "^65.5.0",
57
- "@unocss/preset-web-fonts": "^65.5.0",
58
- "@unocss/transformer-directives": "^65.5.0",
59
- "@unocss/transformer-variant-group": "^65.5.0",
60
- "postcss": "^8.5.2",
52
+ "@unocss/core": "^66.0.0",
53
+ "@unocss/preset-icons": "^66.0.0",
54
+ "@unocss/preset-mini": "^66.0.0",
55
+ "@unocss/preset-typography": "^66.0.0",
56
+ "@unocss/preset-web-fonts": "^66.0.0",
57
+ "@unocss/preset-wind3": "^66.0.0",
58
+ "@unocss/transformer-directives": "^66.0.0",
59
+ "@unocss/transformer-variant-group": "^66.0.0",
60
+ "postcss": "^8.5.3",
61
61
  "postcss-js": "^4.0.1"
62
62
  },
63
63
  "scripts": {