@unocss/preset-wind 0.29.6 → 0.30.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 +1 -7
- package/dist/index.d.ts +1 -3
- package/dist/index.mjs +2 -8
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -995,10 +995,6 @@ const variants = (options) => [
|
|
|
995
995
|
...variantColorsScheme
|
|
996
996
|
];
|
|
997
997
|
|
|
998
|
-
const autocomplete = [
|
|
999
|
-
...presetMini.autocomplete
|
|
1000
|
-
];
|
|
1001
|
-
|
|
1002
998
|
const presetWind = (options = {}) => {
|
|
1003
999
|
options.dark = options.dark ?? "class";
|
|
1004
1000
|
options.attributifyPseudo = options.attributifyPseudo ?? false;
|
|
@@ -1008,13 +1004,11 @@ const presetWind = (options = {}) => {
|
|
|
1008
1004
|
rules,
|
|
1009
1005
|
shortcuts,
|
|
1010
1006
|
variants: variants(options),
|
|
1011
|
-
options
|
|
1012
|
-
autocomplete
|
|
1007
|
+
options
|
|
1013
1008
|
};
|
|
1014
1009
|
};
|
|
1015
1010
|
|
|
1016
1011
|
exports.colors = presetMini.colors;
|
|
1017
|
-
exports.autocomplete = autocomplete;
|
|
1018
1012
|
exports["default"] = presetWind;
|
|
1019
1013
|
exports.presetWind = presetWind;
|
|
1020
1014
|
exports.rules = rules;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,10 +12,8 @@ declare const theme: Theme;
|
|
|
12
12
|
|
|
13
13
|
declare const variants: (options: UnoOptions) => Variant<Theme>[];
|
|
14
14
|
|
|
15
|
-
declare const autocomplete: string[];
|
|
16
|
-
|
|
17
15
|
interface UnoOptions extends PresetMiniOptions {
|
|
18
16
|
}
|
|
19
17
|
declare const presetWind: (options?: UnoOptions) => Preset<Theme>;
|
|
20
18
|
|
|
21
|
-
export { UnoOptions,
|
|
19
|
+
export { UnoOptions, presetWind as default, presetWind, rules, shortcuts, theme, variants };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
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';
|
|
4
3
|
export { colors } from '@unocss/preset-mini';
|
|
5
4
|
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';
|
|
6
5
|
import { handler, positionMap, parseColor, colorToString, colorResolver, colorableShadows, directionMap, directionSize, variantMatcher, variantParentMatcher, hasParseableColor } from '@unocss/preset-mini/utils';
|
|
@@ -992,10 +991,6 @@ const variants = (options) => [
|
|
|
992
991
|
...variantColorsScheme
|
|
993
992
|
];
|
|
994
993
|
|
|
995
|
-
const autocomplete = [
|
|
996
|
-
...autocomplete$1
|
|
997
|
-
];
|
|
998
|
-
|
|
999
994
|
const presetWind = (options = {}) => {
|
|
1000
995
|
options.dark = options.dark ?? "class";
|
|
1001
996
|
options.attributifyPseudo = options.attributifyPseudo ?? false;
|
|
@@ -1005,9 +1000,8 @@ const presetWind = (options = {}) => {
|
|
|
1005
1000
|
rules,
|
|
1006
1001
|
shortcuts,
|
|
1007
1002
|
variants: variants(options),
|
|
1008
|
-
options
|
|
1009
|
-
autocomplete
|
|
1003
|
+
options
|
|
1010
1004
|
};
|
|
1011
1005
|
};
|
|
1012
1006
|
|
|
1013
|
-
export {
|
|
1007
|
+
export { 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.30.2",
|
|
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.30.2",
|
|
39
|
+
"@unocss/preset-mini": "0.30.2"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "unbuild",
|