@vinicunca/unocss-preset 1.1.1 → 1.1.3
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/chunks/transformer-alias.cjs +1 -1
- package/dist/chunks/transformer-alias.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{unocss-preset.BsBSSEP8.mjs → unocss-preset.B_TV_Exc.mjs} +2 -2
- package/dist/shared/{unocss-preset.D0RjZcM6.cjs → unocss-preset.CffguDnq.cjs} +2 -2
- package/package.json +12 -12
package/dist/chunks/index3.cjs
CHANGED
package/dist/chunks/index3.mjs
CHANGED
|
@@ -75,7 +75,7 @@ async function expandShortcut({ input, uno, depth = 5 }) {
|
|
|
75
75
|
return [
|
|
76
76
|
(await Promise.all(
|
|
77
77
|
result.filter((s) => s !== input).map(
|
|
78
|
-
async (res) => (perkakas.isString(res) ? (await expandShortcut({ input: res, uno, depth: depth - 1 }))?.[0] :
|
|
78
|
+
async (res) => (perkakas.isString(res) ? (await expandShortcut({ input: res, uno, depth: depth - 1 }))?.[0] : undefined) || [res]
|
|
79
79
|
)
|
|
80
80
|
)).flat(1).filter(Boolean)
|
|
81
81
|
];
|
|
@@ -73,7 +73,7 @@ async function expandShortcut({ input, uno, depth = 5 }) {
|
|
|
73
73
|
return [
|
|
74
74
|
(await Promise.all(
|
|
75
75
|
result.filter((s) => s !== input).map(
|
|
76
|
-
async (res) => (isString(res) ? (await expandShortcut({ input: res, uno, depth: depth - 1 }))?.[0] :
|
|
76
|
+
async (res) => (isString(res) ? (await expandShortcut({ input: res, uno, depth: depth - 1 }))?.[0] : undefined) || [res]
|
|
77
77
|
)
|
|
78
78
|
)).flat(1).filter(Boolean)
|
|
79
79
|
];
|
package/dist/index.cjs
CHANGED
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.B_TV_Exc.mjs';
|
|
3
3
|
import '@vinicunca/perkakas';
|
|
@@ -425,7 +425,7 @@ function getPreflights(options) {
|
|
|
425
425
|
] : [];
|
|
426
426
|
}
|
|
427
427
|
return [
|
|
428
|
-
options.preflights.reset ? resetPreflight :
|
|
428
|
+
options.preflights.reset ? resetPreflight : undefined
|
|
429
429
|
].filter(Boolean);
|
|
430
430
|
}
|
|
431
431
|
|
|
@@ -650,7 +650,7 @@ const presetVinicunca = definePreset(
|
|
|
650
650
|
...meta.shortcuts
|
|
651
651
|
],
|
|
652
652
|
postprocess: [
|
|
653
|
-
unColor ? postprocessWithUnColor(unColor) :
|
|
653
|
+
unColor ? postprocessWithUnColor(unColor) : undefined
|
|
654
654
|
].filter(Boolean),
|
|
655
655
|
presets: meta.presets,
|
|
656
656
|
transformers: meta.transformers,
|
|
@@ -427,7 +427,7 @@ function getPreflights(options) {
|
|
|
427
427
|
] : [];
|
|
428
428
|
}
|
|
429
429
|
return [
|
|
430
|
-
options.preflights.reset ? resetPreflight :
|
|
430
|
+
options.preflights.reset ? resetPreflight : undefined
|
|
431
431
|
].filter(Boolean);
|
|
432
432
|
}
|
|
433
433
|
|
|
@@ -652,7 +652,7 @@ const presetVinicunca = core.definePreset(
|
|
|
652
652
|
...meta.shortcuts
|
|
653
653
|
],
|
|
654
654
|
postprocess: [
|
|
655
|
-
unColor ? postprocessWithUnColor(unColor) :
|
|
655
|
+
unColor ? postprocessWithUnColor(unColor) : undefined
|
|
656
656
|
].filter(Boolean),
|
|
657
657
|
presets: meta.presets,
|
|
658
658
|
transformers: meta.transformers,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/unocss-preset",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.3",
|
|
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.
|
|
46
|
-
"unocss": "^
|
|
45
|
+
"@vinicunca/perkakas": "^1.2.3",
|
|
46
|
+
"unocss": "^65.4.2"
|
|
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-uno": "^
|
|
57
|
-
"@unocss/preset-web-fonts": "^
|
|
58
|
-
"@unocss/transformer-directives": "^
|
|
59
|
-
"@unocss/transformer-variant-group": "^
|
|
60
|
-
"postcss": "^8.
|
|
52
|
+
"@unocss/core": "^65.4.2",
|
|
53
|
+
"@unocss/preset-icons": "^65.4.2",
|
|
54
|
+
"@unocss/preset-mini": "^65.4.2",
|
|
55
|
+
"@unocss/preset-typography": "^65.4.2",
|
|
56
|
+
"@unocss/preset-uno": "^65.4.2",
|
|
57
|
+
"@unocss/preset-web-fonts": "^65.4.2",
|
|
58
|
+
"@unocss/transformer-directives": "^65.4.2",
|
|
59
|
+
"@unocss/transformer-variant-group": "^65.4.2",
|
|
60
|
+
"postcss": "^8.5.1",
|
|
61
61
|
"postcss-js": "^4.0.1"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|