@unocss/preset-wind 0.48.3 → 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 +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.mjs +4 -3
- package/package.json +3 -3
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -803,6 +803,7 @@ const rules = [
|
|
|
803
803
|
cssVariables,
|
|
804
804
|
rules$1.cssProperty,
|
|
805
805
|
container,
|
|
806
|
+
rules$1.contains,
|
|
806
807
|
screenReadersAccess,
|
|
807
808
|
rules$1.pointerEvents,
|
|
808
809
|
rules$1.appearances,
|
|
@@ -1182,7 +1183,7 @@ const presetWind = (options = {}) => {
|
|
|
1182
1183
|
variants: variants(options),
|
|
1183
1184
|
options,
|
|
1184
1185
|
postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? presetMini.VarPrefixPostprocessor(options.variablePrefix) : void 0,
|
|
1185
|
-
preflights: options.preflight ? presetMini.preflights : [],
|
|
1186
|
+
preflights: options.preflight ? presetMini.normalizePreflights(presetMini.preflights, options.variablePrefix) : [],
|
|
1186
1187
|
prefix: options.prefix
|
|
1187
1188
|
};
|
|
1188
1189
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
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';
|
|
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';
|
|
5
5
|
import { theme as theme$1 } from '@unocss/preset-mini/theme';
|
|
6
6
|
import { variants as variants$1 } from '@unocss/preset-mini/variants';
|
|
7
7
|
import { warnOnce } from '@unocss/core';
|
|
@@ -800,6 +800,7 @@ const rules = [
|
|
|
800
800
|
cssVariables,
|
|
801
801
|
cssProperty,
|
|
802
802
|
container,
|
|
803
|
+
contains,
|
|
803
804
|
screenReadersAccess,
|
|
804
805
|
pointerEvents,
|
|
805
806
|
appearances,
|
|
@@ -1179,7 +1180,7 @@ const presetWind = (options = {}) => {
|
|
|
1179
1180
|
variants: variants(options),
|
|
1180
1181
|
options,
|
|
1181
1182
|
postprocess: options.variablePrefix && options.variablePrefix !== "un-" ? VarPrefixPostprocessor(options.variablePrefix) : void 0,
|
|
1182
|
-
preflights: options.preflight ? preflights : [],
|
|
1183
|
+
preflights: options.preflight ? normalizePreflights(preflights, options.variablePrefix) : [],
|
|
1183
1184
|
prefix: options.prefix
|
|
1184
1185
|
};
|
|
1185
1186
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind",
|
|
3
|
-
"version": "0.48.
|
|
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.
|
|
39
|
-
"@unocss/preset-mini": "0.48.
|
|
38
|
+
"@unocss/core": "0.48.5",
|
|
39
|
+
"@unocss/preset-mini": "0.48.5"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "unbuild",
|