@unocss/preset-wind4 66.3.1 → 66.3.3
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.mjs +5 -5
- package/dist/rules.mjs +3 -3
- package/dist/shared/{preset-wind4.B_j31qY9.mjs → preset-wind4.9XNkkElt.mjs} +1 -1
- package/dist/shared/{preset-wind4.DkYonoU3.mjs → preset-wind4.9kYTrHxt.mjs} +7 -3
- package/dist/shared/{preset-wind4.C9Rzs5jH.mjs → preset-wind4.B6AdPBSv.mjs} +11 -2
- package/dist/shared/{preset-wind4.BznxXpBJ.mjs → preset-wind4.B7G_ZuoA.mjs} +1 -1
- package/dist/shared/{preset-wind4.B-qAdOhA.mjs → preset-wind4.BuC1lQGJ.mjs} +40 -6
- package/dist/shortcuts.mjs +3 -3
- package/dist/utils.d.mts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.mjs +2 -2
- package/dist/variants.mjs +2 -2
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { uniq, toArray, definePreset } from '@unocss/core';
|
|
2
2
|
import { extractorArbitraryVariants } from '@unocss/extractor-arbitrary-variants';
|
|
3
|
-
import { n as trackedProperties, k as themeTracking, M as compressCSS, z as getThemeByKey, m as detectThemeValue, t as trackedTheme, g as globalKeywords, P as PRESET_NAME } from './shared/preset-wind4.
|
|
3
|
+
import { n as trackedProperties, k as themeTracking, M as compressCSS, z as getThemeByKey, m as detectThemeValue, t as trackedTheme, g as globalKeywords, P as PRESET_NAME } from './shared/preset-wind4.B6AdPBSv.mjs';
|
|
4
4
|
import { alphaPlaceholdersRE } from '@unocss/rule-utils';
|
|
5
5
|
import { postprocessors } from './postprocess.mjs';
|
|
6
|
-
import { k as variants } from './shared/preset-wind4.
|
|
6
|
+
import { k as variants } from './shared/preset-wind4.BuC1lQGJ.mjs';
|
|
7
7
|
import { theme as theme$1 } from './theme.mjs';
|
|
8
|
-
import { s as shortcuts } from './shared/preset-wind4.
|
|
9
|
-
import { r as rules } from './shared/preset-wind4.
|
|
8
|
+
import { s as shortcuts } from './shared/preset-wind4.9XNkkElt.mjs';
|
|
9
|
+
import { r as rules } from './shared/preset-wind4.9kYTrHxt.mjs';
|
|
10
10
|
import './colors.mjs';
|
|
11
|
-
import './shared/preset-wind4.
|
|
11
|
+
import './shared/preset-wind4.B7G_ZuoA.mjs';
|
|
12
12
|
|
|
13
13
|
function properties() {
|
|
14
14
|
return {
|
package/dist/rules.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { d as accents, an as accessibility, I as alignments, a as animations, c as appearance, $ as appearances, V as aspectRatio, ak as backgroundBlendModes, b as backgroundStyles, m as bgColors, g as borderStyles, h as borders, T as boxShadows, O as boxSizing, a8 as breaks, e as carets, n as colorScheme, p as columns, a1 as contains, a6 as contentVisibility, a7 as contents, aD as cssProperty, aC as cssVariables, a0 as cursors, _ as displays, u as divides, am as dynamicViewportHeight, ao as fieldSizing, x as filters, y as flex, K as flexGridJustifiesAlignments, M as floats, ad as fontSmoothings, ac as fontStyles, aA as fontVariantNumeric, av as fonts, z as gaps, A as grids, j as handlerBorderStyle, ae as hyphens, i as imageRenderings, L as insets, ai as isolations, G as justifies, C as lineClamps, l as listStyle, X as margins, D as masks, al as mixBlendModes, Z as notLastChildSelector, aj as objectPositions, k as opacity, H as orders, o as outline, B as overflows, f as overscrolls, W as paddings, E as placeholders, J as placements, a2 as pointerEvents, F as positions, P as questionMark, a3 as resizes, Q as rings, r as rules, ah as screenReadersAccess, s as scrollBehaviors, R as scrolls, S as shadowProperties, U as sizes, Y as spaces, aB as splitShorthand, ap as svgUtilities, aw as tabSizes, aq as tables, t as textAligns, q as textDecorations, ax as textIndents, aa as textOverflows, az as textShadows, ay as textStrokes, ab as textTransforms, a9 as textWraps, ar as touchActions, as as transformBase, at as transforms, au as transitions, a4 as userSelects, v as verticalAligns, aE as viewTransition, a5 as whitespaces, w as willChange, af as writingModes, ag as writingOrientations, N as zIndexes } from './shared/preset-wind4.
|
|
2
|
-
export { a as container, c as containerParent, b as containerShortcuts } from './shared/preset-wind4.
|
|
3
|
-
import './shared/preset-wind4.
|
|
1
|
+
export { d as accents, an as accessibility, I as alignments, a as animations, c as appearance, $ as appearances, V as aspectRatio, ak as backgroundBlendModes, b as backgroundStyles, m as bgColors, g as borderStyles, h as borders, T as boxShadows, O as boxSizing, a8 as breaks, e as carets, n as colorScheme, p as columns, a1 as contains, a6 as contentVisibility, a7 as contents, aD as cssProperty, aC as cssVariables, a0 as cursors, _ as displays, u as divides, am as dynamicViewportHeight, ao as fieldSizing, x as filters, y as flex, K as flexGridJustifiesAlignments, M as floats, ad as fontSmoothings, ac as fontStyles, aA as fontVariantNumeric, av as fonts, z as gaps, A as grids, j as handlerBorderStyle, ae as hyphens, i as imageRenderings, L as insets, ai as isolations, G as justifies, C as lineClamps, l as listStyle, X as margins, D as masks, al as mixBlendModes, Z as notLastChildSelector, aj as objectPositions, k as opacity, H as orders, o as outline, B as overflows, f as overscrolls, W as paddings, E as placeholders, J as placements, a2 as pointerEvents, F as positions, P as questionMark, a3 as resizes, Q as rings, r as rules, ah as screenReadersAccess, s as scrollBehaviors, R as scrolls, S as shadowProperties, U as sizes, Y as spaces, aB as splitShorthand, ap as svgUtilities, aw as tabSizes, aq as tables, t as textAligns, q as textDecorations, ax as textIndents, aa as textOverflows, az as textShadows, ay as textStrokes, ab as textTransforms, a9 as textWraps, ar as touchActions, as as transformBase, at as transforms, au as transitions, a4 as userSelects, v as verticalAligns, aE as viewTransition, a5 as whitespaces, w as willChange, af as writingModes, ag as writingOrientations, N as zIndexes } from './shared/preset-wind4.9kYTrHxt.mjs';
|
|
2
|
+
export { a as container, c as containerParent, b as containerShortcuts } from './shared/preset-wind4.B7G_ZuoA.mjs';
|
|
3
|
+
import './shared/preset-wind4.B6AdPBSv.mjs';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
import '@unocss/rule-utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as globalKeywords, b as h, G as makeGlobalStaticRules, p as positionMap, w as parseColor, S as SpecialColorKey, l as generateThemeVariable, H as defineProperty, k as themeTracking, m as detectThemeValue, B as colorResolver, I as isCSSMathFn, d as directionMap, E as hasParseableColor, c as cornerMap, A as colorCSSGenerator, J as isSize, s as directionSize, q as numberResolver, D as colorableShadows, L as hyphenate, i as insetMap, r as resolveBreakpoints, C as CONTROL_NO_NEGATIVE, x as xyzMap, N as splitComma, e as xyzArray, O as bracketTypeRe } from './preset-wind4.
|
|
1
|
+
import { g as globalKeywords, b as h, G as makeGlobalStaticRules, p as positionMap, w as parseColor, S as SpecialColorKey, l as generateThemeVariable, H as defineProperty, k as themeTracking, m as detectThemeValue, B as colorResolver, I as isCSSMathFn, d as directionMap, E as hasParseableColor, c as cornerMap, A as colorCSSGenerator, J as isSize, s as directionSize, q as numberResolver, D as colorableShadows, L as hyphenate, i as insetMap, r as resolveBreakpoints, C as CONTROL_NO_NEGATIVE, x as xyzMap, N as splitComma, e as xyzArray, O as bracketTypeRe } from './preset-wind4.B6AdPBSv.mjs';
|
|
2
2
|
import { symbols, notNull } from '@unocss/core';
|
|
3
|
-
import { a as container, c as containerParent } from './preset-wind4.
|
|
3
|
+
import { a as container, c as containerParent } from './preset-wind4.B7G_ZuoA.mjs';
|
|
4
4
|
import { getStringComponent } from '@unocss/rule-utils';
|
|
5
5
|
|
|
6
6
|
const verticalAlignAlias = {
|
|
@@ -238,6 +238,7 @@ const backgroundStyles = [
|
|
|
238
238
|
["bg-auto", { "background-size": "auto" }],
|
|
239
239
|
["bg-cover", { "background-size": "cover" }],
|
|
240
240
|
["bg-contain", { "background-size": "contain" }],
|
|
241
|
+
[/^bg-size-(.+)$/, ([, v]) => ({ "background-size": h.bracket.cssvar(v) })],
|
|
241
242
|
// attachments
|
|
242
243
|
["bg-fixed", { "background-attachment": "fixed" }],
|
|
243
244
|
["bg-local", { "background-attachment": "local" }],
|
|
@@ -1702,7 +1703,10 @@ const breaks = [
|
|
|
1702
1703
|
["break-words", { "overflow-wrap": "break-word" }],
|
|
1703
1704
|
["break-all", { "word-break": "break-all" }],
|
|
1704
1705
|
["break-keep", { "word-break": "keep-all" }],
|
|
1705
|
-
["break-anywhere", { "overflow-wrap": "anywhere" }]
|
|
1706
|
+
["break-anywhere", { "overflow-wrap": "anywhere" }],
|
|
1707
|
+
["wrap-break-word", { "overflow-wrap": "break-word" }],
|
|
1708
|
+
["wrap-anywhere", { "overflow-wrap": "anywhere" }],
|
|
1709
|
+
["wrap-normal", { "overflow-wrap": "normal" }]
|
|
1706
1710
|
];
|
|
1707
1711
|
const textWraps = [
|
|
1708
1712
|
["text-wrap", { "text-wrap": "wrap" }],
|
|
@@ -508,11 +508,20 @@ function parseColor(body, theme) {
|
|
|
508
508
|
} else {
|
|
509
509
|
opacity = opacityOrModifier;
|
|
510
510
|
}
|
|
511
|
-
const colors = main.replace(/([a-z])(\d)/g, "$1-$2").split(/-/g);
|
|
511
|
+
const colors = main.replace(/([a-z])(\d)(?![-_a-z])/g, "$1-$2").split(/-/g);
|
|
512
512
|
const [name] = colors;
|
|
513
513
|
if (!name)
|
|
514
514
|
return;
|
|
515
|
-
let
|
|
515
|
+
let parsed = parseThemeColor(theme, colors);
|
|
516
|
+
if (!parsed && colors.length >= 2) {
|
|
517
|
+
const last = colors.at(-1);
|
|
518
|
+
const secondLast = colors.at(-2);
|
|
519
|
+
if (/^\d+$/.test(last)) {
|
|
520
|
+
const keys2 = colors.slice(0, -2).concat([`${secondLast}${last}`]);
|
|
521
|
+
parsed = parseThemeColor(theme, keys2);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
let { no, keys, color } = parsed ?? {};
|
|
516
525
|
if (!color) {
|
|
517
526
|
const bracket = h.bracketOfColor(main);
|
|
518
527
|
const bracketOrMain = bracket || main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isString } from '@unocss/core';
|
|
2
|
-
import { r as resolveBreakpoints } from './preset-wind4.
|
|
2
|
+
import { r as resolveBreakpoints } from './preset-wind4.B6AdPBSv.mjs';
|
|
3
3
|
|
|
4
4
|
const containerParent = [
|
|
5
5
|
[/^@container(?:\/(\w+))?(?:-(normal))?$/, ([, l, v]) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { variantGetParameter, calcMaxWidthBySize, variantMatcher, variantGetBracket, variantParentMatcher, getBracket, hasThemeFn, transformThemeFn, getStringComponent, createPartClasses, createPseudoClassesAndElements, createPseudoClassFunctions, createTaggedPseudoClasses } from '@unocss/rule-utils';
|
|
2
|
-
import { b as h, r as resolveBreakpoints, C as CONTROL_NO_NEGATIVE, f as cssMathFnRE, j as cssVarFnRE, E as hasParseableColor } from './preset-wind4.
|
|
2
|
+
import { b as h, r as resolveBreakpoints, C as CONTROL_NO_NEGATIVE, f as cssMathFnRE, j as cssVarFnRE, E as hasParseableColor } from './preset-wind4.B6AdPBSv.mjs';
|
|
3
3
|
import { toArray } from '@unocss/core';
|
|
4
4
|
|
|
5
5
|
const variantAria = {
|
|
@@ -26,15 +26,29 @@ function taggedAria(tagName) {
|
|
|
26
26
|
match(matcher, ctx) {
|
|
27
27
|
const variant = variantGetParameter(`${tagName}-aria-`, matcher, ctx.generator.config.separators);
|
|
28
28
|
if (variant) {
|
|
29
|
-
const [match, rest] = variant;
|
|
29
|
+
const [match, rest, label] = variant;
|
|
30
30
|
const ariaAttribute = h.bracket(match) ?? ctx.theme.aria?.[match] ?? "";
|
|
31
31
|
if (ariaAttribute) {
|
|
32
|
+
const tagSelectorMap = {
|
|
33
|
+
group: `&:is(:where(.group${label ? `\\/${label}` : ""})[aria-${ariaAttribute}] *)`,
|
|
34
|
+
peer: `&:is(:where(.peer${label ? `\\/${label}` : ""})[aria-${ariaAttribute}] ~ *)`,
|
|
35
|
+
previous: `:where(*[aria-${ariaAttribute}] + &)`,
|
|
36
|
+
parent: `:where(*[aria-${ariaAttribute}] > &)`,
|
|
37
|
+
has: `&:has(*[aria-${ariaAttribute}])`,
|
|
38
|
+
in: `:where(*[aria-${ariaAttribute}]) &`
|
|
39
|
+
};
|
|
32
40
|
return {
|
|
33
|
-
matcher:
|
|
41
|
+
matcher: rest,
|
|
42
|
+
handle: (input, next) => next({
|
|
43
|
+
...input,
|
|
44
|
+
parent: `${input.parent ? `${input.parent} $$ ` : ""}${input.selector}`,
|
|
45
|
+
selector: tagSelectorMap[tagName]
|
|
46
|
+
})
|
|
34
47
|
};
|
|
35
48
|
}
|
|
36
49
|
}
|
|
37
|
-
}
|
|
50
|
+
},
|
|
51
|
+
multiPass: true
|
|
38
52
|
};
|
|
39
53
|
}
|
|
40
54
|
const variantTaggedAriaAttributes = [
|
|
@@ -240,12 +254,26 @@ function taggedData(tagName) {
|
|
|
240
254
|
const [match, rest, label] = variant;
|
|
241
255
|
const dataAttribute = h.bracket(match) ?? ctx.theme.data?.[match] ?? "";
|
|
242
256
|
if (dataAttribute) {
|
|
257
|
+
const tagSelectorMap = {
|
|
258
|
+
group: `&:is(:where(.group${label ? `\\/${label}` : ""})[data-${dataAttribute}] *)`,
|
|
259
|
+
peer: `&:is(:where(.peer${label ? `\\/${label}` : ""})[data-${dataAttribute}] ~ *)`,
|
|
260
|
+
previous: `:where(*[data-${dataAttribute}] + &)`,
|
|
261
|
+
parent: `:where(*[data-${dataAttribute}] > &)`,
|
|
262
|
+
has: `&:has(*[data-${dataAttribute}])`,
|
|
263
|
+
in: `:where(*[data-${dataAttribute}]) &`
|
|
264
|
+
};
|
|
243
265
|
return {
|
|
244
|
-
matcher:
|
|
266
|
+
matcher: rest,
|
|
267
|
+
handle: (input, next) => next({
|
|
268
|
+
...input,
|
|
269
|
+
parent: `${input.parent ? `${input.parent} $$ ` : ""}${input.selector}`,
|
|
270
|
+
selector: tagSelectorMap[tagName]
|
|
271
|
+
})
|
|
245
272
|
};
|
|
246
273
|
}
|
|
247
274
|
}
|
|
248
|
-
}
|
|
275
|
+
},
|
|
276
|
+
multiPass: true
|
|
249
277
|
};
|
|
250
278
|
}
|
|
251
279
|
const variantTaggedDataAttributes = [
|
|
@@ -291,6 +319,11 @@ function variantImportant() {
|
|
|
291
319
|
};
|
|
292
320
|
}
|
|
293
321
|
|
|
322
|
+
const variantInert = variantMatcher("inert", (input) => ({
|
|
323
|
+
parent: `${input.parent ? `${input.parent} $$ ` : ""}${input.selector}`,
|
|
324
|
+
selector: "&:is([inert],[inert] *)"
|
|
325
|
+
}));
|
|
326
|
+
|
|
294
327
|
const variantNoscript = variantParentMatcher("noscript", "@media (scripting: none)");
|
|
295
328
|
const variantScripting = {
|
|
296
329
|
name: "scripting",
|
|
@@ -679,6 +712,7 @@ function variants(options) {
|
|
|
679
712
|
...variantLanguageDirections,
|
|
680
713
|
variantScope,
|
|
681
714
|
...variantChildren,
|
|
715
|
+
variantInert,
|
|
682
716
|
variantContainerQuery,
|
|
683
717
|
variantVariables,
|
|
684
718
|
...variantTaggedDataAttributes,
|
package/dist/shortcuts.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as shortcuts } from './shared/preset-wind4.
|
|
2
|
-
import './shared/preset-wind4.
|
|
1
|
+
export { s as shortcuts } from './shared/preset-wind4.9XNkkElt.mjs';
|
|
2
|
+
import './shared/preset-wind4.B7G_ZuoA.mjs';
|
|
3
3
|
import '@unocss/core';
|
|
4
|
-
import './shared/preset-wind4.
|
|
4
|
+
import './shared/preset-wind4.B6AdPBSv.mjs';
|
|
5
5
|
import '@unocss/rule-utils';
|
package/dist/utils.d.mts
CHANGED
|
@@ -56,8 +56,8 @@ declare namespace handlers {
|
|
|
56
56
|
export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfFamily as bracketOfFamily, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfNumber as bracketOfNumber, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_none as none, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
60
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
59
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "none" | "properties" | "px" | "auto" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
60
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "none" | "properties" | "px" | "auto" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
61
61
|
|
|
62
62
|
declare const directionMap: Record<string, string[]>;
|
|
63
63
|
declare const insetMap: Record<string, string[]>;
|
package/dist/utils.d.ts
CHANGED
|
@@ -56,8 +56,8 @@ declare namespace handlers {
|
|
|
56
56
|
export { handlers_auto as auto, handlers_bracket as bracket, handlers_bracketOfColor as bracketOfColor, handlers_bracketOfFamily as bracketOfFamily, handlers_bracketOfLength as bracketOfLength, handlers_bracketOfNumber as bracketOfNumber, handlers_bracketOfPosition as bracketOfPosition, handlers_cssvar as cssvar, handlers_degree as degree, handlers_fraction as fraction, handlers_global as global, handlers_none as none, handlers_number as number, handlers_numberWithUnit as numberWithUnit, handlers_percent as percent, handlers_position as position, handlers_properties as properties, handlers_px as px, handlers_rem as rem, handlers_time as time };
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "
|
|
60
|
-
declare const h: _unocss_rule_utils.ValueHandler<"number" | "
|
|
59
|
+
declare const handler: _unocss_rule_utils.ValueHandler<"number" | "global" | "none" | "properties" | "px" | "auto" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
60
|
+
declare const h: _unocss_rule_utils.ValueHandler<"number" | "global" | "none" | "properties" | "px" | "auto" | "position" | "numberWithUnit" | "rem" | "percent" | "fraction" | "bracket" | "bracketOfColor" | "bracketOfLength" | "bracketOfPosition" | "bracketOfFamily" | "bracketOfNumber" | "cssvar" | "time" | "degree">;
|
|
61
61
|
|
|
62
62
|
declare const directionMap: Record<string, string[]>;
|
|
63
63
|
declare const insetMap: Record<string, string[]>;
|
package/dist/utils.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as remRE } from './shared/preset-wind4.
|
|
2
|
-
export { C as CONTROL_NO_NEGATIVE, P as PRESET_NAME, S as SpecialColorKey, K as camelize, A as colorCSSGenerator, B as colorResolver, D as colorableShadows, M as compressCSS, c as cornerMap, f as cssMathFnRE, j as cssVarFnRE, H as defineProperty, m as detectThemeValue, d as directionMap, s as directionSize, l as generateThemeVariable, z as getThemeByKey, g as globalKeywords, b as h, h as handler, E as hasParseableColor, L as hyphenate, i as insetMap, I as isCSSMathFn, J as isSize, G as makeGlobalStaticRules, q as numberResolver, w as parseColor, y as parseThemeColor, p as positionMap, o as propertyTracking, r as resolveBreakpoints, F as resolveVerticalBreakpoints, u as splitShorthand, k as themeTracking, n as trackedProperties, t as trackedTheme, v as valueHandlers, e as xyzArray, x as xyzMap } from './shared/preset-wind4.
|
|
1
|
+
import { a as remRE } from './shared/preset-wind4.B6AdPBSv.mjs';
|
|
2
|
+
export { C as CONTROL_NO_NEGATIVE, P as PRESET_NAME, S as SpecialColorKey, K as camelize, A as colorCSSGenerator, B as colorResolver, D as colorableShadows, M as compressCSS, c as cornerMap, f as cssMathFnRE, j as cssVarFnRE, H as defineProperty, m as detectThemeValue, d as directionMap, s as directionSize, l as generateThemeVariable, z as getThemeByKey, g as globalKeywords, b as h, h as handler, E as hasParseableColor, L as hyphenate, i as insetMap, I as isCSSMathFn, J as isSize, G as makeGlobalStaticRules, q as numberResolver, w as parseColor, y as parseThemeColor, p as positionMap, o as propertyTracking, r as resolveBreakpoints, F as resolveVerticalBreakpoints, u as splitShorthand, k as themeTracking, n as trackedProperties, t as trackedTheme, v as valueHandlers, e as xyzArray, x as xyzMap } from './shared/preset-wind4.B6AdPBSv.mjs';
|
|
3
3
|
export * from '@unocss/rule-utils';
|
|
4
4
|
import '@unocss/core';
|
|
5
5
|
|
package/dist/variants.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as placeholderModifier, v as variantAria, b as variantBreakpoints, c as variantChildren, g as variantColorsMediaOrClass, h as variantColorsScheme, d as variantCombinators, f as variantContainerQuery, r as variantContrasts, x as variantCssLayer, q as variantCustomMedia, i as variantDataAttribute, u as variantForcedColors, D as variantImplicitGroup, m as variantImportant, y as variantInternalLayer, l as variantLanguageDirections, s as variantMotions, E as variantNegative, n as variantNoscript, t as variantOrientations, J as variantPartClasses, p as variantPrint, H as variantPseudoClassFunctions, G as variantPseudoClassesAndElements, z as variantScope, o as variantScripting, w as variantSelector, K as variantStartingStyle, C as variantStickyHover, L as variantSupports, e as variantSvgCombinators, a as variantTaggedAriaAttributes, j as variantTaggedDataAttributes, I as variantTaggedPseudoClasses, B as variantTheme, A as variantVariables, k as variants } from './shared/preset-wind4.
|
|
1
|
+
export { F as placeholderModifier, v as variantAria, b as variantBreakpoints, c as variantChildren, g as variantColorsMediaOrClass, h as variantColorsScheme, d as variantCombinators, f as variantContainerQuery, r as variantContrasts, x as variantCssLayer, q as variantCustomMedia, i as variantDataAttribute, u as variantForcedColors, D as variantImplicitGroup, m as variantImportant, y as variantInternalLayer, l as variantLanguageDirections, s as variantMotions, E as variantNegative, n as variantNoscript, t as variantOrientations, J as variantPartClasses, p as variantPrint, H as variantPseudoClassFunctions, G as variantPseudoClassesAndElements, z as variantScope, o as variantScripting, w as variantSelector, K as variantStartingStyle, C as variantStickyHover, L as variantSupports, e as variantSvgCombinators, a as variantTaggedAriaAttributes, j as variantTaggedDataAttributes, I as variantTaggedPseudoClasses, B as variantTheme, A as variantVariables, k as variants } from './shared/preset-wind4.BuC1lQGJ.mjs';
|
|
2
2
|
import '@unocss/rule-utils';
|
|
3
|
-
import './shared/preset-wind4.
|
|
3
|
+
import './shared/preset-wind4.B6AdPBSv.mjs';
|
|
4
4
|
import '@unocss/core';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/preset-wind4",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.3.
|
|
4
|
+
"version": "66.3.3",
|
|
5
5
|
"description": "Tailwind 4 compact preset for UnoCSS",
|
|
6
6
|
"authors": [
|
|
7
7
|
{
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"homepage": "https://unocss.dev",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "https://github.com/unocss/unocss",
|
|
21
|
+
"url": "git+https://github.com/unocss/unocss.git",
|
|
22
22
|
"directory": "packages-presets/preset-wind4"
|
|
23
23
|
},
|
|
24
24
|
"bugs": {
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"dist"
|
|
75
75
|
],
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@unocss/core": "66.3.
|
|
78
|
-
"@unocss/rule-utils": "66.3.
|
|
79
|
-
"@unocss/extractor-arbitrary-variants": "66.3.
|
|
77
|
+
"@unocss/core": "66.3.3",
|
|
78
|
+
"@unocss/rule-utils": "66.3.3",
|
|
79
|
+
"@unocss/extractor-arbitrary-variants": "66.3.3"
|
|
80
80
|
},
|
|
81
81
|
"scripts": {
|
|
82
82
|
"build": "unbuild",
|