@unocss/preset-wind 0.48.0 → 0.48.1

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
@@ -1181,6 +1181,7 @@ const presetWind = (options = {}) => {
1181
1181
  shortcuts,
1182
1182
  variants: variants(options),
1183
1183
  options,
1184
+ postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? presetMini.VarPrefixPostprocessor(options.variablePrefix) : void 0,
1184
1185
  preflights: options.preflight ? presetMini.preflights : [],
1185
1186
  prefix: options.prefix
1186
1187
  };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { preflights } from '@unocss/preset-mini';
1
+ import { VarPrefixPostprocessor, preflights } from '@unocss/preset-mini';
2
2
  export { colors, preflights } from '@unocss/preset-mini';
3
3
  import { handler, globalKeywords, makeGlobalStaticRules, positionMap, parseColor, colorToString, colorOpacityToString, colorResolver, resolveBreakpoints, colorableShadows, directionMap, directionSize, variantMatcher, variantParentMatcher, hasParseableColor } from '@unocss/preset-mini/utils';
4
4
  import { varEmpty, borderStyles, handlerBorderStyle, cssVariables as cssVariables$1, cssProperty, pointerEvents, appearances, positions, insets, zIndexes, orders, grids, floats, margins, boxSizing, displays, aspectRatio, sizes, flex, transforms, cursors, userSelects, resizes, appearance, placements, alignments, justifies, gaps, overflows, textOverflows, whitespaces, breaks, borders, bgColors, svgUtilities, paddings, textAligns, textIndents, verticalAligns, fonts, textTransforms as textTransforms$1, fontStyles, textColors, textDecorations, fontSmoothings, tabSizes, textStrokes, textShadows, opacity, boxShadows, outline, rings, transitions, willChange, contentVisibility, contents, containerParent, questionMark, transformBase, boxShadowsBase, ringBase } from '@unocss/preset-mini/rules';
@@ -1178,6 +1178,7 @@ const presetWind = (options = {}) => {
1178
1178
  shortcuts,
1179
1179
  variants: variants(options),
1180
1180
  options,
1181
+ postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0,
1181
1182
  preflights: options.preflight ? preflights : [],
1182
1183
  prefix: options.prefix
1183
1184
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.48.0",
3
+ "version": "0.48.1",
4
4
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -35,8 +35,8 @@
35
35
  "*.css"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "0.48.0",
39
- "@unocss/preset-mini": "0.48.0"
38
+ "@unocss/core": "0.48.1",
39
+ "@unocss/preset-mini": "0.48.1"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",