@unocss/preset-wind 0.51.4 → 0.51.6
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 +111 -89
- package/dist/index.mjs +68 -59
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5,10 +5,24 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const presetMini = require('@unocss/preset-mini');
|
|
6
6
|
const utils = require('@unocss/preset-mini/utils');
|
|
7
7
|
const core = require('@unocss/core');
|
|
8
|
-
const
|
|
8
|
+
const _ = require('@unocss/preset-mini/rules');
|
|
9
9
|
const theme$1 = require('@unocss/preset-mini/theme');
|
|
10
10
|
const variants$1 = require('@unocss/preset-mini/variants');
|
|
11
11
|
|
|
12
|
+
function _interopNamespace(e) {
|
|
13
|
+
if (e && e.__esModule) return e;
|
|
14
|
+
const n = Object.create(null);
|
|
15
|
+
if (e) {
|
|
16
|
+
for (const k in e) {
|
|
17
|
+
n[k] = e[k];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n["default"] = e;
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
25
|
+
|
|
12
26
|
const animations = [
|
|
13
27
|
[/^(?:animate-)?keyframes-(.+)$/, ([, name], { theme }) => {
|
|
14
28
|
const kf = theme.animation?.keyframes?.[name];
|
|
@@ -147,7 +161,9 @@ const backgroundStyles = [
|
|
|
147
161
|
autocomplete: ["bg-gradient", "bg-gradient-(from|to|via)", "bg-gradient-(from|to|via)-$colors", "bg-gradient-(from|to|via)-(op|opacity)", "bg-gradient-(from|to|via)-(op|opacity)-<percent>"]
|
|
148
162
|
}],
|
|
149
163
|
[/^(?:bg-gradient-)?stops-(\[.+\])$/, ([, s]) => ({ "--un-gradient-stops": utils.handler.bracket(s) })],
|
|
150
|
-
[/^(?:bg-gradient-)?(from
|
|
164
|
+
[/^(?:bg-gradient-)?(from)-(.+)$/, bgGradientColorResolver()],
|
|
165
|
+
[/^(?:bg-gradient-)?(via)-(.+)$/, bgGradientColorResolver()],
|
|
166
|
+
[/^(?:bg-gradient-)?(to)-(.+)$/, bgGradientColorResolver()],
|
|
151
167
|
[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/, ([, position, opacity]) => ({ [`--un-${position}-opacity`]: utils.handler.bracket.percent(opacity) })],
|
|
152
168
|
[/^(from|via|to)-([\d\.]+)%$/, bgGradientPositionResolver()],
|
|
153
169
|
[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/, ([, s]) => ({
|
|
@@ -233,6 +249,11 @@ const listStyle = [
|
|
|
233
249
|
["list-outside", { "list-style-position": "outside" }],
|
|
234
250
|
["list-inside", { "list-style-position": "inside" }],
|
|
235
251
|
["list-none", { "list-style-type": "none" }],
|
|
252
|
+
[/^list-image-(.+)$/, ([, d]) => {
|
|
253
|
+
if (/^\[url\(.+\)\]$/.test(d))
|
|
254
|
+
return { "list-style-image": utils.handler.bracket(d) };
|
|
255
|
+
}],
|
|
256
|
+
["list-image-none", { "list-style-image": "none" }],
|
|
236
257
|
...utils.makeGlobalStaticRules("list", "list-style-type")
|
|
237
258
|
];
|
|
238
259
|
const accents = [
|
|
@@ -365,27 +386,27 @@ const containerShortcuts = [
|
|
|
365
386
|
];
|
|
366
387
|
|
|
367
388
|
const filterBase = {
|
|
368
|
-
"--un-blur":
|
|
369
|
-
"--un-brightness":
|
|
370
|
-
"--un-contrast":
|
|
371
|
-
"--un-drop-shadow":
|
|
372
|
-
"--un-grayscale":
|
|
373
|
-
"--un-hue-rotate":
|
|
374
|
-
"--un-invert":
|
|
375
|
-
"--un-saturate":
|
|
376
|
-
"--un-sepia":
|
|
389
|
+
"--un-blur": _.varEmpty,
|
|
390
|
+
"--un-brightness": _.varEmpty,
|
|
391
|
+
"--un-contrast": _.varEmpty,
|
|
392
|
+
"--un-drop-shadow": _.varEmpty,
|
|
393
|
+
"--un-grayscale": _.varEmpty,
|
|
394
|
+
"--un-hue-rotate": _.varEmpty,
|
|
395
|
+
"--un-invert": _.varEmpty,
|
|
396
|
+
"--un-saturate": _.varEmpty,
|
|
397
|
+
"--un-sepia": _.varEmpty
|
|
377
398
|
};
|
|
378
399
|
const filterProperty = "var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)";
|
|
379
400
|
const backdropFilterBase = {
|
|
380
|
-
"--un-backdrop-blur":
|
|
381
|
-
"--un-backdrop-brightness":
|
|
382
|
-
"--un-backdrop-contrast":
|
|
383
|
-
"--un-backdrop-grayscale":
|
|
384
|
-
"--un-backdrop-hue-rotate":
|
|
385
|
-
"--un-backdrop-invert":
|
|
386
|
-
"--un-backdrop-opacity":
|
|
387
|
-
"--un-backdrop-saturate":
|
|
388
|
-
"--un-backdrop-sepia":
|
|
401
|
+
"--un-backdrop-blur": _.varEmpty,
|
|
402
|
+
"--un-backdrop-brightness": _.varEmpty,
|
|
403
|
+
"--un-backdrop-contrast": _.varEmpty,
|
|
404
|
+
"--un-backdrop-grayscale": _.varEmpty,
|
|
405
|
+
"--un-backdrop-hue-rotate": _.varEmpty,
|
|
406
|
+
"--un-backdrop-invert": _.varEmpty,
|
|
407
|
+
"--un-backdrop-opacity": _.varEmpty,
|
|
408
|
+
"--un-backdrop-saturate": _.varEmpty,
|
|
409
|
+
"--un-backdrop-sepia": _.varEmpty
|
|
389
410
|
};
|
|
390
411
|
const backdropFilterProperty = "var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)";
|
|
391
412
|
function percentWithDefault(str) {
|
|
@@ -433,7 +454,7 @@ function dropShadowResolver([, s], { theme }) {
|
|
|
433
454
|
}
|
|
434
455
|
}
|
|
435
456
|
const filters = [
|
|
436
|
-
[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/, toFilter("blur", (s, theme) => theme.blur?.[s || "DEFAULT"] || utils.handler.bracket.cssvar.px(s)), { autocomplete: ["(backdrop|filter)-blur-$blur", "blur-$blur"] }],
|
|
457
|
+
[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/, toFilter("blur", (s, theme) => theme.blur?.[s || "DEFAULT"] || utils.handler.bracket.cssvar.px(s)), { autocomplete: ["(backdrop|filter)-blur-$blur", "blur-$blur", "filter-blur"] }],
|
|
437
458
|
[/^(?:(backdrop-)|filter-)?brightness-(.+)$/, toFilter("brightness", (s) => utils.handler.bracket.cssvar.percent(s)), { autocomplete: ["(backdrop|filter)-brightness-<percent>", "brightness-<percent>"] }],
|
|
438
459
|
[/^(?:(backdrop-)|filter-)?contrast-(.+)$/, toFilter("contrast", (s) => utils.handler.bracket.cssvar.percent(s)), { autocomplete: ["(backdrop|filter)-contrast-<percent>", "contrast-<percent>"] }],
|
|
439
460
|
[/^(?:filter-)?drop-shadow(?:-(.+))?$/, dropShadowResolver, {
|
|
@@ -692,7 +713,7 @@ const divides = [
|
|
|
692
713
|
[/^divide-(block|inline)-reverse$/, ([, d]) => ({ [`--un-divide-${d}-reverse`]: 1 })],
|
|
693
714
|
[/^divide-(.+)$/, utils.colorResolver("border-color", "divide"), { autocomplete: "divide-$colors" }],
|
|
694
715
|
[/^divide-op(?:acity)?-?(.+)$/, ([, opacity]) => ({ "--un-divide-opacity": utils.handler.bracket.percent(opacity) }), { autocomplete: ["divide-(op|opacity)", "divide-(op|opacity)-<percent>"] }],
|
|
695
|
-
...
|
|
716
|
+
..._.borderStyles.map((style) => [`divide-${style}`, { "border-style": style }])
|
|
696
717
|
];
|
|
697
718
|
function handlerDivide([, d, s], { theme }) {
|
|
698
719
|
let v = theme.lineWidth?.[s || "DEFAULT"] ?? utils.handler.bracket.cssvar.px(s || "1");
|
|
@@ -731,11 +752,11 @@ const lineClamps = [
|
|
|
731
752
|
];
|
|
732
753
|
|
|
733
754
|
const fontVariantNumericBase = {
|
|
734
|
-
"--un-ordinal":
|
|
735
|
-
"--un-slashed-zero":
|
|
736
|
-
"--un-numeric-figure":
|
|
737
|
-
"--un-numeric-spacing":
|
|
738
|
-
"--un-numeric-fraction":
|
|
755
|
+
"--un-ordinal": _.varEmpty,
|
|
756
|
+
"--un-slashed-zero": _.varEmpty,
|
|
757
|
+
"--un-numeric-figure": _.varEmpty,
|
|
758
|
+
"--un-numeric-spacing": _.varEmpty,
|
|
759
|
+
"--un-numeric-fraction": _.varEmpty
|
|
739
760
|
};
|
|
740
761
|
function toEntries(entry) {
|
|
741
762
|
return {
|
|
@@ -756,9 +777,9 @@ const fontVariantNumeric = [
|
|
|
756
777
|
];
|
|
757
778
|
|
|
758
779
|
const touchActionBase = {
|
|
759
|
-
"--un-pan-x":
|
|
760
|
-
"--un-pan-y":
|
|
761
|
-
"--un-pinch-zoom":
|
|
780
|
+
"--un-pan-x": _.varEmpty,
|
|
781
|
+
"--un-pan-y": _.varEmpty,
|
|
782
|
+
"--un-pinch-zoom": _.varEmpty
|
|
762
783
|
};
|
|
763
784
|
const touchActionProperty = "var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)";
|
|
764
785
|
const touchActions = [
|
|
@@ -824,91 +845,92 @@ const placeholders = [
|
|
|
824
845
|
];
|
|
825
846
|
|
|
826
847
|
const rules = [
|
|
827
|
-
|
|
848
|
+
___namespace.cssVariables,
|
|
828
849
|
cssVariables,
|
|
829
|
-
|
|
850
|
+
___namespace.cssProperty,
|
|
830
851
|
container,
|
|
831
|
-
|
|
852
|
+
___namespace.contains,
|
|
832
853
|
screenReadersAccess,
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
854
|
+
___namespace.pointerEvents,
|
|
855
|
+
___namespace.appearances,
|
|
856
|
+
___namespace.positions,
|
|
857
|
+
___namespace.insets,
|
|
837
858
|
lineClamps,
|
|
838
859
|
isolations,
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
860
|
+
___namespace.zIndexes,
|
|
861
|
+
___namespace.orders,
|
|
862
|
+
___namespace.grids,
|
|
863
|
+
___namespace.floats,
|
|
864
|
+
___namespace.margins,
|
|
865
|
+
___namespace.boxSizing,
|
|
866
|
+
___namespace.displays,
|
|
867
|
+
___namespace.aspectRatio,
|
|
868
|
+
___namespace.sizes,
|
|
869
|
+
___namespace.flex,
|
|
849
870
|
tables,
|
|
850
|
-
|
|
871
|
+
___namespace.transforms,
|
|
851
872
|
animations,
|
|
852
|
-
|
|
873
|
+
___namespace.cursors,
|
|
853
874
|
touchActions,
|
|
854
|
-
|
|
855
|
-
|
|
875
|
+
___namespace.userSelects,
|
|
876
|
+
___namespace.resizes,
|
|
856
877
|
scrolls,
|
|
857
878
|
listStyle,
|
|
858
|
-
|
|
879
|
+
___namespace.appearance,
|
|
859
880
|
columns,
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
881
|
+
___namespace.placements,
|
|
882
|
+
___namespace.alignments,
|
|
883
|
+
___namespace.justifies,
|
|
884
|
+
___namespace.gaps,
|
|
885
|
+
___namespace.flexGridJustifiesAlignments,
|
|
864
886
|
spaces,
|
|
865
887
|
divides,
|
|
866
|
-
|
|
888
|
+
___namespace.overflows,
|
|
867
889
|
overscrolls,
|
|
868
890
|
scrollBehaviors,
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
891
|
+
___namespace.textOverflows,
|
|
892
|
+
___namespace.whitespaces,
|
|
893
|
+
___namespace.breaks,
|
|
894
|
+
___namespace.borders,
|
|
895
|
+
___namespace.bgColors,
|
|
874
896
|
backgroundStyles,
|
|
875
|
-
|
|
897
|
+
___namespace.svgUtilities,
|
|
876
898
|
objectPositions,
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
899
|
+
___namespace.paddings,
|
|
900
|
+
___namespace.textAligns,
|
|
901
|
+
___namespace.textIndents,
|
|
902
|
+
___namespace.verticalAligns,
|
|
903
|
+
___namespace.fonts,
|
|
904
|
+
___namespace.textTransforms,
|
|
883
905
|
textTransforms,
|
|
884
|
-
|
|
906
|
+
___namespace.fontStyles,
|
|
885
907
|
fontVariantNumeric,
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
908
|
+
___namespace.textColors,
|
|
909
|
+
___namespace.textDecorations,
|
|
910
|
+
___namespace.fontSmoothings,
|
|
911
|
+
___namespace.tabSizes,
|
|
912
|
+
___namespace.textStrokes,
|
|
913
|
+
___namespace.textShadows,
|
|
892
914
|
hyphens,
|
|
893
915
|
writingModes,
|
|
894
916
|
writingOrientations,
|
|
895
917
|
carets,
|
|
896
918
|
accents,
|
|
897
|
-
|
|
919
|
+
___namespace.opacity,
|
|
898
920
|
backgroundBlendModes,
|
|
899
921
|
mixBlendModes,
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
922
|
+
___namespace.boxShadows,
|
|
923
|
+
___namespace.outline,
|
|
924
|
+
___namespace.rings,
|
|
903
925
|
imageRenderings,
|
|
904
926
|
filters,
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
927
|
+
___namespace.transitions,
|
|
928
|
+
___namespace.willChange,
|
|
929
|
+
___namespace.contentVisibility,
|
|
930
|
+
___namespace.contents,
|
|
909
931
|
placeholders,
|
|
910
|
-
|
|
911
|
-
|
|
932
|
+
___namespace.containerParent,
|
|
933
|
+
___namespace.questionMark
|
|
912
934
|
].flat(1);
|
|
913
935
|
|
|
914
936
|
const shortcuts = [
|
|
@@ -1109,13 +1131,13 @@ const theme = {
|
|
|
1109
1131
|
grid: "(display: grid)"
|
|
1110
1132
|
},
|
|
1111
1133
|
preflightBase: {
|
|
1112
|
-
...
|
|
1134
|
+
..._.transformBase,
|
|
1113
1135
|
...touchActionBase,
|
|
1114
1136
|
...scrollSnapTypeBase,
|
|
1115
1137
|
...fontVariantNumericBase,
|
|
1116
1138
|
...borderSpacingBase,
|
|
1117
|
-
...
|
|
1118
|
-
...
|
|
1139
|
+
..._.boxShadowsBase,
|
|
1140
|
+
..._.ringBase,
|
|
1119
1141
|
...filterBase,
|
|
1120
1142
|
...backdropFilterBase
|
|
1121
1143
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,8 @@ import { presetMini } 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 { isString, warnOnce } from '@unocss/core';
|
|
5
|
-
import
|
|
5
|
+
import * as _ from '@unocss/preset-mini/rules';
|
|
6
|
+
import { varEmpty, borderStyles, transformBase, boxShadowsBase, ringBase } from '@unocss/preset-mini/rules';
|
|
6
7
|
import { theme as theme$1 } from '@unocss/preset-mini/theme';
|
|
7
8
|
import { variants as variants$1 } from '@unocss/preset-mini/variants';
|
|
8
9
|
|
|
@@ -144,7 +145,9 @@ const backgroundStyles = [
|
|
|
144
145
|
autocomplete: ["bg-gradient", "bg-gradient-(from|to|via)", "bg-gradient-(from|to|via)-$colors", "bg-gradient-(from|to|via)-(op|opacity)", "bg-gradient-(from|to|via)-(op|opacity)-<percent>"]
|
|
145
146
|
}],
|
|
146
147
|
[/^(?:bg-gradient-)?stops-(\[.+\])$/, ([, s]) => ({ "--un-gradient-stops": handler.bracket(s) })],
|
|
147
|
-
[/^(?:bg-gradient-)?(from
|
|
148
|
+
[/^(?:bg-gradient-)?(from)-(.+)$/, bgGradientColorResolver()],
|
|
149
|
+
[/^(?:bg-gradient-)?(via)-(.+)$/, bgGradientColorResolver()],
|
|
150
|
+
[/^(?:bg-gradient-)?(to)-(.+)$/, bgGradientColorResolver()],
|
|
148
151
|
[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/, ([, position, opacity]) => ({ [`--un-${position}-opacity`]: handler.bracket.percent(opacity) })],
|
|
149
152
|
[/^(from|via|to)-([\d\.]+)%$/, bgGradientPositionResolver()],
|
|
150
153
|
[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/, ([, s]) => ({
|
|
@@ -230,6 +233,11 @@ const listStyle = [
|
|
|
230
233
|
["list-outside", { "list-style-position": "outside" }],
|
|
231
234
|
["list-inside", { "list-style-position": "inside" }],
|
|
232
235
|
["list-none", { "list-style-type": "none" }],
|
|
236
|
+
[/^list-image-(.+)$/, ([, d]) => {
|
|
237
|
+
if (/^\[url\(.+\)\]$/.test(d))
|
|
238
|
+
return { "list-style-image": handler.bracket(d) };
|
|
239
|
+
}],
|
|
240
|
+
["list-image-none", { "list-style-image": "none" }],
|
|
233
241
|
...makeGlobalStaticRules("list", "list-style-type")
|
|
234
242
|
];
|
|
235
243
|
const accents = [
|
|
@@ -430,7 +438,7 @@ function dropShadowResolver([, s], { theme }) {
|
|
|
430
438
|
}
|
|
431
439
|
}
|
|
432
440
|
const filters = [
|
|
433
|
-
[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/, toFilter("blur", (s, theme) => theme.blur?.[s || "DEFAULT"] || handler.bracket.cssvar.px(s)), { autocomplete: ["(backdrop|filter)-blur-$blur", "blur-$blur"] }],
|
|
441
|
+
[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/, toFilter("blur", (s, theme) => theme.blur?.[s || "DEFAULT"] || handler.bracket.cssvar.px(s)), { autocomplete: ["(backdrop|filter)-blur-$blur", "blur-$blur", "filter-blur"] }],
|
|
434
442
|
[/^(?:(backdrop-)|filter-)?brightness-(.+)$/, toFilter("brightness", (s) => handler.bracket.cssvar.percent(s)), { autocomplete: ["(backdrop|filter)-brightness-<percent>", "brightness-<percent>"] }],
|
|
435
443
|
[/^(?:(backdrop-)|filter-)?contrast-(.+)$/, toFilter("contrast", (s) => handler.bracket.cssvar.percent(s)), { autocomplete: ["(backdrop|filter)-contrast-<percent>", "contrast-<percent>"] }],
|
|
436
444
|
[/^(?:filter-)?drop-shadow(?:-(.+))?$/, dropShadowResolver, {
|
|
@@ -821,91 +829,92 @@ const placeholders = [
|
|
|
821
829
|
];
|
|
822
830
|
|
|
823
831
|
const rules = [
|
|
824
|
-
cssVariables
|
|
832
|
+
_.cssVariables,
|
|
825
833
|
cssVariables,
|
|
826
|
-
cssProperty,
|
|
834
|
+
_.cssProperty,
|
|
827
835
|
container,
|
|
828
|
-
contains,
|
|
836
|
+
_.contains,
|
|
829
837
|
screenReadersAccess,
|
|
830
|
-
pointerEvents,
|
|
831
|
-
appearances,
|
|
832
|
-
positions,
|
|
833
|
-
insets,
|
|
838
|
+
_.pointerEvents,
|
|
839
|
+
_.appearances,
|
|
840
|
+
_.positions,
|
|
841
|
+
_.insets,
|
|
834
842
|
lineClamps,
|
|
835
843
|
isolations,
|
|
836
|
-
zIndexes,
|
|
837
|
-
orders,
|
|
838
|
-
grids,
|
|
839
|
-
floats,
|
|
840
|
-
margins,
|
|
841
|
-
boxSizing,
|
|
842
|
-
displays,
|
|
843
|
-
aspectRatio,
|
|
844
|
-
sizes,
|
|
845
|
-
flex,
|
|
844
|
+
_.zIndexes,
|
|
845
|
+
_.orders,
|
|
846
|
+
_.grids,
|
|
847
|
+
_.floats,
|
|
848
|
+
_.margins,
|
|
849
|
+
_.boxSizing,
|
|
850
|
+
_.displays,
|
|
851
|
+
_.aspectRatio,
|
|
852
|
+
_.sizes,
|
|
853
|
+
_.flex,
|
|
846
854
|
tables,
|
|
847
|
-
transforms,
|
|
855
|
+
_.transforms,
|
|
848
856
|
animations,
|
|
849
|
-
cursors,
|
|
857
|
+
_.cursors,
|
|
850
858
|
touchActions,
|
|
851
|
-
userSelects,
|
|
852
|
-
resizes,
|
|
859
|
+
_.userSelects,
|
|
860
|
+
_.resizes,
|
|
853
861
|
scrolls,
|
|
854
862
|
listStyle,
|
|
855
|
-
appearance,
|
|
863
|
+
_.appearance,
|
|
856
864
|
columns,
|
|
857
|
-
placements,
|
|
858
|
-
alignments,
|
|
859
|
-
justifies,
|
|
860
|
-
gaps,
|
|
865
|
+
_.placements,
|
|
866
|
+
_.alignments,
|
|
867
|
+
_.justifies,
|
|
868
|
+
_.gaps,
|
|
869
|
+
_.flexGridJustifiesAlignments,
|
|
861
870
|
spaces,
|
|
862
871
|
divides,
|
|
863
|
-
overflows,
|
|
872
|
+
_.overflows,
|
|
864
873
|
overscrolls,
|
|
865
874
|
scrollBehaviors,
|
|
866
|
-
textOverflows,
|
|
867
|
-
whitespaces,
|
|
868
|
-
breaks,
|
|
869
|
-
borders,
|
|
870
|
-
bgColors,
|
|
875
|
+
_.textOverflows,
|
|
876
|
+
_.whitespaces,
|
|
877
|
+
_.breaks,
|
|
878
|
+
_.borders,
|
|
879
|
+
_.bgColors,
|
|
871
880
|
backgroundStyles,
|
|
872
|
-
svgUtilities,
|
|
881
|
+
_.svgUtilities,
|
|
873
882
|
objectPositions,
|
|
874
|
-
paddings,
|
|
875
|
-
textAligns,
|
|
876
|
-
textIndents,
|
|
877
|
-
verticalAligns,
|
|
878
|
-
fonts,
|
|
879
|
-
textTransforms
|
|
883
|
+
_.paddings,
|
|
884
|
+
_.textAligns,
|
|
885
|
+
_.textIndents,
|
|
886
|
+
_.verticalAligns,
|
|
887
|
+
_.fonts,
|
|
888
|
+
_.textTransforms,
|
|
880
889
|
textTransforms,
|
|
881
|
-
fontStyles,
|
|
890
|
+
_.fontStyles,
|
|
882
891
|
fontVariantNumeric,
|
|
883
|
-
textColors,
|
|
884
|
-
textDecorations,
|
|
885
|
-
fontSmoothings,
|
|
886
|
-
tabSizes,
|
|
887
|
-
textStrokes,
|
|
888
|
-
textShadows,
|
|
892
|
+
_.textColors,
|
|
893
|
+
_.textDecorations,
|
|
894
|
+
_.fontSmoothings,
|
|
895
|
+
_.tabSizes,
|
|
896
|
+
_.textStrokes,
|
|
897
|
+
_.textShadows,
|
|
889
898
|
hyphens,
|
|
890
899
|
writingModes,
|
|
891
900
|
writingOrientations,
|
|
892
901
|
carets,
|
|
893
902
|
accents,
|
|
894
|
-
opacity,
|
|
903
|
+
_.opacity,
|
|
895
904
|
backgroundBlendModes,
|
|
896
905
|
mixBlendModes,
|
|
897
|
-
boxShadows,
|
|
898
|
-
outline,
|
|
899
|
-
rings,
|
|
906
|
+
_.boxShadows,
|
|
907
|
+
_.outline,
|
|
908
|
+
_.rings,
|
|
900
909
|
imageRenderings,
|
|
901
910
|
filters,
|
|
902
|
-
transitions,
|
|
903
|
-
willChange,
|
|
904
|
-
contentVisibility,
|
|
905
|
-
contents,
|
|
911
|
+
_.transitions,
|
|
912
|
+
_.willChange,
|
|
913
|
+
_.contentVisibility,
|
|
914
|
+
_.contents,
|
|
906
915
|
placeholders,
|
|
907
|
-
containerParent,
|
|
908
|
-
questionMark
|
|
916
|
+
_.containerParent,
|
|
917
|
+
_.questionMark
|
|
909
918
|
].flat(1);
|
|
910
919
|
|
|
911
920
|
const shortcuts = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.6",
|
|
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.51.
|
|
39
|
-
"@unocss/preset-mini": "0.51.
|
|
38
|
+
"@unocss/core": "0.51.6",
|
|
39
|
+
"@unocss/preset-mini": "0.51.6"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "unbuild",
|