@unocss/preset-wind 0.48.4 → 0.48.5

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/README.md CHANGED
@@ -14,7 +14,7 @@ npm i -D @unocss/preset-wind
14
14
  ```ts
15
15
  import presetWind from '@unocss/preset-wind'
16
16
 
17
- Unocss({
17
+ UnoCSS({
18
18
  presets: [
19
19
  presetWind(),
20
20
  ],
package/dist/index.cjs CHANGED
@@ -1183,7 +1183,7 @@ const presetWind = (options = {}) => {
1183
1183
  variants: variants(options),
1184
1184
  options,
1185
1185
  postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? presetMini.VarPrefixPostprocessor(options.variablePrefix) : void 0,
1186
- preflights: options.preflight ? presetMini.preflights : [],
1186
+ preflights: options.preflight ? presetMini.normalizePreflights(presetMini.preflights, options.variablePrefix) : [],
1187
1187
  prefix: options.prefix
1188
1188
  };
1189
1189
  };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { VarPrefixPostprocessor, preflights } from '@unocss/preset-mini';
1
+ import { VarPrefixPostprocessor, normalizePreflights, 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, contains, 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';
@@ -1180,7 +1180,7 @@ const presetWind = (options = {}) => {
1180
1180
  variants: variants(options),
1181
1181
  options,
1182
1182
  postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0,
1183
- preflights: options.preflight ? preflights : [],
1183
+ preflights: options.preflight ? normalizePreflights(preflights, options.variablePrefix) : [],
1184
1184
  prefix: options.prefix
1185
1185
  };
1186
1186
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.48.4",
3
+ "version": "0.48.5",
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.4",
39
- "@unocss/preset-mini": "0.48.4"
38
+ "@unocss/core": "0.48.5",
39
+ "@unocss/preset-mini": "0.48.5"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",