@unocss/preset-mini 0.48.0 → 0.48.2

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.cjs CHANGED
@@ -52,6 +52,7 @@ function VarPrefixPostprocessor(prefix) {
52
52
  exports.parseColor = colors$1.parseColor;
53
53
  exports.colors = colors.colors;
54
54
  exports.theme = _default.theme;
55
+ exports.VarPrefixPostprocessor = VarPrefixPostprocessor;
55
56
  exports["default"] = presetMini;
56
57
  exports.preflights = preflights;
57
58
  exports.presetMini = presetMini;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Preflight, PresetOptions, Preset } from '@unocss/core';
1
+ import { Preflight, PresetOptions, Preset, Postprocessor } from '@unocss/core';
2
2
  export { c as colors } from './colors-b217808a.js';
3
3
  export { t as theme } from './default-344896b2.js';
4
4
  import { T as Theme } from './types-fa74508f.js';
@@ -45,7 +45,7 @@ interface PresetMiniOptions extends PresetOptions {
45
45
  *
46
46
  * @default undefined
47
47
  */
48
- prefix?: string;
48
+ prefix?: string | string[];
49
49
  /**
50
50
  * Generate preflight
51
51
  *
@@ -55,4 +55,6 @@ interface PresetMiniOptions extends PresetOptions {
55
55
  }
56
56
  declare const presetMini: (options?: PresetMiniOptions) => Preset<Theme>;
57
57
 
58
- export { DarkModeSelectors, PresetMiniOptions, presetMini as default, preflights, presetMini };
58
+ declare function VarPrefixPostprocessor(prefix: string): Postprocessor;
59
+
60
+ export { DarkModeSelectors, PresetMiniOptions, VarPrefixPostprocessor, presetMini as default, preflights, presetMini };
package/dist/index.mjs CHANGED
@@ -46,4 +46,4 @@ function VarPrefixPostprocessor(prefix) {
46
46
  };
47
47
  }
48
48
 
49
- export { presetMini as default, preflights, presetMini };
49
+ export { VarPrefixPostprocessor, presetMini as default, preflights, presetMini };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-mini",
3
- "version": "0.48.0",
3
+ "version": "0.48.2",
4
4
  "description": "The minimal preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -61,7 +61,7 @@
61
61
  "*.css"
62
62
  ],
63
63
  "dependencies": {
64
- "@unocss/core": "0.48.0"
64
+ "@unocss/core": "0.48.2"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "unbuild",