@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.
@@ -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.D0RjZcM6.cjs');
4
+ const index = require('../shared/unocss-preset.CffguDnq.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.BsBSSEP8.mjs';
2
+ import { l as layerMeta } from '../shared/unocss-preset.B_TV_Exc.mjs';
3
3
  import '@unocss/core';
4
4
  import '@vinicunca/perkakas';
5
5
 
@@ -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] : void 0) || [res]
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] : void 0) || [res]
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
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('@unocss/core');
4
- const index = require('./shared/unocss-preset.D0RjZcM6.cjs');
4
+ const index = require('./shared/unocss-preset.CffguDnq.cjs');
5
5
  require('@vinicunca/perkakas');
6
6
 
7
7
 
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.BsBSSEP8.mjs';
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 : void 0
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) : void 0
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 : void 0
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) : void 0
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.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.0",
46
- "unocss": "^0.65.3"
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": "^0.65.3",
53
- "@unocss/preset-icons": "^0.65.3",
54
- "@unocss/preset-mini": "^0.65.3",
55
- "@unocss/preset-typography": "^0.65.3",
56
- "@unocss/preset-uno": "^0.65.3",
57
- "@unocss/preset-web-fonts": "^0.65.3",
58
- "@unocss/transformer-directives": "^0.65.3",
59
- "@unocss/transformer-variant-group": "^0.65.3",
60
- "postcss": "^8.4.49",
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": {