@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.
- package/dist/chunks/index3.cjs +1 -1
- package/dist/chunks/index3.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/shared/{unocss-preset.B_TV_Exc.mjs → unocss-preset.BGv2ivdZ.mjs} +2 -2
- package/dist/shared/{unocss-preset.CffguDnq.cjs → unocss-preset.HoSLz00o.cjs} +2 -2
- package/package.json +12 -12
package/dist/chunks/index3.cjs
CHANGED
package/dist/chunks/index3.mjs
CHANGED
package/dist/index.cjs
CHANGED
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-
|
|
226
|
+
* @about [@unocss/preset-wind3](https://unocss.dev/presets/wind)
|
|
227
227
|
* @default true
|
|
228
228
|
*/
|
|
229
|
-
|
|
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-
|
|
226
|
+
* @about [@unocss/preset-wind3](https://unocss.dev/presets/wind)
|
|
227
227
|
* @default true
|
|
228
228
|
*/
|
|
229
|
-
|
|
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-
|
|
226
|
+
* @about [@unocss/preset-wind3](https://unocss.dev/presets/wind)
|
|
227
227
|
* @default true
|
|
228
228
|
*/
|
|
229
|
-
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
46
|
-
"unocss": "^
|
|
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": "^
|
|
53
|
-
"@unocss/preset-icons": "^
|
|
54
|
-
"@unocss/preset-mini": "^
|
|
55
|
-
"@unocss/preset-typography": "^
|
|
56
|
-
"@unocss/preset-
|
|
57
|
-
"@unocss/preset-
|
|
58
|
-
"@unocss/transformer-directives": "^
|
|
59
|
-
"@unocss/transformer-variant-group": "^
|
|
60
|
-
"postcss": "^8.5.
|
|
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": {
|