@unocss/preset-wind 0.28.3 → 0.29.0
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 +7 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +8 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -995,6 +995,10 @@ const variants = (options) => [
|
|
|
995
995
|
...variantColorsScheme
|
|
996
996
|
];
|
|
997
997
|
|
|
998
|
+
const autocomplete = [
|
|
999
|
+
...presetMini.autocomplete
|
|
1000
|
+
];
|
|
1001
|
+
|
|
998
1002
|
const presetWind = (options = {}) => {
|
|
999
1003
|
options.dark = options.dark ?? "class";
|
|
1000
1004
|
options.attributifyPseudo = options.attributifyPseudo ?? false;
|
|
@@ -1004,11 +1008,13 @@ const presetWind = (options = {}) => {
|
|
|
1004
1008
|
rules,
|
|
1005
1009
|
shortcuts,
|
|
1006
1010
|
variants: variants(options),
|
|
1007
|
-
options
|
|
1011
|
+
options,
|
|
1012
|
+
autocomplete
|
|
1008
1013
|
};
|
|
1009
1014
|
};
|
|
1010
1015
|
|
|
1011
1016
|
exports.colors = presetMini.colors;
|
|
1017
|
+
exports.autocomplete = autocomplete;
|
|
1012
1018
|
exports["default"] = presetWind;
|
|
1013
1019
|
exports.presetWind = presetWind;
|
|
1014
1020
|
exports.rules = rules;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,8 +12,10 @@ declare const theme: Theme;
|
|
|
12
12
|
|
|
13
13
|
declare const variants: (options: UnoOptions) => Variant<Theme>[];
|
|
14
14
|
|
|
15
|
+
declare const autocomplete: string[];
|
|
16
|
+
|
|
15
17
|
interface UnoOptions extends PresetMiniOptions {
|
|
16
18
|
}
|
|
17
19
|
declare const presetWind: (options?: UnoOptions) => Preset<Theme>;
|
|
18
20
|
|
|
19
|
-
export { UnoOptions, presetWind as default, presetWind, rules, shortcuts, theme, variants };
|
|
21
|
+
export { UnoOptions, autocomplete, presetWind as default, presetWind, rules, shortcuts, theme, variants };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { toArray, CONTROL_SHORTCUT_NO_MERGE } from '@unocss/core';
|
|
2
2
|
import { theme as theme$1 } from '@unocss/preset-mini/theme';
|
|
3
|
+
import { autocomplete as autocomplete$1 } from '@unocss/preset-mini';
|
|
3
4
|
export { colors } from '@unocss/preset-mini';
|
|
4
5
|
import { varEmpty, 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, fontStyles, textColors, textDecorations, fontSmoothings, tabSizes, textStrokes, textShadows, opacity, boxShadows, outline, rings, transitions, willChange, questionMark } from '@unocss/preset-mini/rules';
|
|
5
6
|
import { handler, positionMap, parseColor, colorToString, colorResolver, colorableShadows, directionMap, directionSize, variantMatcher, variantParentMatcher, hasParseableColor } from '@unocss/preset-mini/utils';
|
|
@@ -991,6 +992,10 @@ const variants = (options) => [
|
|
|
991
992
|
...variantColorsScheme
|
|
992
993
|
];
|
|
993
994
|
|
|
995
|
+
const autocomplete = [
|
|
996
|
+
...autocomplete$1
|
|
997
|
+
];
|
|
998
|
+
|
|
994
999
|
const presetWind = (options = {}) => {
|
|
995
1000
|
options.dark = options.dark ?? "class";
|
|
996
1001
|
options.attributifyPseudo = options.attributifyPseudo ?? false;
|
|
@@ -1000,8 +1005,9 @@ const presetWind = (options = {}) => {
|
|
|
1000
1005
|
rules,
|
|
1001
1006
|
shortcuts,
|
|
1002
1007
|
variants: variants(options),
|
|
1003
|
-
options
|
|
1008
|
+
options,
|
|
1009
|
+
autocomplete
|
|
1004
1010
|
};
|
|
1005
1011
|
};
|
|
1006
1012
|
|
|
1007
|
-
export { presetWind as default, presetWind, rules, shortcuts, theme, variants };
|
|
1013
|
+
export { autocomplete, presetWind as default, presetWind, rules, shortcuts, theme, variants };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Tailwind / Windi CSS compact preset for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
],
|
|
36
36
|
"sideEffects": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@unocss/core": "0.
|
|
39
|
-
"@unocss/preset-mini": "0.
|
|
38
|
+
"@unocss/core": "0.29.0",
|
|
39
|
+
"@unocss/preset-mini": "0.29.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "unbuild",
|